plugins/elements/gstfilesink.c: Update Author string to match others.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * plugins/elements/gstfilesink.c:
4           Update Author string to match others.
5
6 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
7
8         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
9         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
10         being fixed and inline the trivial check.
11
12 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
13
14         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
15         (gst_caps_merge_structure), (gst_caps_get_structure),
16         (gst_caps_copy_nth), (gst_caps_set_simple),
17         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
18         (gst_caps_is_equal_fixed), (gst_caps_intersect),
19         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
20         (gst_caps_to_string):
21         Callgrind micro optimisations.
22         Avoid array bounds checks and force inline of trivial function.
23
24         * gst/gstobject.c: (gst_object_set_name_default):
25         -1 is equivalent to letting glib to the strlen but then there is more
26         room for optimisations and it's not our fault.
27
28         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
29         no need to clear the array, we're cool.
30
31         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
32         The most common _is_fixed() check is done on fundamental glib base
33         types so we check this first instead of doing a huge amount of
34         useless GST_TYPE_ARRAY calls.
35
36 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
37
38         * gst/gstevent.h:
39         Add a SKIP seek flag for use with advanced trickmodes.
40         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
41
42 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
43
44         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
45         No need to memset, we can clear the value ourselves.
46
47         * gst/gstvalue.c: (gst_type_is_fixed),
48         (gst_value_get_compare_func):
49         Some optimisations from a few callgrind sessions:
50         When checking if a type is fixed, check for trivial fundamental types
51         first before checking types for which we need to get the type followed
52         by the heavy duty type checks, this reduces the amount of
53         g_type_fundamental() calls a lot.
54         When getting the compare function, first check for our registered types.
55         If that fails, do the heavy duty g_type_is_a() checks, reduces the
56         amount of g_type_is_a() considerably.
57
58 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
59
60         * docs/design/part-TODO.txt:
61         Mumble something about removing GstXML.
62
63 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
64
65         * gst/gstbin.c: (gst_bin_handle_message_func):
66         Get the seqnum before we dispose the message.
67
68 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
69
70         * docs/design/part-TODO.txt:
71         Refer to the framestepping document.
72
73 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
74
75         * gst/gstbin.c: (bin_handle_async_start),
76         (gst_bin_handle_message_func), (gst_bin_query):
77         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
78         (gst_base_sink_event), (gst_base_sink_change_state):
79         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
80         (gst_base_src_loop), (gst_base_src_change_state):
81         Copy seqnums from events to messages so that they can all be related
82         back to eachother.
83
84 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
85
86         * tools/gst-launch.c: (event_loop):
87         Print the message seqnums.
88
89 2008-11-04  Andy Wingo  <wingo@pobox.com>
90
91         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
92
93 2008-11-04  Andy Wingo  <wingo@pobox.com>
94
95         Add sequence numbers to events and messages. See #559250.
96
97         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
98         API: New functions.
99
100         * gst/gstevent.h:
101         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
102         events with a new sequence number, and copy it when copying.
103         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
104         an event's sequence number.
105
106         * gst/gstmessage.h:
107         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
108         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
109         so with messages.
110
111         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
112
113 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
114
115         * docs/manual/advanced-position.xml:
116         * docs/manual/basics-bins.xml:
117         * docs/manual/basics-bus.xml:
118         * docs/manual/basics-pads.xml:
119         * docs/manual/intro-gstreamer.xml:
120         * docs/manual/intro-preface.xml:
121         Some Application Development Manual fixes thanks to
122         Andrew Feren. Fixes #558459.
123
124 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
125
126         * gst/gstregistrybinary.c:
127           Don't bother with the GTimer if we don't output the results.
128
129 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
130
131         Patch by: David Schleef  <ds@schleef.org>
132
133         * libs/gst/net/Makefile.am:
134         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
135
136 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
137
138         * gst/gstregistrybinary.c:
139           Oh my, studip, stupid me. Remove double stat() call.
140
141 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
142
143         * gst/gstpreset.c:
144           Use g_unlink instead of unlink.
145
146         * gst/gststructure.c:
147           Use glib type.
148
149         * gst/gstutils.c:
150           Add a FIXME:.
151
152         * gst/gsttaglist.c:
153         * gst/gsttypefind.c:
154         * gst/gstvalue.c:
155           Formatting & whitespaces.
156
157 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
158
159         * plugins/elements/gstidentity.c:
160           Doc typo. Use return value of parent_class->event.
161   
162         * plugins/elements/gsttypefindelement.c:
163           Chain up at the end for consistency.
164   
165 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
166
167         * docs/Makefile.am:
168         * docs/gst/gstreamer-docs.sgml:
169         * docs/gst/gstreamer-sections.txt:
170         * docs/gst/running.xml:
171         * docs/libs/gstreamer-libs-docs.sgml:
172           Change to xinclude based build - its faster and easier to maintain.
173
174 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
175
176         * gst/gstregistrybinary.c:
177         * gst/gstregistryxml.c:
178           Use g_unlink() as none of these are directories.
179
180 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
181
182         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
183         Some more comments.
184
185 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
186
187         * libs/gst/base/gstbasetransform.c:
188         (gst_base_transform_find_transform), (gst_base_transform_getrange):
189         If we have a fixate function, call it even if we already have fixed caps
190         because the subclass might add some caps. Makes audioconvert add a
191         default channel layout.
192
193 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
194
195         * libs/gst/base/gstbasetransform.c:
196         (gst_base_transform_prepare_output_buffer),
197         (gst_base_transform_getrange):
198         Clear the output buffer variable.
199         Cleanups to the error path in the getrange function.
200         Fixes #557649.
201
202 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
203
204         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
205         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
206         Use gst_buffer_try_new_and_alloc() and handle errors instead of
207         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
208         be allocated.
209
210 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
211
212         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
213         Set the last_stop to a more meaningful position when configuring the
214         segment. ie. the start/stop of the segment or clipped against the
215         updated segment boundaries.
216
217         * tests/check/gst/gstsegment.c: (GST_START_TEST):
218         Add some unit tests for the last_stop.
219
220 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
221
222         * libs/gst/base/gstbytereader.c:
223         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
224         copies of them.
225
226 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
227
228         * docs/gst/gstreamer-sections.txt:
229         * gst/gstutils.h:
230         API: Move float endianness conversion macros from libgstfloatcast
231         to core as it's useful in general, even in core. Fixes bug #555196.
232         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
233         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
234         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
235
236         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
237         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
238         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
239         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
240
241 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
242
243         * docs/libs/gstreamer-libs-sections.txt:
244         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
245         (gst_byte_reader_peek_data):
246         * libs/gst/base/gstbytereader.h:
247         * win32/common/libgstbase.def:
248         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
249         to get a pointer to the data at the current position and have
250         a guaranteed size.
251
252 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
253
254         * configure.ac:
255         Fix a bug in the output of the configure script summary
256         when --gst-disable-registry is supplied
257
258 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
259
260         * libs/gst/base/gstbitreader.c:
261         * libs/gst/base/gstbytereader.c:
262         Fix the names of 2 functions in the docs strings.
263
264 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
265
266         * libs/gst/base/gstbasetransform.c:
267         (gst_base_transform_prepare_output_buffer),
268         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
269         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
270         refcount problems as seen in banshee and maybe also in farsight2.
271         Remove atomic int now that we need to take the lock anyways.
272
273 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
274
275         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
276         (gst_base_sink_default_prepare_seek_segment),
277         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
278         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
279         (gst_base_sink_query):
280         Implement more seeking in pull mode.
281         Use pad convert functions to convert position to the requested format.
282         Fix position/duration reporting in pull mode.
283         Implement position and duration reporting in other formats than time.
284
285         * libs/gst/base/gstbasesink.h:
286         Add member to keep track of when the segment is playing.
287
288 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
289
290         * gst/gstpad.c: (gst_pad_configure_src):
291         When we use gst_pad_alloc_buffer() without wanting to set the caps we
292         also don't need to check if the caps are compatible because the caller
293         presumably is going to perform its own custom checks. Fixes some cases
294         where basetransform elements would error out when it was not needed.
295
296 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
297
298         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
299         Update comment.
300
301         * libs/gst/base/gstbasetransform.c:
302         (gst_base_transform_handle_buffer),
303         (gst_base_transform_reconfigure):
304         Add some debug info.
305
306         * win32/common/libgstbase.def:
307         Add new method.
308
309 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
310
311         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
312           Remove duplicated assignment and log a message in failure case.
313
314 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
315
316         Patch by: Dig Ge <dig.ge.cn at gmail com>
317
318         * tests/examples/helloworld/helloworld.c: (main):
319           Fix copy'n'paste bug in hello world example (#556900).
320
321 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
322
323         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
324         (gst_base_sink_query):
325         Query the total number of bytes when activating the pad in pull mode.
326         Implement duration query in pull mode by using the installed pad convert
327         function to convert from bytes to the requested format.
328
329 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
330
331         * docs/libs/gstreamer-libs-sections.txt:
332         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
333         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
334         (gst_base_sink_event), (gst_base_sink_perform_seek),
335         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
336         (gst_base_sink_send_event), (gst_base_sink_change_state):
337         * libs/gst/base/gstbasesink.h:
338         Add method to commit the state in subclasses.
339         Refactor the flush_start and flush_stop code because we need it for
340         flushing while seeking too.
341         Implement the beginnings of seeking in pull mode.
342         Use the segment last_stop field for the pulling offset.
343         Fix the pause method in pull mode.
344         Configure the segment to BYTES for pull mode.
345         API: GstBaseSink::gst_base_sink_do_preroll()
346
347 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
348
349         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
350         Update some docs.
351
352 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
353
354         * gst/gstquark.c: (_priv_gst_quarks_initialize):
355           Fix printf format warning.
356
357 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
358
359         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
360         Fix flow aggregation of tee. Error out immediately for all flow returns
361         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
362         and return OK if at least one pad is linked.
363
364         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
365         and otherwise returned the flow return of the last pad, which is wrong.
366         
367         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
368         (GST_START_TEST), (tee_suite):
369         Add unit tests for the flow aggregation.
370
371 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
372
373         * docs/design/part-TODO.txt:
374         Remove item from the todo list because it was fixed with the latency
375         state change rewrites.
376
377         * docs/design/part-seeking.txt:
378         * docs/design/part-segments.txt:
379         Update some docs.
380
381         * gst/gstevent.c: (gst_event_new_new_segment_full),
382         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
383         (gst_event_parse_buffer_size), (gst_event_new_qos),
384         (gst_event_parse_qos), (gst_event_new_seek),
385         (gst_event_parse_seek), (gst_event_new_latency),
386         (gst_event_parse_latency):
387         Use quarks to construct and parse events.
388
389         * gst/gstquark.c: (_priv_gst_quarks_initialize):
390         * gst/gstquark.h:
391         Add some more quarks to the table.
392         Emit a warning when the quark tables are not in sync.
393
394         * tests/check/gst/gstbus.c: (GST_START_TEST):
395         Add an assert.
396
397 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
398
399         * plugins/elements/Makefile.am:
400         * plugins/indexers/Makefile.am:
401           Don't install static libs for plugins. Fixes #550851 for core.
402
403 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
404
405         * gst/gstbus.c: (gst_bus_source_finalize),
406         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
407         (gst_bus_enable_sync_message_emission),
408         (gst_bus_disable_sync_message_emission),
409         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
410         Fix deadlock, g_source_get_id() cannot be called in finalize.
411         Keep track of the watch source by keeping a pointer to the source object
412         instead.
413         Use the bus lock to protect access to the pointer to the current
414         watch source.
415
416 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
417
418         Base on Patch by: Olivier Crete <tester at tester dot ca>
419
420         * gst/gstbus.c: (gst_bus_source_finalize),
421         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
422         Only allow one bus watch to be set at a time. This is necessary
423         because the dispatcher pops the message from the bus and the second
424         watcher will then get NULL or the next message (and the first won't
425         get this next message then, etc). If more than one "watcher" is
426         required signal watches should be used. Fixes bug #526044.
427
428 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
429
430         * tools/gst-launch.c:
431         Change the printing of the 'buffering...' output to avoid putting
432         a \r in a translateable string (flagged by the TP).
433
434 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
435
436         * gst/gstxml.c:
437         Clarify that the save_thyself() and restore_thyself() virtual
438         functions of GstObject need to be overriden, not
439         gst_object_(save|restore)_thyself() which is impossible.
440         Fixes bug #555700.
441
442 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
443
444         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
445         Revert a patch from 21 months ago that broke caps negotiation in pull
446         mode. Basically, having a buffer pass over a pad will trigger the
447         setcaps function when caps change, just like in push mode.
448
449 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
450
451         * docs/design/part-negotiation.txt:
452         Update the docs some more.
453
454         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
455         If we pull a buffer with non-trivial caps, suggest those caps with the
456         max probability.
457
458 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
459
460         * docs/design/part-TODO.txt:
461         Add another limitation of pad-blocking with segment seeks not pushing
462         EOS events.
463
464 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
465
466         * win32/common/libgstbase.def:
467         * win32/common/libgstreamer.def:
468         Add new symbols to the win32 defs files
469
470 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
471
472         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
473         (gst_bin_handle_message_func):
474         The message src can be NULL, don't try to print the object names in that
475         case.
476
477         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
478         Add some more debug info.
479
480         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
481         (GST_START_TEST):
482         Add some debug.
483         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
484         scheduling modes.
485
486 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
487
488         * docs/design/part-negotiation.txt:
489         Small doc update.
490
491         * docs/libs/gstreamer-libs-sections.txt:
492         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
493         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
494         (gst_base_sink_init), (gst_base_sink_set_blocksize),
495         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
496         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
497         (gst_base_sink_loop), (gst_base_sink_pad_activate),
498         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
499         (gst_base_sink_change_state):
500         * libs/gst/base/gstbasesink.h:
501         Add blocksize property and methods to control the amount of data
502         to pull.
503         Negotiate first before activating upstream in pull mode so that they can
504         negotiate themselves.
505         When we operate in pull mode, we only accept the caps that we
506         negotiated.
507         Make the sink go ASYNC to PAUSED, like all other sinks.
508         API: GstBaseSink::gst_base_sink_set_blocksize()
509         API: GstBaseSink::gst_base_sink_get_blocksize()
510         API: GstBaseSink::blocksize
511
512         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
513         (gst_base_src_set_live), (gst_base_src_is_live),
514         (gst_base_src_set_format), (gst_base_src_query_latency),
515         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
516         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
517         (gst_base_src_set_property), (gst_base_src_get_property):
518         * libs/gst/base/gstbasesrc.h:
519         Add typechecking in public API functions.
520         Add methods to control the blocksize in subclasses.
521         API: GstBaseSrc::gst_base_src_set_blocksize()
522         API: GstBaseSrc::gst_base_src_get_blocksize()
523
524 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
525
526         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
527         (buffer_probe), (event_probe), (GST_START_TEST):
528         We now see 3 events go through our pad, since basesink now sends
529         upstream latency events.
530
531 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
532
533         * gst/gstpipeline.c: (gst_pipeline_change_state):
534         Release the object lock before trying to flush the bus.
535
536 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
537
538         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
539         Forward LATENCY events upstreams so that elements know about the total
540         pipeline latency. Fixes #555307.
541
542 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
543
544         * plugins/elements/gstqueue.c:
545         Allow through queries when we don't know how
546         to adjust them (not TIME or BYTES), as otherwise it's
547         not possible to query the current position in order
548         to seek in other formats at all.
549
550 2008-10-08  Andy Wingo  <wingo@pobox.com>
551
552         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
553
554 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
555
556         * gst/gstghostpad.c:
557         * gst/gstghostpad.h:
558         Unbreak -good build, private is a reserved c++ keyword.
559
560 2008-10-08  Andy Wingo  <wingo@pobox.com>
561
562         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
563         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
564         removal: re-add GST_GHOST_PAD_CAST to the header.
565
566         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
567         (GstGhostPadClass): Publically expose these structures so as to
568         allow easy subclassing from C. Hide the member data behind a
569         private opaque data pointer.
570
571         * gst/gstghostpad.c: Adapt to store instance data in the type
572         instance's private data region, not in the public struct.
573
574 2008-10-08  Andy Wingo  <wingo@pobox.com>
575
576         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
577         template via g_object_get(), be sure to unref it.
578
579         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
580
581 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
582
583         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
584         If we can't get a cache file don't try to save something to it.
585         Dereferencing NULL pointers usually isn't a good idea.
586
587 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
588
589         * tests/check/Makefile.am:
590         * tests/check/gst/gstabi.c:
591         * tests/check/gst/struct_sparc.h:
592         * tests/check/libs/libsabi.c:
593         * tests/check/libs/struct_sparc.h:
594         Add Sparc ABI checks
595
596         * tests/check/gst/gstvalue.c: (GST_START_TEST):
597         Cast signed integer to unsigned to avoid a compiler warning.
598
599 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
600
601         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
602         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
603         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
604         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
605         (gst_byte_reader_peek_int24_be):
606         Use new GST_READ_UINT24_(LE|BE) macros.
607
608 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
609
610         * docs/gst/gstreamer-sections.txt:
611         * gst/gstutils.h:
612         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
613         as it's too easy to break the ISO C strict aliasing rules with simple
614         casts to the corresponding type and this would introduce hard to debug
615         bugs. Fixes bug #545714.
616
617         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
618
619 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
620
621         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
622         * gst/gstghostpad.c: (gst_ghost_pad_construct):
623           Add 'Since' bits to gtk-doc chunks for new API.
624
625 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
626
627         * docs/gst/gstreamer-sections.txt:
628         Fix documentation
629
630 2008-10-06  Andy Wingo  <wingo@pobox.com>
631
632         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
633         that will be called on the malloc_data to free it. Basically a way
634         to avoid subclassing when all you need is a different free
635         function, i.e. free() instead of g_free().
636
637         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
638         calling the free function.
639         (gst_buffer_init): Initialize the free function to g_free.
640
641 2008-10-06  Andy Wingo  <wingo@pobox.com>
642
643         * gst/gstghostpad.h:
644         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
645         finishes the initialization of ghost pad. Useful for language
646         bindings and subclassers of GstGhostPad. Fixes #539108.
647         (gst_ghost_pad_new_full): Use the new constructor.
648
649 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
650
651         Base on Patch by: Olivier Crete <tester at tester dot ca>
652
653         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
654         (gst_bin_remove_func), (update_degree),
655         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
656         Keep track of pads that are being linked/unlinked and resync the state
657         changes.
658
659         * gst/gstpad.c: (gst_pad_get_direction),
660         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
661         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
662         (gst_pad_link_prepare), (gst_pad_link),
663         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
664         (gst_pad_check_pull_range), (gst_pad_get_range),
665         (gst_pad_pull_range):
666         Some code cleanups, use macros to check pad direction.
667         Don't need to take the lock on the pad direction.
668         Post structure change when pads are linked/unlinked.
669         Change some checks into _return_if_fail().
670
671         * tests/check/gst/gstbin.c:
672         (test_link_structure_change_state_changed_sync_cb),
673         (GST_START_TEST), (gst_bin_suite):
674         Add testcase for pad link/unlinke resync during a state change.
675         Fixes #510354.
676
677 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
678
679         * docs/gst/gstreamer-sections.txt:
680         * gst/gstmessage.c: (gst_message_new_structure_change),
681         (gst_message_parse_structure_change):
682         * gst/gstmessage.h:
683         Implement STRUCTURE_CHANGED messages. These messages will be used to
684         signal the parent bin of link/unlink operations that could require a
685         resync when doing a state change. See ##510354.
686         API: gst_message_new_structure_change()
687         API: gst_message_parse_structure_change()
688
689 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
690
691         * gst/gstquark.c:
692         * gst/gstquark.h:
693         Add some more quarks for new message. See #510354.
694
695 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
696
697         * docs/libs/gstreamer-libs-docs.sgml:
698         * docs/libs/gstreamer-libs-sections.txt:
699         * libs/gst/base/Makefile.am:
700         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
701         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
702         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
703         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
704         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
705         (gst_bit_reader_skip_to_byte):
706         * libs/gst/base/gstbitreader.h:
707         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
708         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
709         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
710         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
711         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
712         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
713         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
714         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
715         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
716         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
717         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
718         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
719         * libs/gst/base/gstbytereader.h:
720         * tests/check/Makefile.am:
721         * tests/check/libs/bitreader.c: (GST_START_TEST),
722         (gst_bit_reader_suite):
723         * tests/check/libs/bytereader.c: (GST_START_TEST),
724         (gst_byte_reader_suite):
725         API: Add bit reader and byte reader classes, including documentation
726         and an extensive unit test suite. Fixes bug #553554.
727
728 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
729
730         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
731         (gst_base_sink_query):
732         Improve position reporting while flushing and other intermediate state
733         changes. Fixes #553874.
734
735 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
736
737         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
738
739         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
740         Original patch by : Simon Descaries
741         Fix small refount leak in caps compatibility check.
742         Fixes #551676.
743
744 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
745
746         * docs/pwg/advanced-request.xml:
747           Fix 0.8 api usage in example. Fixes #554561
748
749         * docs/pwg/appendix-porting.xml:
750           Change 0.9 to 0.10 here.
751
752 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
753
754         * docs/manual/basics-data.xml:
755           Change "event-event interaction" to "element-element interaction".
756           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
757           updates.
758
759 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
760
761         * configure.ac:
762         Back to development -> 0.10.21.1
763
764 === release 0.10.21 ===
765
766 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
767
768         * configure.ac:
769           releasing 0.10.21, "Take These Things From Me"
770
771 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
772
773         * configure.ac:
774         0.10.20.4 pre-release
775
776 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
777
778         * libs/gst/base/gstbasetransform.c:
779         * plugins/elements/gstcapsfilter.c:
780         * tests/check/Makefile.am:
781         * tests/check/elements/.cvsignore:
782         * tests/check/elements/capsfilter.c:
783         Fix assertion in basetransform when the subclass chooses not to
784         allocate a buffer in prepare_buffer(), and make capsfilter error out
785         cleanly if requested to apply caps that don't completely specify the
786         buffer. Fixes #551509
787
788 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
789
790         * libs/gst/base/gstbasetransform.c:
791         (gst_base_transform_prepare_output_buffer):
792         Take new caps ref because our old one might have been gone when the
793         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
794
795 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
796
797         * configure.ac:
798           Do not probe availability of check unit test library when cross
799           compiling, as test would not work anyway. Also cleanup verbose output
800           of the check test. Fixes #551952.
801
802 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
803
804         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
805
806         * gst/gstelement.c: (gst_element_sync_state_with_parent):
807         Avoid leaking the parent ref when we fail changing the state of the
808         element using gst_element_sync_state_with_parent(). Fixes #551978.
809
810 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
811
812         * docs/manual/intro-motivation.xml::
813           Remove some bits that no longer apply, update others (#551642).
814
815 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
816
817         * configure.ac:
818         0.10.20.2 pre-release
819
820         * po/LINGUAS:
821         * po/id.po:
822         * po/pt_BR.po:
823
824         New translations.
825
826 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
827
828         * win32/common/config.h.in:
829           Add GST_DATADIR, hard-code cpu to x86.
830
831         * win32/common/libgstreamer.def:
832           Spaces to tabs.
833
834 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
835
836         * gst/gsttaglist.h:
837           Fix Since: markers for new geo tags.
838
839 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
840
841         * gst/gsttaglist.h:
842           Fix actual tag name define after renaming from altitude to elevation.
843
844 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
845
846         * gst/gstpad.c: (add_unref_pad_to_list),
847         (gst_pad_get_internal_links_default):
848         Add fallback when calling the deprecated function on an element that
849         implements the new internal_link handler.
850
851 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
852
853         * docs/gst/gstreamer-sections.txt:
854         * gst/gsttaglist.c:
855         * gst/gsttaglist.h:
856           Add new tags for geo location and clarify purpose of existing location
857           tag. Fixes #481169
858
859 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
860
861         Patch by: Olivier Crete <tester at tester dot ca>
862
863         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
864         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
865         Use thread-safe internal links iterator. Fixes #549504.
866
867 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
868
869         Based on patch by: Olivier Crete <tester at tester dot ca>
870
871         * docs/gst/gstreamer-sections.txt:
872         * win32/common/libgstreamer.def:
873         * gst/gstpad.c: (gst_pad_init),
874         (gst_pad_set_iterate_internal_links_function),
875         (int_link_iter_data_free), (iterate_pad),
876         (gst_pad_iterate_internal_links_default),
877         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
878         * gst/gstpad.h:
879         Add threadsafe replacement functions for getting internal links of an
880         element. Deprecate the old internal links functions.
881         API:GstPad::gst_pad_set_iterate_internal_links_function()
882         API:GstPad::GstPadIterIntLinkFunction
883         API:GstPad::gst_pad_iterate_internal_links()
884         API:GstPad::gst_pad_iterate_internal_links_default()
885
886         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
887         (gst_proxy_pad_init):
888         Implement threadsafe internal links.
889
890         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
891         Unit test for internal links on tee. See #549504.
892
893 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
894
895         * tests/check/Makefile.am:
896         libs/transform1 test requires libs/test_transform.c
897
898 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
899
900         * gst/gstpad.c: (gst_pad_get_internal_links_default):
901         Die evil deadlock, die !
902
903 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
904
905         * gst/gstutils.c: (gst_element_get_compatible_pad):
906         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
907         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
908         Fix all leaks due to the bug in gst_pad_template_new() by which it does
909         not steal the refcount of the given caps as stated.
910
911         REVERT THIS COMMIT ONCE FIXED !
912         REVERT THIS COMMIT ONCE FIXED !
913         REVERT THIS COMMIT ONCE FIXED !
914         REVERT THIS COMMIT ONCE FIXED !
915         REVERT THIS COMMIT ONCE FIXED !
916         REVERT THIS COMMIT ONCE FIXED !
917
918 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
919
920         * gst/gstiterator.c:
921         * gst/gstiterator.h:
922         After 3 years it's about time to revise the documentation of the
923         iterator objects.
924
925 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
926
927         * gst/gstpad.c: (gst_pad_get_internal_links_default):
928         Make the internal links function less thread-unsafe and add some
929         comments, dunno why.
930
931 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
932
933         * gst/gst_private.h:
934           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
935           build with --disable-gst-debug.
936
937 2008-08-28  David Schleef  <ds@schleef.org>
938
939         * gst/gstpadtemplate.c: Revert last change, since it breaks
940           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
941           but shouldn't be enabled until we've released fixed versions
942           of -good and -ffmpeg.
943
944 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
945
946         * gst/gstobject.c:
947           Put the gst_object_get_name() back in.
948
949 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
950
951         * gst/gstpadtemplate.c:
952           The old behaviour was that gst_pad_template_new() takes ownership of
953           the caps. As we now call g_object_new() which calls g_object_set() and
954           which copies the caps, we have to unref them to not leak them. Fixes
955           make valgrid for me.
956
957 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
958
959         * gst/gsturi.c:
960           Don't segfault on input like "tel:+1-123-555-1234".
961
962 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
963
964         * gst/gstobject.c:
965           Due to popular request also include ObjectType in
966           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
967
968 2008-08-26  David Schleef  <ds@schleef.org>
969
970         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
971           src_val must be positive, because that's not a requirement.
972           This causes problems with converting negative granulepos
973           values for Dirac.
974         * gst/gstquery.c: Same, gst_query_new_convert().
975
976 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
977
978         * gst/gstclock.c: (gst_clock_add_observation):
979         Add some more debugging to the clock slaving code.
980
981         * win32/common/libgstbase.def:
982         Add new basetransform method.
983
984 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
985
986         * gst/gstbin.c: (gst_bin_element_set_state):
987         Take the (recursive) state lock between getting the locked state of an
988         element and changing the element state. This allows the application to
989         lock an element's state and then change its state without races.
990
991 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
992
993         * gst/gstbin.c: (gst_bin_element_set_state):
994         When an element is in the locked state we still want to update the
995         base_time of the element.
996
997 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
998
999         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1000         Use the result from gst_pad_set_caps() instead of assuming the element
1001         always accepted the caps computed by the default negotiate function.
1002
1003 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1004
1005         * docs/libs/gstreamer-libs-sections.txt:
1006         * libs/gst/base/gstbasetransform.c:
1007         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1008         (gst_base_transform_chain), (gst_base_transform_suggest),
1009         (gst_base_transform_reconfigure):
1010         * libs/gst/base/gstbasetransform.h:
1011         Implement method for reconfiguring basetransform.
1012         API: GstBaseTransform::gst_base_transform_reconfigure()
1013
1014 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1015
1016         patch by: Murray Cumming <murrayc@murrayc.com>
1017
1018         * gst/gstutils.c:
1019           Mention that this is just like gst_buffer_merge() but with extra
1020           unreffing for C coders. Advise language bindings not to wrap it.
1021           Fixes Bug #533856.
1022           
1023           Also fix file comment.
1024
1025 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1026
1027         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1028
1029         * plugins/elements/gstfakesink.c:
1030         * plugins/elements/gstfakesrc.c:
1031           Call super::event() when not handling it. Fixes #544855.
1032
1033 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1034
1035         Patch by: Alessandro Decina <alessandro@nnva.org>
1036         * plugins/elements/gstfilesrc.c:
1037           Use 64 bit variants of stat functions on win32, to enable support
1038           of large files there.
1039           Fixes #547277.
1040
1041 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1042
1043         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1044         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1045         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1046         (gst_base_sink_get_position), (gst_base_sink_change_state):
1047         Improve position reporting in the flushing state.
1048         Also report the position when we are not yet prerolled but we
1049         have a newsegment event. Fixes #543444.
1050         Improve the pull-based negotiation code.
1051
1052         * tests/check/elements/fakesink.c: (GST_START_TEST),
1053         (fakesink_suite):
1054         Add testcase for position reporting while flushing in PAUSED and
1055         PLAYING.
1056
1057         * tests/check/generic/sinks.c: (GST_START_TEST):
1058         Update unit-test, we can now query the position as soon as we receive a
1059         NEWSEGMENT event.
1060
1061 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1062
1063         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1064
1065         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1066         When the subclass event handler releases the PREROLL_LOCK, we could be
1067         in the flushing state and we have to ignore the event. Fixes #548394.
1068
1069 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1070
1071         * tools/gst-launch.1.in:
1072           Document GST_REGISTRY_UPDATE environment variable.
1073
1074 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1075
1076         * libs/gst/base/gstbasetransform.c:
1077         (gst_base_transform_prepare_output_buffer):
1078         If the element is configured in passthrough mode but the
1079         prepare_output_buffer gave us a new output buffer, discard that buffer
1080         and reuse the input buffer.
1081
1082 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1083
1084         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1085
1086         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1087         (gst_tee_request_new_pad), (gst_tee_release_pad),
1088         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1089         * plugins/elements/gsttee.h:
1090         Protect pad_alloc with a new lock so that we can be sure that nothing is
1091         performing a pad_alloc when removing the pad. Fixes #547835.
1092
1093         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1094         (buffer_alloc_harness_teardown), (app_thread_func),
1095         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1096         Added testcase for shutdown race.
1097
1098 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1099
1100         * gst/gstpad.h:
1101         Add doc
1102
1103 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1104
1105         * libs/gst/base/gstbasetransform.c:
1106         (gst_base_transform_prepare_output_buffer),
1107         (gst_base_transform_buffer_alloc):
1108         Go over the buffer_alloc function again and make sure we always end up
1109         allocating a buffer.
1110         Add some more docs.
1111         Avoid doing pad alloc when we have a pending suggestion because we
1112         cannot yet deal with changing caps in that case. Fixes #547728
1113
1114 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1115
1116         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1117
1118         * docs/manual/advanced-clocks.xml:
1119         * docs/manual/clocks.png:
1120         * docs/manual/diagrams-clocks.svg:
1121           Add one more image showing different times together with a describing
1122           paragraph. Fixes #547729.
1123
1124 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1125
1126         * win32/common/libgstbase.def:
1127         Add new method.
1128
1129 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1130
1131         * libs/gst/base/gstbasetransform.c:
1132         (gst_base_transform_transform_caps),
1133         (gst_base_transform_prepare_output_buffer),
1134         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1135         Don't overwrite the outsize when calculating the expected size of a new
1136         buffer because we still need it in case we cannot process the new
1137         buffer.
1138         When converting the size of the new buffer to an upstream size, actually
1139         use the expected size of the buffer, not some other random value.
1140         Use an atomic int to signal that a new upstream caps suggestion is
1141         available.
1142         When we can convert the current buffer to a new format, check if the
1143         buffer size is of the expected size and allocate a new buffer of the
1144         expected size when this is not the case. Fixes #546883.
1145
1146         * tests/check/libs/transform1.c: (GST_START_TEST):
1147         remove ifdeffed code from the unit test.
1148
1149 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1150
1151         * pkgconfig/gstreamer-uninstalled.pc.in:
1152         * pkgconfig/gstreamer.pc.in:
1153           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1154           called gstcontroller-0.10.
1155
1156 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1157
1158         * gst/gstchildproxy.h:
1159         * gst/gstpreset.h:
1160           Remove double interface from doc-string.        
1161
1162 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1163
1164         * libs/gst/base/gstbasesrc.c:
1165         * libs/gst/base/gstbasetransform.c:
1166           Fix headings in docs and gtk-doc warnings.
1167
1168 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1169
1170         * gst/gstregistrybinary.c:
1171           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1172           libc.
1173           Fixes #544776.
1174
1175 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1176
1177         * libs/gst/base/gstbasetransform.c:
1178         (gst_base_transform_buffer_alloc):
1179         Fix a "may be used unitialized" warning.
1180
1181 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1182
1183         * docs/gst/gstreamer-sections.txt:
1184         * gst/gstpreset.h:
1185           Document preset-iface vmethods.
1186
1187 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1188
1189         * docs/manual/advanced-interfaces.xml:
1190           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1191           only used to discover devices.
1192
1193 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1194
1195         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1196
1197         * gst/gst.c: (init_pre):
1198         Make sure gettext returns translations in UTF-8 encoding rather
1199         than in the current locale encoding (#546822).
1200
1201 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1202
1203         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1204         Fix subset test.
1205
1206         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1207         Improve unit test subset tests and add a testcase for the subset failure
1208         cases.
1209
1210         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1211         Improve subtraction unit test.
1212
1213 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1214
1215         * plugins/elements/gsttee.c:
1216           Unlock, instead of locking again.
1217
1218 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1219
1220         * gst/gstpad.h:
1221         Clarify the docs a bit more.
1222
1223 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1224
1225         * tests/examples/metadata/read-metadata.c:
1226           Don't leak old taglist.
1227
1228 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1229
1230         Patch by: Olivier Crete <tester at tester dot ca>
1231
1232         * gst/gststructure.c:
1233         (gst_structure_fixate_field_nearest_fraction):
1234         Avoid overflows in fixation code when dealing with MAXINT values, which
1235         v4l2src seems to do.
1236         Fixes #546328.
1237
1238         * tests/check/gst/gststructure.c: (GST_START_TEST):
1239         Make a unit test to check the fix. 
1240
1241 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1242
1243         * plugins/elements/gstcapsfilter.c: (copy_func),
1244         (gst_capsfilter_set_property):
1245         Use new caps suggestion feature of basetransform to request a caps
1246         negotiation upstream.
1247
1248 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1249
1250         * docs/libs/gstreamer-libs-sections.txt:
1251         Add new function:
1252         API: GstBaseTransform::gst_base_transform_suggest()
1253
1254         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1255         (gst_base_transform_init), (gst_base_transform_transform_caps),
1256         (gst_base_transform_transform_size),
1257         (gst_base_transform_configure_caps),
1258         (gst_base_transform_can_transform),
1259         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1260         (gst_base_transform_prepare_output_buffer),
1261         (gst_base_transform_buffer_alloc),
1262         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1263         (gst_base_transform_chain), (gst_base_transform_activate),
1264         (gst_base_transform_set_passthrough),
1265         (gst_base_transform_is_passthrough),
1266         (gst_base_transform_set_in_place),
1267         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1268         (gst_base_transform_set_qos_enabled),
1269         (gst_base_transform_is_qos_enabled),
1270         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1271         (gst_base_transform_reconfigure):
1272         * libs/gst/base/gstbasetransform.h:
1273         Rewrite of basetransform to perform negotiation outside of the
1274         buffer_alloc functions.  Fixes #545853.
1275
1276         * tests/check/libs/transform1.c: (GST_START_TEST),
1277         (buffer_alloc_ct2):
1278         Update unit test.
1279
1280 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1281
1282         * tests/check/gst/gstpreset.c:
1283           Only run preset tests when $HOME is writable. Preliminary fix for
1284           #545433.
1285
1286 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1287
1288         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1289         (gst_bin_change_state_func), (bin_handle_async_done),
1290         (gst_bin_handle_message_func):
1291         Fix race for bins that simulate ASYNC state changes by inserting
1292         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1293         pending ASYNC messages even when the bin does not have ASYNC children.
1294         We note detect this behaviour because we will receive an ASYNC message
1295         that is originating from the bin itself. 
1296         Fixes races with decodebin2 state changes.
1297
1298         * tests/check/gst/gstbin.c: (GST_START_TEST):
1299         Add some more debug.
1300
1301 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1302
1303         * gst/gsttaglist.c: (_gst_tag_initialize):
1304           Fix typo.
1305
1306 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1307
1308         * gst/gsttaglist.c:
1309           Argh. actually save the text before committing. Now adds
1310           gst_tag_merge_strings_with_comma() to gst_tag_register().
1311
1312 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1313
1314         * gst/gsttaglist.c:
1315         * gst/gsttaglist.h:
1316           Do as tim pointed out and actually register the new tag. Also improve
1317           te docs and use gst_tag_merge_strings_with_comma() method to allow
1318           retriving all keywords merged in one list.
1319
1320 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1321
1322         * configure.ac:
1323         * docs/gst/gstreamer.types:
1324           Revert 'accidential' change of the configure option removal. We still
1325           need to generate the types file in configure --disable-load-save.
1326
1327 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1328
1329         * docs/gst/gstreamer-sections.txt:
1330         * gst/gsttaglist.h:
1331           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1332
1333 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1334
1335         * gst/gstpadtemplate.c:
1336           (gst_pad_template_class_init), (gst_static_pad_template_get),
1337           (gst_pad_template_new), (gst_pad_template_pad_created),
1338           (gst_pad_template_set_property), (gst_pad_template_get_property):
1339           Add "name-template", "direction", "presence" and "caps" properties,
1340           so that gst_pad_template_new() is just a thin wrapper around
1341           g_object_new(), which is better for bindings. (Fixes: #539772)
1342
1343 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1344
1345         * gst/gsturi.c:
1346           Be more liberal in what URIs we accept.
1347           Do not unescape bits of the URI for no apparent reason before passing to
1348           the element. Fixes #545352.
1349
1350 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1351
1352         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1353
1354         * gst/gst.c:
1355         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1356
1357 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1358
1359         * configure.ac:
1360         * docs/gst/gstreamer-sections.txt:
1361         * docs/gst/gstreamer.types:
1362         * docs/gst/gstreamer.types.in:
1363         * gst/Makefile.am:
1364         * gst/gst.c:
1365         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1366         * gst/gstconfig.h.in:
1367         * gst/gstelement.c: (gst_element_get_index):
1368         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1369         (gst_registry_binary_load_feature),
1370         (gst_registry_binary_read_cache):
1371         * gst/gstregistryxml.c: (load_feature),
1372         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1373         * plugins/Makefile.am:
1374         * tools/gst-indent:
1375         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1376         (print_plugin_features), (print_element_features):
1377         * tools/gst-xmlinspect.c: (print_event_masks),
1378         (print_element_info):
1379         * win32/common/gstconfig.h:
1380         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1381
1382         Disabling the indexers and URI handler code will only reduce the
1383         required amount of memory by a very small amount but on the other hand
1384         requires much more maintaince work. Apart from that many places of
1385         code are broken when disabling them.
1386
1387         Disabling the enum types doesn't reduce the required amount of memory
1388         by more than a few bytes and makes it hard to fix bugs like #539772,
1389         i.e. use the enums as GObject properties.
1390
1391 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1392
1393         * docs/design/part-TODO.txt:
1394         Add some thoughts and problems with upstream renegotiation.
1395
1396 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1397
1398         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1399         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1400         Remove silly redundant debug.
1401         Add some more debug info.
1402         Clarify the docs regarding new caps received from pad_alloc.
1403
1404 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1405
1406         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1407         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1408         Make setting the caps more threadsafe.
1409
1410 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1411
1412         * docs/design/part-element-transform.txt:
1413         Update docs.
1414
1415 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1416
1417         * plugins/elements/gstqueue.c: (gst_queue_init),
1418         (gst_queue_acceptcaps):
1419         Add and use a custom acceptcaps function instead of falling back to the
1420         potentially less optimized default implementation.
1421
1422 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1423
1424         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1425           Only sanity-check the buffer size if requested_caps == buffer_caps
1426           (ie. don't take pad caps into account, they're not relevant here)
1427
1428 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1429
1430         * plugins/elements/gsttee.c:
1431         * plugins/elements/gsttee.h:
1432           Reverting as not everything is clear yet. Needs some general design
1433           work.
1434
1435 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1436
1437         * ChangeLog:
1438           ChangeLog surgery for tee commit.
1439
1440 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1441
1442         * docs/gst/gstreamer-sections.txt:
1443           Cleanup section-file.
1444
1445 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1446
1447         * plugins/elements/gsttee.c:
1448         * plugins/elements/gsttee.h:
1449           Relay tag events in tee. Fixes parts of #474016.
1450           Downgrades 3 reoccurring debugs to log.
1451
1452 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1453
1454         * configure.ac:
1455         * libs/gst/Makefile.am:
1456           Build the net library if we have winsock2.
1457
1458 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1459
1460         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1461
1462         * docs/manual/advanced-threads.xml:
1463         * docs/manual/diagrams-pipelines.svg:
1464         * docs/manual/hello-world.png:
1465         * docs/manual/linked-elements.png:
1466         * docs/manual/mime-world.png:
1467         * docs/manual/queue.png:
1468         * docs/manual/thread-buffering.png:
1469         * docs/manual/thread-synchronizing.png:
1470           Replace one diagram with two separate ones and updates others.
1471           Fixes #542401.
1472
1473 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1474
1475         * gst/gstelement.h:
1476         Fix link in documentation.
1477
1478 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1479
1480         * gst/gstmessage.c:
1481         Fix confusing documentation.
1482
1483 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1484
1485         * libs/gst/base/gstbasesrc.h:
1486         revert the changes to the header file for the ABI.
1487
1488 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1489
1490         * libs/gst/base/gstbasesrc.c:
1491         * libs/gst/base/gstbasesrc.h:
1492         Don't cache the seekable status.
1493         Fixes bug #544174
1494
1495 2008-07-24  Rene Stadler  <mail@renestadler.de>
1496
1497         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1498         code to close the pipeline graph.  This prevents the program from
1499         printing internal data flow errors.
1500
1501 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1502
1503         * docs/manual/basics-bus.xml:
1504         Correct typo. Fixes bug #544320.
1505
1506 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1507
1508         * configure.ac:
1509           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1510           Add check (taken from -base) for winsock, adds WIN32_LIBS
1511         * gst/Makefile.am:
1512           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1513           winsock.
1514           Define GST_EXPORTS when building libgstreamer (only used on win32)
1515         * gst/gst_private.h:
1516         * gst/gstinfo.h:
1517           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1518           for symbols that we need to export in both these files.
1519         * gst/gstpoll.c:
1520           Include gst_private.h higher up to avoid some compile problems on win32.
1521
1522 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1523
1524         * gst/gstvalue.c:
1525         Fix typos.
1526
1527 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1528
1529         * gst/gstcaps.c:
1530         Previous commit was wrong NULL caps does not exist
1531         and indicate an error, so also add a FIXME to
1532         gst_caps_is_equal where NULL caps are accepted.
1533
1534 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1535
1536         * gst/gstcaps.c:
1537         Allow passing of NULL to gst_caps_union
1538
1539 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1540
1541         * gst/gstghostpad.c:
1542         Add in doc that gst_ghost_pad_set_target can accept
1543         NULL to clear target
1544
1545 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1546
1547         * gst/gstplugin.c:
1548         * gst/gstregistry.c:
1549           GstRegistryPool doesn't exist; don't refer to it in docs.
1550           Don't refer to functions that don't exist in docs, it's
1551           unhelpful.
1552
1553 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1554
1555         * gst/gst.c:
1556         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1557
1558 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1559
1560         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1561
1562         * docs/pwg/building-testapp.xml:
1563         Don't use an undeclared variable in the example program.
1564         Fixes bug #542573.
1565
1566 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1567
1568         * gst/gstdebugutils.c:
1569           Squeeze ghost-pad links and remove <> from classname labels to save
1570           more horizontal space.
1571
1572 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1573
1574         * gst/gstdebugutils.c:
1575           Give request and sometimes pads a different shpe style. Condense the
1576           graphs a little more.
1577
1578 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1579
1580         * configure.ac:
1581           Don't require flex and bison if the parser is disabled.
1582
1583 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1584
1585         * libs/gst/controller/gstinterpolationcontrolsource.c:
1586         (_list_find_sorted_custom):
1587         Don't use declarations after statements.
1588
1589 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1590
1591         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1592         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1593         of the the child-added / -removed signals as GstChildProxy
1594         only supports GstObjects.
1595
1596 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1597
1598         * gst/gstdebugutils.c:
1599         Fix memleak
1600
1601 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1602
1603         Patch by: Alessandro Decina <alessandro at nnva dot org>
1604
1605         * gst/gstpoll.c:
1606         Fix "ignored return value" compiler warning with newer glibc.
1607
1608 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1609
1610         * gst/gstchildproxy.c:
1611         Fix copy&paste error in gst_child_proxy_removed() documentation.
1612
1613 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1614
1615         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1616           Print error debug message if plugin description fields that should
1617           be set are NULL.
1618
1619         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1620           Don't crash if the string to serialise is NULL (it really should
1621           not be, but apparently this used to work with the xml registry ...).
1622
1623 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1624
1625         * tools/gst-plot-timeline.py:
1626         Fix parsing of log messages
1627
1628 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1629
1630         * win32/common/libgstbase.def::
1631           Sort alphabetically so make check-exports doesn't barf.
1632
1633 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1634
1635         * gst/gstevent.c:
1636           Use gst_format_get_name() to improve debug output.
1637
1638         * gst/gstpreset.c:
1639           Remove #ifdef'ed code. Add TODO comment.
1640
1641         * gst/gstsegment.c:
1642           Add debug output to ease spotting format != segment.format assertions.
1643
1644 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1645
1646         * tests/check/libs/gdp.c: (gst_dp_suite):
1647         Also enable the GDP unit test again on PPC now that the bug
1648         is fixed.
1649
1650 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1651
1652         * libs/gst/dataprotocol/dataprotocol.c:
1653         Don't write to the same region of memory as a uint64 and uint16
1654         as this breaks strict aliasing rules and apparantly breaks on PPC
1655         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1656
1657 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1658
1659         * libs/gst/controller/gstinterpolationcontrolsource.c:
1660           Optimize list handling. Use own find function. Exploit that fact that
1661           the list is sorted. Also pass back the node before, so that we can
1662           insert quickly. Have a fast path for append.
1663
1664 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1665
1666         * docs/design/draft-framestep.txt:
1667         * docs/design/part-negotiation.txt:
1668           Fix two typos.
1669
1670 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1671
1672         * configure.ac:
1673           Show configuration sumary after configure run. Based on patch by
1674           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1675
1676 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1677
1678         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1679
1680         * docs/manual/advanced-autoplugging.xml:
1681         * docs/manual/advanced-threads.xml:
1682         * docs/manual/basics-bins.xml:
1683         * docs/manual/basics-elements.xml:
1684         * docs/manual/basics-helloworld.xml:
1685         * docs/manual/basics-pads.xml:
1686           Add scale factor for pdf output.
1687
1688         * docs/manual/intro-basics.xml:
1689           Switched sections "pads" and "bins" and added a pipeline diagram.
1690
1691         * docs/manual/intro-gstreamer.xml:
1692           Added more info on gstreamer.
1693
1694         * docs/manual/intro-motivation.xml:
1695           Commented out the whole section "current problem", which sounds
1696           historical and somehow osolete; it could be turned in a positive
1697           way and reused to improve the design principles.
1698
1699         * docs/manual/intro-preface.xml:
1700           - Update URLs to library.gnome.org. 
1701           - Do not mention GTK+ in preliminary reading (irrelevant). 
1702           - Mention Plugin Writer's Manual and further reading only in the
1703             previous section.
1704           - Added a list of most relevant GObject/glib topics.
1705
1706         * docs/manual/Makefile.am:
1707         * docs/manual/bin-element-ghost.fig:
1708         * docs/manual/bin-element-ghost.png:
1709         * docs/manual/bin-element-noghost.fig:
1710         * docs/manual/bin-element-noghost.png:
1711         * docs/manual/bin-element.fig:
1712         * docs/manual/bin-element.png:
1713         * docs/manual/filter-element-multi.fig:
1714         * docs/manual/filter-element-multi.png:
1715         * docs/manual/filter-element.fig:
1716         * docs/manual/filter-element.png:
1717         * docs/manual/gstreamer-overview.png:
1718         * docs/manual/hello-world.fig:
1719         * docs/manual/hello-world.png:
1720         * docs/manual/linked-elements.fig:
1721         * docs/manual/linked-elements.png:
1722         * docs/manual/mime-world.fig:
1723         * docs/manual/mime-world.png:
1724         * docs/manual/queue.fig:
1725         * docs/manual/queue.png:
1726         * docs/manual/simple-player.png:
1727         * docs/manual/sink-element.fig:
1728         * docs/manual/sink-element.png:
1729         * docs/manual/src-element.fig:
1730         * docs/manual/src-element.png:
1731         * docs/manual/diagrams-general.svg:
1732         * docs/manual/diagrams-pipelines.svg:
1733           Removed .fig, added .png counterpart.
1734           
1735           Fixes: #539137
1736
1737 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1738
1739         * plugins/elements/gstmultiqueue.c:
1740         * plugins/elements/gstmultiqueue.h:
1741         revert extra-size-buffers stuff, caused some race conditions
1742         and extra-size-buffers is not used anymore. Docs needs some updates
1743
1744 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1745
1746         * win32/common/config.h:
1747         * win32/common/gstenumtypes.c:
1748         * win32/common/gstenumtypes.h:
1749         * win32/common/gstversion.h:
1750           Update win32 files.
1751
1752 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1753
1754         * gst/gstdebugutils.h: (GstDebugGraphDetails),
1755           (GST_DEBUG_BIN_TO_DOT_FILE):
1756           Add missing Since' markers to gtk-doc blurbs.
1757
1758 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
1759
1760         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1761         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1762         (set_caps_1), (set_caps_ct1), (transform_ct1),
1763         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1764         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1765         (transform_size_ct2), (buffer_alloc_ct2):
1766         Add some more tests with switching caps in buffer_alloc.
1767
1768 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1769
1770         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1771         (gst_test_trans_class_init), (result_sink_chain),
1772         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1773         (gst_test_trans_push), (gst_test_trans_pop):
1774         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1775         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1776         (set_caps_1), (set_caps_ct1), (transform_ct1),
1777         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1778         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1779         (transform_size_ct2), (buffer_alloc_ct2),
1780         (gst_basetransform_suite):
1781         More tests, prepare for tests with switching caps in buffer_alloc.
1782
1783 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1784
1785         * plugins/elements/gstmultiqueue.c:
1786         * plugins/elements/gstmultiqueue.h:
1787         Fix dead-lock in underrun_cb
1788
1789 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1790
1791         * docs/design/part-states.txt:
1792         Fix device open/close docs.
1793
1794 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1795
1796         * ChangeLog:
1797           Mention bugnumber for last commit.
1798
1799 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1800
1801         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1802
1803         * docs/manual/manual.xml:
1804         - Reorganised the previous "introduction" bundle into Foreword,
1805         Introduction, and About GStreamer. The two first are <preface>
1806         docbook elements. The later is the first part of the book.
1807         - added intro-gstreamer.xml (content partially from
1808         intro-preface.xml)
1809         - moved appendix-win32.xml into appendix-integration.xml
1810
1811         * docs/manual/intro-preface.xml: gstreamer section moved...
1812         * docs/manual/intro-gstreamer.xml: ...here. new file.
1813
1814         * docs/manual/appendix-win32.xml: removed file. Content moved...
1815         * docs/manual/appendix-integration.xml: ...here.
1816         
1817         * docs/manual/highlevel-components.xml: section about GstEditor moved...
1818         * docs/manual/appendix-checklist.xml: ...here.
1819         
1820         Fixes: 538764
1821
1822 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1823
1824         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1825
1826         * docs/manual/basics-helloworld.xml:
1827         * docs/manual/hello-world.fig:
1828           - Explicitely include glib.h.
1829           - Do not use global variables.
1830           - Use g_printerr() instead of g_print().
1831           - Minor formating/renaming to increase readibility.
1832           - Renamed new_pad() to on_pad_added()
1833           - Improved explenatory comments.
1834           - renamed ogg parser to ogg demuxer
1835           - Use "autoaudiosink" instead of "alsasink".
1836           Fixes: #538619
1837
1838 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1839
1840         * ChangeLog:
1841           Remove cvs conflict marker.
1842
1843 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1844
1845         * docs/README:
1846           Document that for plgin-docs we extraxt he short-desc from the element
1847           details.
1848
1849         * docs/design/part-states.txt:
1850           Tell that devices should be closed in PAUSED -> READY.
1851
1852         * docs/manual/README:
1853           Document how tests in the manual are handled.
1854
1855         * docs/manuals.mak:
1856           Typo in comment.
1857
1858 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1859
1860         * gst/gstbin.c: (bin_query_latency_fold):
1861         Only care about latency min and max when the sink is actually a live
1862         sink.
1863
1864 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1865
1866         * docs/design/part-block.txt:
1867         Fix typo.
1868
1869         * docs/design/part-element-transform.txt:
1870         Add notes about why transform needs to know input/output sizes.
1871         Add some issues that need to be solved.
1872         Add some more use cases.
1873
1874         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1875         (gst_test_trans_class_init), (result_sink_chain),
1876         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1877         (gst_test_trans_push), (gst_test_trans_pop):
1878         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1879         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1880         (set_caps_1), (set_caps_ct1), (transform_ct1),
1881         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1882         (gst_basetransform_suite):
1883         Add suport for different pad templates and buffer-alloc.
1884         Add more checks for caps and buffer-alloc.
1885         Add checks for proxy buffer alloc.
1886         Add unit test for copy transform.
1887
1888 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1889
1890         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1891
1892         * docs/manual/appendix-integration.xml:
1893         * docs/manual/appendix-licensing.xml:
1894         * docs/manual/basics-elements.xml:
1895         * docs/manual/basics-helloworld.xml:
1896         * docs/manual/basics-pads.xml:
1897         * docs/manual/highlevel-components.xml:
1898         * docs/manual/highlevel-xml.xml:
1899         * docs/manual/intro-basics.xml:
1900         * docs/manual/intro-preface.xml:
1901           Typo and formatting fixes (#538594).
1902
1903 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1904
1905         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1906         Fix some memory leaks and uses of object instances that we don't
1907         actually own.
1908
1909 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1910
1911         * plugins/elements/gstmultiqueue.c:
1912         Add functionality to extra-size-buffers property.
1913
1914 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1915
1916         * plugins/elements/gstmultiqueue.c:
1917         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1918         activate the pads if they are added in STATE_NULL.
1919
1920 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1921
1922         * docs/libs/gstreamer-libs-sections.txt:
1923         Add new API to doc
1924         * libs/gst/check/gstcheck.c:
1925         * libs/gst/check/gstcheck.h:
1926         API: gst_check_teardown_pad_by_name
1927
1928 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1929
1930         * libs/gst/check/gstcheck.c:
1931         * libs/gst/check/gstcheck.h:
1932         Also setup request pads and allow setup pads by name (#537812)
1933         API: gst_check_setup_src_pad_by_name
1934         API: gst_check_setup_sink_pad_by_name
1935
1936 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1937
1938         * tests/check/gst/gstbuffer.c:
1939         * tests/check/pipelines/parse-launch.c:
1940           Use HAVE_VALGRIND_H some more.
1941
1942 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1943
1944         * scripts/cvs-update.sh:
1945           Pass arguments to make.
1946           Run autoregen.sh if Makefile is not there.
1947
1948 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1949
1950         * configure.ac:
1951         * gst/gstinfo.c:
1952           Don't assume that <valgrind/valgrind.h> exists just because
1953           the binary is there.
1954
1955 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1956
1957         * tests/check/Makefile.am:
1958         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1959         (gst_test_trans_class_init), (gst_test_trans_init),
1960         (gst_test_trans_set_data), (result_sink_chain),
1961         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1962         (gst_test_trans_pop):
1963         * tests/check/libs/transform1.c: (GST_START_TEST),
1964         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1965         Add some test basetransform element and the beginnings of various
1966         unit tests for it.
1967
1968 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1969
1970         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1971         Increase code readability.
1972         Don't try to compare buffer offsets when ther are invalid.
1973
1974 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
1975
1976         * docs/design/Makefile.am:
1977           Dist some more design docs.
1978
1979         * docs/random/moving-plugins:
1980           Small addition: good plugins mustn't have functional code
1981           within assertion macros.
1982
1983 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1984
1985         * docs/design/draft-framestep.txt:
1986         Some ideas about a framestep API
1987
1988         * docs/design/part-element-transform.txt:
1989         Start design and use cases for basetransform in order to get it
1990         fixed soon.
1991
1992 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
1993
1994         * gst/gsttaglist.h:
1995           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1996           be in UTF-8 encoding.
1997
1998 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
1999
2000         * gst/gstbus.c:
2001           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2002
2003 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2004
2005         * plugins/elements/gstcapsfilter.c:
2006         * plugins/elements/gstfakesink.c:
2007         * plugins/elements/gstfakesrc.c:
2008         * plugins/elements/gstfdsink.c:
2009         * plugins/elements/gstfdsrc.c:
2010         * plugins/elements/gstfilesink.c:
2011         * plugins/elements/gstfilesrc.c:
2012         * plugins/elements/gstidentity.c:
2013         * plugins/elements/gstmultiqueue.c:
2014         * plugins/elements/gstqueue.c:
2015         * plugins/elements/gsttee.c:
2016         * plugins/elements/gsttypefindelement.c:
2017           Remove short_description. Add basic docs for gsttypefindelement.
2018           Simplify markup for fakesrc/fdsrc.
2019
2020 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2021
2022         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2023         Added Since doc.
2024
2025 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2026
2027         Patch by: Joel Larsson <tilljoel at gmail dot com>
2028
2029         * docs/plugins/gstreamer-plugins.args:
2030         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2031         (gst_fd_src_init), (gst_fd_src_update_fd),
2032         (gst_fd_src_set_property), (gst_fd_src_get_property),
2033         (gst_fd_src_create):
2034         * plugins/elements/gstfdsrc.h:
2035         Add timeout property like udpsrc. Fixes #538628.
2036         Add some more docs and example pipelines.
2037
2038 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2039
2040         * docs/libs/gstreamer-libs-sections.txt:
2041         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2042         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2043         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2044         (gst_base_sink_do_sync):
2045         * libs/gst/base/gstbasesink.h:
2046         * win32/common/libgstbase.def:
2047         Add method to allow sinks to specify additional delay between the sync
2048         times and the actual rendering of the data.
2049         API: gst_base_sink_set_render_delay()
2050         API: gst_base_sink_get_render_delay()
2051
2052 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2053
2054         * configure.ac:
2055         Bump version number back to dev -> 0.10.20.1
2056
2057 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2058
2059         * docs/gst/gstreamer-sections.txt:
2060         * gst/gsttaglist.c: (_gst_tag_initialize):
2061         * gst/gsttaglist.h:
2062         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2063         Fixes bug #538568.
2064
2065 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2066
2067         * libs/gst/controller/gstcontroller.c:
2068           Revert one change, that make ret value possible uninitialized.
2069
2070 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2071
2072         * libs/gst/controller/gstcontroller.c:
2073           Use freeze/thaw notify to sync notify emission a bit (its also more
2074           efficient). Move debug output to LOG (is called a lot in a loop).
2075           Always unset g_values if the have been initialized.
2076
2077 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2078
2079         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2080         (gst_base_sink_wait_eos), (gst_base_sink_event):
2081         If we have not seen a buffer before EOS, use the segment values to
2082         report the current position instead of invalid positions.
2083
2084 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2085
2086         * docs/plugins/tmpl/.cvsignore:
2087         * tests/check/gst/.cvsignore:
2088           Ignore more.
2089
2090 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2091
2092         * libs/gst/controller/gstinterpolation.c:
2093         * libs/gst/controller/gstinterpolationcontrolsource.c:
2094         * tests/check/libs/controller.c:
2095           Rewrite handling of default values. Fix overflow with unsigned types
2096           in linear interpolation. Remove now obsolete _first_value() function.
2097           Add more tests. Fixes #538201.
2098
2099 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2100
2101         * libs/gst/base/gstbasetransform.c:
2102         (gst_base_transform_class_init), (gst_base_transform_init),
2103         (gst_base_transform_transform_caps),
2104         (gst_base_transform_prepare_output_buffer):
2105         Add debug info.
2106         When a buffer is writable, its metadata is also writable so we don't
2107         need to subbuffer (which then makes the buffer not-writable anymore).
2108
2109 === release 0.10.20 ===
2110
2111 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2112
2113         * configure.ac:
2114           releasing 0.10.20, "You Crazy Diamond"
2115
2116 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2117
2118         * configure.ac:
2119         0.10.19.3 pre-release
2120
2121 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2122
2123         * configure.ac:
2124         * gst/gstpreset.c:
2125         Rename DATADIR to GST_DATADIR to avoid build problems
2126         on win32. Patch By: David Schleef <ds@schleef.org>
2127         Fixes: #536857
2128
2129 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2130
2131         * configure.ac:
2132         Explicitely link with -ldl if dladdr() is found there. Before it was
2133         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2134         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2135
2136 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2137
2138         * gst/gsterror.c: (_gst_stream_errors_init):
2139           Fix typo (spotted by Fabricio Godoy, #536723).
2140
2141 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2142
2143         * configure.ac:
2144         0.10.19.2 pre-release
2145
2146 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2147
2148         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2149         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2150         Add some debug.
2151         Make sure we don't generate invalid QoS messages.
2152
2153 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2154
2155         * gst/gstevent.c: (gst_event_new_qos):
2156         Add some assert and docs for invalid input to the qos function.
2157
2158 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2159
2160         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2161         (gst_base_sink_get_position):
2162         The reported position must always be smaller than the last seen
2163         timestamps (or timestamp + duration for reverse).
2164
2165 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2166
2167         Patch by: Rob Bradford <rob at robster dot org dot uk>
2168
2169         * gst/gstregistry.c: (gst_registry_scan_path_level):
2170         Don't recurse into .debug directories as some distros install
2171         the debugging symbols next to the plugins in .debug directories
2172         and dlopen() crashes on them sometimes. Fixes bug #508070.
2173
2174         Add FIXME for 0.11 to not recurse into directories at all because
2175         it's very inconsistent to the behaviour of other PATH environment
2176         variables.
2177
2178 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2179
2180         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2181         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2182         Fix position query range checks in reverse playback.
2183
2184 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2185
2186         * gst/gstelement.c:
2187         * gst/gstelement.h:
2188         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2189         clear of the reference to the resulting pad must be released later
2190         or not, resulting in possible leaks. Fixes bug #533865.
2191
2192 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2193
2194         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2195
2196         * gst/gstelementfactory.c:
2197         Small doc fix. Fixes #535285.
2198
2199 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2200
2201         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2202
2203         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2204         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2205         (gst_base_src_loop), (gst_base_src_set_flushing),
2206         (gst_base_src_change_state):
2207         Make sending an EOS event to the basesrc non-blocking even if the
2208         implementation does blocking waits in the create function. This is done
2209         by unlocking the create function when EOS is sent.
2210         Fixes #535218.
2211
2212 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2213
2214         * tools/gst-inspect.c: (print_element_properties_info):
2215         If possible print the element type of GValueArray properties.
2216
2217 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2218
2219         * gst/gstiterator.c:
2220         Remove an unused field from the private GstListIterator struct.
2221
2222 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2223
2224         * libs/gst/controller/gstcontroller.c:
2225           Add parameter guards.
2226
2227 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2228
2229         * tests/check/gst/gstpipeline.c:
2230           Revert test change and add comment why it should not work.
2231
2232 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2233
2234         * tests/check/gst/gstpipeline.c:
2235           Extending the test a little to verify that we also get the NULL state-
2236           change message.
2237
2238 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2239
2240         * gst/gstpreset.c: (gst_preset_default_get_meta),
2241           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2242           (gst_preset_load_preset), (gst_preset_save_preset),
2243           (gst_preset_rename_preset), (gst_preset_delete_preset),
2244           (gst_preset_set_meta):
2245           Add Since: markers to docs blurbs.
2246
2247         * win32/common/libgstreamer.def:
2248           Add recently-added API.
2249
2250 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2251
2252         Patch by: Stefan Kost  <ensonic@users.sf.net>
2253
2254         * configure.ac:
2255         Add DATADIR for storing presets.
2256
2257         * docs/gst/gstreamer-docs.sgml:
2258         * docs/gst/gstreamer-sections.txt:
2259         * docs/gst/gstreamer.types.in:
2260         Add GstPreset to docs.
2261
2262         * gst/Makefile.am:
2263         * gst/gst.h:
2264         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2265         (preset_open_and_parse_header), (preset_parse_version),
2266         (preset_merge), (preset_get_keyfile),
2267         (gst_preset_default_get_preset_names),
2268         (gst_preset_default_get_property_names),
2269         (gst_preset_default_load_preset),
2270         (gst_preset_default_save_presets_file),
2271         (gst_preset_default_save_preset),
2272         (gst_preset_default_rename_preset),
2273         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2274         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2275         (gst_preset_default_reset), (gst_preset_get_preset_names),
2276         (gst_preset_get_property_names), (gst_preset_load_preset),
2277         (gst_preset_save_preset), (gst_preset_rename_preset),
2278         (gst_preset_delete_preset), (gst_preset_set_meta),
2279         (gst_preset_get_meta), (gst_preset_class_init),
2280         (gst_preset_base_init), (gst_preset_get_type):
2281         * gst/gstpreset.h:
2282         Add GstPreset to core. Fixes #396779
2283
2284         * tests/check/Makefile.am:
2285         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2286         (gst_preset_test_set_property), (gst_preset_test_class_init),
2287         (gst_preset_test_base_init), (gst_preset_test_get_type),
2288         (gst_preset_test_plugin_init), (GST_START_TEST),
2289         (remove_preset_file), (test_setup), (test_teardown),
2290         (gst_preset_suite):
2291         Add GstPreset unit tests.
2292
2293 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2294
2295         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2296         The default event function on a sinkpad should return TRUE when
2297         there are no internal links but should collect the return values from
2298         the internal links otherwise.
2299
2300 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2301
2302         * plugins/elements/gsttypefindelement.c:
2303         (gst_type_find_element_src_event),
2304         (gst_type_find_element_handle_event):
2305         Use faster and safer _pad_push_event().
2306
2307 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2308
2309         * docs/gst/gstreamer-sections.txt:
2310         * gst/gstutils.c: (element_find_unlinked_pad),
2311           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2312         * gst/gstutils.h:
2313           API: add gst_bin_find_unlinked_pad()
2314           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2315
2316 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2317
2318         * gst/gstclock.c:
2319         * gst/gstclock.h:
2320         * gst/gsttask.c:
2321         * gst/gsttask.h:
2322         Fixed a bunch of typos.
2323
2324 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2325
2326         * gst/gstpad.h:
2327         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2328           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2329           (gst_parse_bin_from_description_full):
2330         * gst/gstutils.h:
2331           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2332
2333 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2334
2335         * docs/pwg/advanced-tagging.xml:
2336           Small docs update, can't be bothered to rewrite the nonsensical
2337           examples right now.
2338
2339 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2340
2341         * gst/gstevent.h:
2342           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2343
2344 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2345
2346         * gst/parse/grammar.y:
2347           Remove unneeded casts.
2348
2349 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2350
2351         * gst/parse/grammar.y:
2352         * tests/check/pipelines/parse-launch.c:
2353           Get all missing elements from a parse launch string if possible
2354           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2355
2356 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2357
2358         * tests/check/Makefile.am:
2359         * tests/check/pipelines/parse-launch.c:
2360           Add some unit tests for the new gst_parse_launch*_full() API.
2361           (Exposes a previously-existing memory leak in the error code
2362           path, so adding to VALGRIND_TO_FIX for now).
2363
2364 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2365
2366         * docs/gst/gstreamer-sections.txt:
2367         * gst/gst.c: (init_post):
2368         * gst/gst_private.h: (_GstParseContext):
2369         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2370           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2371           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2372           (gst_parse_launch_full):
2373         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2374           (GstParseFlags), (GstParseContext):
2375         * gst/gstutils.c: (gst_parse_bin_from_description),
2376           (gst_parse_bin_from_description_full):
2377         * gst/gstutils.h:
2378         * gst/parse/grammar.y:
2379         * gst/parse/types.h:
2380         * win32/common/libgstreamer.def:
2381           Add new gst_parse_*_full API (#528178):
2382           API: gst_parse_launch_full()
2383           API: gst_parse_launchv_full()
2384           API: gst_parse_bin_from_description_full()
2385           API: gst_parse_context_new()
2386           API: gst_parse_context_free()
2387           API: gst_parse_context_get_missing_elements()
2388
2389 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2390
2391         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2392
2393         * docs/faq/gst-uninstalled:
2394           Also support ffmpeg in gst-uninstalled.
2395
2396 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2397
2398         * configure.ac:
2399         After discussion on IRC use the binary registry as default
2400         but allow to disable it with --disable-binary-registry.
2401
2402         * win32/common/libgstreamer.def:
2403         Add the two new symbols for the binary registry.
2404
2405 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2406
2407         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2408         * gst/gstutils.c: (gst_parse_bin_from_description):
2409         * gst/parse/grammar.y: (graph):
2410           More guards against bad input; typo fix; some minor clean-ups.
2411
2412 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2413
2414         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2415
2416         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2417         If nothing else can be used, use the last buffer's start time as
2418         the segment's last stop. Fixes bug #534258.
2419
2420 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2421
2422         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2423           Move size sanity check to the right place: downstream may return
2424           a buffer with a smaller size if the buffer caps are different than
2425           the requested ones, as may happen when doing reverse negotiation.
2426
2427 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2428
2429         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2430         (gst_file_sink_render):
2431         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2432         (gst_file_src_start):
2433         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2434         use it yet.
2435
2436 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2437
2438         * gst/gstpad.c: (gst_pad_load_and_link):
2439         * gst/gstutils.c: (gst_element_link_pads),
2440         (gst_element_unlink_pads):
2441         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2442         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2443         (gst_check_teardown_sink_pad),
2444         (gst_check_element_push_buffer_list):
2445         * tests/check/elements/fakesink.c: (GST_START_TEST):
2446         * tests/check/elements/filesink.c:
2447         * tests/check/elements/filesrc.c: (GST_START_TEST):
2448         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2449         (mq_sinkpad_to_srcpad):
2450         * tests/check/elements/tee.c: (GST_START_TEST):
2451         * tests/check/generic/sinks.c: (GST_START_TEST):
2452         * tests/check/gst/gstbin.c: (GST_START_TEST):
2453         * tests/check/gst/gstevent.c: (GST_START_TEST):
2454         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2455         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2456         * tests/check/gst/gstquery.c: (GST_START_TEST):
2457         * tests/check/gst/gstutils.c: (GST_START_TEST):
2458         * tests/check/libs/basesrc.c: (GST_START_TEST):
2459         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2460         (gst_parse_test_element_change_state):
2461         Don't use gst_element_get_pad().
2462
2463 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2464
2465         * docs/Makefile.am:
2466         Fix installing plugin documentation when gtk-doc is disabled.
2467
2468 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2469
2470         * docs/manual/advanced-autoplugging.xml:
2471         * docs/manual/basics-helloworld.xml:
2472         * docs/manual/basics-pads.xml:
2473         * docs/manual/highlevel-components.xml:
2474         Avoid using a bad function in the example code.
2475
2476 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2477
2478         * gst/gstclock.c: (gst_clock_set_calibration):
2479         Fix debug of the new clock rate.
2480
2481 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2482
2483         * win32/common/libgstbase.def:
2484         Add gst_base_sink_wait_clock() to the exported symbols.
2485
2486 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2487
2488         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2489
2490         * libs/gst/base/gstbasetransform.c:
2491         (gst_base_transform_sink_event):
2492         Unref events that the GstBaseTransform::event vfunc didn't want to
2493         have forwarded by the base class. Closes a leak in identity.
2494         Fixes bug #446763.
2495
2496 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2497
2498         * docs/libs/gstreamer-libs-sections.txt:
2499         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2500         * libs/gst/base/gstbasesink.h:
2501         Expose a method that was previously used internally to synchronize
2502         against the clock because it can be useful for subclasses too.
2503         API: GstBaseSink::gst_base_sink_wait_clock()
2504
2505 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2506
2507         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2508           Add sanity check to make sure we don't get smaller buffers
2509           than requested (and fallback to normal buffer alloc if we do).
2510
2511 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2512
2513         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2514         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2515         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2516         Refactor adjusting the running_time with latency and offset into a
2517         separate method.
2518         When doing clipping, we still want to use the subclass get_times method,
2519         just in case the DURATION or TIMESTAMP are not set.
2520
2521 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2522
2523         * docs/gst/gstreamer-sections.txt:
2524         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2525         * gst/gsttypefind.h:
2526         * win32/common/libgstreamer.def:
2527           API: add gst_type_find_suggest_simple(), #533740.
2528
2529 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2530
2531         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2532           Use right error code when typefinding fails, so we can use
2533           the default (translated) error messages.
2534
2535 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2536
2537         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2538         (gst_base_src_start):
2539         When the subclass did not set caps on outgoing buffers, configure the
2540         caps we negotiated on the source pad.
2541         When the typefind helper does not find caps, error out properly instead
2542         of doing things with NULL caps.
2543
2544 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2545
2546         * gst/gsttypefind.h:
2547           Tabs to spaces, oh yes!
2548
2549 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2550
2551         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2552           Add David's and Benjamin's tests for array intersection to the
2553           unit test suite (#147931).
2554
2555 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2556
2557         * gst/gstevent.c:
2558           Document that gst_event_new_tag() and gst_event_new_navigation()
2559           take ownership of the taglist/structure passed to them. (#533635).
2560
2561 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2562
2563         * docs/Makefile.am:
2564         Don't descend into the plugins dir if plugin docs building
2565         is disabled.
2566
2567         * docs/README:
2568         Add a note about the new type:GTypeName syntax for the plugin
2569         documentation .types file.
2570
2571 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2572
2573         * gst/gstmessage.c: (gst_message_new_error),
2574         (gst_message_new_warning), (gst_message_new_info):
2575         * gst/gstmessage.h:
2576         Mark the debug string parameters as const. Fixes bug #533490.
2577
2578 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2579
2580         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2581         Sort buffer cache list by end offsets. This makes sure that we don't
2582         stop to search for a cached buffer that contains the requested data
2583         too early.
2584         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2585         more efficient. Fixes bug #459862.
2586
2587 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2588
2589         * gst/gstinfo.c:
2590           Explain why we copy the list.
2591
2592         * gst/gstpipeline.c:
2593           Improve docs.
2594
2595         * gst/gstutils.c:
2596           Add one debug-log statement to help tracing probelms with linking pads.
2597
2598 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2599
2600         * tests/check/gst/gstinfo.c:
2601         Add a test for removing the default log handler. Seems to fail under
2602         windows.
2603
2604 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2605
2606         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2607         Release pad lock before calling out to avoid a possible deadlock.
2608
2609 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2610
2611         * gst/parse/grammar.y:
2612         Remove unneeded value unset.
2613
2614         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2615         Add unit test for de/serialization of caps.
2616
2617 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2618
2619         * plugins/elements/gstfakesink.c:
2620         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2621         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2622         (gst_fake_src_class_init):
2623         Use custom marshalers that take GstMiniObject as first parameter.
2624         Using OBJECT as parameter while a GstMiniObject is given will lead
2625         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2626
2627 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2628
2629         * plugins/elements/gsttypefindelement.c:
2630         (gst_type_find_element_handle_event),
2631         (gst_type_find_element_send_cached_events),
2632         (gst_type_find_element_change_state):
2633         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2634         immediately.
2635
2636 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2637
2638         * plugins/elements/gsttypefindelement.c:
2639         (gst_type_find_handle_src_query), (stop_typefinding),
2640         (gst_type_find_element_handle_event),
2641         (gst_type_find_element_send_cached_events),
2642         (gst_type_find_element_change_state):
2643         Forward FLUSH_START events immediately and clean up instead of
2644         caching them.
2645
2646 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2647
2648         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2649
2650         * libs/gst/base/gstbasetransform.c:
2651         (gst_base_transform_buffer_alloc):
2652         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2653         fall back to default negotiation in the chain function if the caps
2654         are different from what was requested. Fixes bug #526768.
2655
2656 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2657
2658         * gst/gstsegment.c:
2659         * tests/check/gst/gstsegment.c:
2660           No, let's not use g_slice_{dup|copy} here, since they only exist
2661           since GLib 2.14 and we still depend only on >= 2.12. Also add
2662           unit test for gst_segment_copy().
2663
2664 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2665
2666         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2667           Try to fix 'dereferencing type-punned pointer will break strict
2668           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2669           changed the default GType typedef from gulong to gsize at some point,
2670           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2671           g_once_* functions all take a gsize * though, so work around the type
2672           mismatch for C++ by doing everything in gsize and casting to GType
2673           later.
2674
2675 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2676
2677         * plugins/elements/gstmultiqueue.c:
2678         Add documentation for the signals to push our core plugin docs
2679         coverage back up to 100%.
2680
2681 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2682
2683         * gst/gstinfo.h (GST_FUNCTION):
2684           Reverted GST_FUNCTION to the old version as we don't want the
2685           full signature in C++ code. Also added support for MSVC.
2686
2687 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2688
2689         * gst/gstutils.h:
2690         Intern the type name string, similar to what G_DEFINE_TYPE does.
2691
2692 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2693
2694         * gst/gstutils.h:
2695         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2696
2697 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2698
2699         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2700
2701         * libs/gst/base/gstbasetransform.c:
2702         (gst_base_transform_buffer_alloc):
2703         Don't passthrough buffer allocation too easily if the caps change.
2704         This breaks when working in passthrough mode and upstream changes
2705         it's caps. Fixes bug #526768.
2706
2707 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2708
2709         * gst/gstinfo.c (gst_debug_log_valist):
2710           Improved the __FILE__ part of debug output for MSVC.
2711
2712 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2713
2714         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2715           Declaration after statement fix for compilers like MSVC.
2716
2717 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2718
2719         * win32/common/config.h.in:
2720           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2721           use the real thing than having "???" unconditionally.
2722
2723 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2724
2725         * gst/gstinfo.h (GST_FUNCTION):
2726           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2727
2728 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2729
2730         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2731         Small code cleanup.
2732
2733         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2734         (gst_base_sink_set_flushing):
2735         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2736         Fix some comments.
2737
2738 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2739
2740         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2741         (gst_fake_src_init), (gst_fake_src_set_property),
2742         (gst_fake_src_get_property), (gst_fake_src_start):
2743         * plugins/elements/gstfakesrc.h:
2744         Added format property to control the format of the newsegment events.
2745         API: GstFakeSrc:format
2746
2747 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2748
2749         * win32/common/libgstreamer.def:
2750         Add gst_pad_has_name() to the exported symbols.
2751
2752 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2753
2754         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2755         * libs/gst/base/gstbasetransform.c:
2756         (gst_base_transform_prepare_output_buffer):
2757         Don't allow negative sizes when allocating new buffers.
2758         Fixes bug #461253.
2759
2760 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2761
2762         Patch by: Sjoerd Simons <sjoerd at luon net>
2763
2764         * gst/gstbus.c: (gst_bus_source_dispatch):
2765           Don't print a warning if the queue is empty when we try to pop
2766           here. That could happen if another thread or callback set the
2767           bus to flushing between the source's check/prepare and the
2768           dispatch being called (#531538).
2769
2770 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2771
2772         * plugins/elements/gstmultiqueue.c:
2773           Small docs fix.
2774         
2775 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
2776
2777         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2778         Add unit test for deserializing uint64s and check some really large
2779         numbers in the int64 test.
2780
2781 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2782
2783         * tools/gst-inspect.c: (n_print), (print_hierarchy),
2784         (print_interfaces), (print_element_properties_info),
2785         (print_signal_info):
2786         Use "%s" as format string instead of printing strings directly.
2787
2788 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2789
2790         * gst/gstclock.c: (gst_clock_set_calibration):
2791         Make some checks actually useful.
2792
2793         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2794         Remove some unused code. Unsigned integers tend to be >= 0.
2795
2796 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2797
2798         * gst/gstminiobject.c: (gst_value_get_mini_object):
2799           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2800           function was not in the unscheduled 0.10.19 release.
2801
2802 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2803
2804         * gst/gstregistry.c: (gst_registry_scan_path_level):
2805           Only print one log message per non-plugin file.
2806
2807 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2808
2809         * gst/gstinfo.c: (gst_debug_log_default):
2810           Fix alignment of debug log columns on 64-bit.
2811
2812 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2813
2814         * docs/libs/Makefile.am:
2815         * docs/libs/gstreamer-libs-sections.txt:
2816           Ignore private controller headers for docs.
2817
2818 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
2819
2820         * libs/gst/controller/gstcontrollerprivate.h:
2821         * libs/gst/controller/gsthelper.c:
2822         * libs/gst/controller/gstinterpolation.c:
2823         * libs/gst/controller/gstinterpolationcontrolsource.c:
2824         (gst_interpolation_control_source_set_interpolation_mode):
2825         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2826         * libs/gst/controller/lib.c:
2827         Move some private declarations into private headers.
2828
2829 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
2830
2831         * gst/gstdebugutils.c: (debug_dump_element_pad):
2832         Remove some code that is unused after Stefan's refactoring and uses
2833         uninitialized variables now, resulting in a compiler warning.
2834
2835 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2836
2837         * gst/gstregistry.c: (gst_registry_scan_path_level):
2838           Run g_str_has_suffix() only on the file name, not the
2839           entire file path.
2840
2841 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
2842
2843         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2844           Since we're not called only from the chain function any longer,
2845           we can't assume that there's always data in the queue, so move
2846           the is_full check to the beginning of the loop (otherwise we'd
2847           hit the assert when changing the limit properties while the
2848           queue is empty or not running yet).
2849           Also, only set a discont if items were actually removed from
2850           the queue.
2851
2852         * tests/check/elements/queue.c: (test_leaky_downstream):
2853           Test case for the above.
2854
2855 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2856
2857         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2858
2859         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2860         (gst_queue_chain), (queue_capacity_change),
2861         (gst_queue_set_property):
2862         When changing thr max capacity of a leaky queue, immediatly drop buffers
2863         instead of waiting for a push on the sinkpad. Fixes #530637.
2864
2865 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
2866
2867         * gst/gstdebugutils.c:
2868           Refactor code and fix handling of ghostpads and their proxypads.
2869
2870 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2871
2872         * docs/gst/gstreamer-sections.txt:
2873         * gst/gstevent.c: (gst_event_has_name):
2874         * gst/gstevent.h:
2875         * tests/check/gst/gstevent.c: (GST_START_TEST):
2876         Add method to conveniently check the name of a custom event with
2877         gst_event_has_name().
2878         Reformat the event docs so that related methods are put together instead
2879         of the default alphabetical sort.
2880         Update unit test with new method.
2881         API: GstEvent::gst_event_has_name()
2882
2883 2008-04-28  Michael Smith <msmith@songbirdnest.com>
2884
2885         * libs/gst/check/Makefile.am:
2886           Don't add an explicit link to libgstreamer-0.10.la; it's already
2887           included in GST_OBJ_LIBS.
2888
2889 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
2890
2891         * gst/gst.c:
2892         Register GstClock type from a type-safe context. Fixes bug #530317.
2893
2894 2008-04-25  Michael Smith <msmith@songbirdnest.com>
2895
2896         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2897         * tools/gst-run.c:
2898           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2899
2900 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2901
2902         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2903         (gst_bin_dispose):
2904         Use the GLib stuff to create a private structure.
2905         Add some locking around some dispose methods to make them a little
2906         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2907
2908 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
2909
2910         * libs/gst/base/gstbasesink.h:
2911         * libs/gst/base/gstbasesrc.h:
2912         * libs/gst/base/gstbasetransform.h:
2913         * libs/gst/base/gstcollectpads.h:
2914           Fix doc typos and unify caps a bit.
2915
2916 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
2917
2918         * tools/gst-launch.1.in:
2919           Forgot to also add the envvar docs here.
2920
2921 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
2922
2923         * gst/gst.c: (init_post), (gst_deinit):
2924         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2925           (test_concurrent_create), (gst_pipeline_suite):
2926           Ref some more classes in gst_init() to work around thread-safety
2927           issues in pre-2.16 GLibs, and add basic unit test.
2928
2929 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2930
2931         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2932         (gst_base_sink_send_event):
2933         Rearrange the latency query code. We always want to do the upstream
2934         query, even if we are not live so that the upstream elements can get the
2935         latency results too. If we fail doing the query and we are live, we
2936         return TRUE afterwards.
2937
2938 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2939
2940         patch by: Jason Zhao <e3423c@motorola.com>
2941
2942         * docs/gst/running.xml:
2943         * gst/gst.c:
2944           Enable/disable scan_and_update_registry() based on commandline switch
2945           or environment variable. Fixes #520468.
2946           
2947         * ChangeLog:
2948           Fix typo in my previous commit.
2949
2950 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2951
2952         * gst/gstregistrybinary.c:
2953           Add a warning if we hit unhandled factories when saving.
2954           More debug logging detail, but move to LOG category.
2955
2956 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2957
2958         * gst/gstregistry.c:
2959           Tell the *truth* when improving the documentation.
2960
2961 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
2962
2963         * gst/gstelementfactory.c: (gst_element_factory_make):
2964         Unref the factory after it was used the last time, not before.
2965
2966         * gst/gstindexfactory.c: (gst_index_factory_make):
2967         Improve debugging a bit and don't leak a ref to the index factory with
2968         each call.
2969
2970 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2971
2972         * gst/gstregistry.c:
2973           Improve the documentation.
2974
2975 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2976
2977         * gst/gstsegment.c:
2978           The glib macro seems to be borked. Use g_slice_copy directly and cast
2979           in the hope that this fixes the warning on 64bit.
2980
2981 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2982
2983         * gst/gstsegment.c:
2984           Document the new function. Use g_slice_dup() (no need for
2985           gst_segment_init()).    
2986
2987 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2988
2989         * docs/gst/gstreamer-sections.txt:
2990           Move GParamSepc macros to standart section.
2991   
2992         * gst/gstbin.c:
2993           Dn't document _get_type - its in private section in docs anyway and
2994           this doc-blob was incomplete.
2995
2996         * gst/gstclock.h:
2997           Fix wrong symbol names in docs.
2998
2999         * gst/gstmacros.h:
3000           Add once doc sentence.
3001
3002         * tests/check/gst/.cvsignore:
3003           Ignore more.
3004
3005 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3006
3007         * docs/gst/Makefile.am:
3008           And remove those libs here.
3009
3010 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3011
3012         * docs/libs/Makefile.am:
3013           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3014
3015 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3016
3017         Patch by: Olivier Crete <tester at tester dot ca>
3018
3019         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3020         Add the min-threshold to the min latency if possible. Fixes #529148.
3021
3022 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3023
3024         * docs/gst/gstreamer.types.in:
3025           Stupid editor, I removed that line as it should go in yet.
3026
3027 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3028
3029         * docs/gst/gstreamer.types.in:
3030         * docs/libs/gstreamer-libs.types:
3031           Remove library types fro core docs and have them in libs docs.
3032           Reformat and cleanup. Add comment for miniobject types.
3033
3034 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3035
3036         * gst/gsturi.c: (gst_uri_get_protocol):
3037           Fix leak: g_strdown operates on the string in place, while
3038           g_ascii_strdown() returns a newly-allocated string.
3039
3040 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3041
3042         * tools/gst-inspect.c: (print_uri_handler_info),
3043         (print_element_info):
3044         Print the URI protocols and the URI type supported by the element.
3045
3046 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3047
3048         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3049         Use g_value_take_string() instead of the deprecated
3050         g_value_set_string_take_ownership().
3051
3052 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3053
3054         * gst/gstregistrybinary.c: (_gst_crc32):
3055         Return the old CRC instead of 0 if we give a NULL buffer
3056         or a buffer with a length of 0.
3057
3058 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3059
3060         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3061         (gst_uri_get_protocol), (gst_uri_has_protocol),
3062         (gst_uri_construct), (gst_uri_handler_set_uri):
3063         A valid URI scheme can also include '+', '-' and '.' additional
3064         to alphanumeric characters as per RFC 3986 Section 3.1.
3065
3066         Handle URI schemes case insensitive in all places and convert
3067         to lower-case when constructing an URI or setting an URI with
3068         the GstURIHandler interface. Fixes bug #528868.
3069         All elements can still assume (as before) that they will
3070         get passed URIs with a lower-case URI scheme by the GstURIHandler
3071         interface.
3072
3073 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3074
3075         * gst/gstcaps.c: (gst_static_caps_get):
3076         * gst/gstclock.c: (gst_clock_entry_new):
3077           Don't use g_atomic_set_int where it's not needed.
3078
3079 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3080
3081         * gst/gstvalue.c: (gst_value_deserialize_caps):
3082         * gst/parse/grammar.y:
3083         Fix 2 caps leaks.
3084
3085 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3086
3087         * gst/gstutils.c: (gst_atomic_int_set):
3088         Use g_atomic_int_set() here too instead of assignment +
3089         g_atomic_int_get().
3090
3091 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3092         
3093         * gst/gstutils.c:
3094         * gst/gstutils.h:
3095         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3096         now that we depend on new enough GLib.
3097
3098         * gst/gstcaps.c: (gst_static_caps_get):
3099         * gst/gstclock.c: (gst_clock_entry_new):
3100         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3101         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3102         (gst_debug_category_set_threshold):
3103         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3104         (gst_base_sink_set_qos_enabled):
3105         * libs/gst/net/gstnettimeprovider.c:
3106         (gst_net_time_provider_set_property):
3107         Use g_atomic_int_set() instead of gst_atomic_int_set().
3108
3109 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3110
3111         * gst/gstquery.c:
3112           Also use G_GINT64_CONSTANT for the queries.
3113
3114 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3115
3116         * gst/gstmessage.c:
3117           Use G_GINT64_CONSTANT in varargs function.
3118
3119 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3120
3121         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3122         Initialize the registry magic with zeroes.
3123
3124 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3125
3126         * gst/gstregistrybinary.c: (_gst_crc32),
3127         (gst_registry_binary_write),
3128         (gst_registry_binary_initialize_magic),
3129         (gst_registry_binary_write_cache),
3130         (gst_registry_binary_check_magic),
3131         (gst_registry_binary_read_cache):
3132         * gst/gstregistrybinary.h:
3133         Add crc32 checksum to the binary registry file and check this before
3134         accepting a registry file.
3135
3136         Also free the data list when writing to the registry file fails.
3137
3138 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3139
3140         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3141         (gst_registry_binary_load_feature),
3142         (gst_registry_binary_load_plugin):
3143         If an element supports the Uri interface, returns a valid pointer
3144         to the supported URI protocols but this pointer contains nothing
3145         don't try to save that as it will corrupt the registry.
3146
3147         Don't unref the plugin if we added it to the registry already but
3148         fail to load a feature as gst_registry_add_plugin() takes ownership
3149         of the plugin.
3150
3151         Improve debugging a bit.
3152
3153 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3154
3155         * gst/gsttaglist.h:
3156           Clarify some tag item docs after discussion on irc.
3157
3158 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3159
3160         * docs/gst/gstreamer-docs.sgml:
3161           Remove commented out plugins (they have their own docs). Update
3162           comments.
3163
3164 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3165
3166         * docs/gst/gstreamer-docs.sgml:
3167         * docs/gst/gstreamer-sections.txt:
3168         * gst/gstparamspecs.c:
3169         * gst/gstparamspecs.h:
3170           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3171           docs to own section.
3172
3173         * gst/gstvalue.c:
3174           This now only documents GValue.
3175           
3176         * docs/libs/gstreamer-libs-sections.txt:
3177         * libs/gst/controller/gstcontroller.h:
3178           Remove GST_PARAM_CONTROLLABLE.
3179
3180 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3181
3182         * docs/README:
3183           Correct file path. Tell about how to use -overrides.txt.
3184         * docs/design/draft-tagreading.txt:
3185           Small design update.
3186
3187 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3188
3189         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3190         (gst_registry_binary_load_plugin):
3191         Fix a typo in a debug message and revert change from yesterday as
3192         gst_registry_add_plugin() will only fail if something is really wrong
3193         already and we can't survive it anyway.
3194
3195 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3196
3197         * gst/gst.c: (init_post), (gst_deinit):
3198           Pre-register GstGError GType from a thread-safe context
3199           (fixes #527967); unref enum type classes in deinit.
3200
3201 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3202
3203         Patch by: Rene Stadler <mail at renestadler de>
3204
3205         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3206           Merging an empty list with another list in KEEP_ALL mode should
3207           yield an empty list as result and not the second list (#512578).
3208
3209         * tests/check/gst/gsttagsetter.c:
3210           Add unit test for tag merge modes and the aforementioned bug.
3211
3212 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3213
3214         Patch by: Rene Stadler <mail at renestadler de>
3215
3216         * gst/gsttaglist.h:
3217           Fix description to match the order in the table (#512577).
3218   
3219 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3220
3221         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3222
3223         * libs/gst/net/gstnettimepacket.h:
3224         * docs/libs/gstreamer-libs-sections.txt:
3225           Define socklen_t as int if it's not defined yet. Fixes compilation
3226           with MSVC6 and other versions where socklen_t is not defined in
3227           the windows headers (#518022).
3228
3229 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3230
3231         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3232         If gst_registry_add_plugin() fails our reference to the plugin is
3233         invalid so don't try to use it anymore and instead error out.
3234
3235 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3236
3237         * tools/gst-xmlinspect.c: (print_element_info), (main):
3238           De-cruft a bit. If no argument is specified, print all elements in
3239           XML syntax rather than a freestyle list of elements like gst-inspect.
3240           Also, don't print XML header chunk unless we actually have something
3241           to print (ie. don't print it before an error message); print error
3242           message to stderr not stdout. Remove support for printing plugin
3243           info (it would just output something freestyle along the lines of
3244           gst-inspect so far), which fixes #514507. Also add license header.
3245
3246 2008-04-11  Julien Moutte  <julien@fluendo.com>
3247
3248         Mac OS X love...
3249         * configure.ac: Merge platform specific defines, introduce a new
3250         define on OS X to remember that forking when updating registry is
3251         unsafe.
3252         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3253         module.
3254         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3255         is defined.
3256         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3257         condition that leads to absolutely no plugins being registered on
3258         OS X.
3259
3260 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3261
3262         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3263
3264         * gst/gstutils.c: (gst_pad_add_data_probe),
3265           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3266           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3267           (gst_pad_add_buffer_probe_full):
3268         * gst/gstutils.h:
3269         * docs/gst/gstreamer-sections.txt:
3270         * win32/common/libgstreamer.def:
3271           Add gst_pad_add_*_probe_full() functions with a notify callback that
3272           lets the caller free the data it passes to the probe functions. This
3273           is useful for bindings such as gst-python or gstreamermm (#526814).
3274           API: gst_pad_add_data_probe_full
3275           API: gst_pad_add_buffer_probe_full
3276           API: gst_pad_add_event_probe_full
3277
3278         * tests/check/gst/gstutils.c:
3279           Add minimal unit test to make sure freeing the data actually works
3280           as expected.
3281
3282         * tests/benchmarks/.cvsignore:
3283           Random cvsignore addendum.
3284
3285 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3286
3287         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3288           (GST_DEBUG_BIN_TO_DOT_FILE):
3289           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3290           to it in the docs (since these are macros the types of the arguments
3291           won't be shown in the docs otherwise).
3292
3293 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3294
3295         * gst/gstpad.c:
3296           Do not abort on out of memory for pad_alloc_buffer.
3297
3298 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3299
3300         * libs/gst/check/gstcheck.c:
3301           Remove blank line between symbol name ad parameters to fix gtkdoc
3302           warning.
3303
3304 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3305
3306         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3307
3308         * docs/gst/gstreamer-sections.txt:
3309         * gst/gstsegment.c:
3310         * gst/gstsegment.h:
3311         * win32/common/libgstreamer.def:
3312           Expose gst_segment_copy() to make things easier for the c++ bindings.
3313           Fixes #518932.
3314           API: gst_segment_copy()
3315
3316 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3317
3318         * gst/gst.c: (gst_init_get_option_group), (init_post):
3319           Fix const position; ref GType classes for enum types to work
3320           around thread-safety issues in GLib versions < 2.16.
3321
3322 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3323
3324         * docs/design/part-buffering.txt:
3325         Fix some typos and set the estimated total for push mode to -1.
3326
3327         * gst/gstquery.c: (gst_query_new_buffering):
3328         Set buffering-left to 0 as we're not buffering by default.
3329
3330         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3331         Implement BUFFERING query.
3332
3333 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3334
3335         Based on patch by: Milosz Derezynski <internalerror gmail com>
3336
3337         * gst/gsterror.c: (_gst_stream_errors_init):
3338         * gst/gsterror.h:
3339           Add two new error codes for encrypted content. Fixes #524659.
3340           API: GST_STREAM_ERROR_DECRYPT
3341           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3342
3343 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3344
3345         * gst/gstquery.h:
3346           Fix typo.
3347
3348         * win32/common/libgstreamer.def:
3349           Add new functions.
3350
3351 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3352
3353         * plugins/elements/gstidentity.c: (gst_identity_event),
3354         (gst_identity_start):
3355         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3356         event after processing some data. Fixes bug #526042.
3357
3358 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3359
3360         * docs/gst/gstreamer-sections.txt:
3361         * gst/gstquery.c: (gst_query_parse_latency),
3362         (gst_query_set_buffering_percent),
3363         (gst_query_parse_buffering_percent),
3364         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3365         * gst/gstquery.h:
3366         Rename _avail -> _range
3367         API: gst_query_set_buffering_range
3368         API: gst_query_parse_buffering_range
3369
3370 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3371
3372         * docs/design/part-buffering.txt:
3373         * gst/gstquark.c:
3374         * gst/gstquark.h:
3375         * gst/gstquery.c: (gst_query_parse_latency),
3376         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3377         (gst_query_parse_buffering_percent):
3378         * gst/gstquery.h:
3379         Add busy field and quark for the buffering query so that the app can
3380         only use the query to see if buffering is in progress.
3381
3382 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3383
3384         * docs/gst/gstreamer-sections.txt:
3385         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3386         (gst_message_parse_buffering_stats):
3387         * gst/gstmessage.h:
3388         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3389         (gst_query_parse_latency), (gst_query_new_buffering),
3390         (gst_query_set_buffering_percent),
3391         (gst_query_parse_buffering_percent),
3392         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3393         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3394         * gst/gstquery.h:
3395         Reorder the message docs and headers for clarity.
3396         Add aditional buffering stats API for messages.
3397         Add buffering query.
3398         Convert some leftover queries to use GstQuark.
3399         API: gst_message_set_buffering_stats
3400         API: gst_message_parse_buffering_stats
3401         API: GST_QUERY_BUFFERING
3402         API: GstBufferingMode
3403         API: gst_query_new_buffering
3404         API: gst_query_set_buffering_percent
3405         API: gst_query_parse_buffering_percent
3406         API: gst_query_set_buffering_stats
3407         API: gst_query_parse_buffering_stats
3408
3409 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3410
3411         * gst/gstmessage.c: (gst_message_new_error),
3412         (gst_message_new_warning), (gst_message_new_info),
3413         (gst_message_new_buffering), (gst_message_new_state_changed),
3414         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3415         (gst_message_new_new_clock), (gst_message_new_segment_start),
3416         (gst_message_new_segment_done), (gst_message_new_duration),
3417         (gst_message_new_async_start), (gst_message_parse_buffering),
3418         (gst_message_parse_state_changed),
3419         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3420         (gst_message_parse_new_clock), (gst_message_parse_error),
3421         (gst_message_parse_warning), (gst_message_parse_info),
3422         (gst_message_parse_segment_start),
3423         (gst_message_parse_segment_done), (gst_message_parse_duration),
3424         (gst_message_parse_async_start):
3425         Use GstQuark for messages.
3426
3427 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3428
3429         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3430         * gst/gstquark.h:
3431         Add some more quarks needed for messages and queries.
3432
3433 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3434
3435         * docs/design/part-buffering.txt:
3436         Remove the "none" buffering mode, STREAM is a good default.
3437         Move estimated-time to the avail query, that's when it will be needed.
3438         Other small typo fixes and updates.
3439
3440 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3441
3442         * gst/gstindex.c: (gst_index_resolver_get_type):
3443           Don't put descriptions into the nick field of a GEnumValue: it's not
3444           meant for that and some language bindings rely on the nick field to
3445           construct constants and the like. Fixes #526705.
3446
3447 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3448
3449         * NEWS:
3450         * RELEASE:
3451         * gstreamer.doap:
3452           Merge other changes from 0.10.19 release branch.
3453
3454 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3455
3456         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3457
3458         * configure.ac:
3459         Actually build dlls when cross-compiling with mingw32.
3460         Fixes bug #526247.
3461
3462 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3463
3464         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3465
3466         * gst/gstpoll.c:
3467         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3468
3469 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3470
3471         * docs/design/draft-latency.txt:
3472         Fix typo.
3473
3474         * docs/design/part-buffering.txt:
3475         Update design docs with more buffering ideas.
3476
3477 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3478
3479         * configure.ac:
3480           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3481
3482 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3483
3484         * configure.ac:
3485           Revert part that belongs to the preset patch.
3486
3487 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3488
3489         * configure.ac:
3490           Add qoutes to the define. Fixes # 525961.
3491
3492 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3493
3494         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3495         (gst_file_index_load), (gst_file_index_add_id),
3496         (gst_file_index_get_assoc_entry):
3497         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3498         (gst_mem_index_free_id), (gst_mem_index_add_id),
3499         (gst_mem_index_index_format):
3500         Use GSlice when possible.
3501
3502 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3503
3504         * libs/gst/controller/gstinterpolationcontrolsource.c:
3505         (gst_control_point_free),
3506         (gst_interpolation_control_source_set_internal):
3507         Use GSlice for allocating the control points.
3508
3509 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3510
3511         * plugins/elements/gsttypefindelement.c:
3512         (gst_type_find_element_class_init),
3513         (gst_type_find_element_set_property),
3514         (gst_type_find_element_get_property),
3515         (gst_type_find_element_activate):
3516         * plugins/elements/gsttypefindelement.h:
3517         Cleanup properties.
3518         Fix pad leak when peer query fails.
3519         We can still typefind when the peer returns -1.
3520         Add property to force caps and bypass typefinding. This will be used in
3521         uridecodebin.
3522         API::force-caps
3523
3524 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3525
3526         * configure.ac:
3527         Require GLib 2.12.
3528
3529         * gst/glib-compat-private.h:
3530         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3531         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3532         Unconditionally use GSlice for allocation.
3533
3534         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3535         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3536         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3537         (gst_structure_free):
3538         Use GSlice for allocation.
3539
3540 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3541
3542         * gst/parse/Makefile.am:
3543         * gst/parse/grammar.tab.pre.c:
3544         * gst/parse/grammar.tab.pre.h:
3545         * gst/parse/lex._gst_parse_yy.pre.c:
3546         Require a new enough flex and bison and remove the parser hacks to use
3547         a pre-regenerated version.
3548
3549 2008-04-01  Julien Moutte  <julien@fluendo.com>
3550
3551         patch by: Jason Zhao <E3423C@motorola.com>
3552
3553         * configure.ac: Add a configure switch to disable option parsing
3554         in gst_init.
3555         Fixes #522882.
3556
3557 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3558
3559         * configure.ac:
3560         * gst/gstregistry.c:
3561           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3562           and handle this case.
3563
3564         * gst/gst.c:
3565           Add a comment here describing, why we stat each plugin and not try to
3566           be smart.
3567
3568 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3569
3570         * libs/gst/base/gstbasetransform.c:
3571         (gst_base_transform_prepare_output_buffer):
3572         Also unset the GAP flag on buffers if we're working inplace but
3573         the element is not GAP-aware.
3574
3575         Mark a comment as FIXME 0.11.
3576
3577 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3578
3579         * gst/gst.c:
3580           Fix type in log message and add one to ease seeing how long registry
3581           cache verification takes.
3582
3583         * gst/gstregistry.c:
3584           Only test plugin filenames against G_MODULE_SUFFIX.
3585
3586 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3587
3588         * gst/gstdebugutils.c:
3589           Improve handling ghost/proxy pads.
3590
3591 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3592
3593         * docs/gst/gstreamer-sections.txt:
3594         * gst/gstpad.c:
3595         * gst/gstpad.h:
3596           Expose macro to docs and fix link to it.
3597
3598 2008-03-27  Michael Smith <msmith@fluendo.com>
3599
3600         * libs/gst/dataprotocol/dataprotocol.c:
3601         (gst_dp_packet_from_event_1_0):
3602           When calculating GDP body CRC, use the correct pointer. 
3603           Fixes part of #522401.
3604
3605 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3606
3607         Patch by: Mark Nauwelaerts <manauw at skynet be>
3608
3609         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3610         (gst_identity_init), (gst_identity_prepare_output_buffer):
3611         Identity is not always a passthrough element, it can modify the buffer
3612         timestamps when it has a datarate and operates in single-segment mode.
3613         We therefore make it an in_place filter with a custom buffer prepare
3614         function that conditionally makes the input buffer metadata writable
3615         when needed.  Fixes #523985.
3616
3617 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3618
3619         Patch by: Mark Nauwelaerts <manauw at skynet be>
3620
3621         * gst/gstclock.h:
3622         * libs/gst/base/gstbasesrc.h:
3623         * libs/gst/base/gstbasetransform.c:
3624         * libs/gst/check/gstcheck.c:
3625         Small documentation fixes. Fixes #523978.
3626
3627 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3628
3629         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3630         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3631         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3632
3633 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3634
3635         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3636         (single_queue_underrun_cb):
3637         When trying to make room in the queue, bump the max allowed buffers
3638         bigger than the current amount of buffers in the queue. this fixes some
3639         nasty deadlocks in multiqueue when dynamically changing the limits of
3640         the queue.
3641
3642 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3643
3644         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3645
3646         * gst/gstcaps.c: (gst_caps_set_simple),
3647         (gst_caps_set_simple_valist), (gst_caps_intersect):
3648         * gst/gstcaps.h:
3649         Constify the field gchar * params in set_simple and friends.
3650         Fixes #522326.
3651
3652 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3653
3654         * gst/gstvalue.c: (gst_value_transform_object_string):
3655         Transform a GstObject to a more meaningfull string that includes the
3656         object type in addition to its name.
3657
3658 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3659
3660         * ChangeLog:
3661           ChangeLog surgery to add bugnumber to commit.
3662
3663 2008-03-23  Rene Stadler  <mail@renestadler.de>
3664
3665         * libs/gst/base/gstbasetransform.c:
3666         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3667
3668 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3669
3670         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3671         Rename constant everywhere and don't forget one occurence.
3672
3673 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3674
3675         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3676         Align memory to the pointer size even if the architecture allows
3677         unaligned memory access. Unaligned memory access usually comes with
3678         performance penality.
3679
3680 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3681
3682         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3683         (gst_registry_binary_check_magic),
3684         (gst_registry_binary_load_pad_template),
3685         (gst_registry_binary_load_feature),
3686         (gst_registry_binary_load_plugin):
3687         Align memory to the pointer size instead of always 32 bit. Fixes
3688         unaligned memory accesses on ia64 and friends.
3689
3690         * gst/gstregistrybinary.h:
3691         Bump binary registry format version for this as it changes the
3692         format on those architectures that don't have unaligned access
3693         and 64 bit pointers.
3694
3695 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3696
3697         * docs/pwg/advanced-dparams.xml:
3698         * docs/pwg/building-props.xml:
3699         * docs/pwg/other-source.xml:
3700         * gst/glib-compat.h:
3701         * gst/gstbin.c: (gst_bin_class_init):
3702         * gst/gstclock.c: (gst_clock_class_init):
3703         * gst/gstindex.c: (gst_index_class_init):
3704         * gst/gstobject.c: (gst_object_class_init):
3705         * gst/gstpad.c: (gst_pad_class_init):
3706         * gst/gstpipeline.c: (gst_pipeline_class_init):
3707         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3708         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3709         * libs/gst/base/gstbasetransform.c:
3710         (gst_base_transform_class_init):
3711         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3712         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3713         (_gst_check_fault_handler_sighandler),
3714         (_gst_check_fault_handler_setup), (gst_check_init):
3715         * libs/gst/controller/gstcontroller.c:
3716         (_gst_controller_class_init):
3717         * libs/gst/controller/gstlfocontrolsource.c:
3718         (gst_lfo_control_source_class_init):
3719         * libs/gst/net/gstnetclientclock.c:
3720         (gst_net_client_clock_class_init):
3721         * libs/gst/net/gstnettimeprovider.c:
3722         (gst_net_time_provider_class_init):
3723         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3724         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3725         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3726         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3727         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3728         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3729         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3730         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3731         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3732         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3733         * plugins/elements/gsttee.c: (gst_tee_class_init):
3734         * plugins/elements/gsttypefindelement.c:
3735         (gst_type_find_element_class_init):
3736         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3737         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3738         use it everywhere for GParamSpecs that use static strings (i.e. all).
3739         This gives us less memory usage, fewer allocations and thus less
3740         memory defragmentation. Fixes bug #523806.
3741
3742 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3743
3744         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3745         (gst_param_spec_mini_object):
3746         * gst/gstminiobject.h:
3747         * win32/common/libgstreamer.def:
3748         * docs/gst/gstreamer-sections.txt:
3749         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3750         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3751         GstParamSpecMiniObject into a public header for this.
3752
3753         This make GstMiniObject a bit more consistent with GObject and makes
3754         it possible to extend the param specs.
3755
3756         gst_value_dup_mini_object is mainly useful for set_property methods.
3757
3758         Fixes bug #523798.
3759
3760         * tools/gst-inspect.c: (print_element_properties_info):
3761         Print something useful for GstMiniObject properties and not just
3762         "unknown type".
3763
3764 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3765
3766         * docs/gst/gstreamer-sections.txt:
3767         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3768         (gst_registry_binary_check_magic):
3769         * gst/gstregistrybinary.h:
3770         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3771         and add it to the (private part) of the docs to fix the build.
3772
3773 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3774
3775         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3776         (gst_registry_binary_check_magic),
3777         (gst_registry_binary_read_cache):
3778         * gst/gstregistrybinary.h:
3779         Don't use GST_MAJORMINOR for the binary registry version. Instead
3780         hardcode a value that must be changed whenever the format changes
3781         in an incompatible way.
3782         Also don't GST_ERROR when there is a version mismatch, just
3783         regenerate the registry silently.
3784
3785 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
3786
3787         * configure.ac:
3788         Back to development - 0.10.18.1
3789
3790 === release 0.10.18 ===
3791
3792 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
3793
3794         * configure.ac:
3795           releasing 0.10.18, "So far away"
3796
3797 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
3798
3799         * configure.ac:
3800         * win32/common/config.h:
3801         0.10.17.4 pre-release
3802
3803 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
3804
3805         Patch by: Ole André Vadla Ravnås
3806             <ole dot andre dot ravnas at tandberg dot com>
3807
3808         * docs/gst/gstreamer-sections.txt:
3809         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3810         (gst_poll_update_winsock_event_mask),
3811         (gst_poll_prepare_winsock_active_sets),
3812         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3813         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3814         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3815         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3816         (gst_poll_check_ctrl_commands), (gst_poll_wait):
3817         * gst/gstpoll.h:
3818         * win32/common/libgstreamer.def:
3819         Add new function gst_poll_fd_ignored() for improved Windows
3820         compatibility.
3821         Various minor fixes and cleanups. See #520808.
3822
3823 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
3824
3825         * gst/gstindex.c: (gst_index_entry_free):
3826         * gst/gstindex.h:
3827           Don't free key strings which we don't own. Fixes crash in
3828           gst_index_entry_free() (#522741).
3829
3830         * tests/check/Makefile.am:
3831         * tests/check/gst/.cvsignore:
3832         * tests/check/gst/gstindex.c: (test_index_entries),
3833           (gst_index_suite), (gst_index):
3834           Add unit test for the above.
3835
3836 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
3837
3838         * win32/common/libgstreamer.def:
3839         Remove symbols that were removed recently. Fixes bug #521740.
3840
3841 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
3842
3843         * configure.ac:
3844         * win32/common/config.h:
3845         0.10.17.3 pre-release
3846
3847 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3848
3849         Patch by: Ole André Vadla Ravnås
3850             <ole dot andre dot ravnas at tandberg dot com>
3851
3852         * docs/gst/gstreamer-sections.txt:
3853         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3854         (gst_poll_update_winsock_event_mask), (gst_poll_new),
3855         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3856         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3857         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3858         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3859         (gst_poll_fd_can_write), (gst_poll_wait),
3860         (gst_poll_set_controllable), (gst_poll_restart),
3861         (gst_poll_set_flushing):
3862         * gst/gstpoll.h:
3863         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3864         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3865         (gst_net_time_provider_new):
3866         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3867         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3868         * tests/benchmarks/gstpollstress.c: (main):
3869         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3870         Remove GstPollMode from the API, it does not make sense to let the
3871         application control this.
3872         Add support for Win32.
3873         Fix the testsuite. Fixes #520671.
3874
3875 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
3876
3877         Patch by: Ole André Vadla Ravnås
3878             <ole dot andre dot ravnas at tandberg dot com>
3879
3880         * gst/gstregistrybinary.c:
3881         Include io.h for write() and close() when building with MSVC. Fixes
3882         bug #520877.
3883
3884 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
3885
3886         * configure.ac:
3887         * gst/gst_private.h:
3888         * gst/gstconfig.h.in:
3889         * gst/gstregistry.h:
3890         * gst/gstregistrybinary.c:
3891         * win32/common/gstconfig.h:
3892           Move registry backend API to private headers where we can. Add
3893           fixme-0.11 comments for the others. Add stubs for the xml backend when
3894           using the binary to ensure they functions exists (they should not be
3895           used though). Fixes #520756.
3896
3897 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
3898
3899         * configure.ac:
3900         * win32/common/config.h:
3901         0.10.17.2 prelease
3902
3903 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
3904
3905         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3906         (gst_registry_binary_read_cache):
3907         * gst/gstregistryxml.c: (gst_registry_save):
3908         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3909         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3910         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3911         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3912         Switch to using portabl gsize/gssize instead of size_t/ssize_t
3913         Fixes #520152
3914
3915 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
3916
3917         * gst/gstminiobject.c:
3918         Import gst_private.h before any other header that might include other
3919         glib headers. This fixes the build on windows using native compilers.
3920
3921 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3922
3923         * win32/common/gstconfig.h:
3924           Add here too, just for completeness.
3925
3926 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         * configure.ac:
3929         * gst/gstconfig.h.in:
3930         * gst/gstregistry.h:
3931           Fix broken use of config.h-defined preprocessor directive in a public
3932           header file. Add a corresponding define to gstconfig.h, since we can't
3933           really remove those function declarations from the header file now
3934           (or can we? and why are they there in the first place?).
3935
3936 2008-03-03  Andy Wingo  <wingo@pobox.com>
3937
3938         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3939         the new warning.
3940
3941         * gst/gststructure.c (gst_structure_from_string): Warn if
3942         structure_from_string didn't consume the whole string, but the
3943         caller did not provide an end pointer.
3944
3945 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
3946
3947         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3948
3949         * gst/gstregistryxml.c: (read_string), (load_feature):
3950           Strings allocated by libxml2 should be freed with xmlFree(), not
3951           with g_free(). Fixes issues on windows in certain contexts (#519698).
3952
3953 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
3954
3955         * gst/gstinterface.c: (gst_element_implements_interface):
3956           Don't crash if the element supports the interface queried, but does
3957           not implement GstImplementsInterface. Fixes #519584.
3958
3959         * tests/check/Makefile.am:
3960         * tests/check/gst/.cvsignore:
3961         * tests/check/gst/gstinterface.c:
3962           Add unit test for the above.
3963
3964 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3965
3966         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3967         Small doc update.
3968
3969 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3970
3971         * gst/gstsegment.c: (gst_segment_set_seek),
3972         (gst_segment_to_stream_time):
3973         Improve some comment.
3974         Update variables where it makes more sense.
3975
3976 2008-02-29  Rene Stadler  <mail@renestadler.de>
3977
3978         * gst/gsturi.c: (gst_uri_handler_get_protocols):
3979         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
3980         URIHandlers implemented using language bindings.
3981
3982 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
3983
3984         * gst/gstelementfactory.h:
3985         * tests/check/elements/fakesink.c:
3986         * tests/check/elements/fakesrc.c: (setup_fakesrc):
3987         * tests/check/elements/fdsrc.c: (setup_fdsrc):
3988         * tests/check/elements/filesink.c: (setup_filesink):
3989         * tests/check/elements/filesrc.c: (setup_filesrc):
3990         * tests/check/elements/identity.c: (setup_identity):
3991         * tests/check/elements/tee.c:
3992         * tests/check/generic/sinks.c:
3993         * tests/check/generic/states.c: (setup), (teardown):
3994         * tests/check/gst/gst.c:
3995         * tests/check/gst/gstabi.c:
3996         * tests/check/gst/gstbin.c:
3997         * tests/check/gst/gstbus.c: (pull_messages):
3998         * tests/check/gst/gstcaps.c:
3999         * tests/check/gst/gstelement.c:
4000         * tests/check/gst/gstevent.c:
4001         * tests/check/gst/gstghostpad.c:
4002         * tests/check/gst/gstiterator.c:
4003         * tests/check/gst/gstmessage.c:
4004         * tests/check/gst/gstminiobject.c: (my_foo_init):
4005         * tests/check/gst/gstobject.c: (thread_name_object),
4006         (gst_object_suite):
4007         * tests/check/gst/gstpad.c:
4008         * tests/check/gst/gstplugin.c:
4009         * tests/check/gst/gstpoll.c:
4010         * tests/check/gst/gstquery.c:
4011         * tests/check/gst/gstsegment.c:
4012         * tests/check/gst/gststructure.c:
4013         * tests/check/gst/gstsystemclock.c:
4014         * tests/check/gst/gsttask.c:
4015         * tests/check/gst/gstutils.c:
4016         * tests/check/gst/gstvalue.c:
4017         * tests/check/gst/struct_hppa.h:
4018         * tests/check/gst/struct_i386.h:
4019         * tests/check/gst/struct_ppc32.h:
4020         * tests/check/gst/struct_ppc64.h:
4021         * tests/check/gst/struct_x86_64.h:
4022         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4023         * tests/check/libs/basesrc.c:
4024         * tests/check/libs/controller.c: (GST_START_TEST):
4025         * tests/check/libs/gdp.c:
4026         * tests/check/libs/gstnetclientclock.c:
4027         * tests/check/libs/gstnettimeprovider.c:
4028         * tests/check/libs/libsabi.c:
4029         * tests/check/libs/struct_hppa.h:
4030         * tests/check/libs/struct_i386.h:
4031         * tests/check/libs/struct_ppc32.h:
4032         * tests/check/libs/struct_ppc64.h:
4033         * tests/check/libs/struct_x86_64.h:
4034         * tests/check/pipelines/cleanup.c:
4035         * tests/check/pipelines/simple-launch-lines.c:
4036         * tests/check/pipelines/stress.c:
4037         And correct even more valid sparse warnings.
4038
4039         * win32/common/libgstreamer.def:
4040         Add gst_poll_fd_init to the list of symbols.
4041
4042 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4043
4044         * gst/gstconfig.h.in:
4045         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4046         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4047         (gst_check_log_critical_func), (gst_check_drop_buffers),
4048         (gst_check_element_push_buffer_list):
4049         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4050         (gst_controller_get_type):
4051         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4052         (gst_object_get_controller), (gst_object_get_control_source):
4053         * libs/gst/controller/gstinterpolationcontrolsource.c:
4054         (gst_interpolation_control_source_new):
4055         * libs/gst/controller/gstlfocontrolsource.c:
4056         (gst_lfo_control_source_new):
4057         * libs/gst/dataprotocol/dataprotocol.c:
4058         (gst_dp_event_from_packet_0_2):
4059         * plugins/elements/gstfdsrc.c:
4060         * plugins/elements/gstmultiqueue.c:
4061         * plugins/elements/gsttee.c:
4062         * plugins/elements/gsttypefindelement.c:
4063         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4064         (gst_file_index_add_association):
4065         * plugins/indexers/gstmemindex.c:
4066         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4067         * tests/check/elements/queue.c: (setup_queue):
4068         * tests/check/gst/gstpipeline.c:
4069         * tests/check/libs/collectpads.c: (setup), (teardown),
4070         (gst_collect_pads_suite):
4071         * tests/examples/adapter/adapter_test.c:
4072         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4073         * tests/examples/xml/createxml.c:
4074         * tests/examples/xml/runxml.c:
4075         * tools/gst-inspect.c:
4076         * tools/gst-run.c:
4077         Correct all relevant warnings found by the sparse semantic code
4078         analyzer. This include marking several symbols static, using
4079         NULL instead of 0 for pointers, not using variable sized arrays
4080         on the stack, moving variable declarations to the beginning of
4081         a block and using "foo (void)" instead of "foo ()" for declarations.
4082
4083 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4084
4085         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4086         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4087         Don't reset GstPollFDs, this is not necessary at all.
4088
4089         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4090         (delayed_restart), (delayed_control):
4091         Use GST_POLL_FD_INIT.
4092
4093 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4094
4095         * gst/gstpoll.c: (gst_poll_fd_init):
4096         * gst/gstpoll.h:
4097         Added Since tags.
4098
4099         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4100         Use some more init macros.
4101
4102 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4103
4104         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4105         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4106         Use init macros and functions.
4107
4108 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4109
4110         * docs/gst/gstreamer-sections.txt:
4111         * gst/gstpoll.c: (gst_poll_fd_init):
4112         * gst/gstpoll.h:
4113         Add INIT macro and _init method for initializing the GstPollFD.
4114
4115 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4116
4117         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4118         (gst_fd_sink_update_fd):
4119         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4120         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4121         (delayed_restart), (delayed_control):
4122         Initialize some uninitialized variables as spotted by valgrind.
4123
4124 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4125
4126         * tests/benchmarks/Makefile.am:
4127         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4128         (main):
4129         Add poll stress test.
4130
4131 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4132
4133         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4134
4135         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4136         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4137         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4138         * plugins/elements/gstfdsink.h:
4139         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4140         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4141         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4142         (gst_fd_src_uri_set_uri):
4143         * plugins/elements/gstfdsrc.h:
4144         Port to GstPoll. See #505417.
4145
4146 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4147
4148         * win32/common/libgstreamer.def:
4149         Add new gst_poll_ symbols to win32 defs.
4150
4151 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4152
4153         * docs/libs/gstreamer-libs-sections.txt:
4154         * libs/gst/net/gstnetclientclock.c:
4155         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4156         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4157         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4158         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4159         * libs/gst/net/gstnetclientclock.h:
4160         * libs/gst/net/gstnettimeprovider.c:
4161         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4162         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4163         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4164         (gst_net_time_provider_new):
4165         * libs/gst/net/gstnettimeprovider.h:
4166         Use a private stuct to not break ABI.
4167
4168 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4169
4170         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4171
4172         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4173         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4174         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4175         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4176         * libs/gst/net/gstnetclientclock.h:
4177         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4178         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4179         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4180         (gst_net_time_provider_new):
4181         * libs/gst/net/gstnettimeprovider.h:
4182         Massive code removal and cleanups because of GstPoll.
4183         Fixes #505417.
4184
4185 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4186
4187         * configure.ac:
4188         Add checks for poll, ppoll and pselect.
4189
4190         * docs/gst/gstreamer-docs.sgml:
4191         * docs/gst/gstreamer-sections.txt:
4192         Add docs for GstPoll.
4193
4194         * gst/Makefile.am:
4195         * gst/gst.h:
4196         * gst/gstpoll.c: (find_index), (selectable_fds),
4197         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4198         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4199         (gst_poll_set_mode), (gst_poll_get_mode),
4200         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4201         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4202         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4203         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4204         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4205         (gst_poll_fd_can_write), (gst_poll_wait),
4206         (gst_poll_set_controllable), (gst_poll_restart),
4207         (gst_poll_set_flushing):
4208         * gst/gstpoll.h:
4209         Add generic poll abstraction. We ideally don't want to have this in core
4210         here but in glib intead...
4211         This code will be used in various network elements and ultimately for
4212         the nanosecond precision monotonic clock (that's why it's here in core).
4213         It'll allow us to implement cancelable socket operations for windows too.
4214
4215         * tests/check/Makefile.am:
4216         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4217         (delayed_stop), (delayed_restart), (delayed_flush),
4218         (delayed_control), (gst_poll_suite):
4219         Add GstPoll unit test.
4220
4221 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4222
4223         * gst/gstfilter.c:
4224           Improve documentation of gst_filter_run(). Fixes #518627.
4225
4226 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4227
4228         * docs/README:
4229           Add a few lines about the new 'check-inspected-versions' target.
4230
4231 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4232
4233         * tests/check/gst/gstevent.c:
4234           Add qos to the event test. Rename tcase/tsuite; is not only about
4235           custom events.
4236
4237 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4238
4239         * plugins/elements/gstqueue.c:
4240           Ensure that buffer metadata is writeable, before modifying. Spotted by
4241           Mike.
4242
4243 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4244
4245         * plugins/elements/gstqueue.c:
4246         * plugins/elements/gstqueue.h:
4247           When dropping buffers in leaky modes, mark next buffers we sent as
4248           DISCONT.
4249
4250 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4251
4252         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4253           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4254
4255 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4256
4257         * plugins/elements/Makefile.am:
4258         * plugins/elements/gstbufferstore.c:
4259         * plugins/elements/gstbufferstore.h:
4260         * plugins/elements/gsttypefindelement.h:
4261           Remove GstBufferStore, no idea why we were still building it.
4262           It's not used anywhere and superseded by GstAdapter.
4263
4264         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4265           (gst_file_src_create_mmap):
4266         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4267           Printf format fixes for 64-bit integers.
4268
4269 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4270
4271         * configure.ac:
4272         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4273         We're not in 0.8 times anymore.
4274
4275 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4276
4277         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4278         (gst_check_element_push_buffer_list):
4279         * libs/gst/check/gstcheck.h:
4280         Make the declaration in the header for
4281         gst_check_element_push_buffer_list match the implementation.
4282
4283         Fix up spelling, grammar and wording of the documentation in a few
4284         places, and add the Since keyword to new API functions.
4285         Use g_list_delete_link instead of g_list_remove in
4286         gst_check_drop_buffers, since it's immeasurably more efficient.
4287
4288         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4289         Use new gst_check_drop_buffers function where appropriate.
4290
4291         * win32/common/libgstbase.def:
4292         * win32/common/libgstreamer.def:
4293         Add new symbols gst_collect_pads_take_buffer, 
4294         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4295         exports
4296
4297         Changelog surgery to add API keyword to new gst_check API.
4298
4299 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4300
4301         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4302         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4303         Update pre-generated flex files with flex 2.3.34.
4304
4305 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4306
4307         * gst/gstminiobject.c:
4308           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4309           friendly to subclasses and not require them to know all internals
4310           of their parent class.
4311
4312 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4313
4314         * docs/libs/gstreamer-libs-sections.txt:
4315         * libs/gst/base/gstcollectpads.c:
4316         * libs/gst/base/gstcollectpads.h:
4317           Add sub-buffer functions to collectpads. Fixes #516187.
4318           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4319
4320 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4321
4322         * gst/gstbuffer.c:
4323           Copy selected buffer-flags when creating subbuffers.
4324           Fixes #516395.
4325
4326 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4327
4328         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4329         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4330         * gst/gstmessage.c: (gst_message_class_init),
4331         (gst_message_finalize):
4332         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4333         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4334         (gst_mmap_buffer_finalize):
4335         Properly chain up finalize functions to the parent class.
4336
4337 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4338
4339         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4340
4341         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4342         (gst_index_set_resolver_full):
4343         * gst/gstindex.h:
4344         Add new function with option to dispose of user_data in resolver.
4345         Actually call the dispose function when finalizing the object and not
4346         just when changing the resolver/filter.
4347         API: GstIndex::gst_index_set_resolver_full()
4348
4349         * docs/gst/gstreamer-sections.txt:
4350         Add new function to docs. Fixes #515469.
4351
4352 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4353
4354         * gst/gstindex.c: (gst_index_finalize):
4355         Chain up finalize to the parent class. Fixes leaking the GstObject
4356         name and other things.
4357
4358 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4359
4360         * configure.ac:
4361         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4362         pre-releases or releases.
4363
4364         * docs/faq/gst-uninstalled:
4365         Add gst-plugins-gl
4366
4367         * docs/random/release:
4368         Change one of the steps - we only upload core & base to Gnome FTP
4369
4370 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4371
4372         * gst/gstconfig.h.in:
4373           Add 'id' for example.
4374
4375         * gst/gstpad.c:
4376         * gst/gstutils.c:
4377         * plugins/elements/gstfdsink.c:
4378           Link to signals. Doc and comment fixes.
4379
4380 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4381
4382         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4383         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4384           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4385           unused and unimplemented; finally, it is plugin features, not
4386           plugins, that have ranks.
4387           
4388 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4389
4390         * gst/gstpluginfeature.h:
4391           Clarify GstRank range docs.
4392
4393 2008-02-05  David Schleef  <ds@schleef.org>
4394
4395         * gst/gst.c: Add a separate gst_deinitialized that prevents
4396           gst_init() from being called after gst_deinit().  Fixes #509559
4397
4398 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4399
4400         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4401         (gst_bin_class_init):
4402         * gst/gstelement.c: (gst_element_base_class_init),
4403         (gst_element_class_add_pad_template):
4404         * gst/gstpadtemplate.c: (gst_pad_template_init):
4405         * gst/gstpipeline.c: (gst_pipeline_get_type),
4406         (gst_pipeline_base_init), (gst_pipeline_class_init):
4407         * libs/gst/base/gstbasesink.c:
4408         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4409         (gst_base_src_base_init), (gst_base_src_class_init):
4410         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4411         (gst_capsfilter_class_init):
4412         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4413         (gst_fake_sink_class_init):
4414         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4415         (gst_fake_src_class_init):
4416         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4417         (gst_fd_sink_class_init):
4418         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4419         (gst_fd_src_class_init):
4420         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4421         (gst_file_sink_class_init):
4422         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4423         (gst_file_src_class_init):
4424         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4425         (gst_identity_class_init):
4426         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4427         (gst_multi_queue_class_init):
4428         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4429         (gst_queue_class_init):
4430         * plugins/elements/gsttee.c: (gst_tee_base_init),
4431         (gst_tee_class_init):
4432         * plugins/elements/gsttypefindelement.c:
4433         (gst_type_find_element_base_init),
4434         (gst_type_find_element_class_init):
4435         * tests/check/gst/gstelement.c: (gst_element_suite):
4436         Revert previous changes to the behaviour of GstPadTemplates, etc
4437         and the possiblity to call them in class_init as it breaks too
4438         many elements. Reopens bug #491501.
4439
4440         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4441         several places.
4442
4443 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4444
4445         * tools/gst-launch.c:
4446         Dump one graph per pipeline state-change and state change name
4447         (if GST_DEBUG_DUMP_DOT_DIR is set).
4448
4449 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4450
4451         * gst/gstpad.c:
4452         * tests/check/gst/gstpad.c:
4453         Be sure that we have a new copy of the caps and not
4454         reffed caps from a template
4455
4456 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4457
4458         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4459         * gst/gstpipeline.c: (gst_pipeline_get_type),
4460         (gst_pipeline_class_init):
4461         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4462         (gst_base_sink_class_init):
4463         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4464         (gst_base_src_class_init):
4465         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4466         (gst_base_transform_class_init):
4467         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4468         (gst_collect_pads_class_init):
4469         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4470         * libs/gst/net/gstnettimeprovider.c:
4471         (gst_net_time_provider_base_init),
4472         (gst_net_time_provider_class_init):
4473         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4474         (gst_capsfilter_class_init):
4475         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4476         (gst_fake_sink_class_init):
4477         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4478         (gst_fake_src_class_init):
4479         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4480         (gst_fd_sink_class_init):
4481         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4482         (gst_fd_src_class_init):
4483         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4484         (gst_file_sink_class_init):
4485         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4486         (gst_file_src_class_init):
4487         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4488         (gst_identity_class_init):
4489         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4490         (gst_multi_queue_class_init):
4491         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4492         (gst_queue_class_init):
4493         * plugins/elements/gsttee.c: (gst_tee_base_init),
4494         (gst_tee_class_init):
4495         * plugins/elements/gsttypefindelement.c:
4496         (gst_type_find_element_base_init),
4497         (gst_type_find_element_class_init):
4498         Don't use base_init where not absolutely necessary. For example it's
4499         not necessary anymore for adding pad templates or setting element
4500         details.
4501
4502         Leave empty base_init functions in several places as GST_BOILERPLATE
4503         still defines and uses them.
4504
4505 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4506
4507         * gst/gstelement.c: (gst_element_base_class_init),
4508         (gst_element_class_add_pad_template):
4509         * gst/gstpadtemplate.c:
4510         Make it possible (and recommended) to set element details and add
4511         pad templates in the class_init functions by copying the details/pad
4512         templates in GstElement's base_init.
4513
4514         Also make it possible to replace existing pad templates by adding
4515         a new one with the same name. This was done in a hackish fashion
4516         in same elements before already.
4517
4518         Don't reference pad templates that are added a second time. A
4519         new pad template has a refcount of one and is not floating anymore
4520         and to be owned by the element's class. Make this more explicit by
4521         mentioning it in the docs of gst_element_class_add_pad_template().
4522
4523         These changes are backwards compatible. Fixes bug #491501.
4524
4525         * tests/check/gst/gstelement.c:
4526         Add unit test for setting element details, adding pad templates and
4527         replacing them in a subclass.
4528
4529 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4530
4531         * tools/gst-inspect.c: (print_interfaces),
4532         (print_element_properties_info), (print_pad_info),
4533         (print_signal_info), (print_element_info):
4534         Fix a few memory leaks.
4535
4536 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4537
4538         * docs/libs/gstreamer-libs-sections.txt:
4539         * libs/gst/check/gstcheck.c:
4540         * libs/gst/check/gstcheck.h:
4541         Add more functions for unit testing: gst_check_drop_buffers,
4542         gst_check_caps_equal, gst_check_element_push_buffer_list,
4543         gst_check_element_push_buffer
4544         API: gst_check_drop_buffers
4545         API: gst_check_caps_equal
4546         API: gst_check_element_push_buffer_list
4547         API: gst_check_element_push_buffer
4548
4549 2008-02-01  Julien Moutte  <julien@fluendo.com>
4550
4551         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4552         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4553         (gst_index_finalize), (gst_index_entry_free),
4554         (gst_index_add_association): Fix memory leaks.
4555         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4556         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4557         (gst_mem_index_free_format), (gst_mem_index_free_id),
4558         (gst_mem_index_finalize): Fix memory leaks.
4559         * win32/common/config.h: Updated to CVS HEAD.
4560
4561 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4562
4563         * docs/README:
4564           Some more details about how the plugin docs works.
4565
4566         * docs/plugins/gstreamer-plugins-sections.txt:
4567           Whitespace cleanup.
4568
4569 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4570
4571         * gst/parse/grammar.tab.pre.c:
4572         * gst/parse/grammar.tab.pre.h:
4573         * gst/parse/grammar.y:
4574         * gst/parse/lex._gst_parse_yy.pre.c:
4575           Add delayed set-property. This allows to set properties on dynamicaly
4576           created objects (pads in videomxer). Fixes #509391.
4577
4578 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4579
4580         * gst/gstutils.c:
4581         Check if caps are not NULL (fix bug #510194)
4582
4583 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4584
4585         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4586         (gst_base_sink_get_position_paused):
4587         Add fixme regarding EOS in pull mode.
4588         Fix position reporting in PAUSED for negative rates.
4589
4590 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4591
4592         * gst/gstminiobject.c: (gst_mini_object_replace):
4593         When replacing a miniobject, do a quick equality check first so that we
4594         can avoid a ref/unref pair.
4595
4596 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4597
4598         * docs/design/part-synchronisation.txt:
4599         Update some docs.
4600
4601         * docs/plugins/Makefile.am:
4602         * docs/plugins/gstreamer-plugins-docs.sgml:
4603         * docs/plugins/gstreamer-plugins-sections.txt:
4604         * plugins/elements/gstmultiqueue.c:
4605         Add multiqueue to the docs.
4606
4607 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4608
4609         * configure.ac:
4610           Back to CVS
4611
4612 === release 0.10.17 ===
4613
4614 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4615
4616         * configure.ac:
4617           releasing 0.10.17, "Due Negligence"
4618
4619 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4620
4621         * gst/gstutils.c:
4622         Revert caps != NULL check temporarily for 0.10.17 release.
4623
4624 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4625
4626         * gst/gstutils.c:
4627         Check if caps are not NULL (fix bug #510194)
4628
4629 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4630
4631         * gst/gstutils.c:
4632         Fix compilation on systems that have posix timers but no
4633         monotonic clock.
4634         Fixes: #512715
4635         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4636         dot net>
4637
4638 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4639
4640         * tools/gst-inspect.c:
4641         Revert previous commit in preparation for an impromptu 0.10.17 release
4642
4643 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4644
4645         * tools/gst-inspect.c: (print_interfaces),
4646         (print_element_properties_info), (print_pad_info),
4647         (print_signal_info), (print_element_info):
4648         Fix a few memory leaks.
4649
4650 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4651
4652         * configure.ac:
4653         Back to CVS
4654
4655 === release 0.10.16 ===
4656
4657 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4658
4659         * configure.ac:
4660           releasing 0.10.16, "Special Dispensation"
4661
4662 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4663
4664         * configure.ac:
4665           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4666           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4667           not fail when trying to crosscompile on OpenEmbedded (#511750).
4668
4669 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4670
4671         * docs/manuals.mak:
4672         Use $(MAKE) instead of make to fix the build if GNU make is
4673         called different. Fixes bug #510747.
4674
4675 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4676
4677         * gst/gstplugin.c: (_gst_plugin_initialize):
4678           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4679           again, which I broke two commits ago when changing the API
4680           of gst_plugin_register_static(): the g_list_foreach() in
4681           _gst_plugin_register_static still assumed the old function
4682           signature and would therefore fail (re-fixes #510187).
4683
4684         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4685           (_gst_plugin_register_static), (gst_plugin_register_static):
4686           Revert the (technically correct) change to call g_thread_init() from
4687           the pre-main() constructor. This will break programs which call
4688           g_thread_init() without an if (!g_thread_supported()) guard in their
4689           main function. We could just blame it on GLib or the application, but
4690           it's probably best to just avoid this altogether and simply not use
4691           any GLib functions here and use plain old malloc() with a simple
4692           array to store the plugins to register later when gst_init() is
4693           finally called (re-fixes #510187).
4694
4695         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4696           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4697           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4698           (GST_START_TEST), (gst_plugin_suite):
4699           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4700           works.
4701
4702 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4703
4704         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4705           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4706           This makes gtk-doc complain, but results in slightly better
4707           compiler errors. The old _gst_plugin_register_static() is
4708           still guarded, so there'll be a compiler warning about that
4709           instead. Fixes #510187 too.
4710
4711 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4712
4713         * gst/gst.c: (init_post):
4714         * gst/gstplugin.c: (_gst_plugin_register_static),
4715           (gst_plugin_register_static), (_gst_plugin_initialize):
4716         * gst/gstplugin.h: (GstPluginFilter):
4717           Change API of gst_plugin_register_static() to not take
4718           a GstPluginDesc, but rather just take all the arguments
4719           in a GstPluginDesc directly. This is more intuitive and
4720           avoids certain mistakes when porting code from
4721           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4722           Fixes #510187.
4723
4724         * tests/check/gst/gstplugin.c:
4725           Fix up for changed API.
4726
4727 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4728
4729         * docs/faq/legal.xml:
4730           Update FAQ, Totem actually has an exception these days.
4731
4732 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4733
4734         * win32/common/libgstreamer.def:
4735         Add new API declarations
4736
4737 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4738
4739         * gst/gstminiobject.c:
4740           Spelling fixes for the API docs.
4741
4742 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4743
4744         * libs/gst/base/gstbasetransform.c:
4745           Fix long property description for QoS.
4746
4747 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4748
4749         * gst/gst.c:
4750         _gst_trace_on is already provided by gsttrace.h, no need to declare
4751         it ourselves.
4752
4753         * docs/libs/gstreamer-libs-sections.txt:
4754         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4755         and remove strange tcase_add_test which is outputting a warning.
4756
4757         * libs/gst/check/gstcheck.c:
4758         * libs/gst/check/gstcheck.h:
4759         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4760         and define them in gstcheck.c instead of having every .c file whcih
4761         includes gstcheck.h be defining its own copy and relying on symbol
4762         interposing to marry them all, which doesn't work on Solaris.
4763
4764         * tests/check/elements/identity.c: (GST_START_TEST):
4765         Don't define 'buffers' locally, it comes from libgstcheck.
4766
4767         * tests/check/generic/sinks.c: (send_buffer):
4768         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4769
4770         * tests/check/gst/gststructure.c: (GST_START_TEST):
4771         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4772         * tests/check/gst/gstutils.c: (GST_START_TEST):
4773         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4774         Add a bunch of casts to make various constants fit the types
4775         they're being assigned to.
4776
4777 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
4778
4779         * gst/gstchildproxy.c:
4780           Improve docs and add some ideas for making this more general-purpose.
4781
4782 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4783
4784         * gst/gst_private.h: (GST_CAT_TYPES):
4785           Add GST_CAT_TYPES, for consistency, and so that the other
4786           debug categories don't make fun of it. Spotted by Saur on IRC.
4787
4788 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4789
4790         * gst/parse/Makefile.am:
4791           Move types.h from EXTRA_DIST to noinst_HEADERS.
4792
4793 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4794
4795         * autogen.sh:
4796           Add -Wno-portability to the automake parameters to stop warnings
4797           about GNU make extensions being used. We require GNU make in almost
4798           every Makefile anyway.
4799
4800         * configure.ac:
4801           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4802           at the same time is required for per target flags.
4803
4804 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4805
4806         * gst/gstmacros.h:
4807           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4808           __GNUC__ is defined before using it.
4809
4810 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4811
4812         * docs/gst/gstreamer-sections.txt:
4813         * gst/gst.c: (init_post):
4814         * gst/gstplugin.c: (_gst_plugin_register_static),
4815           (gst_plugin_register_static), (_gst_plugin_initialize),
4816           (gst_plugin_register_func):
4817         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4818           API: add gst_plugin_register_static() and deprecate
4819           GST_PLUGIN_DEFINE_STATIC, since it's not portable
4820           (#498924).
4821           Also, in _gst_plugin_register_static(), make sure to call
4822           g_thread_init() before calling GLib functions such as
4823           g_list_append() if we're not initialised yet, since that
4824           may lead to random crashes with older GSlice/GLib versions.
4825
4826         * tests/check/gst/gstplugin.c:
4827           Adapt unit test to above changes.
4828
4829 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4830
4831         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4832         * gst/gstcaps.c: (gst_caps_to_string):
4833         * gst/gststructure.c: (GST_ASCII_IS_STRING),
4834           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4835           Yet another gratuitous GString micro-optimisation: add a (private)
4836           function that serialises a structure appending to an existing
4837           GString, so that when we serialise caps we don't need to alloc+free
4838           a throwaway GString for each structure (each of which also entailing
4839           multiple reallocs on the way); also use g_string_sized_new() in
4840           various places with an approximate string length to avoid reallocs
4841           within GString. See #500143.
4842
4843 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4844
4845         * gst/gststructure.c: (gst_structure_id_set_value):
4846           Always check UTF-8 conformance of structure strings and not only
4847           if the debugging system is enabled; reasoning: the behaviour of
4848           the actual code shouldn't really change depending on whether the
4849           debugging system is enabled or not (#508291).
4850
4851 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
4852
4853         * Makefile.am:
4854           Remove old coverage target in favour of "make lcov".
4855
4856 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4857
4858         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4859         (gst_base_src_loop):
4860         The start segment for reverse playback goes from start to last_stop.
4861
4862 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4863
4864         Patch by: Peter Kjellerstedt <pkj axis com>
4865
4866         * gst/gstclock.h:
4867         Cast the results from the timeval/spec_to_time macros to what the
4868         docs say it casts to, a GstClockTime. fixes #508175.
4869
4870 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4871
4872         * gst/gstbuffer.c:
4873         Update some comments.
4874
4875         * tools/gst-inspect.c: (print_element_properties_info):
4876         Improve printing of flags.
4877
4878 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4879
4880         * libs/gst/base/gstbasetransform.c:
4881           (gst_base_transform_transform_size):
4882           Print element name with g_warning() if there's a problem
4883           with the unit size.
4884
4885 2008-01-07  David Schleef  <ds@schleef.org>
4886
4887         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4888
4889         * libs/gst/controller/gstcontroller.h:
4890         * libs/gst/controller/gstcontrolsource.h:
4891         * libs/gst/controller/gstinterpolationcontrolsource.h:
4892         * libs/gst/controller/gstlfocontrolsource.h:
4893         * libs/gst/dataprotocol/dataprotocol.h:
4894           Fix empty prototypes.  Fixes bug #507957.
4895
4896 2008-01-07  David Schleef  <ds@schleef.org>
4897
4898         * docs/faq/dependencies.xml: Fix typo.
4899
4900 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4901
4902         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4903         (gst_base_src_loop):
4904         Don't update the last_stop position in do_seek, that's the position we
4905         did a seek to.
4906         Read backwards when we have a negative rate.
4907
4908         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4909         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4910         (filesrc_suite):
4911         Add check for reverse reading.
4912
4913 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
4914
4915         Patch by: Alexis Ballier <aballier at gentoo org>
4916
4917         * tests/check/gst/gstabi.c:
4918         * tests/check/gst/struct_ppc64.h:
4919         * tests/check/libs/libsabi.c:
4920         * tests/check/libs/struct_ppc64.h:
4921           Decide which header to include based on the userland ABI target
4922           and not the kernel/cpu. Fix up structure sizes of ppc64 header
4923           for 64-bit userland (#503590).  Might need something similar for
4924           x86 too.
4925
4926 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4927
4928         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4929           Log the reason why fopen fails in addition to the fact that it failed.
4930           
4931 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
4932
4933         * gst/parse/parse.l:
4934         Use "%option never-interactive" to prevent useless calls to isatty()
4935         on every input when parsing. Also use "%option noinput" to not define
4936         the static input/yyinput functions which we don't use anyway. This
4937         removes a compiler warning with gcc 4.3 and saves some bytes in the
4938         library.
4939         
4940         * gst/parse/lex._gst_parse_yy.pre.c:
4941         Regenerated for the above change.
4942
4943 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
4944
4945         * gst/gstpad.c: (fixate_value):
4946         Don't crash when trying to fixate and empty list.
4947         Fixes #506643.
4948
4949 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
4950
4951         * docs/faq/gst-uninstalled:
4952         Clarify the comments to make the usage of this script and what it
4953         does easier to understand.
4954
4955 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4956
4957         * tools/gst-plot-timeline.py:
4958         Add more options to gst-plot-timeline
4959
4960 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
4961
4962         * docs/design/part-synchronisation.txt:
4963         Some more info on how the stream_time in GstBaseSink is done.
4964
4965 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
4966
4967         * tests/check/generic/sinks.c: (gst_sinks_suite):
4968           Put back the tcase_set_timeout(), apparently it's needed after
4969           all; fix it up in a way that makes things work with valgrind too.
4970
4971 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4972
4973         * gst/gstdebugutils.c:
4974           Add warning when failed to open file for writing.
4975
4976 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
4977
4978         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
4979
4980         * gst/gstvalue.c: (gst_value_is_fixed):
4981           Optimisation: bail out of the loop as early as possible (#500143).
4982
4983 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
4984
4985         * gst/gstcaps.c: (gst_caps_to_string):
4986         * gst/gstinfo.c: (gst_debug_construct_term_color):
4987         * gst/gstparse.c: (gst_parse_launchv):
4988         * gst/gstutils.c: (gst_util_dump_mem):
4989         * gst/gstvalue.c: (gst_value_serialize_any_list),
4990           (gst_value_transform_any_list_string):
4991           Bunch of gratuitous nano-optimisations.
4992
4993 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
4994
4995         * tests/check/generic/sinks.c: (async_done_func),
4996           (async_done_eos_func):
4997           Fix leak in unit test (bus sync handler must unref the message
4998           if it returns GST_BUS_DROP). Don't fiddle with the default test
4999           timeout, this is smaller than the current preconfigured value
5000           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5001           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5002
5003 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5004
5005         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5006
5007         * configure.ac:
5008         Check for stdio_ext.h for the filesink changes.
5009
5010         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5011         (gst_file_sink_class_init), (gst_file_sink_init),
5012         (gst_file_sink_dispose), (gst_file_sink_set_property),
5013         (gst_file_sink_get_property), (gst_file_sink_open_file),
5014         (gst_file_sink_close_file):
5015         * plugins/elements/gstfilesink.h:
5016         Add two properties to control the buffering mode and size.
5017         API: GstFileSink::buffer-mode
5018         API: GstFileSink::buffer-size
5019         Fixes #500150.
5020
5021 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5022
5023         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5024         Add some more docs to explain why a FIXME was wrongly added. 
5025
5026 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5027
5028         * gst/gstobject.c:
5029           Fix typo in the gst_object_{ref,unref} documentation.
5030
5031 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5032
5033         * tests/check/libs/controller.c:
5034         * tests/check/libs/typefindhelper.c:
5035         * tests/check/pipelines/parse-launch.c:
5036           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5037           going to be deprecated (see #498924).
5038
5039 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5040
5041         * gst/gsttypefind.c: (gst_type_find_register):
5042           Make gst_type_find_register work for static typefind functions,
5043           ie. allow passing plugin == NULL (prerequisite for #498924).
5044
5045         * gst/gstelementfactory.c: (gst_element_register):
5046           Small docs addition.
5047
5048 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5049
5050         * gst/gstpad.c: (gst_pad_dispose):
5051         Really unlink the peer pad instead of setting the peer pointer to NULL
5052         when we dispose the pad.
5053         This correctly calls the unlink functions and makes sure that the peer
5054         does not have a handle to invalid memory. See #504671.
5055
5056         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5057         Add testsuite for above case.
5058
5059 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5060
5061         Patch by: Peter Kjellerstedt <pkj axis com>
5062
5063         * libs/gst/check/gstcheck.h:
5064           Fix detection of the check version we're compiling against (would
5065           otherwise break if check goes v0.10.0); correctly report the
5066           name of the failed test again in case of failure, instead of
5067           just 'tf' (fixes #504499).
5068
5069 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5070
5071         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5072         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5073         (gst_base_src_loop), (gst_base_src_set_flushing),
5074         (gst_base_src_change_state):
5075         Allow sending EOS to the source to make it send out an EOS event from
5076         the streaming thread.
5077         Update docs and deprecate the old NULL/READY shutdown method.
5078
5079         * tests/check/libs/basesrc.c: (GST_START_TEST),
5080         (gst_basesrc_suite):
5081         Add unit test for controlled shutdown.
5082
5083 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5084
5085         * docs/design/part-synchronisation.txt:
5086         Small updates.
5087
5088         * gst/gstsegment.c: (gst_segment_set_seek),
5089         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5090         (gst_segment_to_running_time):
5091         The seek format can be different from the segment format when the start
5092         and stop values are not to be updated, when we only do a rate change for
5093         example.
5094
5095         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5096         (gst_segment_suite):
5097         Add a testcase for the rate-only seeks, checking that the format is
5098         correctly ignored when start and stop are not updated.
5099
5100 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5101
5102         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5103
5104         * win32/vs8/grammar.vcproj:
5105         * win32/vs8/libgstcontroller.vcproj:
5106         * win32/vs8/libgstreamer.vcproj:
5107         Fix compilation with VS8 and include some missing files.
5108
5109 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5110
5111         * gst/gsttaglist.c:
5112           Small docs addition: mention that the strings returned by
5113           gst_tag_list_get_string*() are in UTF-8 encoding.
5114
5115 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5116
5117         * Makefile.am:
5118           The check-exports stuff moved to common/win32.mak, so include that.
5119
5120 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5121
5122         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5123         (gst_base_src_perform_seek), (gst_base_src_get_range),
5124         (gst_base_src_set_playing), (gst_base_src_change_state):
5125         Make _wait_playing() not check any variables so that we can call this
5126         function from subclasses. Move the checks elsewhere similar to
5127         _wait_preroll() in basesink.
5128         Add some debugging.
5129         Only signal the LIVE cond when we are going back to PLAYING.
5130
5131 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5132
5133         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5134           Use g_remove() and g_rename(). Check result of g_rename(), and
5135           don't leak the open file descriptor if we error out when writing.
5136
5137         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5138           Must check the return value of close() after writing out the new
5139           registry file.  Sometimes write problems such as out-of-diskspace
5140           are only reported when the file is closed and not already during
5141           the write.  This may have caused partial/broken registry files in
5142           some rare circumstances. Should fix #503675.
5143
5144 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5145
5146         * docs/gst/.cvsignore:
5147         * docs/libs/.cvsignore:
5148         * docs/plugins/.cvsignore:
5149         Ignore files generated by new common/* modifications
5150
5151 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5152
5153         * win32/common/libgstbase.def:
5154           Yes, you can also have a <TAB> if you want.
5155
5156 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5157
5158         * win32/common/libgstbase.def:
5159           Add new basetransform API to win export file.
5160
5161 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5162
5163         * tests/check/gst/gstbin.c:
5164           Adjust the test to the refcount change two days ago.
5165
5166 2007-12-14  David Schleef  <ds@schleef.org>
5167
5168         * docs/faq/getting.xml: Fix typo.
5169
5170 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5171
5172         * docs/libs/gstreamer-libs-sections.txt:
5173         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5174           (gst_base_transform_prepare_output_buffer),
5175           (gst_base_transform_set_gap_aware):
5176         * libs/gst/base/gstbasetransform.h:
5177           API: Add gst_base_transform_set_gap_aware() to control whether
5178           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5179           get buffers with this flag at all. Fixes #503231.
5180
5181 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5182
5183         * libs/gst/base/gstbasesink.c:
5184         * libs/gst/base/gstbasesrc.c:
5185         * libs/gst/base/gstbasetransform.c:
5186           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5187           thread. Correct log message in gstbasesrc.c.
5188
5189 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5190
5191         * gst/gstutils.c: (element_find_unconnected_pad):
5192           Fix possible compiler warning (#503417).
5193
5194 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5195
5196         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5197           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5198
5199 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5200
5201         * tools/gst-inspect.c: (print_element_properties_info):
5202           Add support for GstFraction properties.
5203
5204 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5205
5206         * Makefile.am:
5207           Add check-exports target and run it as part of 'make check'
5208           (see #499140 and #493983).
5209
5210         * gst/gst_private.h:
5211         * gst/gstelementfactory.h:
5212         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5213         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5214           (_priv_gst_in_valgrind):
5215         * gst/gstinfo.h: (GstLogFunction):
5216         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5217           (gst_type_find_register):
5218         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5219           (gst_type_find_factory_get_type):
5220         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5221           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5222           (gst_controller_new_valist), (gst_controller_new_list),
5223           (_gst_controller_dispose), (_gst_controller_class_init):
5224         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5225         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5226           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5227           (gst_object_get_controller), (gst_object_set_controller),
5228           (gst_object_suggest_next_sync), (gst_object_sync_values),
5229           (gst_object_set_control_source), (gst_object_get_control_source),
5230           (gst_object_get_value_arrays), (gst_object_get_value_array),
5231           (gst_object_get_control_rate), (gst_object_set_control_rate):
5232         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5233         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5234           Make some functions that should be static static; rename some
5235           private symbols so that they don't get exported; add some FIXME
5236           comments so we can move accidentally exported functions into
5237           our private section in 0.11.
5238
5239         * win32/common/libgstreamer.def:
5240           Add gst_utils_get_timestamp().
5241
5242 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5243
5244         * gst/gstvalue.c:
5245         * gst/gstvalue.h:
5246           Add more missing "Since:" tags to docs.
5247
5248 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5249
5250         * gst/gstutils.c:
5251           Add mising "Since:" to docs.
5252
5253 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5254
5255         * gst/gstplugin.c:
5256           Include "glib-compat-private.h" to fix the build on system with
5257           glib < 2.10. Fixes #503131.
5258
5259 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5260
5261         * gst/gstutils.c:
5262         * gst/gstutils.h:
5263           Actually its not PURE as it gets the time from elsewhere.
5264
5265 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5266
5267         * docs/gst/gstreamer-sections.txt:
5268         * gst/gstclock.h:
5269         * gst/gstdebugutils.c:
5270         * gst/gstinfo.c:
5271         * gst/gstutils.c:
5272         * gst/gstutils.h:
5273         * libs/gst/base/gstbasesink.c:
5274         * tools/gst-launch.c:
5275           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5276           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5277           Thanks Tim for spotting.
5278           API: gst_util_get_timestamp
5279
5280 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5281
5282         * configure.ac:
5283           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5284
5285 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5286
5287         * gst/gststructure.c: (gst_structure_validate_name),
5288           (gst_structure_new_valist), (gst_structure_parse_value),
5289           (gst_structure_from_string):
5290           Don't crash in _from_string() if the structure name is not valid
5291           (fixes #501560).  Allow structure names to start with a number
5292           again (this apparently broke the ubuntu codec installer).
5293
5294         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5295           (GST_START_TEST):
5296           Add unit test for the crash; update unit tests for new behaviour.
5297
5298 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5299
5300         * gst/gstutils.c:
5301         Clarify gst_element_get_compatible_pad() documentation.
5302         Fixes #500919.
5303
5304 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5305
5306         * tests/check/Makefile.am:
5307           Don't forget to dist {gst,libs}/struct_hppa.h.
5308
5309 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5310
5311         * libs/gst/base/gstbasesink.c:
5312           Use new API to get elapsed time.
5313
5314 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5315
5316         * gst/gstdebugutils.c:
5317         * gst/gstinfo.c:
5318           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5319
5320         * tools/gst-launch.c:
5321           Use new API to get elapsed time.
5322
5323 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5324
5325         * docs/gst/gstreamer-sections.txt:
5326         * gst/gstclock.h:
5327         * gst/gstdebugutils.c:
5328         * gst/gstinfo.c:
5329           Rename new API + ChangeLog surgery to remove old name from last entry..
5330
5331 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5332
5333         * docs/gst/gstreamer-sections.txt:
5334         * gst/gstclock.h:
5335         * gst/gstdebugutils.c:
5336         * gst/gstinfo.c:
5337           Now hide the different clock stuff behind a macro.
5338
5339 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5340
5341         * configure.ac:
5342         * gst/gstdebugutils.c:
5343         * gst/gstinfo.c:
5344           Apply the posix-timer check from #361155. Conditionally use the posix
5345           timer for logging. This gives better timestamp precission, less
5346           overhead and no ntp jitter.
5347
5348 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5349
5350         * gst/gstminiobject.c: (gst_mini_object_get_type),
5351         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5352         (gst_mini_object_finalize), (gst_mini_object_copy),
5353         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5354         (gst_mini_object_replace), (param_mini_object_validate),
5355         (gst_param_spec_mini_object_get_type):
5356         Some cleanup and checking against invalid function parameters.
5357
5358 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5359
5360         * docs/gst/gstreamer-sections.txt:
5361         * gst/gstclock.h:
5362         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5363         (gst_systemclock_suite):
5364         Start merging in the easy bits of #361155, the monotonic clock patch.
5365         This one adds a few handy macros with docs and a testsuite.
5366
5367 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5368
5369         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5370         Be a bit smarter when seeking, like, don't try to do a seek when it's
5371         not needed. This avoids errors when the file is not seekable.
5372         Fixes #499771.
5373
5374 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5375
5376         * docs/gst/gstreamer-docs.sgml:
5377         * docs/gst/gstreamer-sections.txt:
5378         * docs/gst/gstreamer.types.in:
5379         * gst/Makefile.am:
5380         * gst/gst.h:
5381         * gst/gstpreset.c:
5382         * gst/gstpreset.h:
5383         * plugins/elements/gstqueue.c:
5384           Due to popular request remove preset interface again. :-(.
5385
5386 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5387
5388         * tools/gst-inspect.c:
5389           Print 'default value' for enums and flags too.
5390
5391 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5392
5393         * docs/random/ensonic/profiling.txt:
5394           More ideas.
5395
5396         * gst/gstbin.c:
5397           Fix typo and give better log output.
5398
5399         * gst/gstdebugutils.c:
5400         * gst/gstdebugutils.h:
5401           More ideas, make graphs a bit smaller and fix param name in macro.
5402
5403 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5404
5405         * gst/gstpreset.c:
5406           Try harder to use the return value from fgets().
5407
5408 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5409
5410         * gst/gstpreset.c:
5411           For theses two fgets we handle the error below.
5412
5413 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5414
5415         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5416         Only send upstream events upstream. Fixes #498746.
5417
5418 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5419
5420         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5421
5422         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5423         (gst_identity_init), (gst_identity_transform_ip),
5424         (gst_identity_set_property), (gst_identity_get_property):
5425         * plugins/elements/gstidentity.h:
5426         Add property to disable handoff signal emission. Fixes #498694.
5427         API: GstIdentity::signal-handoffs
5428
5429 2007-11-21  Julien Moutte  <julien@fluendo.com>
5430
5431         * docs/faq/gst-uninstalled: Yet another missing library for the
5432         uninstalled script (fft)
5433
5434 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5435
5436         * docs/faq/developing.xml:
5437         Add a question about how to submit new translations.
5438
5439         * docs/random/release:
5440         Update the contact email address for the Translation Project
5441
5442         * plugins/elements/gstfdsrc.c:
5443         The parent_class for fdsrc is pushsrc, not GstElement.
5444
5445 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5446
5447         * gst/gstpreset.c:
5448           Plug a leak and fix saving.
5449
5450 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5451
5452         * docs/gst/gstreamer-sections.txt:
5453         Add new gst_preset__get_property_names() function to the docs
5454         to fix the build.
5455
5456 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5457
5458         * gst/gstpreset.c:
5459         * gst/gstpreset.h:
5460           Change _get_preset_names API to return a strv with copies. Add
5461           _get_property_names to allow implementations to filter and provide
5462           good default implementation.
5463
5464 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5465
5466         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5467         script (sdp).
5468
5469 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5470
5471         * gst/gstpreset.c:
5472           More cleanups, docs, and TODOs from comments that now slowly come in.
5473
5474 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5475
5476         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5477         search path.
5478
5479 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5480
5481         * gst/gstpreset.c:
5482           Fix bogus warning and make the property type specific code more
5483           similar.
5484
5485 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5486
5487         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5488         it build on OS X.
5489
5490 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5491
5492         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5493         (gst_bin_add_func), (gst_bin_remove_func),
5494         (gst_bin_change_state_func), (gst_bin_continue_func):
5495         Change email, cleanups add some more debug and comments.
5496         Also set bus and clock on new elements when the pipeline was in error.
5497
5498 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5499
5500         * gst/gstbin.c:
5501         * gst/gstdebugutils.c:
5502           Fix build with --disable-gst-debug. Fixes #497859.
5503           Spotted by Sameer Naik.
5504
5505 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5506
5507         * gst/gstevent.c:
5508           Little documentation improvment.
5509
5510         * gst/gstpreset.c:
5511           More TODO cleanups. Remove c++ comments.
5512
5513         * libs/gst/controller/gstcontroller.c:
5514           Add TODO and use quark from static string.
5515
5516         * tests/check/gst/gstmessage.c:
5517         * tests/check/gst/gststructure.c:
5518           Use quark from static string.
5519
5520 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5521
5522         * gst/gstpreset.c:
5523           Add some comments and TODOs.
5524
5525         * gst/gstpreset.h:
5526           Add padding for future changes.
5527
5528         * plugins/elements/gstqueue.c:
5529           Implement the iface.    
5530
5531 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5532
5533         * docs/gst/gstreamer-docs.sgml:
5534         * docs/gst/gstreamer-sections.txt:
5535         * docs/gst/gstreamer.types.in:
5536         * gst/Makefile.am:
5537         * gst/gst.h:
5538         * gst/gstpreset.c:
5539         * gst/gstpreset.h:
5540           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5541
5542 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5543
5544         * configure.ac:
5545
5546         Back to CVS
5547
5548 === release 0.10.15 ===
5549
5550 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5551
5552         * configure.ac:
5553           releasing 0.10.15, "October"
5554
5555 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5556
5557         * win32/vs6/libgstreamer.dsp:
5558         Convert line endings back to DOS.
5559
5560 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5561
5562         * docs/design/draft-tagreading.txt:
5563         * docs/random/ensonic/profiling.txt:
5564         Update fast tagreading draft and performance profiling ideas.
5565
5566 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5567
5568         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5569         Don't hold the object lock when unreffing a buffer because it could
5570         cause a deadlock when the finalize function wants to grab the object
5571         lock too. Fixes #495133.
5572
5573 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5574
5575         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5576         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5577         Also accumulate time correctly when doing reverse playback. Fixes
5578         #488201,
5579         When converting to running and stream time, use default values for
5580         start/stop/time/accum when comparing different formats. Fixes #494245.
5581
5582         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5583         Do running/stream time in TIME format.
5584
5585         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5586         (gst_segment_suite):
5587         2 new unit tests for segment accumulation.
5588
5589 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5590
5591         * gst/gst.c: (init_pre):
5592         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5593           (_gst_debug_bin_to_dot_file):
5594           Move getenv() back into gst_init, so everyone can live happily
5595           ever after. Make sure the symbol isn't exported though.
5596
5597 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5598
5599         Patch by: Sebastien Moutte  <sebastien moutte net>
5600
5601         * win32/common/gstenumtypes.c:
5602         * win32/common/gstenumtypes.h:
5603           Update enum types.
5604
5605         * win32/vs6/libgstreamer.dsp:
5606           Update vs6 project files (#494343).
5607
5608 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5609
5610         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5611         (gst_base_src_perform_seek), (gst_base_src_default_event),
5612         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5613         (gst_base_src_activate_pull):
5614         Unify flushing code, remove some old unlock code that is no longer used.
5615         Take the streaming lock when seeking to avoid races. Fixes #492729.
5616         Added some more comments.
5617
5618 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5619
5620         * gst/gst.c: (_gst_disable_segtrap):
5621           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5622           we can use gst_segtrap_is_enabled() there now that we have that API.
5623           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5624           to do the getenv here (and export the variable).
5625
5626         * gst/gstdebugutils.c: (debug_dump_element),
5627           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5628           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5629
5630         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5631           (gst_debug_log_default):
5632           Rename _gst_info_start_time to priv_gst_info_start_time so it
5633           doesn't get exported (was never in any header).
5634
5635         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5636           (gst_plugin_loading_mutex):
5637           Make static mutex gst_plugin_loading_mutex really static (was never
5638           in any header), and use gst_segtrap_is_enabled() instead of
5639           _gst_disable_segtrap.
5640
5641         * gst/gsttrace.c: (_gst_trace_default):
5642           Make local _gst_trace_default static (was never in any header).
5643
5644 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5645
5646         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5647
5648         * win32/common/libgstbase.def:
5649         * win32/common/libgstcontroller.def:
5650         * win32/common/libgstdataprotocol.def:
5651         * win32/common/libgstnet.def:
5652         * win32/common/libgstreamer.def:
5653           Add more missing symbols, remove some duplicates, and sort
5654           as the 'sort' command sorts it (partially fixes #493983).
5655
5656 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5657
5658         * gst/gstelement.c: (gst_element_set_state_func):
5659         Only change the state cookie if a different state was set on the
5660         element. See #492729.
5661
5662 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5663
5664         * gst/gstvalue.c:
5665           Remove unused and uninitialised type variables that were still
5666           exported for some reason (they were never in any header files
5667           though).
5668
5669 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5670
5671         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5672         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5673         (gst_base_sink_event), (gst_base_sink_get_position_last),
5674         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5675         (gst_base_sink_change_state):
5676         Don't try to report a 0 position when we don't know, return -1 and FALSE
5677         instead. This mostly happens when we are prerolling.
5678         Make sure we can report the right position before we post the ASYNC_DONE
5679         message so that a message handler can query position without races.
5680
5681         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5682         (async_done_handoff), (async_done_func), (send_buffer),
5683         (async_done_eos_func), (gst_sinks_suite):
5684         Add two tests for the above.
5685
5686 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5687
5688         * MAINTAINERS:
5689         Update with new email address.
5690
5691         * docs/design/part-TODO.txt:
5692         Add some more info about future pad-block and negotiation changes.
5693
5694         * docs/design/part-buffering.txt:
5695         Add some ideas about buffering reporting.
5696
5697 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5698
5699         * tests/check/gst/gstobject.c:
5700         Disable silly racy test that always fails on this combination of CPU
5701         and kernel.
5702
5703 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5704
5705         Patch by: Murray Cumming  <murrayc@murrayc.com>
5706
5707         * gst/gstobject.c:
5708           Corrected the registration of the parent-set and parent-unset
5709           signals: The parameter is a GstObject, not a GObject (#493134).
5710
5711 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5712
5713         * gst/gst_private.h:
5714         * gst/gstbuffer.h:
5715         * gst/gstevent.h:
5716         * gst/gstformat.h:
5717         * gst/gstmessage.h:
5718         * gst/gstplugin.h:
5719         * gst/gstquery.h:
5720         * gst/gsttaglist.h:
5721         * gst/gstvalue.h:
5722           Move declaration of private _gst_foo_initialize() functions into
5723           our private header file where they should have been all along.
5724
5725 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5726
5727         * docs/plugins/gstreamer-plugins-sections.txt:
5728         * gst/gstdebugutils.h:
5729         * gst/gstxml.h:
5730         * plugins/elements/gstqueue.c:
5731           gtk-doc fixes; trailing-comma-in-enum fix.
5732
5733 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5734
5735         * gst/gst.c: (gst_deinit):
5736           Clean up on deinit (not the external ones though, doesn't seem to be
5737           needed for some reason).
5738
5739 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5740
5741         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5742           Remove __declspec(dllimport) for MSVC that was copied over into core
5743           from a plugin, obviously without ever having been tested (note the
5744           single underscore in _declspec in the initial commit), and that doesn't
5745           really make sense.  See #492077.
5746
5747 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5748
5749         * gst/gst.c: (init_post):
5750         * gst/gstevent.c: (_gst_event_initialize):
5751         * gst/gstquery.c: (_gst_query_initialize):
5752         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5753           g_type_class_ref() other types as well, see #349410 and #64764.
5754
5755         * gst/gstbuffer.c: (_gst_buffer_initialize):
5756         * gst/gstmessage.c: (_gst_message_initialize):
5757           Simplify existing g_type_class_ref().
5758
5759 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5760
5761         * gst/gstformat.c: (_gst_format_initialize):
5762           g_type_class_ref() our GstFormat type to make sure we avoid the
5763           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5764           bug #64764. Should fix intermittent tee unit test failures (#474823).
5765
5766 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5767
5768         * tests/check/elements/tee.c: (test_num_buffers):
5769           Simplify, simplify, simplify - or not.  Rewrite unit test
5770           not to use gst_parse_launch(); allow N sub-streams. Increasing
5771           the number of sub-streams seems to reproduce #474823 more easily.
5772
5773 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5774
5775         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5776
5777         * gst/gsttrace.c:
5778         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5779         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5780         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5781           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5782           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5783           so use _pipe() directly (#492077).
5784
5785         * win32/common/dirent.c: (_treaddir):
5786           Add a couple of casts to make it build without warnings with MSVC.
5787
5788         * win32/common/libgstreamer.def:
5789           Add some more symbols that need to be exported.
5790
5791 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5792
5793         * tests/examples/metadata/read-metadata.c: (message_loop):
5794           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5795           arriving in a second or third tag message are added to
5796           the tag list as well.
5797
5798 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
5799
5800         * libs/gst/base/gstbasesrc.c:
5801           Its "Since:" and not "@Since:". And remove an superflous cast.
5802
5803 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
5804
5805         * docs/libs/gstreamer-libs-sections.txt:
5806         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5807         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5808         (gst_base_sink_get_property), (gst_base_sink_render_object),
5809         (gst_base_sink_preroll_object),
5810         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5811         (gst_base_sink_change_state):
5812         * libs/gst/base/gstbasesink.h:
5813         Add a new last-buffer property that contains the last buffer used in
5814         basesink for preroll or rendering. useful for making snapshots.
5815         API: gst_base_sink_get_last_buffer()
5816         API: GstBaseSink::last-buffer
5817
5818 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5819
5820         * docs/gst/running.xml:
5821         * gst/gst.c:
5822         * gst/gstdebugutils.c:
5823         * gst/gstdebugutils.h:
5824         * tools/gst-launch.c:
5825           Improve bin graph dumping, by using the envvar to specify a path.
5826           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5827
5828 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
5829
5830         * plugins/elements/gsttypefindelement.c:
5831           (gst_type_find_element_handle_event),
5832           (gst_type_find_element_activate):
5833           Post special error message if we can't determine the type of a stream
5834           because it's empty.
5835
5836 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5837
5838         * docs/gst/running.xml:
5839         * gst/gstdebugutils.c:
5840           Document new env-var. Add one log-line after dumpng a graph.
5841
5842 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5843
5844         * configure.ac:
5845           Ugly hack to put the (recently removed and non-portable, apparently)
5846           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5847           GNU ld, because without that 'make check' fails miserably on my debian
5848           stable box.  Someone with more knowledge of linker intricacies and
5849           portability issues than me fix this properly please.
5850
5851 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
5852
5853         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5854         Reset last seen position after flushing so that we don't report the old
5855         position anymore.
5856
5857 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5858
5859         * gst/gstelementfactory.c: (gst_element_register):
5860         * gst/gsturi.h:
5861         Patch from Alessandro Decina adding get_type_full and
5862         get_protocols_full private vfuncs to the URIHandler interface
5863         to allow bindings to support creating URI handlers. 
5864         Partially fixes: #339279
5865         API: GstURIHandlerInterface::get_type_full
5866         API: GstURIHandlerInterface::get_protocols_full
5867
5868 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5869
5870         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5871         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5872         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5873         Make it so that pads are considered linked until a buffer is pushed
5874         and discovered otherwise. This avoids problems with decodebin2 hanging
5875         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5876         case.
5877
5878         Make sure we lock the multiqueue when updating the max-size properties.
5879         
5880         Fix a crash on Solaris in a debug statement in get_request_pad that
5881         passes a NULL string to GST_DEBUG. 
5882
5883         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5884         (run_output_order_test):
5885         Fix the test to allow the first buffer on not-linked pads to come out
5886         of sequence while multiqueue discovers that they are not-linked.
5887
5888 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5889
5890         * configure.ac:
5891         * libs/gst/check/Makefile.am:
5892         Use a custom export symbol regex for libgstcheck, as it needs
5893         to export symbols that don't match the standard GStreamer gst_*
5894         pattern, and  --export-dynamic is not portable (only works on 
5895         GNU ld)
5896
5897         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5898         (gst_check_setup_sink_pad):
5899         Make sure to pass a message parameter to the fail_* macros.
5900
5901         * tests/check/gst/gstinfo.c: (GST_START_TEST):
5902         Fix some compiler warnings.
5903
5904 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
5905
5906         * tests/check/gst/gststructure.c: (test_to_string):
5907           Disable test that checks that white spaces are not allowed
5908           in structure names or field names, since we need to
5909           support that for now for backwards compatibility reasons.
5910
5911 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
5912
5913         * docs/gst/gstreamer-sections.txt:
5914         * gst/gsttaglist.c:
5915         * gst/gsttaglist.h:
5916           API: add GST_TAG_ARTIST_SORTNAME
5917           API: add GST_TAG_ALBUM_SORTNAME
5918           API: add GST_TAG_TITLE_SORTNAME
5919           Add tag variants for sorting (#414539).
5920
5921 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
5922
5923         * gst/gststructure.c:
5924           Also allow white space for names so we don't break
5925           backwards compatibility.
5926
5927 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
5928
5929         * docs/design/part-TODO.txt:
5930         * docs/design/part-segments.txt:
5931         * docs/design/part-streams.txt:
5932         Small updates.
5933
5934 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
5935
5936         * docs/gst/gstreamer-sections.txt:
5937          Fixed documentation from my previous commit (added new API add
5938          gst_value_set_structure(), add gst_value_get_structure() and
5939          GST_VALUE_HOLDS_STRUCTURE).
5940
5941 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
5942
5943         * gst/gstdebugutils.c:
5944           Reflow code to fix uninitialized variable warning.
5945
5946 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
5947
5948         * gst/gstcaps.c: (gst_caps_to_string),
5949         (gst_caps_from_string_inplace):
5950         * gst/gststructure.c: (gst_structure_get_abbrs),
5951         (gst_structure_to_string), (gst_structure_from_string):
5952         * gst/gstvalue.c: (gst_value_set_structure),
5953         (gst_value_get_structure), (gst_value_serialize_structure),
5954         (gst_value_deserialize_structure), (_gst_value_initialize):
5955         * gst/gstvalue.h:
5956         * tests/check/gst/gststructure.c: (GST_START_TEST),
5957         (gst_structure_suite):
5958         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5959          Added GstStructure to gst_value_table and its related functions.
5960          Changed gst_structure_to_string to print ';' in the end.
5961          Changed gst_caps_to_string to not print ';' beteween its
5962          fields (structures) anymore and remove the lastes ';' from latest
5963          structure. Now it is possible to have nested structures.
5964          In addition, backward compatibilty is assured by accepting '\0' as
5965          end delimiter. Fixes: #487969.
5966          API: add gst_value_set_structure()
5967          API: add gst_value_get_structure()
5968          API: add GST_VALUE_HOLDS_STRUCTURE
5969
5970 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
5971
5972         * gst/gstbus.c:
5973           When no GSource callback has been set up, tell developer
5974           to use a function that actually exists.
5975
5976 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
5977
5978         * docs/gst/gstreamer-sections.txt:
5979         * gst/Makefile.am:
5980         * gst/gst.c:
5981         * gst/gst.h:
5982         * gst/gstdebugutils.c:
5983         * gst/gstdebugutils.h:
5984         * gst/gstinfo.c:
5985         * gst/gstinfo.h:
5986         * tools/gst-launch.c:
5987           Allow dumping pipelines as dot graphs. Fixes #456573.
5988
5989 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5990
5991         * gst/gststructure.c:
5992           Allow '+' as well, it can be part of media or mime types
5993           such as image/svg+xml.
5994
5995 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5996
5997         * docs/gst/gstreamer-sections.txt:
5998         * gst/gstbus.c:
5999         * gst/gstbus.h:
6000           API: add gst_bus_pop_filtered
6001           API: add gst_bus_timed_pop_filtered
6002           Two new functions for waiting for specific message types on the
6003           bus for a specified amount of time without iterating any main
6004           loops or main contexts.
6005
6006         * tests/check/gst/gstbus.c:
6007           Some tests for the new functions.
6008
6009 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6010
6011         * docs/libs/gstreamer-libs-sections.txt:
6012           Make gtk-doc ignore stuff it should ignore.
6013
6014 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6015
6016         * libs/gst/check/gstcheck.c:
6017         * libs/gst/check/gstcheck.h:
6018           Allow runtime selection of unit tests to run via the GST_CHECKS
6019           environment variable (test case function names, comma-separated).
6020
6021 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6022
6023         * gst/gststructure.c:
6024         * tests/check/gst/gststructure.c:
6025           Revert serialisation change and constrain structure-names after
6026           consensus on irc. Update api documentation to reflect the change.
6027
6028 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6029
6030         * gst/gststructure.c:
6031           Improve serialization and fix tests.
6032
6033         * tests/check/gst/gststructure.c:
6034           Add another test that covers why I actually did the previous structure
6035           change.
6036
6037 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6038
6039         * tools/gst-inspect.c: (print_element_info):
6040         Don't crash when inspecting an element.
6041
6042 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6043
6044         * tests/check/gst/gststructure.c:
6045           Add unit test for escaping of structure name when serialising
6046           and deserialising to/from strings.
6047
6048 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6049
6050         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6051         (gst_single_queue_new):
6052         * plugins/elements/gstqueue.c: (gst_queue_init),
6053         (gst_queue_push_one):
6054         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6055         upstream is tricked into thinking it can suggest a format downstream
6056         while downstream does not support that format. The real problem is that
6057         core calls acceptcaps when pushing a buffer with new caps, for which we
6058         do a little workaround by setting the caps on the srcpad ourselves
6059         before pushing the buffer (until this is figured out). Fixes #486758.
6060
6061 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6062
6063         * gst/gststructure.c:
6064         * gst/gstvalue.c:
6065           Add some more comments and debug output. Quote structure name to fix
6066           deserialisation of some strings.
6067
6068 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6069
6070         * gst/gstbuffer.h:
6071           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6072           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6073
6074 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6075
6076         * tools/gst-inspect.c:
6077           Save approx. 400 1 byte allocs when printing. Use API to acces element
6078           details.
6079
6080         * tools/gst-run.c:
6081           Avoid a strdup.
6082
6083         * tools/gst-xmlinspect.c:
6084           Use API to acces element details.
6085
6086 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6087
6088         * gst/gstinfo.c:
6089           Fix some spelling errors.
6090
6091 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6092
6093         * gst/gstbin.c: (bin_handle_async_done):
6094         Correctly set the next state if all of our async children commited their
6095         state. This makes sure we can actually cancel the state change in
6096         progress. Fixes a regression in Rhythmbox when seeking.
6097
6098 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6099
6100         * gst/gstbin.c:
6101           Don't shadow local variable.
6102
6103         * gst/gstinfo.c:
6104           Don't shadow global function name.
6105
6106 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6107
6108         * gst/gstelementfactory.c:
6109         * gst/gstpluginfeature.c:
6110         * gst/gstpluginfeature.h:
6111         * gst/gstregistrybinary.c:
6112         * gst/gstregistryxml.c:
6113         * gst/gsttypefind.c:
6114           Use already-interned string for the private GstPluginFeature
6115           plugin_name field.
6116
6117 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6118
6119         * docs/libs/gstreamer-libs-sections.txt:
6120           Add new API to docs; fixes the build.
6121
6122 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6123         
6124         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6125
6126         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6127         (gst_base_sink_event):
6128         * libs/gst/base/gstbasesink.h:
6129         Add function to wait for EOS, subclasses can use this to correctly wait
6130         for devices to drain before performing the EOS logic. Fixes #485343.
6131         API: gst_base_sink_wait_eos()
6132
6133 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6134
6135         * gst/gstplugin.h:
6136           Cast description string constants in GST_PLUGIN_DEFINE macros
6137           to a (gchar*) to make C++ code using these macros compile
6138           without warning with g++-4.2 (see #462737).  Even if slightly
6139           ugly, this seems preferable to putting the description strings
6140           into the GLib quark table or making the structure member a
6141           const gchar * and doing casts in core code that allocs and
6142           frees these strings, or requiring a cast in the C++ code.
6143
6144 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6145
6146         * gst/gstinfo.h:
6147           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6148           to print the entire class/function signature into the log
6149           file for C++ code.  This only affects C++ code, for C code
6150           everything remains the same.
6151
6152 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6153
6154         * gst/gstbin.c: (remove_from_queue):
6155         Work around a problem with pipelines containing (semi)loops until a
6156         proper, more complicated solution is ready. See #475455.
6157
6158 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6159
6160         * gst/gstplugin.c:
6161         * gst/gstplugin.h:
6162         * gst/gstregistrybinary.c:
6163         * gst/gstregistryxml.c:
6164           Put more strings into the GLib quark table. No need to keep
6165           a hundred-something copies of identical version strings,
6166           license strings, package name strings and package origin
6167           strings around. 
6168
6169 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6170
6171         * docs/manual/advanced-dataaccess.xml:
6172           Don't imply that it's okay to unconditionally change
6173           buffer data or buffer metadata in a pad probe callback,
6174           and a bunch of other comments. Fixes #430031.
6175
6176 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6177
6178         * win32/common/gstenumtypes.c:
6179         * win32/common/gstenumtypes.h:
6180         * win32/common/gstversion.h:
6181           Update generated files.
6182
6183 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6184
6185         * docs/manual/advanced-autoplugging.xml:
6186           Prefix section with broken code with a warning (see #342432).
6187
6188 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6189
6190         * docs/manual/appendix-integration.xml:
6191         * docs/manual/basics-init.xml:
6192           Call g_thread_init() before g_option_context_new() to
6193           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6194
6195 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6196
6197         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6198         (gst_base_sink_queue_object_unlocked),
6199         (gst_base_sink_queue_object), (gst_base_sink_event),
6200         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6201         When we received EOS and are waiting for when to post the EOS message,
6202         our state is prerolled and we should not return ASYNC.
6203         Reorganize some code paths to implement this behavior.
6204
6205         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6206         (gst_sinks_suite):
6207         Add unit test to verify above EOS fix.
6208
6209 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6210
6211         * plugins/elements/gsttypefindelement.c:
6212         (gst_type_find_element_have_type), (gst_type_find_element_init),
6213         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6214         Move detecting the input caps of the sinkpad to the setcaps function.
6215         This allows us to update the output caps when we receive new input caps
6216         instead of always using the first detected caps.
6217
6218 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6219
6220         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6221         (gst_base_sink_get_position):
6222         Don't try to preroll non-async elements after a flush.
6223         Subtract latency form clock times when reporting position.
6224
6225 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6226
6227         * gst/gstpad.c: (gst_pad_pause_task):
6228         * gst/gstutils.c:
6229         Small comment and documentation update.
6230
6231 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6232
6233         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6234         (gst_base_src_set_live), (gst_base_src_is_live),
6235         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6236         (gst_base_src_default_event), (gst_base_src_wait),
6237         (gst_base_src_do_sync), (gst_base_src_get_range),
6238         (gst_base_src_pad_get_range), (gst_base_src_loop),
6239         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6240         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6241         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6242         (gst_base_src_change_state):
6243         Rework the locking of basesrc in a similar fashion to basesink. We
6244         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6245         us to handle live sources and semi live ones much better.
6246         Simplify flushing.
6247         Fix unlocking when seeking, shutting down and pausing in live sources.
6248
6249 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6250
6251         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6252         Fix compilation again.
6253
6254 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6255
6256         * gst/gstelement.c:
6257           Use meaningful categories for the logs to clean the default one.
6258
6259 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6260
6261         * tests/check/pipelines/cleanup.c:
6262           Print message name and not just number.
6263
6264 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6265
6266         * docs/design/draft-tagreading.txt:
6267           Add some more thoughts.
6268
6269 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6270
6271         * tests/check/pipelines/simple-launch-lines.c:
6272           Print message name and not just number.
6273
6274 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6275
6276         * libs/gst/base/gsttypefindhelper.c:
6277           Speedup typefinding. This is work in progress (see #459862).
6278
6279 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6280
6281         * gst/gstplugin.c:
6282           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6283           Spotted by Josep Torra Valles <josep@fluendo.com>.
6284
6285 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6286
6287         * gst/gstclock.h:
6288           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6289           field has moved to GstObject.
6290
6291 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6292
6293         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6294         (gst_base_src_get_range), (gst_base_src_change_state):
6295         Call unlock for live sources so that they can't get stuck in _create and
6296         produce a buffer before they are set back to PLAYING.
6297
6298 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6299
6300         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6301         (gst_queue_locked_dequeue):
6302         Comment the segment-related code... in the PROPER function.
6303         See #482147 and my commit from yesterday.
6304
6305 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6306
6307         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6308         Also initialize the counter that calculates the first timestamp on a
6309         buffer correctly for non-live sources.
6310
6311 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6312
6313         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6314         Disable code that's breaking the current-time-level reporting.
6315         See #482147
6316
6317 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6318
6319         * docs/gst/gstreamer-sections.txt:
6320         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6321         as they shouldn't show up. Fixes the docs build.
6322
6323 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6324         
6325         * gst/gstinfo.h:
6326         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6327         Define M_PI which is used in files which are including gstinfo.h. 
6328         VS6 includes doesn't define it.
6329         * win32/common/libgstbase.def:
6330         * win32/common/libgstcontroller.def:
6331         * win32/common/libgstreamer.def:
6332         Add new exported functions and variables.
6333         * win32/vs6/libgstcontroller.dsp:
6334         * win32/vs6/libgstreamer.dsp:
6335         Update the list of files to build.
6336         
6337 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6338
6339         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6340
6341         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6342         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6343         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6344         Improve debugging. Fixes #480858.
6345
6346 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6347
6348         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6349
6350         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6351         First patch of code cleanups, use the macros and right arguments in the
6352         macros to signal and lock the queue. See #480858.
6353
6354 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6355
6356         * gst/gstbus.c: (poll_func):
6357         Improve debugging when dealing with _poll().
6358
6359 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6360
6361         * gst/gstregistryxml.c:
6362           Fix memory leak I introduced a few days ago.
6363
6364 2007-09-26  Michael Smith <msmith@fluendo.com>
6365
6366         * gst/gstbuffer.c: (gst_buffer_finalize):
6367           Make it once again possible to free GstBuffers in the default
6368           build.
6369           The poisoning scribbles on parts of the miniobject we need in
6370           order to free it.
6371           Fixes #480341
6372
6373 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6374
6375         * docs/gst/gstreamer-sections.txt:
6376         * gst/gsttaglist.c:
6377         * gst/gsttaglist.h:
6378         API: add GST_TAG_COMPOSER, fixes #459809.
6379
6380 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6381
6382         * gst/gstplugin.c:
6383         * gst/gstplugin.h:
6384         Add the 3-clause BSD license and the MIT/X11 license to the license
6385         list. Fixes #479784.
6386
6387 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6388
6389         * docs/faq/getting.xml:
6390           Add Q+A about different GStreamer versions (#364056).
6391
6392 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6393
6394         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6395         (gst_base_sink_event), (gst_base_sink_change_state):
6396         Return correct gboolean from query function.
6397
6398 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6399
6400         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6401         (gst_base_sink_event), (gst_base_sink_query),
6402         (gst_base_sink_change_state):
6403         Simplify latency query.
6404         When not synchronizing, we can report latency without querying the peer
6405         element.
6406
6407 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6408
6409         * gst/gstobject.h:
6410         * gst/gstvalue.c:
6411         Fix small typos in the docs.
6412
6413 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6414
6415         * docs/design/draft-latency.txt:
6416         * docs/design/draft-push-pull.txt:
6417         * docs/design/draft-tagreading.txt:
6418         * docs/design/part-MT-refcounting.txt:
6419         * docs/design/part-activation.txt:
6420         * docs/design/part-block.txt:
6421         * docs/design/part-element-source.txt:
6422         * docs/design/part-events.txt:
6423         * docs/design/part-gstbin.txt:
6424         * docs/design/part-gstelement.txt:
6425         * docs/design/part-gstobject.txt:
6426         * docs/design/part-gstpipeline.txt:
6427         * docs/design/part-messages.txt:
6428         * docs/design/part-preroll.txt:
6429         * docs/design/part-push-pull.txt:
6430         * docs/design/part-qos.txt:
6431         * docs/design/part-query.txt:
6432         * docs/design/part-scheduling.txt:
6433         * docs/design/part-seeking.txt:
6434         * docs/design/part-segments.txt:
6435         * docs/design/part-states.txt:
6436         Documentation updates and typo fixes.
6437
6438 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6439
6440         * plugins/elements/gstfakesink.c:
6441           Add some debug text to error message to indicate that
6442           we errored out on request.
6443
6444         * tools/gst-launch.c:
6445           When the state change to PLAYING fails, check for an
6446           error message on the bus and print it.
6447
6448 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6449
6450         translated by: Jorge González González <aloriel@gmail.com>
6451
6452         * po/LINGUAS:
6453         * po/es.po:
6454           Added Spanish translation.
6455
6456 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6457
6458         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6459         Fix printf arguments.
6460
6461 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6462
6463         * tests/check/generic/states.c:
6464           Improved state change unit test.
6465
6466 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6467
6468         * gst/gstbin.h:
6469           Move priv to the right place.
6470
6471         * gst/gstsystemclock.c:
6472           Add FIXME: and improve log.
6473
6474         * tests/check/Makefile.am:
6475         * tests/examples/manual/Makefile.am:
6476           Work with all types of registries.
6477
6478 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6479
6480         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6481         Don't unref the event after pushing it. Fixes #478401.
6482
6483 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6484
6485         * .cvsignore:
6486         * tests/examples/manual/.cvsignore:
6487           Ignore registries in any format.
6488
6489 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6490
6491         * gst/glib-compat-private.h:
6492           Add compatibility macro for g_intern_string() for
6493           GLib-2.8 (any reason we can't just bump the
6494           requirement to at least 2.10?)
6495
6496         * gst/gstpadtemplate.h:
6497         * gst/gstelementfactory.c:
6498         * gst/gstregistryxml.c:
6499         * gst/gstregistrybinary.c:
6500           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6501           up the internal code accordingly.  This shouldn't be a problem, since
6502           there is no reason external code could ever assume the string in such
6503           a structure is dynamically allocated unless it did that itself;  the
6504           use of g_strdup() is private to element factories.  The new code also
6505           saves some memory by putting pad template name strings into the GLib
6506           quark table instead of allocating them dynamically.
6507           Declaring this field constant fixes warnings with g++-4.2 when using
6508           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6509
6510 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6511
6512         * gst/gstelementfactory.c:
6513           Release static caps. Fixes #475723.
6514
6515 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6516
6517         * gst/gstinfo.c:
6518         * gst/gstinfo.h:
6519           Make some internal API take const gchar * instead of just
6520           gchar * to avoid compiler warnings with g++-4.2.2 when
6521           passing string constants (partially fixes #478092).
6522
6523 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6524
6525         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6526         A latency query fails when one of the sinks fail.
6527
6528         * gst/gstelement.c: (gst_element_set_base_time):
6529         Improve debugging.
6530
6531 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6532
6533         * gst/gstbin.c: (gst_bin_continue_func):
6534         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6535         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6536         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6537
6538         Fix minor compilation warnings shown with Forte.
6539
6540 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6541
6542         * plugins/elements/gstqueue.c: (apply_buffer),
6543         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6544         Measure queue level based on the diff between head and tail timestamps
6545         even when pushing the first buffer.
6546
6547 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6548
6549         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6550         (gst_base_sink_event), (gst_base_sink_change_state):
6551         Sinks that don't preroll can always be queried for the latency.
6552         Don't post ASYNC start when we are not async.
6553
6554 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6555
6556         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6557         (gst_queue_handle_sink_event), (gst_queue_chain),
6558         (gst_queue_push_one), (gst_queue_handle_src_query),
6559         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6560         * plugins/elements/gstqueue.h:
6561         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6562         push more buffers but allow pushing of EOS and NEWSEGMENT.
6563         Add some more debug info here and there. Fixes #476514.
6564
6565 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6566
6567         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6568         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6569         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6570         (gst_base_sink_set_flushing), (gst_base_sink_query),
6571         (gst_base_sink_change_state):
6572         Latency query is allowed after we are prerolled. Introduce a new flag
6573         for this and stop abusing other variables.
6574
6575 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6576
6577         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6578         Push OOB events downstream when we get them in send_event. This allows
6579         the application to insert events in the pipeline.
6580         Add some more comments.
6581
6582 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6583
6584         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6585         (do_bin_latency), (gst_bin_change_state_func):
6586         * gst/gstpipeline.c: (gst_pipeline_change_state):
6587         Move latency query from GstPipeline to GstBin so that we can also
6588         use it when async-handling is enabled on bins.
6589
6590 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6591
6592         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6593         (gst_base_src_do_sync), (gst_base_src_change_state):
6594         Update docs.
6595         Clean up the timestamping and syncing code for pseudo live sources.
6596
6597 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6598
6599         Patch by: Steve Fink  <sphink gmail com>
6600
6601         * docs/manual/appendix-checklist.xml:
6602           Mention less -R switch in the section about debug output (#474055).
6603
6604 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6605
6606         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6607         Queue can latency to the pipeline up to the configured max size in time.
6608         Report this fact in the latency query.
6609
6610 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6611
6612         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6613
6614         * libs/gst/controller/gstinterpolation.c:
6615         * libs/gst/controller/gstlfocontrolsource.c:
6616         Use gst_guint64_to_gdouble() when converting from a uint64 or
6617         GstClockTime to double to fix the build on win32. Fixes #474371.
6618
6619 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6620
6621         * gst/gstbuffer.c: (gst_buffer_finalize):
6622         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6623         When finalizing a buffer the complete struct is filled with 0xff,
6624         thus making a use of the buffer after the final unref impossible.
6625
6626 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6627
6628         * tests/check/libs/controller.c: (GST_START_TEST):
6629         Use fail_unless_equals_int(a, b) instead of
6630         fail_unless_equals (a == b) to get better output on failures.
6631
6632 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6633
6634         * tests/check/gst/gsturi.c:
6635           Also check for the other file URI variant on win32.
6636
6637 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6638
6639         * gst/gsturi.c: (gst_uri_get_location):
6640           If there's no hostname, we want to return 'c:/foo/bar.txt'
6641           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6642
6643         * tests/check/gst/gsturi.c:
6644           Unit test for the above and a few more things.
6645
6646 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6647
6648         * docs/design/part-live-source.txt:
6649         Add docs on how live sources should timestamp.
6650
6651         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6652         Add some more debug info.
6653         For subclasses that are live and like to sync, add aditional startup
6654         latency to sync time and timestamps so that we timstamp according to the
6655         design doc.
6656
6657 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6658
6659         * gst/gstbuffer.c:
6660           Also do a g_type_class_ref() for the subbuffer type in
6661           the init function.
6662
6663 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6664
6665         * docs/gst/gstreamer-sections.txt:
6666         * gst/gstpad.c: (gst_pad_peer_query):
6667         * gst/gstpad.h:
6668         Add function to perform a query on the peer of a pad.
6669         API: gst_pad_peer_query()
6670
6671 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6672
6673         * tests/check/gst/gstsystemclock.c:
6674           Cleanup the test a little (use gst-logging and not g_message). Improve
6675           test to check if a wait reached the target.
6676
6677 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6678
6679         * docs/libs/gstreamer-libs-sections.txt:
6680           Add new API to docs and fix the build.
6681
6682 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6683
6684         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6685         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6686         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6687         (gst_base_src_get_property), (gst_base_src_do_sync):
6688         * libs/gst/base/gstbasesrc.h:
6689         Add property to make the basesrc timestamp buffers based on the current
6690         running time.
6691         API: GstBaseSrc::do-timestamp
6692         API: gst_base_src_set_do_timestamp()
6693         API: gst_base_src_get_do_timestamp()
6694
6695 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6696
6697         * docs/random/release:
6698           Really make sure translations are up-to-date before
6699           a release (#465010).
6700
6701 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6702
6703         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6704         Always destroy the timer, also in error cases.
6705
6706 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6707
6708         * docs/manual/highlevel-xml.xml:
6709         Fix XML example code. Fixes #472714.
6710
6711 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6712
6713         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6714         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6715         (gst_base_sink_query):
6716         Protect eos and have_preroll with the OBJECT lock so we don't need to
6717         take the PREROLL lock when querying the latency. Fixes #473846.
6718
6719 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6720
6721         * gst/gstelement.c:
6722           Give some log-messages a category.
6723
6724 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6725
6726         * gst/gststructure.c:
6727         (gst_structure_fixate_field_nearest_fraction):
6728         Fix fraction list fixation code. Take the fraction with the smallest
6729         difference with the target instead of the first one in the list.
6730
6731         * tests/check/gst/gststructure.c: (GST_START_TEST),
6732         (gst_structure_suite):
6733         Added test to verify correct fraction list fixation behaviour.
6734
6735 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6736
6737         * win32/common/libgstreamer.def:
6738           Export gst_bus_add_signal_watch too.
6739
6740 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6741
6742         * docs/libs/gstreamer-libs-sections.txt:
6743         Add new methods to docs.
6744
6745         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6746         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6747         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6748         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6749         * libs/gst/base/gstbasesink.h:
6750         Add ts-offset property to fine-tune the synchronisation.
6751         API: GstBaseSink::ts-offset property
6752         API: gst_base_sink_set_ts_offset()
6753         API: gst_base_sink_get_ts_offset()
6754
6755 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
6756
6757         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6758         (gst_base_sink_init), (gst_base_sink_set_sync),
6759         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6760         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6761         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6762         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6763         (gst_base_sink_get_property), (gst_base_sink_change_state):
6764         * libs/gst/base/gstbasesink.h:
6765         Add async property to instruct the sink never to inform the parent about
6766         ASYNC state changes, update docs.
6767         Check argument with g_return_* for the public functions.
6768         API: GstBaseSink::async property
6769         API: gst_base_sink_set_async_enabled()
6770         API: gst_base_sink_is_async_enabled()
6771
6772 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
6773
6774         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6775         Improve debugging.
6776
6777         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6778         (gst_base_src_default_query), (gst_base_src_wait),
6779         (gst_base_src_do_sync), (gst_base_src_change_state):
6780         Rearrange some code so that we can add support for measuring the 
6781         startup latency.
6782
6783 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
6784
6785         * docs/random/ensonic/dynlink.txt:
6786           More thoughs on this.
6787
6788         * plugins/elements/gstcapsfilter.c:
6789           Add bugzilla ticket number to FIXME comment.
6790
6791 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
6792
6793         * docs/design/part-TODO.txt:
6794         * docs/design/part-block.txt:
6795         Update some docs.
6796
6797 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6798
6799         * gst/Makefile.am:
6800           Revert patch which uses $(gst_headers) instead of $^ because it
6801           breaks make dist.
6802
6803 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6804
6805         * tests/check/gst/gstbin.c: (GST_START_TEST):
6806           Fix leaks in the new unit test.
6807
6808 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
6809
6810         * gst/gst.c:
6811           Don't use GST_INFO before the debug system is actually initialised
6812           (shouldn't do any harm, but won't print anything either, so we can
6813           just as well remove it).
6814
6815         * gst/gstinfo.h:
6816           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6817           compilers that don't support variadic macros (such as MSVC), should
6818           check for debug_level <= __gst_debug_min as well, since that's the
6819           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6820           inline helper functions. Should improve performance a bit, but also
6821           makes sure uses of GST_INFO et.al are ignored if the debugging
6822           system isn't initialised yet (instead of printing an assertion
6823           failure).
6824
6825 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
6826
6827         patch by: David Nečas <yeti@physics.muni.cz>
6828
6829         * gst/Makefile.am:
6830           Replace some non portable makefile constructs.
6831
6832 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
6833
6834         * common/gtk-doc-plugins.mak:
6835           Grrrrr. Don't remove the types file on make clean.
6836
6837 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
6838
6839         * tools/gst-launch.1.in:
6840         Add colorspace to example pipeline. Fixes #458274.
6841
6842 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
6843
6844         * docs/random/release:
6845           The release manager should run 'make download-po' before making a
6846           release to make sure translations are up-to-date.
6847
6848         * po/LINGUAS:
6849         * po/be.po:
6850         * po/pl.po:
6851         * po/rw.po:
6852           Add some new translations.
6853
6854 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
6855
6856         * tools/gst-launch.c: (event_loop), (main):
6857         Don´t try to do any state management when a live pipeline posts
6858         buffering messages.
6859         Also make the buffering string translatable.
6860
6861 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6862
6863         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6864         (bin_handle_async_start), (gst_bin_handle_message_func):
6865         Improve debugging.
6866         When adding elements, insert messages into the bus of the newly added
6867         element and make sure the element is the source of the message. This
6868         allows the parent bin to intercept the message and do the
6869         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6870         messages to the app (which is not allowed).
6871         Update some docs.
6872
6873         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6874         Fix testsuite so that is does not work around messages that should not
6875         have been posted in the first place.
6876
6877 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6878
6879         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6880         (update_degree), (gst_bin_sort_iterator_next):
6881         Fix annoying bug in the sorted iterator where a sink that is not really
6882         a sink (when it has downstream links) screwed up the iterator.
6883
6884         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6885         Unit test to verify the fix.
6886
6887 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6888
6889         * gst/gstmessage.h:
6890         Add some more docs for the messages.
6891
6892         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6893         (gst_base_sink_query):
6894         Add some more debugging.
6895
6896         * tools/gst-launch.c: (event_loop):
6897         When interrupting, don't try to set pipeline to PAUSED twice.
6898
6899 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
6900
6901         
6902         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6903         (bin_handle_async_start), (gst_bin_handle_message_func):
6904         Move ASYNC_START message posting to where it belongs, similar to
6905         async_done. 
6906         Don't post ASYNC_START when we are in error. 
6907         Post ASYNC_START when we added an async element to a bin.
6908
6909 2007-08-14  Julien MOUTTE  <julien@moutte.net>
6910
6911         * gst/gstindex.c: (gst_index_add_association): Fix index entry
6912         generation from vargs. Fixes #466595.
6913
6914 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
6915
6916         * gst/gstbin.c: (gst_bin_element_set_state):
6917         Always change the state of a NO_PREROLL element even if it has ASYNC
6918         elements inside (in case of a bin).
6919
6920         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6921         Unit test for this case.
6922
6923 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
6924
6925         * libs/gst/check/gstbufferstraw.c:
6926         * libs/gst/check/gstcheck.h:
6927         * libs/gst/controller/gstcontroller.c:
6928         * libs/gst/controller/gstcontrolsource.h:
6929         * libs/gst/controller/gstlfocontrolsource.h:
6930         * plugins/elements/gstcapsfilter.h:
6931         * plugins/elements/gstfdsink.h:
6932         * plugins/elements/gstfdsrc.h:
6933           Add more missing docs.
6934
6935 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6936
6937         * gst/gststructure.c:
6938         Add Since tag to docs.
6939
6940 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6941
6942         * docs/gst/gstreamer-sections.txt:
6943         * gst/gststructure.c: (gst_structure_get_uint):
6944         * gst/gststructure.h:
6945         Add function to get uint from a structure.
6946         API: gst_structure_get_uint()
6947
6948 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6949
6950         * gst/gstcaps.c: (gst_caps_set_simple_valist),
6951         (gst_caps_intersect):
6952         Fix proper check for simple caps.
6953
6954 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
6955
6956         * docs/gst/Makefile.am:
6957         * docs/libs/Makefile.am:
6958           Remove cruft and do some cleanups.
6959
6960         * docs/gst/gstreamer-docs.sgml:
6961         * docs/libs/gstreamer-libs-docs.sgml:
6962           Prepare for comming gtkdoc features (rebase against online docs).
6963
6964 2007-08-10  Michael Smith <msmith@fluendo.com>
6965
6966         * docs/gst/gstreamer-sections.txt:
6967           Add gst_registry_add_path to docs.
6968
6969 2007-08-10  Michael Smith <msmith@fluendo.com>
6970
6971         * gst/gstregistry.h:
6972           Add gst_registry_add_path, which was missing from this header.
6973
6974 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6975
6976         * libs/gst/controller/gstlfocontrolsource.c:
6977           Printf format fix.
6978
6979 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6980
6981         * libs/gst/base/gstbasesink.c:
6982           Don't send an async_start message during downwards state change if 
6983           target state is less than READY
6984
6985 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6986
6987         translated by: Gabor Kelemen <kelemeng@gnome.hu>
6988
6989         * po/LINGUAS:
6990         * po/hu.po:
6991           Added Hungarian translation.
6992
6993 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6994
6995         * po/fi.po:
6996         * po/it.po:
6997         * po/nl.po:
6998         * po/sv.po:
6999         * po/uk.po:
7000           Updated translations.
7001
7002 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7003
7004         * libs/gst/controller/Makefile.am:
7005         Dist gstlfocontrolsourceprivate.h
7006
7007 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7008
7009         * docs/libs/gstreamer-libs.types:
7010         Don't register the enum type gst_lfo_waveform_get_type() in the
7011         .types file - only GObject derived types belong.
7012
7013 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7014
7015         Patch by: <arenevier at fdn dot fr>
7016
7017         * gst/gstbuffer.h:
7018         Remove comma from last element in enum to avoid compile errors when
7019         using -pendantic. Fixes #464366.
7020
7021 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7022
7023         * docs/design/part-TODO.txt:
7024         Add some more TODO items
7025
7026         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7027         Improve debugging.
7028
7029         * gst/gstcaps.c: (gst_caps_intersect):
7030         Optimize trivial intersection case between identical caps pointers.
7031
7032         * gst/gstelement.c: (gst_element_continue_state),
7033         (gst_element_set_state_func):
7034         * gst/gstpad.c:
7035         Fix spelling and grammar mistakes.
7036
7037 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7038
7039         * po/POTFILES.in:
7040         * po/POTFILES.skip:
7041           Update POTFILES. Fixes #461599.
7042
7043 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7044
7045         * gst/gst.c:
7046         Fix confusing typo in debug output.
7047
7048 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7049
7050         reviewed by: Stefan Kost <ensonic@users.sf.net>
7051
7052         * libs/gst/controller/Makefile.am:
7053         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7054         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7055         (gst_lfo_control_source_new),
7056         (gst_lfo_control_source_set_waveform),
7057         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7058         (gst_lfo_control_source_finalize),
7059         (gst_lfo_control_source_dispose),
7060         (gst_lfo_control_source_set_property),
7061         (gst_lfo_control_source_get_property),
7062         (gst_lfo_control_source_class_init):
7063         * libs/gst/controller/gstlfocontrolsource.h:
7064         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7065         API: Add GstLFOControlSource, a control source that gives values
7066         for specific timestamps based on several periodic waveforms.
7067         Fixes #459717.
7068
7069         * tests/check/libs/controller.c: (GST_START_TEST),
7070         (gst_controller_suite):
7071         * docs/libs/gstreamer-libs-docs.sgml:
7072         * docs/libs/gstreamer-libs-sections.txt:
7073         * docs/libs/gstreamer-libs.types:
7074         Add documentation and unit tests for GstLFOControlSource.
7075
7076 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7077
7078         * configure.ac:
7079         Back to CVS
7080
7081 === release 0.10.14 ===
7082
7083 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7084
7085         * configure.ac:
7086           releasing 0.10.14, "Breathing Vacuum"
7087
7088 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7089
7090         * gst/gstelement.c: (gst_element_class_set_details_simple):
7091         * gst/gstelement.h:
7092           Make strings passed to gst_element_class_set_details_simple()
7093           constant, as they should be (#462752).
7094
7095 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7096
7097         * gst/gstbin.c: (gst_bin_change_state_func),
7098         (bin_handle_async_done), (gst_bin_handle_message_func):
7099         Don't forget about the fact that some element went ASYNC even after a
7100         resync. This makes us post the ASYNC_DONE message correctly.
7101         Fixes #462558.
7102
7103 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7104
7105         * gst/gstregistry.c: (gst_registry_add_feature):
7106         When replacing an existing feature in the registry, make sure to
7107         continue holding a reference until we've replaced the name string
7108         within our feature hash table. Make sure to use g_hash_table_replace
7109         instead of g_hash_table_insert to ensure the new name string is used
7110         as a key instead of the old one that we're about to free.
7111         Fixes: #462085
7112
7113 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7114
7115         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7116         (gst_plugin_feature_set_name):
7117         Revert patch from #459466 until after the release and we can work
7118         out exactly what the problem is (if any).
7119
7120 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7121
7122         * docs/gst/gstreamer-sections.txt:
7123         * gst/gsttaglist.c:
7124         * gst/gsttaglist.h:
7125           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7126
7127 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7128
7129         * docs/libs/Makefile.am:
7130         Include our build-prefix libs and includes before the generic ones to
7131         avoid linking against the installed libs when we want the build-tree
7132         ones.
7133
7134 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7135
7136         Patch by: Steve Fink  <sphink gmail com>
7137
7138         * docs/pwg/building-testapp.xml:
7139           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7140           if people try to build or install the example from the plugin
7141           template against a GStreamer from package using the configure
7142           defaults.
7143
7144 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7145
7146         Patch by: Steve Fink  <sphink gmail com>
7147
7148         * tools/gst-inspect.1.in:
7149           Document --print-all and --print-plugin-auto-install-info command
7150           line options in man page.
7151
7152 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7153
7154         * docs/gst/gstreamer-sections.txt:
7155         Add docs for new api function.
7156
7157 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7158
7159         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7160         * gst/gstelementfactory.h:
7161         API: gst_element_factory_has_interface()
7162         Added method to check if an element factory implements a named
7163         interface.
7164
7165 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7166
7167         * configure.ac:
7168         * docs/gst/gstreamer.types.in:
7169           Another conditional doc check.
7170
7171         * gst/gstmessage.c:
7172         * gst/gstparamspecs.h:
7173         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7174         * gst/gstvalue.c:
7175         * gst/gstxml.h:
7176           API-doc fixes.
7177
7178 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7179
7180         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7181         (gst_registry_binary_load_feature),
7182         (gst_registry_binary_load_plugin),
7183         (gst_registry_binary_read_cache):
7184           Print error just once and with additional info.
7185
7186 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7187
7188         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7189         (helper_find_suggest), (helper_find_get_length),
7190         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7191         (gst_type_find_helper_for_buffer):
7192           Cleanup the typefindhelper code and add private doc comments.
7193
7194 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7195
7196         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7197         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7198         Fix capsfilter for cases where the caps set on capsfilter will provide
7199         additional information.
7200         Fixes #449197
7201
7202 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7203
7204         * gst/gsttypefindfactory.c:
7205           Fix docs that recommened wrong function to use.
7206
7207 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7208
7209         * tools/gst-inspect.c: (print_plugin_features):
7210           Also give media-type for typefinders in element output.
7211
7212 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7213
7214         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7215         (gst_registry_remove_features_for_plugin_unlocked),
7216         (gst_registry_add_feature), (gst_registry_remove_feature),
7217         (gst_registry_lookup_feature_locked):
7218         * gst/gstregistry.h:
7219           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7220           Fixes #459501.
7221
7222 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7223
7224         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7225         (gst_plugin_feature_set_name):
7226           Avoid double memory usage for pluginfeature names. Fixes #459466.
7227
7228 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7229
7230         * gst/gstpad.h:
7231           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7232           driving the pipeline may need to explicitly check for NOT_LINKED as
7233           well, since IS_FATAL doesn't cover that.
7234
7235 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7236
7237         * docs/pwg/advanced-types.xml:
7238           Fix typo and duplicate entry in video formats list.
7239
7240 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7241
7242         * libs/gst/controller/gstinterpolation.c:
7243         Also round to the nearest int when using cubic interpolation.
7244
7245 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7246
7247         * libs/gst/controller/gstinterpolation.c:
7248         When linearly interpolating integer types, round to the nearest int
7249         by adding 0.5. Don't do it for float/double types.
7250         Fixes the failing controller test on my machine, which is somehow
7251         rounding differently than on the buildbots.
7252
7253 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7254
7255         * tools/gst-plot-timeline.py:
7256           Better log parsing (categories can have -). Adjust text vs. lines, so
7257           that they span the same y-range.        
7258
7259 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7260
7261         * docs/random/ensonic/audiobaseclasses.txt:
7262         * docs/random/ensonic/dynlink.txt:
7263         * docs/random/ensonic/profiling.txt:
7264           Save my thoughts.
7265
7266         * docs/random/moving-plugins:
7267           Add note to use g_assert type macros.
7268
7269 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7270
7271         * configure.ac:
7272         * libs/gst/check/Makefile.am:
7273           Add libm check as we use in for plugins.
7274
7275 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7276
7277         * gst/gstbin.c: (gst_bin_continue_func):
7278         Check that the state_cookie hasn't changed since the continue_func
7279         was scheduled. Avoids problems where the state changes back to
7280         something it shouldn't be because it was changed in the meantime.
7281
7282 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7283
7284         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7285         (gst_registry_binary_save_string),
7286         (gst_registry_binary_save_pad_template),
7287         (gst_registry_binary_save_feature),
7288         (gst_registry_binary_save_plugin),
7289         (gst_registry_binary_load_feature),
7290         (gst_registry_binary_load_plugin),
7291         (gst_registry_binary_read_cache):
7292           Fix memory leak. Be less verbose in the log.
7293
7294 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7295
7296         * tests/check/elements/.cvsignore:
7297         Add file to cvsignore as commanded.
7298
7299 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7300
7301         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7302         (mq_dummypad_event), (run_output_order_test):
7303         Use a GStaticMutex to protect all cases where libcheck
7304         fail_if/fail_unless macros might be called from multiple threads
7305         simultaneously to avoid errors like:
7306           "check_pack.c:107: :-1081725400:Bad message type arg"
7307
7308 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7309
7310         * tests/check/pipelines/stress.c: (GST_START_TEST):
7311         Make sure we set the pipeline back to the NULL state before
7312         dropping our final reference.
7313
7314 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7315
7316         * tests/check/elements/tee.c: (GST_START_TEST):
7317         Make the tee stress-test a little less stressful so it doesn't just
7318         time out on slow-machines, and remove a small race when it's starting 
7319         up by adding a get_state() call.
7320
7321 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7322
7323         * gst/gst.c:
7324           Avoid reading registry twice on startup. Fixes #457322.
7325
7326 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7327
7328         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7329         * pkgconfig/gstreamer-check.pc.in:
7330         Substitute the CFLAGS for libcheck into our .pc file too so that
7331         dependent modules will pick it up properly if libcheck is installed
7332         into some other prefix.
7333
7334 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7335
7336         * configure.ac:
7337         Revert the pkg-config check for libcheck, since it pulls in the
7338         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7339         a proper solution, either from the check project, or something else.
7340
7341 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7342
7343         * configure.ac:
7344           Use pkg-config to locate check.
7345
7346 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7347
7348         * gst/gsttaglist.c:
7349           Fix doc syntax.
7350
7351         * gst/gstutils.c:
7352         * gst/gstutils.h:
7353           Add deprecation guards.
7354
7355         * libs/gst/base/gstcollectpads.h:
7356           Don't document object (this is implicitly private).
7357
7358 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7359
7360         * gst/gststructure.c: (gst_structure_parse_value):
7361           When deserialising foo=bar without a type cast, check if it's a
7362           boolean before falling back to a string type, otherwise things like
7363           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7364           because the filtercaps end up having a signed=(string)true field,
7365           which causes problems later when intersection caps.
7366
7367         * tests/check/gst/gststructure.c: (GST_START_TEST):
7368           Add a unit test for this.
7369
7370 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7371
7372         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7373
7374         * libs/gst/controller/Makefile.am:
7375         * libs/gst/controller/gstcontroller.c:
7376         (gst_controlled_property_add_interpolation_control_source),
7377         (gst_controlled_property_new), (gst_controlled_property_free),
7378         (gst_controller_find_controlled_property),
7379         (gst_controller_new_valist), (gst_controller_new_list),
7380         (gst_controller_new), (gst_controller_remove_properties_valist),
7381         (gst_controller_remove_properties_list),
7382         (gst_controller_remove_properties),
7383         (gst_controller_set_property_disabled),
7384         (gst_controller_set_disabled), (gst_controller_set_control_source),
7385         (gst_controller_get_control_source), (gst_controller_get),
7386         (gst_controller_sync_values), (gst_controller_get_value_array),
7387         (_gst_controller_dispose), (gst_controller_get_type),
7388         (gst_controlled_property_set_interpolation_mode),
7389         (gst_controller_set), (gst_controller_set_from_list),
7390         (gst_controller_unset), (gst_controller_unset_all),
7391         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7392         * libs/gst/controller/gstcontroller.h:
7393         * libs/gst/controller/gstcontrollerprivate.h:
7394         * libs/gst/controller/gstcontrolsource.c:
7395         (gst_control_source_class_init), (gst_control_source_init),
7396         (gst_control_source_get_value),
7397         (gst_control_source_get_value_array), (gst_control_source_bind):
7398         * libs/gst/controller/gstcontrolsource.h:
7399         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7400         (gst_object_get_control_source):
7401         * libs/gst/controller/gstinterpolation.c:
7402         (gst_interpolation_control_source_find_control_point_node),
7403         (gst_interpolation_control_source_get_first_value),
7404         (_interpolate_none_get), (interpolate_none_get),
7405         (interpolate_none_get_boolean_value_array),
7406         (interpolate_none_get_enum_value_array),
7407         (interpolate_none_get_string_value_array),
7408         (_interpolate_trigger_get), (interpolate_trigger_get),
7409         (interpolate_trigger_get_boolean_value_array),
7410         (interpolate_trigger_get_enum_value_array),
7411         (interpolate_trigger_get_string_value_array):
7412         * libs/gst/controller/gstinterpolationcontrolsource.c:
7413         (gst_control_point_free), (gst_interpolation_control_source_reset),
7414         (gst_interpolation_control_source_new),
7415         (gst_interpolation_control_source_set_interpolation_mode),
7416         (gst_interpolation_control_source_bind),
7417         (gst_control_point_compare), (gst_control_point_find),
7418         (gst_interpolation_control_source_set_internal),
7419         (gst_interpolation_control_source_set),
7420         (gst_interpolation_control_source_set_from_list),
7421         (gst_interpolation_control_source_unset),
7422         (gst_interpolation_control_source_unset_all),
7423         (gst_interpolation_control_source_get_all),
7424         (gst_interpolation_control_source_get_count),
7425         (gst_interpolation_control_source_init),
7426         (gst_interpolation_control_source_finalize),
7427         (gst_interpolation_control_source_dispose),
7428         (gst_interpolation_control_source_class_init):
7429         * libs/gst/controller/gstinterpolationcontrolsource.h:
7430         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7431         API: Refactor GstController into the core controller which can take
7432         a GstControlSource for providing actual values for timestamps.
7433         Implement a interpolation control source and use this for backward
7434         compatibility, deprecate a bunch of functions that are now handled
7435         by GstControlSource or GstInterpolationControlSource.
7436         Make it possible to disable the controller completely or only for
7437         specific properties. Fixes #450711.
7438         * docs/libs/gstreamer-libs-docs.sgml:
7439         * docs/libs/gstreamer-libs-sections.txt:
7440         * docs/libs/gstreamer-libs.types:
7441         Add new functions and classes to the docs.
7442         * tests/check/libs/controller.c: (GST_START_TEST),
7443         (gst_controller_suite):
7444         * tests/examples/controller/audio-example.c: (main):
7445         Port unit test and example to the new API and add some new
7446         unit tests.
7447
7448 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7449
7450         Patch by: Mark Nauwelaerts <manauw at skynet be>
7451
7452         * plugins/elements/gstmultiqueue.c:
7453         (gst_multi_queue_get_internal_links), (apply_buffer),
7454         (single_queue_overrun_cb), (gst_single_queue_new):
7455         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7456         the pipeline layout can be tracked correctly. Fixes #453732.
7457
7458 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7459
7460         * docs/gst/Makefile.am:
7461         * docs/libs/Makefile.am:
7462         * docs/plugins/Makefile.am:
7463           Simplify --extra-dir as gtkdoc scans recursively.
7464
7465 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7466
7467         * tools/gst-launch.c: (main):
7468         When we got an error, there is no point in waiting for preroll when
7469         shutting down.
7470
7471 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7472
7473         * plugins/elements/gsttee.c: (gst_tee_base_init),
7474         (gst_tee_request_new_pad), (gst_tee_release_pad),
7475         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7476         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7477         (gst_tee_chain):
7478         Be a lot smarter when deciding what srcpad to use for proxying
7479         the buffer_alloc. Also handle pad added/removed when doing so.
7480         Fixes #357959.
7481         Keep track of what pads we already pushed on in case we have pads
7482         added/removed while pushing. Fixes #374639 
7483
7484         * tests/check/Makefile.am:
7485         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7486         (tee_suite):
7487         Added unit test for pad resync.
7488
7489 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7490
7491         * po/nl.po:
7492         * po/sv.po:
7493           Updated translations.
7494
7495 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7496
7497         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7498
7499         * po/LINGUAS:
7500         * po/fi.po:
7501           Added new Finnish translation.
7502
7503 2007-06-28  Wim Taymans  <wim@fluendo.com>
7504
7505         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7506         (single_queue_overrun_cb):
7507         When figuring out when a queue is filled, use our internal time estimate
7508         based on segments, just like check_full does.
7509
7510 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7511
7512         * gst/gstminiobject.c: (gst_mini_object_get_type):
7513           Remove 3 do-nothing methods.
7514
7515 2007-06-27  Wim Taymans  <wim@fluendo.com>
7516
7517         Patch by: Tim Angus <tim at ngus dot net>
7518
7519         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7520         (gst_capsfilter_set_property):
7521         Take a reference instead of a copy when setting "caps".
7522         Fix documentation to clarify this behaviour. Fixes #449414.
7523
7524 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7525
7526         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7527         * gst/gstplugin.c: (gst_plugin_init):
7528         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7529         * gst/gstquery.c: (gst_query_get_type):
7530         * gst/gstregistry.c: (gst_registry_init):
7531         * gst/gsturi.c: (gst_uri_handler_base_init):
7532           Remove empty instance_init() functions to save relocs and lessen the
7533           noise. Remove some of the function prototypes that are doubled by
7534           G_DEFINE_TYPE.
7535           
7536 2007-06-27  Wim Taymans  <wim@fluendo.com>
7537
7538         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7539
7540         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7541         Add peer and direction in the XML serialisation of ghostpads.
7542         Fixes #449226.
7543
7544 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7545
7546         * configure.ac:
7547           Preserve useful information, thanks Tim.
7548
7549 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7550
7551         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7552         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7553         (gst_single_queue_push_one), (gst_multi_queue_loop),
7554         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7555         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7556         (compute_high_id), (gst_single_queue_new):
7557         * plugins/elements/gstmultiqueue.h:
7558         Take the multiqueue lock when updating the fill level so we don't get
7559         confused. 
7560
7561         After applying a buffer or event on the src pad segment, make sure to
7562         call gst_data_queue_limits_changed() to get the data queue to unblock
7563         and check the filled state again.
7564         
7565         Rework the not-linked pad handling so the logic is that not-linked 
7566         pads can push as fast as they like, but only so they never get 
7567         ahead of any linked pads.
7568
7569         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7570         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7571         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7572
7573         Add a test to check that not-linked pads always stay behind
7574         linked pads.
7575
7576         Fixes: #430682
7577
7578 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7579
7580         * docs/random/release:
7581           Some updates to the release procedure.
7582
7583 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7584
7585         * gst/gstelementfactory.c: (__gst_element_details_clear):
7586           Microoptimization that saves stunning 80 bytes.
7587
7588 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7589
7590         * docs/plugins/gstreamer-plugins.args:
7591         * docs/plugins/inspect/plugin-coreelements.xml:
7592         * docs/plugins/inspect/plugin-coreindexers.xml:
7593           Update docs with caps info.
7594
7595 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7596
7597         * po/it.po:
7598           Updated Italian translation.
7599
7600 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7601
7602         * ChangeLog:
7603         * po/vi.po:
7604           Update Vietnamese translations.
7605
7606 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7607
7608         * libs/gst/base/gstbasesink.c:
7609           Remove unused signal enum.
7610
7611 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7612
7613         * docs/gst/gstreamer-sections.txt:
7614         * gst/gstelement.c:
7615         * gst/gstutils.c: (gst_type_register_static_full):
7616         Beef up and include the docs for gst_type_register_static_full and
7617         gst_element_class_set_details_simple and add the API keyword
7618         in the ChangeLog.
7619
7620 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7621
7622         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7623         (update_time_level), (gst_single_queue_push_one),
7624         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7625         (single_queue_overrun_cb), (single_queue_underrun_cb),
7626         (single_queue_check_full):
7627         Fix setting max-* properties after adding queues.
7628         Use IS_FILLED for checking visible items.
7629         Signal overrun if multiple queues overrun.
7630         Add extra debug output.
7631         Patch by: Wim Taymans <wim@fluendo.com>
7632
7633 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7634
7635         * gst/gstelement.c: (gst_element_class_set_details_simple):
7636         * gst/gstelement.h:
7637         * gst/gstutils.c: (gst_type_register_static_full):
7638         * gst/gstutils.h:
7639         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7640         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7641         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7642         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7643         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7644         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7645         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7646         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7647         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7648         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7649         (apply_buffer), (gst_queue_chain):
7650         * plugins/elements/gsttee.c: (gst_tee_base_init):
7651         * plugins/elements/gsttypefindelement.c:
7652         (gst_type_find_element_base_init),
7653         (gst_type_find_element_class_init):
7654           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7655           API: add gst_type_register_static_full
7656           API: add gst_element_class_set_details_simple
7657
7658 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7659
7660         * docs/pwg/advanced-types.xml:
7661           Fix typo in iana.org URI.
7662
7663 2007-06-19  Andy Wingo  <wingo@pobox.com>
7664
7665         * tests/check/pipelines/simple-launch-lines.c
7666         (test_state_change_returns): Enable pull-mode tests now that
7667         basesink has been fixed.
7668
7669         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7670         Changed from gst_base_sink_is_prerolled, reversing the sense of
7671         the return value. Returns FALSE also if the sink is in pull mode,
7672         in which case it needs no preroll.
7673         (gst_base_sink_query, gst_base_sink_change_state): Update for
7674         needs_preroll change.
7675         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7676         chaining up, in which we return SUCCESS directly if we activated
7677         in pull mode instead of ASYNC. Involves countering an async_start
7678         message sent before chaining up; not sure if this is correct, in
7679         an ideal world we only send async-start when activating in push
7680         mode.
7681
7682         * tests/check/pipelines/simple-launch-lines.c
7683         (test_state_change_returns): New test, partially disabled until
7684         basesink is fixed.
7685
7686 2007-06-19  Wim Taymans  <wim@fluendo.com>
7687
7688         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7689         (gst_multi_queue_sink_event):
7690         Fix event leak.
7691
7692 2007-06-19  Wim Taymans  <wim@fluendo.com>
7693
7694         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7695         (gst_bin_change_state_func), (bin_push_state_continue),
7696         (bin_handle_async_start), (bin_handle_async_done),
7697         (gst_bin_handle_message_func):
7698         Move the common code for posting state-change messages into
7699         one function.
7700         Broadcast the state signal after we posted the messages.
7701         Mark the bin as busy when it's doing a state-change.
7702         Make sure async-start/done messages don't interfere with the bin's
7703         state when it's busy.
7704         After the state change, let the bin check which elements completed the
7705         state change while it was busy so that it can update its state.
7706
7707 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7708
7709         * docs/random/release:
7710         Add a note about updating the doap file to the release checklist
7711
7712 2007-06-18  Wim Taymans  <wim@fluendo.com>
7713
7714         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7715         (gst_single_queue_push_one), (gst_multi_queue_chain),
7716         (gst_multi_queue_sink_event):
7717         Make sure we don't reference the buffer/event after we have given away
7718         ownership in the queue.
7719
7720 2007-06-18  Wim Taymans  <wim@fluendo.com>
7721
7722         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7723         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7724         Update queue state _after_ adding the item in the queue because else we
7725         could end up being full without the element added yet.
7726
7727 2007-06-18  Wim Taymans  <wim@fluendo.com>
7728
7729         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7730         (gst_bin_remove_func), (gst_bin_get_state_func),
7731         (gst_bin_element_set_state), (gst_bin_continue_func),
7732         (bin_push_state_continue), (bin_handle_async_start),
7733         (bin_handle_async_done), (gst_bin_handle_message_func):
7734         * gst/gstbin.h:
7735         Immediatly commit the toplevel bin state when receiving an async-done
7736         message. This enables us to avoid spawning a thread to commit the state
7737         in some common cases and it also avoids some races.
7738         Avoid spawning a state thread when adding/removing async elements to a
7739         toplevel bin. Instead we immediatly update the bin state.
7740         Get rid of iterating all the children when getting the state in the bin
7741         because it is now always up-to-date.
7742         Fix bug where locked elements would always return _SUCCESS even it they
7743         returned NO_PREROLL before being locked.
7744         Fix the order of the state_change, async-start/done messages that was
7745         sometimes incorrect.
7746         Mark the state_dirty field as deprecated, we don't need it anymore as we
7747         are always up-to-date.
7748
7749         * gst/gstelement.c: (gst_element_get_state_func),
7750         (gst_element_continue_state):
7751         Small debug inprovements.
7752         Return the previous element state return when nothing is pending instead
7753         of blindly returning SUCCESS.
7754
7755         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7756         (gst_sinks_suite):
7757         Add a whole bunch of new testcases.
7758
7759 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
7760
7761         * po/uk.po:
7762         * po/vi.po:
7763           Update translations.
7764
7765 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
7766
7767         * gst/gstpad.c:
7768         Fix typo in the docs.
7769
7770 2007-06-15  Wim Taymans  <wim@fluendo.com>
7771
7772         * docs/libs/gstreamer-libs-sections.txt:
7773         Add docs for new methods.
7774
7775 2007-06-15  Wim Taymans  <wim@fluendo.com>
7776
7777         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7778         (gst_multi_queue_item_new):
7779         Don't use GSlice because we don't depend on >= 2.10 yet.
7780
7781 2007-06-15  Wim Taymans  <wim@fluendo.com>
7782
7783         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7784         (update_time_level), (apply_segment), (apply_buffer),
7785         (gst_single_queue_push_one), (gst_multi_queue_item_new),
7786         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7787         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7788         (single_queue_underrun_cb), (single_queue_check_full):
7789         Remove debug printf.
7790
7791 2007-06-15  Wim Taymans  <wim@fluendo.com>
7792
7793         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7794         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7795         (gst_data_queue_set_flushing), (gst_data_queue_push),
7796         (gst_data_queue_pop), (gst_data_queue_drop_head),
7797         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7798         * libs/gst/base/gstdataqueue.h:
7799         Various cleanups.
7800         Added methods to get the current levels and to inform the queue that the
7801         'full' limits changed.
7802
7803         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7804         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7805         (gst_single_queue_flush), (update_time_level), (apply_segment),
7806         (apply_buffer), (gst_single_queue_push_one),
7807         (gst_multi_queue_item_steal_object),
7808         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7809         (gst_multi_queue_loop), (gst_multi_queue_chain),
7810         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7811         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7812         (gst_multi_queue_src_query), (single_queue_overrun_cb),
7813         (single_queue_underrun_cb), (single_queue_check_full),
7814         (gst_single_queue_new):
7815         Keep track of time in the queue by measuring the difference between
7816         running_time on input and output. This gives more accurate results and
7817         can compensate for segments correctly.
7818         Make a queue by default only 5 buffers deep. We will now increase the
7819         buffer size depending on the filledness of the other queues.
7820         Factor out commong flush code.
7821         Make sure we don't add additional refcounts to buffers when we can avoid
7822         it.
7823         Propagate GstFlowReturn differently.
7824         Use GSlice for intermediate GstMultiQueueItems.
7825         Keep track of EOS.
7826         Resize queues on over and underruns based on filled level of other
7827         queues.
7828         When checking if the queue is filled, prefer to measure in time if we
7829         can and fall back to bytes when no time is known.
7830
7831         * plugins/elements/gstqueue.c:
7832         Fix return value.
7833
7834 2007-06-15  Wim Taymans  <wim@fluendo.com>
7835
7836         * libs/gst/base/gstbasetransform.c:
7837         (gst_base_transform_sink_event):
7838         Work around the brokenness of the event vmethod in basetransform. Prefer
7839         to return TRUE when the subclass returned FALSE (meaning don't forward
7840         the event). 
7841
7842         * libs/gst/base/gstbasetransform.h:
7843         Clarify the docs.
7844
7845 2007-06-15  Wim Taymans  <wim@fluendo.com>
7846
7847         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7848         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7849         (gst_base_src_default_query), (gst_base_src_get_range),
7850         (gst_base_src_start):
7851         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7852         Improve debugging.
7853
7854 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7855
7856         * docs/pwg/advanced-types.xml:
7857           Added more formats to caps table.
7858
7859 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7860
7861         * tools/gst-launch.c: (main):
7862           Remove crufy code. GOption does not need this workaround.
7863
7864 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7865
7866         * libs/gst/controller/gstcontroller.c:
7867         (gst_controlled_property_set_interpolation_mode):
7868           Fix wrong getter for enums in controller.
7869
7870 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7871
7872         * libs/gst/check/gstcheck.c: (gst_check_init):
7873           Intercept criticals and warnings in the Gst-Phonon log domain, so
7874           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7875           well.
7876         
7877 2007-06-14  Edward Hervey  <edward@fluendo.com>
7878
7879         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7880         Since this file doesn't include "gst.h" it will not go through the
7881         macros that disable GST_LOG if debugging was disabled.
7882
7883 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7884
7885         * libs/gst/check/Makefile.am:
7886         * libs/gst/check/gstcheck.h:
7887         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7888         * pkgconfig/gstreamer-check.pc.in:
7889           Ugly 'fix' for the controller unit test on the p5 bot: in
7890           fail_unless_equals_float() check whether the values are 'almost
7891           equal' by allowing a small absolute error, which should be good
7892           enough for our use cases (normal numbers and values close to 0).
7893           Proper fixage left to floating point arithmetic aficionados.
7894
7895 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7896
7897         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7898         (gst_base_sink_render_object), (gst_base_sink_get_position):
7899           Add two breaks thats where missing.
7900
7901 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7902
7903         * docs/libs/gstreamer-libs-sections.txt:
7904         * libs/gst/check/gstcheck.h:
7905           API: add fail_unless_equals_float() and assert_equals_float().
7906           Add documentation for some of the macros.
7907
7908         * tests/check/libs/controller.c: (GST_START_TEST):
7909           Use newly-added asserts.
7910
7911 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7912
7913         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7914           Show the caps change in the log to help spotting the case of not
7915           exactly matching caps.
7916
7917 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7918
7919         * docs/pwg/building-boiler.xml:
7920           Fix typos, spotted by Thijs Vermeir (#447190).
7921
7922 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
7923
7924         * docs/plugins/tmpl/.cvsignore:
7925         Ignore file to keep the buildbots happy
7926
7927 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
7928
7929         * docs/plugins/Makefile.am:
7930         * docs/plugins/gstreamer-plugins-docs.sgml:
7931         * docs/plugins/gstreamer-plugins-sections.txt:
7932         Pull fdsink into the docs too.
7933
7934 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
7935
7936         * libs/gst/controller/gstinterpolation.c:
7937         Actually use the new functions with min/max checks for the trigger and
7938         none interpolation modes for get() and get_value_array() instead of
7939         just the latter.
7940
7941 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
7942
7943         * libs/gst/controller/gstcontroller.c:
7944         (gst_controlled_property_free):
7945         Unset the minimum and maximum GValues when freeing the corresponding
7946         GstControllerProperty struct.
7947
7948 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
7949
7950         * libs/gst/controller/gstcontroller.c:
7951         (gst_controlled_property_new):
7952         * libs/gst/controller/gstcontrollerprivate.h:
7953         * libs/gst/controller/gstinterpolation.c:
7954         (gst_controlled_property_find_control_point_node),
7955         (interpolate_none_get), (interpolate_none_get_enum_value_array),
7956         (interpolate_none_get_string_value_array),
7957         (interpolate_trigger_get),
7958         (interpolate_trigger_get_enum_value_array),
7959         (interpolate_trigger_get_string_value_array):
7960         Protect against values larger or smaller than the minimum or maximum
7961         allowed value for the property when using values that can be compared.
7962
7963         Optimize trigger interpolator a bit by taking the last requested value
7964         into account instead of always looping through the complete list.
7965
7966         Fix coding style a bit, everywhere else we use "return foo" instead
7967         of "return (foo)".
7968         
7969         * tests/check/libs/controller.c: (GST_START_TEST),
7970         (gst_controller_suite):
7971         Add unit test for the protection against too large or too small
7972         values.
7973
7974 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
7975
7976         * docs/random/slomo/controller.txt:
7977         Add some thoughts about the future of the controller.
7978
7979 2007-06-08  Wim Taymans  <wim@fluendo.com>
7980
7981         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7982         Don't overflow in retimestamping code.
7983
7984 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
7985
7986         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7987         Use gst_util_guint64_to_gdouble for conversions.
7988         * win32/common/libgstreamer.def:
7989         Add new exported functions.
7990
7991 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
7992
7993         * gst/gstutils.c:
7994           Small docs addition.
7995
7996 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
7997
7998         * README:
7999           Remove that test line again.
8000
8001 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8002
8003         * README:
8004           Test commit mail sending.
8005
8006 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8007
8008         * configure.ac:
8009           Fix typo and test commit mail sending.
8010
8011 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8012
8013         * tests/examples/controller/audio-example.c:
8014           Improve comment and test commit mail sending.
8015
8016 2007-06-07  Wim Taymans  <wim@fluendo.com>
8017
8018         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8019         (gst_bin_remove_func), (gst_bin_element_set_state),
8020         (bin_handle_async_start), (bin_handle_async_done),
8021         (gst_bin_handle_message_func):
8022         Add helper function to find messages.
8023         Generate the async-done messages together with the state change
8024         messages.
8025         Small cleanups in handling toplevel bins.
8026
8027 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8028
8029         * libs/gst/base/gstdataqueue.c:
8030         * libs/gst/base/gstdataqueue.h:
8031         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8032         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8033         (gst_multi_queue_sink_event):
8034         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8035           Fix multiqueue leaking buffers and events when downstream or the
8036           queue are flushing. Make refcounting assumptions explicit and
8037           document them (shouldn't break existing code that uses it other than
8038           maybe leak miniobjects, but that already happens anyway). Add unit
8039           test for the most common flushing case. Fixes #423700.
8040           
8041 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8042
8043         * libs/gst/controller/gstcontroller.c:
8044         Clarify docs: The get_all, get_value_array(s) functions
8045         don't modify the GObject properties.
8046
8047 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8048
8049         * libs/gst/controller/gstcontroller.c:
8050         (gst_controlled_property_set_interpolation_mode),
8051         (gst_controlled_property_prepend_default),
8052         (gst_controlled_property_new), (gst_controller_set_unlocked),
8053         (gst_controller_set), (gst_controller_set_from_list),
8054         (gst_controller_unset), (gst_controller_unset_all):
8055         * libs/gst/controller/gstcontrollerprivate.h:
8056         * libs/gst/controller/gstinterpolation.c:
8057         Factor out the 'set' logic into gst_controller_set_unlocked for the
8058         gst_controller_set and gst_controller_set_from_list functions.
8059
8060         To make life of the interpolators easier always add a control point
8061         at timestamp zero with the default value.
8062
8063         In the linear interpolator make things more obvious by better variable
8064         naming (slope).
8065
8066         Implement cubic interpolation mode (by using a natural cubic spline)
8067         and map the quadratic interpolation mode to this too (as quadratic
8068         doesn't make much sense, see discussion on the list).
8069
8070         * tests/check/libs/controller.c: (GST_START_TEST),
8071         (gst_controller_suite):
8072         Add unit test for the cubic interpolation mode and check everywhere
8073         if the interpolation mode could be set as expected.
8074
8075 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8076
8077         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8078           Don't use GLib-2.10 functions, we still depend on
8079           GLib-how-old-is-it-again-2.8.
8080
8081 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8082
8083         * docs/gst/gstreamer-sections.txt:
8084         * gst/Makefile.am:
8085         * gst/gst.c:
8086         * gst/gst.h:
8087         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8088         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8089         (_gst_param_fraction_values_cmp),
8090         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8091         * gst/gstparamspecs.h:
8092         * gst/gstvalue.c:
8093         * tests/check/Makefile.am:
8094         * tests/check/gst/.cvsignore:
8095         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8096         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8097         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8098         (GST_START_TEST), (gst_param_spec_suite):
8099           API: add GstParamSpecFraction, so elements can have fraction
8100           properties without lots of painful string parsing (#444648).
8101
8102 2007-06-05  Wim Taymans  <wim@fluendo.com>
8103
8104         * gst/gstobject.c: (gst_object_class_init):
8105         Fix signal signature.
8106
8107         * gst/gstsegment.c:
8108         Add small clarification in the api docs.
8109
8110         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8111         States are protected with object lock.
8112
8113 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8114
8115         * AUTHORS:
8116         I should probably be listed as an author by now.
8117
8118         * docs/random/release:
8119         Update the release doc
8120
8121 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8122
8123         * gst/gstvalue.c:
8124           Make docs for gst_value_compare() mention return enums that
8125           actually exist.
8126
8127 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8128
8129         * configure.ac:
8130           Back to CVS
8131
8132 === release 0.10.13 ===
8133
8134 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8135
8136         * configure.ac:
8137           releasing 0.10.13, "With or without you"
8138
8139 2007-05-25  Wim Taymans  <wim@fluendo.com>
8140
8141         * gst/gstbin.c: (bin_handle_async_done):
8142         Make sure that the child bin stops after completing the async state
8143         change so that the parent can continue the state change to PLAYING.
8144         Fixes #441159.
8145
8146 2007-05-25  Wim Taymans  <wim@fluendo.com>
8147
8148         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8149         (unref_data), (gst_collect_pads_remove_pad),
8150         (gst_collect_pads_check_pads):
8151         Use additional refcounting to avoid crashes when dynamically adding and
8152         removing pads. Fixes #420206.
8153
8154 2007-05-24  Wim Taymans  <wim@fluendo.com>
8155
8156         * tools/gst-launch.c: (event_loop):
8157         When buffering goes from a two digit to a single digit number, make sure
8158         to remove the old second digit by writing a blank over it.
8159
8160 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8161
8162         * libs/gst/base/gstdataqueue.c:
8163           Eliminate tabs and trailing comma in enum list; fix some typos.
8164
8165 2007-05-24  Wim Taymans  <wim@fluendo.com>
8166
8167         * tests/check/gst/gstbin.c: (GST_START_TEST):
8168         Allow refcount of 3 and 4 because some state thread might still be busy
8169         with it.
8170
8171 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8172
8173         * plugins/elements/Makefile.am:
8174         * plugins/elements/gstmultiqueue.h:
8175         * plugins/elements/gstqueue.h:
8176           These are not installed headers, no need for padding.
8177
8178 2007-05-24  Wim Taymans  <wim@fluendo.com>
8179
8180         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8181         (gst_bin_continue_func):
8182         Enable latency for next release.
8183         Restore STATE_LOCK around recalc_state that was left out during the
8184         rewrite and could result in racy behaviour when _get_state and
8185         recalc_state are run concurrently. See #440463.
8186
8187 2007-05-23  Wim Taymans  <wim@fluendo.com>
8188
8189         * tests/check/gst/gstsystemclock.c: (store_callback),
8190         (GST_START_TEST):
8191         Improve test_async_order to also work when both timers are already
8192         expired when we get scheduled to check it.
8193
8194 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8195
8196         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8197         (gst_bin_set_property), (gst_bin_get_property),
8198         (gst_bin_remove_func), (gst_bin_handle_message_func):
8199         * gst/gstbin.h:
8200           'private' is a c++ keyword, let's not use that in header files,
8201           otherwise c++ compilers will throw a tantrum.
8202
8203 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8204
8205         * plugins/elements/gstelements.c:
8206         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8207         (gst_file_sink_get_current_offset):
8208         * plugins/indexers/gstindexers.c: (plugin_init):
8209           Use #ifdef for HAVE_XYZ for consistency.
8210
8211         * tests/check/Makefile.am:
8212         * tests/check/elements/.cvsignore:
8213         * tests/check/elements/filesink.c: (setup_filesink),
8214         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8215           Add some unit tests for filesink.
8216
8217 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8218
8219         Patch by: Mark Nauwelaerts <manauw at skynet be>
8220
8221         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8222         (gst_file_sink_query), (gst_file_sink_do_seek),
8223         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8224         * plugins/elements/gstfilesink.h:
8225           Fix position reporting; rename data_written member to current_pos to
8226           reflect its real meaning (fixes #412648).
8227
8228 2007-05-22  Edward Hervey  <edward@fluendo.com>
8229
8230         * docs/gst/gstreamer-sections.txt:
8231         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8232         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8233         (gst_bin_remove_func), (gst_bin_handle_message_func):
8234         * gst/gstbin.h:
8235         Add a property for bins that handle the state change of their childs.
8236         Fixes #435880
8237
8238 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8239
8240         * libs/gst/controller/gstinterpolation.c:
8241         Use an array of the correct type when using _get_value_array with
8242         linear interpolation.
8243
8244 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8245
8246         * gst/gstelement.c (gst_element_requires_clock,
8247           gst_element_provides_clock, gst_element_request_pad,
8248           gst_element_class_set_details, gst_element_class_set_details_simple,
8249           gst_element_default_send_event, gst_element_abort_state,
8250           gst_element_continue_state, gst_element_set_state,
8251           gst_element_set_state_func, iterator_activate_fold_with_resync):
8252         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8253           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8254           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8255           gst_pad_get_range, gst_pad_pull_range):
8256         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8257           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8258           GstPadActivateModeFunction, GstPadChainFunction,
8259           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8260           GstPadFixateCapsFunction, GstPadTemplate):
8261         * gst/gstpipeline.c (gst_pipeline_change_state,
8262           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8263           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8264           gst_pipeline_get_delay):
8265           Whitespace and docs fixes.
8266
8267 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8268
8269         * libs/gst/controller/gstinterpolation.c:
8270         (interpolate_trigger_get_enum_value_array),
8271         (interpolate_trigger_get_string_value_array):
8272         Add support for retrieving value arrays when using the trigger
8273         interpolation mode. 
8274
8275 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8276
8277         * libs/gst/controller/gstcontroller.c:
8278         (gst_controller_get_value_array):
8279         * libs/gst/controller/gstcontroller.h:
8280         Clarify the docs of gst_controller_get_value_array(): The array where
8281         the values should be written to must be allocated as there seems to be
8282         no way to get the size of a random GType. This doesn't change any
8283         behaviour. Also fix some typos all over the place and remove an unused,
8284         commented function that is not necessary as g_object_set() could be
8285         used instead.
8286         * tests/check/libs/controller.c: (GST_START_TEST),
8287         (gst_controller_suite):
8288         Add unit test for gst_controller_get_value_array().
8289
8290 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8291
8292         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8293
8294         Disable part of the gst_buffer_try_new_and_alloc test, because
8295         it can happily succeed on 64-bit systems where there's more address
8296         space available.
8297
8298 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8299
8300         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8301         Add unit test for the improved caps checking from bug #421543.
8302
8303 2007-05-21  Wim Taymans  <wim@fluendo.com>
8304
8305         * docs/design/part-synchronisation.txt:
8306         Small addition.
8307
8308         * gst/gstbin.c: (gst_bin_query):
8309         * plugins/elements/gstqueue.c: (apply_segment):
8310         Improve debugging.
8311
8312         * gst/gstmessage.h:
8313         Improve docs.
8314
8315 2007-05-21  Wim Taymans  <wim@fluendo.com>
8316
8317         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8318         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8319         (gst_pad_configure_src):
8320         Added simple version of improved caps checking. It was previously
8321         assumed that a setcaps function would check the validity of the caps but
8322         people prefer us to check caps against the template automatically. 
8323         Fixes #421543.
8324
8325 2007-05-21  Wim Taymans  <wim@fluendo.com>
8326
8327         * libs/gst/base/gstbasetransform.h:
8328         Fix macro for locking/unlocking the transform lock.
8329
8330 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8331
8332         * docs/plugins/tmpl/.cvsignore:
8333           Ignore more.
8334
8335 2007-05-18  Edward Hervey  <edward@fluendo.com>
8336
8337         * plugins/elements/gstqueue.c: (gst_queue_loop):
8338         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8339         for the subtle art of warning a potentially blocking thread that it
8340         should check the source pad return value, and relay the information
8341         upstream.
8342
8343 2007-05-18  Edward Hervey  <edward@fluendo.com>
8344
8345         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8346         Release the queue lock !
8347
8348 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8349
8350         * docs/libs/gstreamer-libs-sections.txt:
8351         Add the two new controller functions to the appropiate places.
8352
8353 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8354
8355         reviewed by: Stefan Kost <ensonic@users.sf.net>
8356
8357         * libs/gst/controller/gstcontroller.c:
8358         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8359         (_gst_controller_get_property), (_gst_controller_set_property),
8360         (_gst_controller_init), (_gst_controller_class_init):
8361         * libs/gst/controller/gstcontroller.h:
8362         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8363         (gst_object_get_control_rate), (gst_object_set_control_rate):
8364         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8365         Add API that provides sync suggestion timestamps for elements that
8366         call gst_object_sync_values() from which those elements can subdivide
8367         their processing loop to get the best results for the controlled
8368         properties. For now it just suggests last_sync + control_rate as
8369         new timestamp but this will be improved in the future.
8370
8371         While doing that change the control-rate property to a GstClockTime
8372         from guint and change it's meaning from samples to nanoseconds as
8373         the GstController doesn't know anything about sampling rate. Strictly
8374         speaking this breaks ABI but as the control-rate property didn't do
8375         anything in the past and as such couldn't be used this should be no
8376         problem.        
8377
8378 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8379
8380         reviewed by: Stefan Kost <ensonic@users.sf.net>
8381
8382         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8383         (gst_controller_unset_all):
8384         * libs/gst/controller/gstcontrollerprivate.h:
8385         * libs/gst/controller/gstinterpolation.c:
8386         (gst_controlled_property_find_control_point_node):
8387         Save last synced value from the list to continue searching from there
8388         in future syncs. This speeds everything up a bit.
8389         
8390 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8391
8392         reviewed by: Stefan Kost <ensonic@users.sf.net>
8393
8394         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8395         (gst_control_point_find), (gst_controlled_property_new),
8396         (gst_control_point_free), (gst_controlled_property_free),
8397         (gst_controller_set), (gst_controller_set_from_list),
8398         (gst_controller_unset), (gst_controller_unset_all),
8399         (gst_controller_sync_values):
8400         * libs/gst/controller/gstcontroller.h:
8401         * libs/gst/controller/gstcontrollerprivate.h:
8402         * libs/gst/controller/gstinterpolation.c:
8403         (gst_controlled_property_find_control_point_node),
8404         (interpolate_none_get), (interpolate_trigger_get):
8405         Add a new private GstControlPoint struct which "inherits" from
8406         GstTimedValue to allow different interpolators to store internal
8407         values next to each control point. From the outside everything is
8408         still a GstControlPoint so we don't loose binary compatibility.
8409         Also fixup all the GValue handling to not leak GValues or list nodes.
8410         * tests/check/libs/controller.c: (GST_START_TEST):
8411         Free the list nodes and GValues in the controller_misc test.
8412
8413 2007-05-17  Edward Hervey  <edward@fluendo.com>
8414
8415         * gst/gstsegment.c:
8416         Small doc fix.
8417
8418 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8419
8420         * gst/gstplugin.c: (gst_plugin_load_file):
8421           If we fail to load a plugin because of unresolved symbols or missing
8422           libraries and spew a warning to stderr, we may just as well mention
8423           which plugin it was that failed to load.
8424
8425 2007-05-13  David Schleef  <ds@schleef.org>
8426
8427         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8428           handles the case when ENABLE_GTK_DOC is false, and installs
8429           the prebuilt documentation.  So gtk-doc subdirs are 
8430           unconditionally enabled.  Fixes: #349099.
8431
8432 2007-05-13  David Schleef  <ds@schleef.org>
8433
8434         * gst/gstutils.h: Reword some documentation.
8435
8436 2007-05-12  David Schleef  <ds@schleef.org>
8437
8438         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8439           do anything with the passed "module" parameter, so remove it.
8440           Allows removal of additional vestigal code.
8441
8442 2007-05-12  David Schleef  <ds@schleef.org>
8443
8444         * gst/gstplugin.c:
8445           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8446           Switch to using g_stat() because it's more portable.
8447
8448 2007-05-12  David Schleef  <ds@schleef.org>
8449
8450         * gst/gst.c:
8451           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8452           parsing for embedded systems.
8453         * gst/gstelementfactory.c:
8454           Allow gst_element_register() to be called with plugin==NULL.
8455           Did nobody notice that static elements were broken?
8456
8457 2007-05-12  Wim Taymans  <wim@fluendo.com>
8458
8459         * tools/gst-launch.c: (event_loop):
8460         Give more interesting info when buffering starts and stops.
8461         Fix case where buffering starts but we fail to update the buffering flag
8462         because the target state is not PLAYING.
8463
8464 2007-05-12  Wim Taymans  <wim@fluendo.com>
8465
8466         * plugins/elements/gstqueue.c: (gst_queue_init),
8467         (gst_queue_finalize), (update_time_level), (apply_segment),
8468         (apply_buffer), (gst_queue_locked_flush),
8469         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8470         (gst_queue_handle_sink_event), (gst_queue_chain),
8471         (gst_queue_push_one), (gst_queue_loop):
8472         * plugins/elements/gstqueue.h:
8473         Refactor an cleanup queue a bit.
8474         Do better time level calculations that also work when the srcpad is not
8475         yet running.
8476         Remove some unneeded debug lines.
8477
8478         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8479         Added testcase for time level measurement.
8480         Try to make some stuff more racefree.
8481
8482 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8483
8484         * gst/gsturi.c: (gst_element_make_from_uri):
8485           Don't leak plugin feature.
8486
8487         * tests/check/Makefile.am:
8488         * tests/check/gst/.cvsignore:
8489         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8490           Add brain-dead unit test.
8491
8492 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8493
8494         Patch by: Jeroen Wouters <woutersj at gmail com>
8495
8496         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8497           Treat protocol strings in a case-insensitive way (#437563).
8498
8499 2007-05-11  Michael Smith <msmith@fluendo.com>
8500
8501         * gst/gstplugin.c: (gst_plugin_load_file):
8502         * gst/gstregistry.c: (gst_registry_scan_path_level):
8503           Don't print a g_warning for any failure to load a shared object.
8504           Instead, push this down into gstplugin.c, and warn _only_ if we
8505           failed to open the module (i.e. failure to link).
8506           Avoids warnings on normal, working, non-plugin .so files.
8507
8508 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8509
8510         * gst/gstplugin.c (gst_plugin_load_file):
8511         * gst/gstregistry.c (GST_CAT_DEFAULT,
8512           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8513           Print a g_warning if there was an error when loading a plugins during
8514           registry scan. The shuld help beginners starting with gst-plugin
8515           template.
8516
8517 2007-05-10  Wim Taymans  <wim@fluendo.com>
8518
8519         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8520         (update_time_level), (gst_queue_locked_flush),
8521         (gst_queue_handle_sink_event), (gst_queue_chain),
8522         (gst_queue_push_one), (gst_queue_loop):
8523         * plugins/elements/gstqueue.h:
8524         Be smarter when calculating the current amount of data in the queue by
8525         measuring the difference between start and end timestamps (in running
8526         time) inside the queue. Fixes #432876.
8527         API: GstQueue::pushing to notify elements that we are pushing data again
8528         since the running signal is rather broken for this purpose.
8529
8530 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8531
8532         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8533           gst_queue_base_init, gst_queue_init):
8534           use GST_BOILERPLATE
8535
8536 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8537
8538         * win32/common/libgstreamer.def:
8539         Add new exported functions.
8540         * win32/vs6/grammar.dsp:
8541         Use grammar pre-generated files.
8542
8543 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8544
8545         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8546
8547         * gst/Makefile.am:
8548         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8549         * gst/gstparse.h:
8550         * gst/gstutils.c: (gst_parse_bin_from_description):
8551         * gst/gstutils.h:
8552           Maintain API and ABI when --disable-parse is used. Now that
8553           we have an appropriate error code, we can just return NULL and the
8554           appropriate error when gst_parse_launch() is used despite it having
8555           been disabled (#342564).
8556
8557         * tests/check/Makefile.am:
8558         * tests/check/pipelines/.cvsignore:
8559         * tests/check/pipelines/parse-disabled.c:
8560           Make sure these functions exist and return NULL plus a GError when
8561           --disable-parse is used.
8562
8563 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8564
8565         * tests/benchmarks/complexity.c: (main):
8566         * tests/benchmarks/mass-elements.c: (main):
8567           Set a good example and don't leak messages.
8568
8569 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8570
8571         * docs/gst/Makefile.am:
8572         * docs/libs/Makefile.am:
8573           Correct fixxrefs options.
8574
8575         * docs/plugins/Makefile.am:
8576         * docs/plugins/gstreamer-plugins-docs.sgml:
8577         * docs/plugins/gstreamer-plugins-sections.txt:
8578         * plugins/elements/Makefile.am:
8579         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8580         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8581           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8582           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8583           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8584           _GstCapsFilterClass, trans_class):
8585         * plugins/elements/gstelements.c (name, rank, type, _elements):
8586         * plugins/elements/gstidentity.c
8587           (gst_identity_check_imperfect_timestamp,
8588           gst_identity_check_imperfect_offset):
8589           Document capsfilter and add doc-blurb to identity.
8590
8591 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8592
8593         * libs/gst/controller/gstcontroller.c:
8594         (gst_controlled_property_set_interpolation_mode):
8595         * libs/gst/controller/gstinterpolation.c:
8596           Don't crash if someone tries to set an interpolation mode that
8597           is invalid or that isn't supported yet. Fixes #422295.
8598
8599         * tests/check/libs/controller.c: (GST_START_TEST),
8600         (gst_controller_suite):
8601           Add a test case for the above.
8602
8603 2007-05-03  Edward Hervey  <edward@fluendo.com>
8604
8605         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8606         Properly set the last_stop position on GstSegment. This will only happen
8607         if there is a buffer to push out.
8608
8609 2007-05-03  Wim Taymans  <wim@fluendo.com>
8610
8611         * libs/gst/base/gstbasetransform.c:
8612         (gst_base_transform_buffer_alloc):
8613         always_in_place does not mean that the sink and source caps are the
8614         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8615
8616 2007-05-03  Wim Taymans  <wim@fluendo.com>
8617
8618         * docs/libs/gstreamer-libs-sections.txt:
8619         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8620         (gst_base_src_default_query), (gst_base_src_get_range):
8621         * libs/gst/base/gstbasesrc.h:
8622         API: gst_base_src_query_latency(). Added method so that subclasses can
8623         easily get the latency values of the base source class.
8624
8625 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8626
8627         * tools/gst-inspect.c (print_implementation_info):
8628         Remove 0.8 cruft.
8629
8630 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8631
8632         * tools/Makefile.am:
8633         * tools/gst-launch.1.in:
8634           Don't create a customised man page based on the host architecture,
8635           describe the default registry path generically. That way the man
8636           page is the same for all architectures and packagers have one
8637           multilib issue less to deal with. Fixes #434926.
8638
8639 2007-05-02  Wim Taymans  <wim@fluendo.com>
8640
8641         * gst/gstpad.c:
8642         Fix documentation as spotted by rg on IRC. 
8643
8644 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8645
8646         * gst/gstutils.c:
8647           Improve docs for gst_element_{link,unlink}.
8648
8649 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8650
8651         * docs/design/part-events.txt:
8652         * docs/design/part-overview.txt:
8653         * gst/gstevent.c:
8654         * gst/gsturi.c:
8655         * gst/gsturi.h:
8656         * libs/gst/base/gstbasesink.c:
8657           Typo fixes; minor docs addition.
8658
8659 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8660
8661         * docs/gst/gstreamer-sections.txt:
8662         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8663         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8664         * gst/gsturi.h:
8665         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8666         or src that supports a given URI protocol exists.
8667
8668 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8669
8670         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8671         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8672         Set the location to NULL if "file://" is set as URI. Otherwise
8673         some random previous URI would still be set if "file://" is
8674         set on an already used filesink/filesrc.
8675
8676 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8677
8678         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8679         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8680         Special case the "file://" URI as as this is used by some
8681         applications to test with gst_element_make_from_uri if there's
8682         an element that supports the URI protocol.
8683         Also move the g_path_is_absolute() check for the location part
8684         of the URI to also check this for "file://localhost/bla" URIs.
8685
8686 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8687
8688         * docs/gst/gstreamer-sections.txt:
8689         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8690         * gst/gstbuffer.h:
8691         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8692         (gst_buffer_suite):
8693           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8694
8695 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8696
8697         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8698         (gst_registry_binary_load_pad_template),
8699         (gst_registry_binary_load_plugin),
8700         (gst_registry_binary_read_cache):
8701         * gst/gstregistrybinary.h:
8702           Implement no-mmap alternative for registry reading. Do code cleanups.
8703           Add more comments about avoiding strdups for all text data. Comments
8704           welcome.
8705
8706 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8707
8708         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8709           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8710           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8711           Comment structs and reformat to fix the build (that stuff should go
8712           into a priv. header).
8713
8714 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8715
8716         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8717         (gst_registry_binary_load_feature):
8718         * gst/gstregistrybinary.h:
8719           Refactor so that we can implement multiple features. Add support for
8720           TypeFindFactory features.
8721
8722 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8723
8724         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8725
8726         * configure.ac:
8727           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8728
8729 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8730
8731         * gst/gstbin.c: (gst_bin_element_set_state),
8732         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8733         (bin_handle_async_done), (gst_bin_handle_message_func):
8734           Fix build with --gst-disable-gst-debug
8735
8736 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8737
8738         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8739           Make sure streaming has finished before calling the ::stop() vfunc,
8740           since that vfunc might clear state which is being used in the
8741           streaming thread. This fixes a race that caused crashes in
8742           audioresample when shutting down a pipeline (#420106).
8743
8744 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8745
8746         * docs/gst/gstreamer-sections.txt:
8747           That was one byte missing.
8748
8749 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8750
8751         * configure.ac:
8752         * docs/gst/gstreamer-sections.txt:
8753         * gst/Makefile.am:
8754         * gst/gstconfig.h.in:
8755         * gst/gstobject.c: (gst_object_class_init),
8756         (gst_signal_object_class_init):
8757         * gst/gstobject.h:
8758           2nd attempt to have a xml-less build as a joined effort of #413123
8759           and #421480.
8760
8761 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8762
8763         * docs/design/draft-tagreading.txt:
8764           Added open issues/thoughts to draft.
8765
8766 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8767
8768         * gst/parse/grammar.tab.pre.c:
8769         * gst/parse/grammar.tab.pre.h:
8770         * gst/parse/lex._gst_parse_yy.pre.c:
8771         Update the prebuild parser sources.
8772
8773 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8774
8775         * gst/parse/Makefile.am:
8776         And now fix the building of the flex sources. Now everything should
8777         work as expected.
8778
8779 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8780
8781         * gst/parse/Makefile.am:
8782         Now hopefully fix the build failures by setting proper rule
8783         dependencies and moving instead of copying.
8784
8785 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8786
8787         * tests/benchmarks/complexity.gnuplot:
8788         * tests/benchmarks/complexity.scm:
8789         * tests/benchmarks/mass-elements.gnuplot:
8790         * tests/benchmarks/mass-elements.scm:
8791           Total licensification.
8792
8793 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8794
8795         * gst/parse/Makefile.am:
8796           Fix the build by correcting the rule that gave wrong files to flex.
8797
8798 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8799
8800         * tests/benchmarks/complexity.c:
8801         * tests/benchmarks/mass-elements.c:
8802           Change licence to LGPL as granted by Benjamin and Andy.
8803
8804 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8805
8806         * gst/parse/Makefile.am:
8807         Add correct grammar.tab.h dependency if compiling without new enough
8808         flex. Fixes #431150.
8809
8810 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8811
8812         * gst/parse/Makefile.am:
8813         Fix typo and use outdated sources if the flex/bison sources are newer
8814         than the pregenerated ones but flex is too old. Print a warning in
8815         that case. This should fix the build on the build bot.
8816
8817 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8818
8819         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8820         * gst/parse/Makefile.am:
8821         * gst/parse/grammar.y:
8822         * gst/parse/parse.l:
8823         Make the parser reentrant and recursively callable. This requires flex
8824         >= 2.5.31, for older versions pregenerated sources are used as we
8825         can't bump the build dependency. Finally fixes #349180.
8826
8827         * gst/gstparse.c: (gst_parse_launch):
8828         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8829         now anyway.
8830
8831         * docs/gst/Makefile.am:
8832         * docs/gst/Makefile.am:
8833         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8834         (__gst_parse_strfree), (__gst_parse_link_new),
8835         (__gst_parse_link_free), (__gst_parse_chain_new),
8836         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8837         (gst_parse_element_set), (gst_parse_free_link),
8838         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8839         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8840         (_gst_parse_launch):
8841         * gst/parse/grammar.tab.pre.h:
8842         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8843         (yy_get_previous_state), (yy_try_NUL_trans), (input),
8844         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8845         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8846         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8847         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8848         (_gst_parse_yypop_buffer_state),
8849         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8850         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8851         (yy_fatal_error), (_gst_parse_yyget_extra),
8852         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8853         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8854         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8855         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8856         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8857         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8858         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8859         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8860         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8861         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8862         (_gst_parse_yyfree):
8863         If the installed flex version is too old use pre-generated parser
8864         sources. These pre-generated parser sources are always updated when
8865         the actual flex/bison sources change but require everybody who wants
8866         to change something in the parser to have flex >= 2.5.31 installed.
8867
8868 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
8869
8870         * common/m4/gst-gettext.m4:
8871         * gst/gst-i18n-lib.h:
8872           Make --disable-nls to work
8873
8874 2007-04-17  Wim Taymans  <wim@fluendo.com>
8875
8876         * gst/gstconfig.h.in:
8877         Revert previous change that broke the build.
8878
8879 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
8880
8881         * configure.ac:
8882         * gst/Makefile.am:
8883         * gst/gstconfig.h.in:
8884           Drop libxml2 dependency when building with 
8885           --enable-binary-registry --disable-loadsave
8886
8887 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
8888
8889         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8890         (gst_registry_binary_read_cache):
8891         * gst/gstregistrybinary.h:
8892           Remove unnecessary <sys/mman.h> include which broke the win32 build
8893           with MingW; move includes from header file to .c file, even if the
8894           header file isn't installed; use g_strerror() where UTF-8 strings
8895           are expected, such as in GST_DEBUG messages.
8896
8897 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8898
8899         * docs/libs/gstreamer-libs-sections.txt:
8900         Remove bogus addition for API I didn't end up keeping.
8901
8902         * libs/gst/base/gstbasesrc.h:
8903         Mention Since: 0.10.13 in the documentation.
8904
8905         Add the API keyword to the previous ChangeLog entry.
8906
8907 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8908
8909         * docs/libs/gstreamer-libs-sections.txt:
8910         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8911         (gst_base_src_default_prepare_seek_segment),
8912         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8913         * libs/gst/base/gstbasesrc.h:
8914         Allow basesrc derived classes to execute seeks in other formats
8915         by providing a prepare_seek_segment vmethod. Sub-classes can choose
8916         to prepare the GstSegment in any format that their perform_seek method
8917         will be able to understand. The default implementation provides the
8918         old behaviour of attempting to convert the seek offsets to the 
8919         configured native format.
8920
8921         API: basesrc::prepare_seek_segment vmethod.
8922
8923 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8924
8925         * gst/gstelement.c: (gst_element_get_state_func):
8926         Don't output the same debug statement twice.
8927
8928         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8929         (gst_adapter_peek), (gst_adapter_take_buffer):
8930         Optimise the case where we have buffers at the head of the queue that
8931         can be joined quickly (because they're contiguous sub-buffers) by
8932         merging them together rather than copying data out into new memory.
8933
8934         * gst/parse/grammar.y:
8935         * tests/check/pipelines/parse-launch.c:
8936         Fix a leak in an error path for parse_launch, and add a check 
8937         for it to the testsuite.
8938
8939 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8940
8941         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8942           Don't deadlock when releasing a pad - gst_pad_set_active may try
8943           and take the multiqueue lock too.
8944
8945 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
8946
8947         * gst/gsterror.c: (_gst_core_errors_init):
8948         * gst/gsterror.h:
8949           API: add GST_CORE_ERROR_DISABLED (#392804).
8950
8951 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8952
8953         * docs/faq/gst-uninstalled:
8954           don't get empty paths on the PATH variables
8955         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8956           Don't format for the uncommon terminal width of 84 characters.
8957
8958 2007-04-06  Wim Taymans  <wim@fluendo.com>
8959
8960         * gst/gstpipeline.c: (reset_stream_time),
8961         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8962         Only try to select a different pipeline clock when we went back to
8963         PAUSED and not when we merely got flushed.
8964
8965 2007-04-05  Michael Smith  <msmith@fluendo.com>
8966
8967         * tools/gst-launch.1.in:
8968           fractions are better supported in gstreamer than ractions, so
8969           suggest using those.
8970
8971 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8972
8973         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8974
8975         * po/LINGUAS:
8976         * po/da.po:
8977           Added Danish translation.
8978
8979 2007-04-05  Wim Taymans  <wim@fluendo.com>
8980
8981         * libs/gst/base/gstbasesink.c:
8982         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8983         Fix leak caused when refusing newsegment after EOS.
8984
8985         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8986         (gst_fake_sink_init), (gst_fake_sink_set_property),
8987         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8988         (gst_fake_sink_render), (gst_fake_sink_change_state):
8989         * plugins/elements/gstfakesink.h:
8990         Add num-buffers property to make the element generate EOS after a
8991         configurable amount of buffers.
8992         API: fakesink::num-buffers property.
8993
8994         * tests/check/elements/fakesink.c: (GST_START_TEST),
8995         (fakesink_suite):
8996         Fix GstBus leak in test.
8997         Test for fakesink num-buffers.
8998
8999 2007-04-05  Wim Taymans  <wim@fluendo.com>
9000
9001         * libs/gst/base/gstbasesink.c:
9002         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9003         (gst_base_sink_change_state):
9004         Don't accept anything after an EOS, return UNEXPECTED instead.
9005
9006         * tests/check/elements/fakesink.c: (GST_START_TEST),
9007         (fakesink_suite):
9008         Unit test for new EOS behaviour.
9009
9010 2007-04-05  Wim Taymans  <wim@fluendo.com>
9011
9012         * gst/gstelement.c: (gst_element_get_request_pad):
9013         Make padtemplates also work when they don't contain %s or %d.
9014
9015 2007-04-05  Wim Taymans  <wim@fluendo.com>
9016
9017         * docs/gst/gstreamer-sections.txt:
9018         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9019         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9020         * gst/gstclock.h:
9021         Improve _adjust_unlocked() so that it overflows less.
9022         Add gst_clock_unadjust_unlocked to convert from external time to
9023         internal time based on calibration.
9024         Add some more debug.
9025         API: GstClock::gst_clock_unadjust_unlocked()
9026
9027 2007-04-03  Wim Taymans  <wim@fluendo.com>
9028
9029         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9030
9031         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9032         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9033         when releasing sink pad. Fixes #425400.
9034
9035 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9036
9037         * docs/random/ensonic/dynlink.txt:
9038           More work on proposal for new core api.
9039
9040         * docs/libs/gstreamer-libs-sections.txt:
9041         * libs/gst/base/gstbasetransform.h:
9042           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9043           
9044         * libs/gst/controller/gstcontroller.c:
9045         (on_object_controlled_property_changed),
9046         (gst_controller_sync_values),
9047         (gst_controller_set_interpolation_mode):
9048         * libs/gst/controller/gstcontroller.h:
9049           Less verbose logging add docs for unimplemented parts and correctly
9050           return when using unavailable parts.
9051
9052 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9053
9054         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9055         Move all the debug to the CLOCK category, and associate it with
9056         the clock object.
9057
9058 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9059
9060         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9061         Make take_buffer a bit quicker by removing redundant checks
9062         caused by calling gst_adapter_take.
9063
9064 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9065
9066         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9067           Don't leak GCond.
9068
9069         * tests/check/Makefile.am:
9070         * tests/check/elements/.cvsignore:
9071         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9072         (GST_START_TEST), (multiqueue_suite):
9073           Add some dead simple unit tests for the 'multiqueue' element
9074           (some bits don't work yet and are disabled for now).
9075
9076 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9077
9078         * gst/gstelement.c: (gst_element_get_request_pad),
9079         (gst_element_class_get_request_pad_template):
9080           Make gst_element_get_request_pad() create request pads only for
9081           request pad templates and not for, say, sometimes pad templates.
9082
9083 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9084
9085         * docs/design/draft-klass.txt:
9086           Add example that needs more thinking.
9087         
9088         * docs/design/draft-missing-plugins.txt:
9089           More thoughts about wrapper plugins.
9090         
9091         * docs/random/ensonic/embedded.txt:
9092         * docs/random/ensonic/profiling.txt:
9093           More design work.
9094
9095 2007-03-25  Wim Taymans  <wim@fluendo.com>
9096
9097         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9098         (gst_base_src_loop):
9099         Only push the segment events in the PLAYING state for live sources.
9100
9101 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9102
9103         * gst/gstpipeline.c: (gst_pipeline_change_state):
9104         Modify the clock distribution path in PAUSED->PLAYING so that we 
9105         never attempt to choose a new clock unless we're actually leaving
9106         the PAUSED state for the first time. This prevents choosing a
9107         different clock when the state_change gets called for a 2nd time due
9108         to some element doing an async state change.
9109
9110 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9111
9112         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9113         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9114         (gst_pad_chain_unchecked), (gst_pad_push):
9115         Revert last commit. This needs some more thoughts.
9116
9117 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9118
9119         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9120         (gst_pad_chain_unchecked), (gst_pad_push):
9121         Check in set_caps if the caps are compatible with the pad and remove
9122         two functions that are redundant now. Fixes #421543.
9123
9124 2007-03-22  Wim Taymans  <wim@fluendo.com>
9125
9126         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9127         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9128         Unref some more to make valgrind happy.
9129
9130 2007-03-22  Wim Taymans  <wim@fluendo.com>
9131
9132         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9133         (gst_system_clock_id_wait_jitter),
9134         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9135         Fix anoying regression that survived a few releases. When adding an
9136         async entry while blocking on a sync entry, the sync entry will unblock
9137         but still be busy, so it should continue to wait instead of returning
9138         _BUSY to the app.
9139         Add some comments here and there.
9140
9141         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9142         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9143         Add testcase for this.
9144
9145 2007-03-22  Wim Taymans  <wim@fluendo.com>
9146
9147         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9148         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9149         WRONG_STATE and can silently pause the task. All other cases should
9150         error out.
9151
9152 2007-03-22  Wim Taymans  <wim@fluendo.com>
9153
9154         Patch by: Ville Syrjala <syrjala at sci dot fi>
9155
9156         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9157         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9158         Improve debugging.
9159
9160 2007-03-21  Michael Smith  <msmith@fluendo.com>
9161
9162         * docs/pwg/advanced-types.xml:
9163           Fix some errors in the typefinding docs pointed out on irc.
9164
9165 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9166
9167         * libs/gst/base/gstbasesrc.c:
9168         Clarify FIXME comment in the face of having added unlock_stop()
9169
9170 2007-03-21  Wim Taymans  <wim@fluendo.com>
9171
9172         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9173         Prepare for release where we warn against possible app breakage in the
9174         case of live pipelines along with an env var to enable/disable live
9175         preroll mode (GST_COMPAT=[no-]live-preroll).
9176
9177 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9178
9179         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9180         So we should use correct constants for checking for None offset.
9181
9182 2007-03-20  Wim Taymans  <wim@fluendo.com>
9183
9184         * docs/design/part-block.txt:
9185         Mention the fact that the newly switched element should be set to at
9186         least PAUSED.
9187
9188 2007-03-20  Wim Taymans  <wim@fluendo.com>
9189
9190         * gst/gst.c:
9191         Fix compilation with registry disabled as spotted by Saur.
9192
9193 2007-03-20  Wim Taymans  <wim@fluendo.com>
9194
9195         Patch by: Olivier Crete <tester at tester dot ca>
9196
9197         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9198         Look at the pending state too when syncing the element state to the
9199         parent. Fixes #420133.
9200
9201 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9202
9203         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9204         (gst_base_sink_change_state):
9205         * libs/gst/base/gstbasesink.h:
9206         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9207         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9208         (gst_base_src_deactivate):
9209         * libs/gst/base/gstbasesrc.h:
9210         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9211         for sub-classes to correctly clear any state they set trying to
9212         unlock, such as clearing out unlock commands from a command fd.
9213         API: basesrc::unlock_stop
9214         API: basesink::unlock_stop
9215
9216         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9217         (gst_fd_sink_render), (gst_fd_sink_unlock),
9218         (gst_fd_sink_unlock_stop):
9219         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9220         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9221         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9222
9223         Implement unlock_stop in fdsrc and fdsink.
9224         Implement seeking in fdsrc when a seekable fd is passed, as in
9225         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9226
9227 2007-03-19  Wim Taymans  <wim@fluendo.com>
9228
9229         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9230
9231         * gst/gstelement.c: (gst_element_class_init):
9232         Fix pad-added and pad-removed signal signatures so that the pad type is
9233         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9234
9235 2007-03-19  Wim Taymans  <wim@fluendo.com>
9236
9237         * docs/gst/gstreamer-sections.txt:
9238         Add new element field and method.
9239
9240         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9241         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9242         (gst_bin_recalc_state), (gst_bin_get_state_func),
9243         (gst_bin_element_set_state), (gst_bin_change_state_func),
9244         (gst_bin_continue_func), (bin_bus_handler),
9245         (bin_push_state_continue), (bin_handle_async_start),
9246         (bin_handle_async_done), (gst_bin_handle_message_func):
9247         Make async state changes a bit smarter by using new ASYNC_START and
9248         ASYNC_DONE messages. This reduces the number of times we run the state
9249         recalculation thread.
9250         Don't change state of element with a pending ASYNC_START message.
9251         Deprecate STATE_DIRTY messages.
9252         
9253         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9254         (gst_element_get_state_func), (gst_element_continue_state),
9255         (gst_element_lost_state), (gst_element_set_state_func),
9256         (gst_element_change_state):
9257         * gst/gstelement.h:
9258         Keep the state that was last set by the app in a new element field.
9259         Don't allow state changes when handling an element event.
9260         Post ASYNC_START and ASYNC_DONE messages.
9261         Change lost_state so that we go to PAUSED and wait for the parent to set
9262         us to PLAYING again (so latency calculation can be performed)
9263         Export gst_element_change_state() method so that subclasses can use it.
9264         API: gst_element_change_state()
9265         API: GST_STATE_TARGET
9266
9267         * gst/gstpipeline.c: (gst_pipeline_class_init),
9268         (reset_stream_time), (gst_pipeline_change_state),
9269         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9270         Using the new ASYNC_START message we can reset the base_time when
9271         needed. This can then be used to implement base_time redistribution in
9272         flushing seeks so that we can remove the explicit seek handling.
9273         Perform latency query and configuration when going to PLAYING.
9274
9275         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9276         (gst_base_sink_query), (gst_base_sink_change_state):
9277         Post new ASYNC_START/ASYNC_DONE messages.
9278
9279         * tests/check/generic/sinks.c: (GST_START_TEST):
9280         Fix test because the bin will not set the async element to PLAYING right
9281         away.
9282
9283         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9284         Make the message check a little stronger.
9285         Handle ASYNC messages.
9286
9287         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9288         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9289         Expect ASYNC_DONE messages.
9290
9291 2007-03-19  Wim Taymans  <wim@fluendo.com>
9292
9293         * docs/gst/gstreamer-sections.txt:
9294         * gst/gstmessage.c: (gst_message_new_async_start),
9295         (gst_message_new_async_done), (gst_message_parse_info),
9296         (gst_message_parse_async_start):
9297         * gst/gstmessage.h:
9298         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9299         support.
9300
9301 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9302
9303         * tools/gst-inspect.c:
9304         (print_plugin_automatic_install_info_codecs):
9305           Now that we don't check for the 'Codec' keyword any longer in the
9306           klass, we shouldn't spew a warning if the klass isn't a decoder or
9307           encoder (since it might be a Source/Network, for example).
9308
9309 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9310
9311         * tools/gst-inspect.c:
9312         (print_plugin_automatic_install_info_codecs):
9313           Don't require decoder/demuxer/depayloader elements or
9314           encoder/muxer/paylader elements to have 'Codec' as part of their
9315           factory class string when introspecting a plugin's capabilities.
9316           draft-klass.txt mentions that it might be removed in future, and
9317           flump3dec doesn't have it as part of its class string, so chances
9318           are others might also not have it.
9319
9320 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9321
9322         * po/af.po:
9323         * po/az.po:
9324         * po/bg.po:
9325         * po/ca.po:
9326         * po/cs.po:
9327         * po/de.po:
9328         * po/en_GB.po:
9329         * po/fr.po:
9330         * po/it.po:
9331         * po/nb.po:
9332         * po/nl.po:
9333         * po/ru.po:
9334         * po/sq.po:
9335         * po/sr.po:
9336         * po/sv.po:
9337         * po/tr.po:
9338         * po/uk.po:
9339         * po/vi.po:
9340         * po/zh_CN.po:
9341         * po/zh_TW.po:
9342           Update translations from translation project
9343
9344 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9345
9346         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9347         (gst_child_proxy_set_property):
9348           Invert precondition check to be alike the ones in the mimiced gobject
9349           api.
9350
9351 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9352
9353         * docs/design/draft-tagreading.txt:
9354         * docs/random/ensonic/audiobaseclasses.txt:
9355           Do some Architect work.
9356
9357         * gst/gstobject.c: (gst_object_set_name):
9358           Add a WARNING.
9359
9360         * gst/gstpad.c:
9361           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9362
9363 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9364
9365         * gst/gstsystemclock.c: (gst_system_clock_init),
9366         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9367         Defer starting the async system clock thread until the first async
9368         wait is scheduled. Fixes #414986.
9369
9370 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9371
9372         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9373         (gst_single_queue_free):
9374           Fix small leak (free GstSingleQueue structure too, not only contents).
9375
9376 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9377
9378         * gst/gstbin.c:(gst_bin_add):
9379         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9380         * win32/common/libgstbase.def:
9381         * win32/common/libgstreamer.def:
9382         Add new exported functions.
9383
9384 2007-03-09  Wim Taymans  <wim@fluendo.com>
9385
9386         * docs/plugins/gstreamer-plugins-sections.txt:
9387         Fix GstTee docs.
9388
9389 2007-03-09  Wim Taymans  <wim@fluendo.com>
9390
9391         * docs/gst/gstreamer-sections.txt:
9392         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9393         * gst/gstbuffer.h:
9394         Add metadata copy functions. Fixes #393099.
9395         API: gst_buffer_copy_metadata()
9396
9397         * gst/gstutils.c: (gst_buffer_stamp):
9398         * libs/gst/base/gstbasetransform.c:
9399         (gst_base_transform_prepare_output_buffer):
9400         Use new metadata copy functions.
9401
9402 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9403
9404         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9405         (gst_identity_init), (gst_identity_check_perfect),
9406         (gst_identity_check_imperfect_timestamp),
9407         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9408         (gst_identity_set_property), (gst_identity_get_property):
9409         * plugins/elements/gstidentity.h:
9410         Separate out check-imperfect-timestamp and check-imperfect-offset.
9411         Put back check-perfect as it was to keep compatibility.
9412
9413 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9414
9415         * gst/gstelement.c: (gst_element_dispose):
9416         There's no need to warn if VOID_PENDING is not NONE here, as
9417         long as the state is NULL it's ok, and that's checked immediately
9418         above.
9419
9420 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9421
9422         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9423         Fix check for perfect stream to ignore buffers with -1 
9424         offsets/offset ends when checking data contiguity.
9425
9426 2007-03-08  Wim Taymans  <wim@fluendo.com>
9427
9428         * tools/gst-launch.c: (event_loop):
9429         Print INFO messages.
9430
9431 2007-03-08  Wim Taymans  <wim@fluendo.com>
9432
9433         * libs/gst/base/gstbasetransform.c:
9434         (gst_base_transform_sink_eventfunc),
9435         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9436         (gst_base_transform_activate):
9437         * libs/gst/base/gstbasetransform.h:
9438         Add support for dropping buffers with custom GstFlowReturn.
9439         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9440         buffers or dropped buffers.
9441
9442         * docs/libs/gstreamer-libs-sections.txt:
9443         docs for new custom return code.
9444
9445         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9446         Use drop support in base class to implement drop-probability.
9447
9448 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9449
9450         * gst/gst.c: (load_plugin_func):
9451         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9452         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9453         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9454           Remove newlines at end of debug log strings.
9455
9456 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9457
9458         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9459         Only post bus message at max, once per buffer received.
9460
9461 2007-03-07  Wim Taymans  <wim@fluendo.com>
9462
9463         * docs/design/Makefile.am:
9464         * docs/design/part-synchronisation.txt:
9465         Add doc about synchronisation
9466
9467         * docs/design/draft-latency.txt:
9468         * docs/design/part-TODO.txt:
9469         * docs/design/part-clocks.txt:
9470         * docs/design/part-events.txt:
9471         * docs/design/part-gstbus.txt:
9472         * docs/design/part-gstpipeline.txt:
9473         * docs/design/part-live-source.txt:
9474         * docs/design/part-messages.txt:
9475         * docs/design/part-overview.txt:
9476         * docs/design/part-streams.txt:
9477         * docs/design/part-trickmodes.txt:
9478         Documentation updates.
9479
9480 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9481
9482         * gstreamer.doap:
9483         Update the doap file.
9484
9485 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9486
9487         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9488         Rename non-perfect to imperfect for Mike and for the sanctity of the
9489         language.
9490         Also make sure bus message gets emitted for data-incontiguities.
9491
9492 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9493
9494         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9495         (gst_identity_start):
9496         * plugins/elements/gstidentity.h:
9497         Emit bus message if check-perfect is true and we encounter a
9498         non-perfect stream between 2 consecutive buffers.
9499         Fixes #415394.
9500
9501 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9502
9503         * configure.ac:
9504         Back to CVS
9505
9506 === release 0.10.12 ===
9507
9508 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9509
9510         * configure.ac:
9511           releasing 0.10.12, "Inevitable Demise"
9512
9513 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9514
9515         * configure.ac:
9516          Version 0.10.11.2 (0.10.12 pre-release)
9517          Bump libtool versioning.
9518
9519 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9520
9521         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9522           Log flow-names and not numbers.
9523
9524 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9525
9526         * configure.ac:
9527           Convert to new AG_GST style.
9528
9529 2007-02-28  Wim Taymans  <wim@fluendo.com>
9530
9531         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9532         Don't unref query twice.
9533
9534 2007-02-28  Wim Taymans  <wim@fluendo.com>
9535
9536         * gst/gstvalue.c: (gst_value_transform_object_string),
9537         (_gst_value_initialize):
9538         Implement GstObject -> string transform so we print object names
9539         when serializing GValues containing GstObjects.
9540
9541 2007-02-28  Wim Taymans  <wim@fluendo.com>
9542
9543         * docs/gst/gstreamer-sections.txt:
9544         Add new stuff to docs.
9545
9546 2007-02-28  Wim Taymans  <wim@fluendo.com>
9547
9548         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9549         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9550         (gst_base_sink_change_state):
9551         Improve latency query code.
9552         Don't leak latency events.
9553
9554         * tests/check/gst/gstbin.c: (GST_START_TEST):
9555         Improve debugging.
9556
9557 2007-02-28  Wim Taymans  <wim@fluendo.com>
9558
9559         * gst/gstelement.c: (gst_element_message_full),
9560         (gst_element_get_state_func):
9561         * gst/gstelement.h:
9562         Improve docs a little. Added Since: for new macro.
9563
9564         * gst/gstobject.c: (gst_object_sink):
9565         * gst/gstpipeline.c: (gst_pipeline_change_state),
9566         (gst_pipeline_set_new_stream_time):
9567         * gst/gstpipeline.h:
9568         Improve debugging and docs.
9569
9570         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9571         Improve debugging.
9572
9573 2007-02-28  Wim Taymans  <wim@fluendo.com>
9574
9575         * gst/gstelement.c: (gst_element_message_full),
9576         (gst_element_set_locked_state), (gst_element_get_state_func),
9577         (gst_element_change_state):
9578         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9579         Documentation updates.
9580         Small code cleanups.
9581
9582         * gst/gstmessage.c: (gst_message_new_info),
9583         (gst_message_parse_info):
9584         * gst/gstmessage.h:
9585         API: gst_message_new_info()
9586         API: gst_message_parse_info()
9587         Add INFO message create and parse code.
9588
9589 2007-02-28  Wim Taymans  <wim@fluendo.com>
9590
9591         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9592         (bin_query_latency_done):
9593         Also report the live parameter of a latency query.
9594
9595 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9596
9597         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9598           Copy the current generic/states example from -base and adapt so
9599           we can use the exact same code everywhere.
9600           Check a STATES_IGNORE_ELEMENTS env var which can be used
9601           to ignore certain element factories for this test, which is
9602           what is being done in -base
9603         * tests/check/Makefile.am:
9604           Mention this environment variable.
9605
9606 2007-02-27  Wim Taymans  <wim@fluendo.com>
9607
9608         * docs/gst/gstreamer-sections.txt:
9609         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9610         (gst_bus_timed_pop), (gst_bus_pop):
9611         * gst/gstbus.h:
9612         API: gst_bus_timed_pop()
9613         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9614         message to arrive on the bus.
9615
9616         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9617         (gst_bus_suite):
9618         Two unit tests for new _timed_pop() function.
9619
9620 2007-02-23  Wim Taymans  <wim@fluendo.com>
9621
9622         * gst/gstpipeline.c: (gst_pipeline_change_state),
9623         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9624         Don't ref a NULL clock in _provide_clock_func().
9625         Don't allow an INVALID delay.
9626         Don't try to calculate base_time with an invalid start_time.
9627         Also distribute and notify a NULL clock when it was selected.
9628
9629         * tools/gst-launch.c: (event_loop):
9630         Don't crash when a NULL clock was selected in the pipeline.
9631
9632 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9633
9634         * docs/design/Makefile.am:
9635         * docs/design/draft-missing-plugins.txt:
9636         * docs/random/draft-missing-plugins.txt:
9637           Some small updates: update plugin system identifier prefix
9638           ('gstreamer.net' to 'gstreamer'), mention our new install
9639           API in libgstbaseutils rather than libgimme-codec, add
9640           reference to the online docs.
9641
9642 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9643
9644         * win32/common/config.h:
9645           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9646           use moap cl ci to only check in what is mentioned in the ChangeLog.
9647
9648 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9649
9650         * docs/gst/gstreamer-sections.txt:
9651         * gst/gstelement.h:
9652           Fix up documentation to link to the correct GstGError section.
9653           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9654
9655 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9656
9657         * tools/gst-launch.c: (event_loop):
9658           Make sure that we actually show the important message part of a
9659           warning message.
9660           No need to check if the gerror is not NULL to free; first of all
9661           g_free accepts NULL; and second the default error handler would
9662           segfault if gerror was NULL.
9663
9664 2007-02-21  Wim Taymans  <wim@fluendo.com>
9665
9666         * docs/gst/gstreamer-sections.txt:
9667         Removed docs as well.
9668
9669 2007-02-21  Wim Taymans  <wim@fluendo.com>
9670
9671         * gst/gstmessage.c: (gst_message_parse_duration):
9672         * gst/gstmessage.h:
9673         Remove new messages for release.
9674
9675 2007-02-20  Wim Taymans  <wim@fluendo.com>
9676
9677         * docs/design/part-gstghostpad.txt:
9678         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9679         (gst_ghost_pad_new_full):
9680         Make the ghostpad a parent of the internal pad again for better backward
9681         compatibility. Don't write code that relies on this however.
9682
9683         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9684         (gst_pad_link_check_hierarchy):
9685         Require that parents should be GstElements in the hierarchy check.
9686
9687 2007-02-20  Wim Taymans  <wim@fluendo.com>
9688
9689         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9690         (gst_bin_change_state_func), (bin_query_min_max_init),
9691         (bin_query_latency_fold), (bin_query_latency_done),
9692         (gst_bin_query):
9693         Improve debug info.
9694         Implement latency query.
9695
9696 2007-02-20  Wim Taymans  <wim@fluendo.com>
9697
9698         * docs/design/part-gstghostpad.txt:
9699         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9700         (gst_ghost_pad_internal_do_activate_push),
9701         (gst_ghost_pad_internal_do_activate_pull),
9702         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9703         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9704         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9705         Do not set the internal pad as a parent anymore so we can avoid
9706         hierarchy linking errors when the ghostpad has no parent yet. This also
9707         fixes failed activation because of unlinked internal pads, which in
9708         turn fixes the impossible case where you have to activate a pad before
9709         you can add it to a running element.
9710         Also fix the docs.
9711
9712         * gst/gstpad.c: (pre_activate), (post_activate),
9713         (gst_pad_set_active), (gst_pad_activate_pull),
9714         (gst_pad_activate_push), (gst_pad_check_pull_range):
9715         Add some more debug info.
9716         Mark activation mode in pre_activate so that we don't try to activate in
9717         endless loops. Fixes #385084.
9718
9719 2007-02-19  Wim Taymans  <wim@fluendo.com>
9720
9721         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9722         (gst_base_transform_check_get_range):
9723         Implement a checkgetrange function instead of relying on the default
9724         core behaviour that assumes we can operate in pull mode if we have a
9725         getrange function. First step at fixing #385084.
9726
9727 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9728
9729         * gst/gstchildproxy.h:
9730         * libs/gst/base/gstbasesink.h:
9731         * libs/gst/base/gstbasesrc.h:
9732         * libs/gst/base/gstbasetransform.h:
9733         More docs coverage and some ChangeLog surgery (add missing names)
9734
9735 2007-02-15  Wim Taymans  <wim@fluendo.com>
9736
9737         * docs/design/part-TODO.txt:
9738         * docs/design/part-activation.txt:
9739         * docs/design/part-block.txt:
9740         * docs/design/part-buffering.txt:
9741         * docs/design/part-clocks.txt:
9742         * docs/design/part-element-source.txt:
9743         * docs/design/part-events.txt:
9744         * docs/design/part-gstbin.txt:
9745         * docs/design/part-gstbus.txt:
9746         * docs/design/part-gstpipeline.txt:
9747         * docs/design/part-live-source.txt:
9748         * docs/design/part-messages.txt:
9749         * docs/design/part-overview.txt:
9750         * docs/design/part-qos.txt:
9751         * docs/design/part-query.txt:
9752         * docs/design/part-states.txt:
9753         * docs/design/part-trickmodes.txt:
9754         Some doc updates. Start renaming from stream_time to running_time where
9755         it was used wrongly.
9756
9757 2007-02-15  Wim Taymans  <wim@fluendo.com>
9758
9759         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9760         Answer LATENCY query.
9761
9762 2007-02-15  Wim Taymans  <wim@fluendo.com>
9763
9764         * tests/check/gst/gstevent.c: (event_probe), (test_event),
9765         (GST_START_TEST):
9766         Improve debugging.
9767
9768 2007-02-15  Wim Taymans  <wim@fluendo.com>
9769
9770         * gst/gstpad.c: (gst_pad_get_internal_links_default),
9771         (gst_pad_dispatcher):
9772         Improve debugging of default pad dispatcher and query functions.
9773
9774 2007-02-15  Wim Taymans  <wim@fluendo.com>
9775
9776         * docs/gst/gstreamer-sections.txt:
9777         Remove old unused method.
9778
9779 2007-02-13  Wim Taymans  <wim@fluendo.com>
9780
9781         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9782         Fix check
9783
9784 2007-02-13  Wim Taymans  <wim@fluendo.com>
9785
9786         * docs/design/part-seeking.txt:
9787         Some small update.
9788
9789         * gst/gstsegment.c: (gst_segment_set_seek):
9790         Revert old bogus change that should make seeking work again.
9791
9792 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9793
9794         * docs/random/ensonic/dynlink.txt:
9795         * docs/random/ensonic/interfaces.txt:
9796         * docs/random/ensonic/receipies.txt:
9797           Possible dynamic reconnection api, plus some type fixes the other two
9798           docs.
9799
9800 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
9801
9802         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9803         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9804         Also check for an absolute path following file:// in the filesrc
9805         element. Remove redundant check and call g_path_is_absolute() on the
9806         unescaped location.
9807
9808 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9809
9810         * docs/design/draft-klass.txt:
9811           Add existing category analysis.
9812           
9813         * gst/gstcaps.c:
9814           Fix doc example, framerate is a fraction.
9815
9816 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9817
9818         * configure.ac:
9819         * docs/gst/Makefile.am:
9820         * docs/gst/gstreamer-sections.txt:
9821         * docs/libs/Makefile.am:
9822           Erm, forgot a bunch of --extra-dir.
9823
9824 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9825
9826         * configure.ac:
9827         * docs/gst/Makefile.am:
9828         * docs/libs/Makefile.am:
9829         * docs/plugins/Makefile.am:
9830           Add crossreferences to glib/gobject docs.
9831
9832 2007-02-12  Wim Taymans  <wim@fluendo.com>
9833
9834         * docs/design/draft-latency.txt:
9835         Small update.
9836
9837         * docs/libs/gstreamer-libs-sections.txt:
9838         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9839         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9840         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9841         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9842         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9843         (gst_base_sink_get_position), (gst_base_sink_query),
9844         (gst_base_sink_change_state):
9845         * libs/gst/base/gstbasesink.h:
9846         API: gst_base_sink_query_latency() to let subclasses query the upstream
9847         latency.
9848         API: gst_base_sink_get_latency() to let subclasses query the configured
9849         latency in the sink.
9850         Implement query and set latency.
9851         Update some docs.
9852         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9853         don't continue preroll when we are flushing. Fixes #405284.
9854
9855         * tests/check/pipelines/stress.c: (change_state_timeout),
9856         (quit_timeout), (GST_START_TEST), (stress_suite):
9857         Test for #405284.
9858
9859 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
9860
9861         Patch by: René Stadler <mail at renestadler de>
9862
9863         * docs/gst/gstreamer-sections.txt:
9864         * gst/gsttaglist.c: (_gst_tag_initialize):
9865         * gst/gsttaglist.h:
9866           API: add GST_TAG_REFERENCE_LEVEL (#403597).
9867
9868 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
9869
9870         * docs/libs/Makefile.am:
9871           Fix path to core docs.
9872
9873         * gst/gstbin.c: (gst_bin_get_by_interface),
9874         (gst_bin_iterate_all_by_interface):
9875           Refix docs by also renaming 'interface' to 'iface' in implementation.
9876
9877         * docs/gst/gstreamer-sections.txt:
9878         * gst/gstcaps.c:
9879         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9880         * gst/gstchildproxy.h:
9881         * gst/gstelementfactory.c:
9882         * gst/gstpadtemplate.h:
9883         * libs/gst/controller/gstcontroller.c:
9884         (gst_controlled_property_new):
9885           Document more.
9886
9887 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
9888
9889         * gst/gstbin.h:(gst_bin_get_by_interface),
9890         (gst_bin_iterate_all_by_interface):
9891         Replace interface parameter name by iface as interface is 
9892         a reserved keyword in Visual Studio for C++ projects so it removes
9893         a build error for application developpers using VS.
9894         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9895         Fix a bug on Windows in uri format check. Now the prefix checked
9896         is file:// and next we check if the path after file:// is absolute.
9897         * win32/common/libgstbase.def:
9898         * win32/common/libgstdataprotocol.def:
9899         * win32/common/libgstgstreamer.def:
9900         Add new exported functions.
9901
9902 2007-02-09  Andy Wingo  <wingo@pobox.com>
9903
9904         * tests/check/pipelines/simple-launch-lines.c
9905         (simple_launch_lines_suite, test_tee): Disable tee test until I
9906         have time to fix it :-(
9907
9908         * tests/check/Makefile.am (noinst_HEADERS): 
9909         * tests/check/libs/libsabi.c: 
9910         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9911         * tests/check/gst/gstabi.c: 
9912         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9913
9914         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9915         tests for push and pull tee behavior.
9916
9917         * plugins/elements/gsttee.h: 
9918         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9919         mark as deprecated as well as unimplemented. It was a crack idea.
9920         Add support for tee operating in pull mode, off by default.
9921
9922         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9923         normal-case logs down to LOG, raise errors to WARNING.
9924         (gst_registry_xml_read_cache): Don't log before calling a function
9925         that logs.
9926
9927         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9928         exit (registry finalize).
9929         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9930         DEBUG log when we emit signals that people don't even have the
9931         chance to connect to.
9932         (gst_registry_scan_path_level): Less logging in the normal case.
9933
9934 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
9935
9936         Patch by: Michal Benes <michal dot benes at itonis dot tv>
9937
9938         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9939         Correctly generate EOS for non-seekable files. We don't have a total
9940         length for them and would get an unexpected end of file if we only
9941         special-cased for regular files. (Fixes: #404569)
9942
9943 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
9944
9945         * tests/check/elements/filesrc.c: (GST_START_TEST),
9946         (filesrc_suite):
9947         Add unit test for the GstURIHandler interface in filesrc. This also
9948         tests the newly added file://localhost/foo/bar support.
9949
9950 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
9951
9952         * gst/gstelementfactory.h:
9953           The klass string is not a hierarchy. Add reference to the design doc
9954           for more information and common types.
9955
9956 2007-02-02  Wim Taymans  <wim@fluendo.com>
9957
9958         * gst/gstquery.c: (gst_query_new_latency):
9959         Remove old structure field.
9960
9961 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
9962
9963         * tools/gst-launch.1.in:
9964           Give example for network streaming (#351998)
9965
9966 2007-02-02  Wim Taymans  <wim@fluendo.com>
9967
9968         * docs/gst/gstreamer-sections.txt:
9969         Add docs for new methods.
9970
9971         * gst/gstevent.c: (gst_event_new_latency),
9972         (gst_event_parse_latency):
9973         * gst/gstevent.h:
9974         Add new LATENCY event to configure latency in a pipeline.
9975         API: gst_event_new_latency
9976         API: gst_event_parse_latency
9977
9978         * gst/gstmessage.c: (gst_message_new_buffering),
9979         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9980         (gst_message_new_latency), (gst_message_parse_buffering),
9981         (gst_message_parse_lost_preroll):
9982         * gst/gstmessage.h:
9983         Added messages used in draft-latency.
9984         API: gst_message_new_lost_preroll
9985         API: gst_message_parse_lost_preroll
9986         API: gst_message_new_prerolled
9987         API: gst_message_new_latency
9988
9989         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9990         (gst_query_parse_latency):
9991         * gst/gstquery.h:
9992         Implemented new latency query as in design doc.
9993         API: gst_query_new_latency
9994         API: gst_query_set_latency
9995         API: gst_query_parse_latency
9996
9997 2007-02-02  Wim Taymans  <wim@fluendo.com>
9998
9999         * docs/design/draft-latency.txt:
10000         Slight redesign to allow for dynamic latency adjustments.
10001
10002         * docs/design/part-negotiation.txt:
10003         Fix some typos.
10004
10005 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10006
10007         reviewed by: Wim Taymans <wim@fluendo.com>
10008
10009         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10010         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10011         Allow file://localhost/foo/bar URLs and correctly fail for every other
10012         hostname that one sets. This was gnomevfssrc is linked for those if
10013         installed as it can handle it (#403172)
10014
10015 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10016
10017         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10018
10019         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10020         (unref_data), (gst_collect_pads_add_pad_full):
10021         * libs/gst/base/gstcollectpads.h:
10022         Don't put the previously added destroy notify in the GstCollectData
10023         struct as all it's padding is already used and we don't want to break
10024         ABI. Instead put in the pad's GObject data for now. This should be
10025         cleaned up for 0.11 (#402393).
10026
10027 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10028
10029         reviewed by: Wim Taymans <wim@fluendo.com>
10030
10031         * docs/libs/gstreamer-libs-sections.txt:
10032         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10033         (unref_data), (gst_collect_pads_add_pad),
10034         (gst_collect_pads_add_pad_full):
10035         * libs/gst/base/gstcollectpads.h:
10036         API: Add function to specify a destroy notification for custom
10037         GstCollectData when adding new pads in GstCollectPads (#402393).
10038
10039 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10040
10041         * po/sv.po:
10042           Update Swedish translation (#378255).
10043
10044 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10045
10046         * docs/design/draft-klass.txt:
10047           Fix the previous change, this is a list of categories and not a hierarchy.
10048
10049 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10050
10051         * docs/design/draft-klass.txt:
10052           Add info about how to get a list of used classes.
10053
10054 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10055
10056         * plugins/elements/gsttypefindelement.c:
10057         (gst_type_find_element_chain_do_typefinding),
10058         (gst_type_find_element_change_state):
10059           Don't leak found caps in chain function (no idea why that never
10060           showed up as a leak anywhere).
10061
10062 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10063
10064         * gst/gstplugin.h:
10065           Fix and expand GstPluginDesc API docs.
10066
10067 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10068
10069         * gst/gstcaps.c:
10070         * gst/gstelementfactory.c:
10071         * gst/gstpadtemplate.h:
10072           api doc fixes
10073
10074         * libs/gst/controller/gstcontroller.c:
10075         (gst_controlled_property_new):
10076         * tests/examples/controller/audio-example.c:
10077           comment fixes
10078
10079 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10080
10081         * configure.ac:
10082           comment about refining the xml deps
10083
10084         * docs/manuals.mak:
10085           comments about moving away from jade for docs
10086         
10087         * gst/gst.c:
10088           recommit the ifdefs to use the binary registry
10089         
10090         * gst/gstbin.c: (gst_bin_change_state_func):
10091           this break is obsolete
10092
10093         * gst/gstelementfactory.h:
10094           better GST_ELEMENT_DETAILS docs, add comment about translation
10095
10096         * gst/gstinfo.h:
10097           remove eol slash
10098
10099         * gst/gstobject.c: (gst_signal_object_get_type):
10100           add G_UNLIKELY as usual
10101
10102         * gst/gstpad.c: (gst_pad_event_default):
10103           add fall trhu comment
10104
10105         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10106         (gst_registry_binary_initialize_magic),
10107         (gst_registry_binary_save_string),
10108         (gst_registry_binary_save_pad_template),
10109         (gst_registry_binary_save_feature),
10110         (gst_registry_binary_save_plugin),
10111         (gst_registry_binary_write_cache),
10112         (gst_registry_binary_check_magic),
10113         (gst_registry_binary_load_pad_template),
10114         (gst_registry_binary_load_feature),
10115         (gst_registry_binary_load_plugin),
10116         (gst_registry_binary_read_cache):
10117           comment typo and formatting
10118
10119         * gst/gstutils.c: (gst_element_state_get_name),
10120         (gst_element_state_change_return_get_name):
10121           remove obsolete breaks
10122
10123         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10124           add FIXME 0.11 and remove cpp comment
10125
10126 2007-01-29  Edward Hervey  <edward@fluendo.com>
10127
10128         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10129         Fix print statement in an even more portable way.
10130
10131 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10132
10133         * docs/gst/gstreamer-sections.txt:
10134         * gst/gstutils.h:
10135           API: add GST_ROUND_DOWN_* macros (#401781).
10136
10137 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10138
10139         * docs/gst/gstreamer.types.in:
10140         * gst/gstregistry.c: (gst_registry_class_init):
10141           Document registry signals and make gtk-doc pick them up (#401381).
10142
10143 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10144
10145         * docs/pwg/building-testapp.xml:
10146           Add some audioconverts and audioresample to the pipeline, and some
10147           more comments and error handling.
10148
10149 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10150
10151         * docs/manual/manual.xml:
10152         * docs/pwg/pwg.xml:
10153           Fix typo (#400987).
10154
10155 2007-01-26  Wim Taymans  <wim@fluendo.com>
10156
10157         * gst/gstcaps.c: (gst_static_caps_get):
10158         Init caps flags too.
10159
10160 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10161
10162         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10163
10164         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10165         If not using mmap'ed files try to seek to the end instead of the
10166         start to determine whether we can seek at all. This fixes the case
10167         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10168         seeks for everything afterwards fail. Fixes #400656
10169
10170 2007-01-25  Wim Taymans  <wim@fluendo.com>
10171
10172         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10173         Add some refcount debugging.
10174         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10175         in multiple streaming threads.
10176
10177 2007-01-25  Wim Taymans  <wim@fluendo.com>
10178
10179         Patch by: David Schleef <ds at schleef dot org>
10180
10181         * docs/libs/gstreamer-libs-sections.txt:
10182         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10183         * libs/gst/base/gstadapter.h:
10184         API: gst_adapter_copy() that can reduce the amount of memcpy when
10185         getting data from the adapter. Fixes #388201.
10186
10187 2007-01-25  Edward Hervey  <edward@fluendo.com>
10188
10189         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10190         In print statements, "%x" is for guint. Fixes build on macosx.
10191
10192 2007-01-24  Edward Hervey  <edward@fluendo.com>
10193
10194         * plugins/elements/gstmultiqueue.c:
10195         (gst_multi_queue_loop):
10196         Small fix.
10197         (single_queue_overrun_cb), (single_queue_underrun_cb),
10198         (single_queue_check_full), (gst_single_queue_new):
10199         Implement single queue growth system.
10200         This uses the extra-size properties, and will grow single queues by
10201         that much if one goes full whereas there are others empty. This is
10202         called extra-mode in the code.
10203         When a single queue's levels go back below the initial max-size
10204         limits, it is no longer in extra-mode. This is to ensure we don't
10205         consume too much memory.
10206         Fixes #399875
10207
10208 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10209
10210         * gst/gst.c: (gst_init_get_option_group):
10211           Make warning about late g_thread_init() calls a bit more explicit,
10212           so that it's more obvious to application developers what they need
10213           to do if a user files a bug against their application.
10214
10215 2007-01-22  Edward Hervey  <edward@fluendo.com>
10216
10217         * plugins/elements/gstmultiqueue.c:
10218         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10219         Remove previous hack of unsetting the flushing flag for the source pad
10220         instead of activating it. Instead, fix the source pad activate function
10221         so that it no longer depends on having a parent set or not.
10222
10223 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10224
10225         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10226
10227         * docs/manual/basics-bus.xml:
10228           Fix example code, gst_element_unref() doesn't exist any longer.
10229
10230 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10231
10232         Patch by: Mark Nauwelaerts <manauw at skynet be>
10233
10234         * gst/gstpad.c:
10235           Fix two docs typoes (#399094).
10236
10237 2007-01-19  Edward Hervey  <edward@fluendo.com>
10238
10239         * docs/faq/gst-uninstalled:
10240         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10241         depending on libgstbaseutils can work in uninstalled environment.
10242
10243 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10244
10245         * gst/gsttaglist.h:
10246         * gst/gsttagsetter.c:
10247         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10248         statement for new tag.
10249
10250 2007-01-17  Edward Hervey  <edward@fluendo.com>
10251
10252         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10253         When dynamically creating single queues, activate sinkpad before adding
10254         it.
10255         We should be doing the same thing for the source pad, but we can't
10256         since it would call a method which needs the parent to be set in order
10257         to work propertly. Instead of activating the source pad, we just unset
10258         the flushing flag, which is the minimal requirement for adding a pad
10259         to an element in a state greater than READY.
10260
10261 2007-01-17  Edward Hervey  <edward@fluendo.com>
10262
10263         * docs/faq/gst-uninstalled:
10264         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10265         Mac OS X.
10266
10267 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10268
10269         * tests/check/gst/gstabi.c:
10270         * tests/check/gst/struct_hppa.h:
10271         * tests/check/libs/libsabi.c:
10272         * tests/check/libs/struct_hppa.h:
10273           Add ABI structs for HPPA (see #393796).
10274
10275 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10276
10277         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10278           Actually write ABI structs to the file specified in the GST_ABI
10279           environment variable, as the message we print claims we would.
10280
10281 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10282
10283         * tests/check/gst/gsttask.c:
10284           Fix header comment.
10285
10286 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10287
10288         * gst/gsttaglist.c: (_gst_tag_initialize):
10289           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10290           previous two entries.
10291
10292 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10293
10294         * docs/gst/gstreamer-sections.txt:
10295         * gst/gsttaglist.c: (_gst_tag_initialize):
10296         * gst/gsttaglist.h:
10297           Add tag support for beat-per-minute.
10298
10299 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10300
10301         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10302         (gst_registry_binary_initialize_magic),
10303         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10304         (gst_registry_binary_save_pad_template),
10305         (gst_registry_binary_save_feature),
10306         (gst_registry_binary_save_plugin),
10307         (gst_registry_binary_write_cache),
10308         (gst_registry_binary_check_magic),
10309         (gst_registry_binary_load_pad_template),
10310         (gst_registry_binary_load_feature),
10311         (gst_registry_binary_load_plugin),
10312         (gst_registry_binary_read_cache):
10313         * gst/gstregistrybinary.h:
10314           Use glib types, cleanup comments, impement interfaces and uri-types.
10315
10316 2007-01-13  Andy Wingo  <wingo@pobox.com>
10317
10318         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10319         getrange() to return buffers with other caps, while we fix
10320         demuxers and typefind, or otherwise change part-negotiation.txt.
10321
10322 2007-01-12  Andy Wingo  <wingo@pobox.com>
10323
10324         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10325         Factor start/stop into this private function instead of partially
10326         in activate functions and partially in the change_state function.
10327         Fixes setup before the element has changed from READY->PAUSED, as
10328         is the case in pull-mode pipelines.
10329         (gst_base_transform_sink_activate_push)
10330         (gst_base_transform_src_activate_pull): Refactor to use
10331         gst_base_transform_activate().
10332         (gst_base_transform_change_state): Removed, not needed any more.
10333
10334         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10335         Truncate before fixating.
10336         
10337         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10338         Don't set_caps() if the result of fixating is ANY, as it's not
10339         supported, and not necessary in the case of a link with no
10340         template caps on either side. Fixes tests/check/libs/basesrc in
10341         some pull-mode tests.
10342
10343         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10344         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10345         (gst_base_transform_src_activate_pull): 
10346         Track the activation mode.
10347         (gst_base_transform_setcaps): In pull mode, when activating the
10348         src pad, after activating the sink pad, activate the sink pad's
10349         peer, as discussed in part-negotiation.txt.
10350
10351         * libs/gst/base/gstbasesrc.h: 
10352         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10353         vmethod, as in basesink.
10354
10355         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10356
10357         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10358         mode, first proxy the setcaps to the peer pad.
10359         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10360         new fixate vmethod.
10361         (gst_base_sink_default_activate_pull): Rename from
10362         gst_base_sink_activate_pull.
10363         (gst_base_sink_negotiate_pull): New function, performs negotiation
10364         in pull mode before calling ::activate_pull().
10365         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10366         vmethod instead of the default implementation. I have no idea how
10367         this worked before. Negotiate before calling activate_pull.
10368
10369         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10370         sink pads in pull mode. In addition to being correct, fixes
10371         filesrc ! decodebin ! identity ! fakesink.
10372         (gst_pad_get_range, gst_pad_pull_range): Don't call
10373         gst_pad_set_caps() if the caps changes; instead error out with
10374         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10375
10376 2007-01-12  Andy Wingo  <wingo@pobox.com>
10377
10378         * docs/design/part-negotiation.txt: Update with more policy.
10379
10380 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10381
10382         * libs/gst/check/gstbufferstraw.h:
10383         * libs/gst/check/gstcheck.h:
10384           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10385           belongs.
10386
10387 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10388
10389         * tests/check/Makefile.am:
10390         * tests/check/gst/.cvsignore:
10391         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10392         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10393         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10394         (GST_START_TEST), (gst_tag_setter_suite):
10395           Add minimal unit test for beforementioned GstTagSetter bug.
10396
10397 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10398
10399         Patch by: René Stadler <mail at renestadler dot de>
10400
10401         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10402           gst_tag_list_merge() returns a new list, so it's not the best idea
10403           to ingore its return value. Effectively meant that tags could only
10404           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10405           Also add function guard to require a non-NULL taglist as input (has
10406           always been so due to gst_tag_list_copy(), just making it explicit).
10407
10408 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10409
10410         * docs/random/draft-missing-plugins.txt:
10411           Some additions: mention new API that is supposed to be used at the
10412           various stages; short blob about new gst-inspect introspection
10413           option; mention potential future problem with plugins that have
10414           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10415
10416 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10417
10418         * tools/gst-inspect.c:
10419         (print_plugin_automatic_install_info_codecs),
10420         (print_plugin_automatic_install_info_protocols),
10421         (print_plugin_automatic_install_info), (main):
10422         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10423         introspect plugin files and get machine-parsable output that corresponds
10424         to the last bit of the missing-plugin installer string (small gotcha:
10425         doesn't take into account ranks).
10426
10427 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10428
10429         * configure.ac:
10430         * docs/gst/gstreamer-sections.txt:
10431         * gst/Makefile.am:
10432         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10433         (gst_registry_lookup_locked):
10434         * gst/gstregistry.h:
10435         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10436         (gst_registry_binary_initialize_magic),
10437         (gst_registry_binary_save_string),
10438         (gst_registry_binary_save_pad_template),
10439         (gst_registry_binary_save_feature),
10440         (gst_registry_binary_save_plugin),
10441         (gst_registry_binary_write_cache),
10442         (gst_registry_binary_check_magic),
10443         (gst_registry_binary_load_pad_template),
10444         (gst_registry_binary_load_feature),
10445         (gst_registry_binary_load_plugin),
10446         (gst_registry_binary_read_cache):
10447         * gst/gstregistrybinary.h:
10448         * gst/gstregistryxml.c: (load_feature),
10449         (gst_registry_xml_read_cache):
10450           commit binary registry (disabled by default, see #359653)
10451
10452 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10453
10454         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10455           Fix 'make check' too.
10456
10457 2007-01-10  Andy Wingo  <wingo@pobox.com>
10458
10459         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10460         notes.
10461         
10462         * docs/design/part-negotiation.txt: Update with, um, one way that
10463         pull-mode negotiation might work?
10464
10465         * gst/gstpad.h: 
10466         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10467         that the pad must be a src pad; makes sense to call it the other
10468         way in pull mode, and the logic is symmetric anyway.
10469
10470 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10471
10472         * plugins/elements/gstfilesink.c:
10473           Include <stdio.h> for fseeko().
10474
10475 2007-01-10  Wim Taymans  <wim@fluendo.com>
10476
10477         * gst/gstevent.c:
10478         * gst/gstevent.h:
10479         Reserve LATENCY event.
10480
10481 2007-01-09  Wim Taymans  <wim@fluendo.com>
10482
10483         * docs/design/draft-latency.txt:
10484         Updates.
10485
10486 2007-01-09  Wim Taymans  <wim@fluendo.com>
10487
10488         * docs/design/draft-latency.txt:
10489         Updates.
10490
10491         * gst/gstelement.h:
10492         * gst/gststructure.c:
10493         * gst/gsttrace.c:
10494         Small typo fixes.
10495
10496 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10497
10498         * tests/check/.cvsignore:
10499           Ignore test-registry.xml as well.
10500
10501 2007-01-09  Wim Taymans  <wim@fluendo.com>
10502
10503         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10504         unref data at the end when we are done with the pad.
10505
10506 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10507
10508         * docs/gst/gstreamer-sections.txt:
10509         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10510         (init_post), (gst_deinit), (gst_update_registry):
10511         * gst/gst.h:
10512           API: add gst_update_registry() (#391296).
10513
10514         * tests/check/Makefile.am:
10515         * tests/check/gst/gstregistry.c:
10516         * tests/check/gst/.cvsignore:
10517           Simple unit test for the above.
10518
10519 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10520
10521         * gst/gstregistry.c: (gst_registry_scan_path_level):
10522           Plugin extension on HP-UX is .sl, add that to the list of approved
10523           plugin extensions (see #393796).
10524
10525         * tests/check/gst/gstpad.c: (GST_START_TEST):
10526           ulong => gulong. Fixes compilation with HP-UX compiler.
10527
10528         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10529           Fix compilation if valgrind headers are not available.
10530
10531 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10532
10533         * win32/common/libgstreamer.def: 
10534           Add new exported function.
10535         * win32/vs6/libgstbase.dsp: 
10536           Add gstdataqueue.c to the build.
10537         * win32/vs6/libgstcoreelements.dsp:
10538           Add gstmultiqueue.c to the build.
10539         
10540 2007-01-06  Andy Wingo  <wingo@pobox.com>
10541
10542         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10543         activate_pull(), providing for a way to specialize the process of
10544         spawning a thread to pull on the sink pad. There is a default
10545         implementation.
10546
10547         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10548         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10549         (gst_base_sink_init): Renamed pad activation functions (inserting
10550         "_pad" in their names). Refactor to use the new activate_pull
10551         vmethod, as appropriate.
10552         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10553         default activate_pull function to start a task pulling from the
10554         sink pad, as before.
10555
10556         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10557         on the pads if necessary, as in push()/chain(). Update docs.
10558         Shouldn't affect existing pull() usage as it is currently only
10559         being used on buffers without caps.
10560
10561 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10562
10563         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10564         (init_pre):
10565           Call g_thread_init() first thing in gst_init() / gst_check_init().
10566           When initialisation is done via gst_init_get_option_group() and
10567           GOption parsing, issue a warning if the GLib thread system has not
10568           been initialised yet by the time gst_init_get_option_group() is
10569           called, as it's quite likely other GLib functions such as
10570           g_option_context_new() have been called already then, and
10571           g_thread_init() must be called before any other GLib function. The
10572           application in question must be fixed in that case, since memory
10573           corruption might happen otherwise.
10574           We issue the warning because even if the GLib folks decide to work
10575           around the problem on their end in future, this is still an issue
10576           with all GLib versions >= 2.10.0, so we should warn until we depend
10577           on a GLib version we know to be safe.
10578           Update documentation as well.
10579           Closes bug #391278.
10580
10581 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10582
10583         * tools/gst-inspect.c: (main):
10584         * tools/gst-launch.c: (main):
10585         * tools/gst-typefind.c: (main):
10586         * tools/gst-xmlinspect.c: (main):
10587           Call g_thread_init() really really early, before any other GLib
10588           function (see #342564 and recent discussion on gtk-devel-list).
10589
10590 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10591
10592         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10593
10594         * gst/gst_private.h:
10595         * gst/gstconfig.h.in:
10596         * gst/gstinfo.h:
10597           On win32, all the __declspec stuff for symbol exporting is
10598           apparently only needed with MSVC, but doesn't work with MingW.
10599           Fixes compilation with MingW and #391909.
10600
10601 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10602
10603         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10604           Change some GST_ERROR_OBJECT that aren't really errors to
10605           GST_WARNING_OBJECT in order to reduce terminal spam.
10606
10607 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10608
10609         * tests/check/Makefile.am:
10610           disable test again, as there seem to be still race problems
10611
10612 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10613
10614         * tests/check/Makefile.am:
10615         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10616         (GST_START_TEST), (queue_suite):
10617           enable queue test again, add tests for the leaky behaviour
10618
10619 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10620
10621         * configure.ac:
10622         * tests/examples/Makefile.am:
10623           Compile adapter test/example only if the required headers are
10624           available (fixes #391915).
10625
10626 2007-01-01  David Schleef  <ds@schleef.org>
10627
10628         * gst/gstplugin.c:
10629           Restore the previous signal handler for SIGSEGV instead of
10630           setting to default, since we may have stolen it away from
10631           someone.  (i.e., Mono)
10632
10633 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10634
10635         * docs/random/draft-missing-plugins.txt:
10636           Some small additions and clarifications.
10637
10638 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10639
10640         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10641           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10642           since that can lead to random memory corruptions and crashes
10643           (may or may not be related to #383244, #386711, and #386711).
10644
10645 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10646
10647         * tests/check/.cvsignore:
10648         * tests/check/Makefile.am:
10649           sync .cvsignome and CLEANFILES
10650
10651 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10652
10653         * tests/check/Makefile.am:
10654           fix distcheck
10655
10656 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10657
10658         * docs/design/part-states.txt:
10659           two tiny additional comments
10660         
10661         * gst/gststructure.c:
10662           doc fixing
10663
10664         * tests/check/Makefile.am:
10665         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10666         (GST_START_TEST):
10667           disable test for now, unless it gets fixed
10668
10669 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10670
10671         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10672         (GST_START_TEST):
10673           fix race in underrun test
10674
10675 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10676
10677         * tests/check/elements/.cvsignore:
10678           ignore more
10679
10680         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10681         (GST_START_TEST):
10682           try to narrow test failure
10683
10684 2006-12-21  David Schleef  <ds@schleef.org>
10685
10686         * plugins/elements/gstfakesrc.c:
10687           Use g_random_int_range(), since it produces better random
10688           numbers in a range than almost-correct floating point code.
10689
10690 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10691
10692         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10693         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10694         (gst_check_teardown_sink_pad):
10695           do not automatically (de)activate pads
10696
10697         * tests/check/Makefile.am:
10698         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10699         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10700           add new, yet simple tests for queue
10701
10702         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10703         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10704         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10705         (GST_START_TEST):
10706         * tests/check/elements/identity.c: (cleanup_identity):
10707           consistent pad (de)activation
10708
10709 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10710
10711         Patch by: Sebastian Dröge  <slomo ubuntu com>
10712
10713         * libs/gst/base/gstcollectpads.c:
10714           Fix two doc typos (#387866).
10715
10716 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10717
10718         * docs/manual/advanced-dparams.xml:
10719           Fix typo (g_object_control_properties() doesn't exist).
10720
10721 2006-12-19  Edward Hervey  <edward@fluendo.com>
10722
10723         * gst/gstsegment.c: (gst_segment_set_seek):
10724         Fine tune the cases where the segment start/stop values are really
10725         updated.
10726         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10727         Add tests for the return values of gst_segment_set_seek().
10728
10729 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10730
10731         * gst/gst.c:
10732           Docs typo fix.
10733
10734         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10735         (gst_queue_init):
10736           Fix incorrect documentation and flesh it out a bit more.
10737           Set default values for the max properties on the GParamSpec as well,
10738           so it shows up correctly in gst-inspect.
10739
10740 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10741
10742         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10743           Correct docs of queue, add more detail and crosslink it more.
10744
10745 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10746
10747         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10748           Print additional debug info when the stream isn't perfectly
10749           timestamped; don't try to use invalid durations.
10750
10751 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10752
10753         * docs/design/Makefile.am:
10754           Dist new design docs.
10755
10756 2006-12-16  Wim Taymans  <wim@fluendo.com>
10757
10758         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10759
10760         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10761         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10762         (gst_collect_pads_stop), (gst_collect_pads_event),
10763         (gst_collect_pads_chain):
10764         * libs/gst/base/gstcollectpads.h:
10765         Add refcounting to the collectpads data so we can track when it's safe
10766         to free the data. Fixes #383382.
10767
10768 2006-12-15  Wim Taymans  <wim@fluendo.com>
10769
10770         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10771         (gst_collect_pads_remove_pad):
10772         Automatically activate/deactivate pads when they are added to a
10773         started/stoped collectpads.
10774
10775 2006-12-15  Wim Taymans  <wim@fluendo.com>
10776
10777         * gst/gstelement.c: (gst_element_add_pad):
10778         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10779         * gst/gstpad.c: (gst_pad_init):
10780         Set pads to FLUSHING when they are created. Check, warn and fix when a
10781         demuxer adds an inactive pad to itself when running. Fixes #339326.
10782
10783 2006-12-15  Wim Taymans  <wim@fluendo.com>
10784
10785         * gst/gstelement.c: (gst_element_class_init),
10786         (gst_element_default_send_event), (gst_element_send_event),
10787         (gst_element_default_query), (gst_element_query):
10788         Expose default element send_event and query handling as vmethods that
10789         subclasses can chain up to.
10790
10791 2006-12-15  Wim Taymans  <wim@fluendo.com>
10792
10793         * gst/gstelement.c: (gst_element_set_state_func):
10794         Small documentation fixes.
10795
10796 2006-12-15  Wim Taymans  <wim@fluendo.com>
10797
10798         * docs/design/draft-latency.txt:
10799         Checked in draft for handling latency in pipelines.
10800
10801 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10802
10803         * Makefile.am:
10804         * gstreamer.doap:
10805         * gstreamer.spec.in:
10806           adding .doap file
10807
10808 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
10809
10810         * gst/gst.c: (init_pre), (init_post):
10811           init_pre() and init_post() might be called via our GOptionGroup or
10812           from gst_init(), and we should skip both of them if we've already
10813           been initialised, otherwise we will init some things twice or add
10814           two default log functions.
10815
10816 2006-12-13  Edward Hervey  <edward@fluendo.com>
10817
10818         * docs/manual/basics-bus.xml:
10819         No, gst_main_loop does not exist. Its g_main_loop.
10820         Discovered by somebody who abused the copy-paste technique of coding :)
10821
10822 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
10823
10824         * gst/gstghostpad.c:
10825           Log ghostpad debug stuff to the GST_PADS category as well rather
10826           than just to the default category.
10827
10828 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
10829
10830         * configure.ac:
10831         * gst/gst.c: (init_pre):
10832           Add some basic system details such as OS and architecture
10833           to the debug output if possible, courtesy of uname().
10834
10835 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10836
10837         * docs/gst/running.xml:
10838           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10839           environment variables.
10840
10841 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10842
10843         * tests/check/gst/gstbin.c: (GST_START_TEST):
10844         It is acceptable to have a refcount of 2 or 3 at this point in the
10845         test, because the pipeline might be just posting its state_change
10846         message. The next line then waits for that message to appear using
10847         bus_poll, so that should be fine too.
10848
10849 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10850
10851         * gst/gst.c: (ensure_current_registry_forking):
10852         Ignore EINTR when reading from the child registry pipe.
10853         Explicitly ignore the return value from close, since it makes no
10854         difference.
10855
10856         * gst/gstminiobject.c: (gst_mini_object_ref),
10857         (gst_mini_object_unref):
10858         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10859
10860         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10861         When removing cached plugins, remove their features too, so they're
10862         not visible after they've disappeared.
10863
10864         * gst/gstutils.c: (prepare_link_maybe_ghosting):
10865         In the unlikely case that we are linking pads with no parents, don't
10866         crash trying to get the non-existent parent bin.
10867
10868         * gst/parse/grammar.y:
10869         Output debug in the PIPELINE category
10870
10871 2005-03-08  Wim Taymans  <wim@fluendo.com>
10872
10873         Patch by: René Stadler <mail at renestadler dot de>
10874
10875         * gst/gstclock.c: (gst_clock_new_periodic_id):
10876         Reject invalid clock times for interval of periodic ids.
10877         Fixes ##383506.
10878
10879 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
10880
10881         * gst/gstelementfactory.c: (gst_element_factory_create):
10882         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10883         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10884         * tools/gst-inspect.c: (print_element_info):
10885         Fix refcounting of gst_plugin_feature_load to match the docs. 
10886         Fixes: #380129
10887
10888 2006-12-07  Wim Taymans  <wim@fluendo.com>
10889
10890         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10891         (gst_base_sink_get_position):
10892         Improve debugging of events.
10893
10894 2006-12-07  Wim Taymans  <wim@fluendo.com>
10895
10896         Patch by: René Stadler <mail at renestadler dot de>
10897
10898         * gst/gstclock.c: (gst_clock_id_wait):
10899         Make period ids add the interval to the origial requested time instead
10900         of the possibly updated time which can be wrong when there are multiple
10901         waiters for the same id. Fixes #382592.
10902
10903         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10904         (gst_system_clock_id_wait_jitter_unlocked),
10905         (gst_system_clock_id_wait_jitter):
10906         Fix restart in the async notify thread when an async entry is added to
10907         the front of the list. Fixes #381492. 
10908
10909         * tests/check/gst/gstsystemclock.c: (store_callback),
10910         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10911         Added test for multiple async waits.
10912         Added test for async wait order.
10913
10914 2006-12-07  Wim Taymans  <wim@fluendo.com>
10915
10916         * gst/gstbin.c: (gst_bin_query):
10917         Add some more docs about the POSITION query.
10918
10919 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
10920
10921         * configure.ac:
10922         Bump version nano - back to CVS.
10923
10924 === release 0.10.11 ===
10925
10926 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
10927
10928         * configure.ac:
10929           releasing 0.10.11, "Love never runs on time"
10930
10931 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
10932
10933         * win32/common/libgstbase.def:
10934         * win32/common/libgstreamer.def:
10935         * win32/vs8/libgstbase.vcproj:
10936         * win32/vs8/libgstcoreelements.vcproj:
10937         * win32/vs8/libgstreamer.vcproj:
10938         Fix compilation on win32 under VS8
10939         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10940         Partially fixes #381175
10941
10942 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10943
10944         * gst/gstvalue.c: (gst_value_compare_fraction):
10945         If someone is foolish enough to compare 2 fractions with denominator =
10946         0, return UNORDERED rather than aborting.
10947
10948 2006-11-28  Edward Hervey  <edward@fluendo.com>
10949
10950         * libs/gst/base/Makefile.am:
10951         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10952         (gst_data_queue_base_init), (gst_data_queue_class_init),
10953         (gst_data_queue_init), (gst_data_queue_new),
10954         (gst_data_queue_cleanup), (gst_data_queue_finalize),
10955         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10956         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10957         (gst_data_queue_is_empty), (gst_data_queue_is_full),
10958         (gst_data_queue_set_flushing), (gst_data_queue_push),
10959         (gst_data_queue_pop), (gst_data_queue_drop_head),
10960         (gst_data_queue_set_property), (gst_data_queue_get_property):
10961         * libs/gst/base/gstdataqueue.h:
10962         New GstDataQueue object for threadsafe queueing. Most useful for
10963         elements that need some queueing functionnality.
10964         * docs/libs/gstreamer-libs-docs.sgml:
10965         * docs/libs/gstreamer-libs-sections.txt:
10966         Insert documentation for GstDataQueue
10967         * plugins/elements/Makefile.am:
10968         * plugins/elements/gstelements.c:
10969         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10970         (gst_multi_queue_class_init), (gst_multi_queue_init),
10971         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10972         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10973         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10974         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10975         (gst_multi_queue_loop), (gst_multi_queue_chain),
10976         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10977         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10978         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10979         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10980         (wake_up_next_non_linked), (compute_next_non_linked),
10981         (single_queue_overrun_cb), (single_queue_underrun_cb),
10982         (single_queue_check_full), (gst_single_queue_new):
10983         * plugins/elements/gstmultiqueue.h:
10984         New multiqueue element, using GstDataQueue. Used for queuing multiple
10985         streams.
10986         Closes #344639 and #347785
10987
10988 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
10989
10990         * docs/pwg/advanced-types.xml:
10991           add more missing type details
10992
10993         * tools/gst-run.c: (main):
10994           remove unused variable
10995
10996 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
10997
10998         * docs/libs/Makefile.am:
10999         * docs/libs/gstreamer-libs.types:
11000           add types of base classes to enable gobject specific stuff in the docs
11001
11002         * docs/random/ensonic/embedded.txt:
11003           more ideas about isolating platform specific things
11004
11005 2006-11-20  Wim Taymans  <wim@fluendo.com>
11006
11007         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11008
11009         * libs/gst/check/gstcheck.h:
11010         Fix compilation and running against 0.9.4. Fixes #377332.
11011
11012 2006-11-20  Wim Taymans  <wim@fluendo.com>
11013
11014         * gst/gstsegment.c: (gst_segment_set_seek),
11015         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11016         (gst_segment_to_running_time):
11017         Fix boundary checking in to_running_time() and to_stream_time().
11018         Fixes #377183.
11019
11020         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11021         stream and running time can now be calculated for the complete
11022         clipped segment.
11023
11024 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11025
11026         * gst/gstpad.c: (gst_pad_push_event):
11027           Can't access event structure after giving away ownership of
11028           the event.
11029
11030 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11031
11032         * docs/random/ensonic/embedded.txt:
11033         * docs/random/ensonic/profiling.txt:
11034         * docs/random/ensonic/receipies.txt:
11035           more thinking
11036
11037 2006-11-13  Wim Taymans  <wim@fluendo.com>
11038
11039         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11040
11041         * gst/gstpad.c:
11042         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11043
11044 2006-11-13  Wim Taymans  <wim@fluendo.com>
11045
11046         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11047
11048         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11049         Store new length in segment duration so we don't keep on calling the
11050         potentially expensize get_size() call. Fixes #370865.
11051
11052 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11053
11054         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11055
11056         * win32/common/libgstreamer.def:
11057           Add two missing symbols (#366492).
11058
11059 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11060
11061         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11062         (gst_adapter_take_buffer):
11063         Fix format string to use all its arguments.
11064         Remove useless >= check on a guint
11065
11066 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11067
11068         * tests/examples/adapter/.cvsignore:
11069         Ignore build file as commanded by the build-bot
11070
11071 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11072
11073         * tests/examples/adapter/Makefile.am:
11074         * tests/examples/adapter/adapter_test.c: (run_test_take),
11075         (run_test_take_buffer), (run_tests), (main):
11076
11077         Add new files from the previous commit
11078
11079 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11080
11081         * Makefile.am:
11082         * configure.ac:
11083         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11084         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11085         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11086         * libs/gst/base/gstadapter.h:
11087         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11088         (GST_START_TEST), (gst_adapter_suite):
11089         * tests/examples/Makefile.am:
11090         Do some optimisation work in GstAdapter to avoid copies in more cases.
11091         It could still do slightly better by merging buffers when
11092         gst_buffer_is_span_fast is true, but is already faster. 
11093
11094         Also, avoid traversing a single-linked list to append each incoming 
11095         buffer inside the adapter.
11096
11097         Add simple test app that times the adapter behaviour in different
11098         situations, and extend the unit test to check that bytes enter and
11099         exit the adapter in their original order.
11100
11101 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11102
11103         * docs/random/draft-missing-plugins.txt:
11104           Update: use element message instead of adding a new message
11105           type to the core; don't provide GStreamer API to initiate the
11106           plugin download, just provide API to compose the strings needed
11107           and let an external libgimmestuff handle the rest.
11108
11109 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11110
11111         * tools/gst-inspect.c: (print_element_properties_info):
11112         Print a string instead of 'unknown type' for GValueArray properties
11113
11114 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11115
11116         * docs/random/draft-missing-plugins.txt:
11117         More small fixes.
11118
11119 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11120
11121         * tests/examples/typefind/typefind.c: (type_found), (main):
11122           Make typefind element example work again (#371894); add a
11123           license header.
11124
11125 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11126
11127         * docs/random/draft-missing-plugins.txt:
11128           Commit initial draft about how to deal with missing plugins,
11129           needs work (API too).
11130
11131 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11132
11133         * docs/pwg/advanced-types.xml:
11134           documents the new caps elements (see #363118)
11135
11136 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11137
11138         * gst/gstplugin.c: (gst_plugin_load_file):
11139         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11140         (gst_file_src_map_region), (gst_file_src_start):
11141         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11142         (gst_file_index_commit):
11143           Use g_strerror() instead of strerror() - we want UTF-8.
11144
11145 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11146
11147         Patch by: Peter Kjellerstedt <pkj at axis com>
11148
11149         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11150           Another printf fix (#371493).
11151
11152 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11153
11154         * tests/check/gst/gsttag.c:
11155           relicence (okay with author=company)
11156
11157 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11158
11159         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11160         (gst_pad_push_event):
11161           Enhance debug and improve docs
11162         
11163         * gst/gsturi.c:
11164           Fix docs
11165
11166 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11167
11168         * docs/random/ensonic/distributed.txt:
11169         * docs/random/ensonic/profiling.txt:
11170           more ideas
11171
11172 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11173
11174         * docs/gst/gstreamer-sections.txt:
11175           add new API and fix the build
11176           
11177         * gst/gstbin.c: (gst_bin_recalc_state):
11178         * gst/gstelement.c: (gst_element_message_full),
11179         (gst_element_get_state_func), (gst_element_set_state_func):
11180           use new API and improve logging
11181         
11182         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11183         * gst/gstutils.h:
11184           API: add function to get StateChangereturn names to improve logs 
11185
11186 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11187
11188         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11189           I'm considering shooting the next person to put strerror stuff
11190           in the translateable part of the message.
11191
11192 2006-11-03  Wim Taymans  <wim@fluendo.com>
11193
11194         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11195         Get the type and printf conversion specifiers right.
11196
11197 2006-11-03  Wim Taymans  <wim@fluendo.com>
11198
11199         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11200
11201         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11202         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11203         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11204         Some small cleanups. Improve debugging.
11205         * gst/gstpad.h:
11206         Signal all waiting threads with a broadcast instead of just one.
11207         Fixes #369942.
11208
11209 2006-11-03  Wim Taymans  <wim@fluendo.com>
11210
11211         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11212         (gst_fd_src_create):
11213         Add some debugging. 
11214         Only update fd when it's different from the old.
11215
11216 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11217
11218         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11219           Printf fixes for PPC/OSX, take two (#369366).
11220
11221 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11222
11223         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11224
11225         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11226         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11227         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11228           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11229           don't cast to long long for portability reasons, but use
11230           GLib's types instead.
11231
11232 2006-10-30  Michael Smith  <msmith@fluendo.com>
11233
11234         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11235           Get the arguments to lseek() the right way around.
11236           Fixes 367677.
11237
11238 2006-10-30  Wim Taymans  <wim@fluendo.com>
11239
11240         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11241
11242         * gst/gstinfo.h:
11243         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11244
11245 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11246
11247         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11248
11249         * docs/design/part-MT-refcounting.txt:
11250         * docs/random/wtay/capsnego2-docs:
11251         * gst/gstclock.c:
11252         * gst/gstxml.c:
11253           Typo fixes (#366212).
11254
11255 2006-10-28  Wim Taymans  <wim@fluendo.com>
11256
11257         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11258
11259         * gst/gst.c:
11260         * win32/common/libgstbase.def:
11261         * win32/common/libgstreamer.def:
11262         * win32/vs8/libgstbase.vcproj:
11263         * win32/vs8/libgstcontroller.vcproj:
11264         Add needed entries in .def files.
11265         Use HAVE_UNISTD_H.
11266         Rearrange def files in vs8 solutions. Fixes #366286.
11267
11268 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11269
11270         * win32/common/gstconfig.h:
11271           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11272           hand-made win32 gstconfig.h. Fixes #366321.
11273
11274 2006-10-27  Wim Taymans  <wim@fluendo.com>
11275
11276         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11277         (gst_ghost_pad_new_full):
11278         Make acceptcaps return TRUE when we don't have a target, just like
11279         setcaps does.
11280
11281 2006-10-27  Wim Taymans  <wim@fluendo.com>
11282
11283         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11284         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11285
11286 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11287
11288         * gst/gststructure.c: (gst_structure_id_set_value):
11289           If someone tries to set a non-UTF8 string field on a structure,
11290           don't just print a warning, but also ignore the request and do
11291           not change/add that field to the structure.
11292
11293         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11294           Test for the above.
11295
11296 2006-10-25  David Schleef  <ds@schleef.org>
11297
11298         * gst/gstinfo.c:
11299           g_hash_table_insert() needs a cast to a non-const pointer duh.
11300
11301 2006-10-25  David Schleef  <ds@schleef.org>
11302
11303         * gst/gstinfo.c:
11304         * gst/gstinfo.h:
11305           Change name parameter of _gst_debug_register_funcptr to const
11306           to reflect the constness of its use in the function as well
11307           as to quiet a gcc warning.
11308
11309 2006-10-25  Edward Hervey  <edward@fluendo.com>
11310
11311         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11312         Don't push the buffer if it's empty.
11313         Closes #363095
11314
11315 2006-10-24  Wim Taymans  <wim@fluendo.com>
11316
11317         * gst/gstevent.h:
11318         Add small comment.
11319
11320         * libs/gst/base/gstbasetransform.c:
11321         (gst_base_transform_sink_eventfunc):
11322         Debug segment values *after* updating them as this is more
11323         interesting.
11324
11325 2006-10-23  Wim Taymans  <wim@fluendo.com>
11326
11327         * docs/design/part-events.txt:
11328         Update some docs.
11329
11330         * docs/design/part-block.txt:
11331         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11332         (gst_pad_push_event):
11333         Revert BLOCKING patch, it tries to be smart without really having a
11334         clear idea what or how. So, now we discard all FLUSHING events again on
11335         a blocking pad. Should fix gnonlin again.
11336
11337 2006-10-23  Wim Taymans  <wim@fluendo.com>
11338
11339         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11340
11341         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11342         (gst_base_src_start), (gst_base_src_activate_push):
11343         Make sure size is always initialized. Fixes #364388.
11344
11345 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11346
11347         * docs/random/ensonic/distributed.txt:
11348           add some ideas about doing distributed processing
11349
11350         * docs/random/ensonic/profiling.txt:
11351           get_rusage look promising
11352
11353 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11354
11355         * docs/manual/basics-helloworld.xml:
11356           Add a cast in example to fix compile warning
11357
11358 2006-10-18  Wim Taymans  <wim@fluendo.com>
11359
11360         * gst/gstsegment.c: (gst_segment_set_last_stop),
11361         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11362         Relax arg checking again, -1 is allowed.
11363
11364 2006-10-18  Wim Taymans  <wim@fluendo.com>
11365
11366         * gst/gstsegment.c: (gst_segment_set_last_stop),
11367         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11368         _set_last_stop() must be with a value != -1
11369         A _TYPE_SET to -1 means seek to 0.
11370         Calc last_stop correctly for negative rates.
11371         Make sure we work with positive durations when updating a segment.
11372
11373 2006-10-18  Wim Taymans  <wim@fluendo.com>
11374
11375         * docs/design/part-live-source.txt:
11376         * gst/gstclock.h:
11377         Small docs fixes.
11378
11379 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11380
11381         * gst/gstbuffer.h:
11382           Add an explicit cast to GstBuffer** to keep old code that added an
11383           explicit cast to GstMiniObject** for gst_mini_object_replace()
11384           compiling without warning.
11385
11386 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11387
11388         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11389           check for validity of dates
11390
11391 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11392
11393         * docs/gst/gstreamer-sections.txt:
11394           Forgot this one, makes gtk-doc shut up.
11395
11396 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11397
11398         Patch by: Peter Kjellerstedt <pkj at axis com>
11399
11400         * gst/gstobject.h:
11401           Don't define xmlNodePtr to gpointer if the core was built with
11402           --disable-loadsave and --disable-registry, this will break
11403           applications that want to use libxml2 but are buildling against a
11404           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11405           instead so we don't have to mess with the libxml2 namespace
11406           (#361675).
11407
11408 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11409
11410         * gst/gstbuffer.h:
11411           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11412           type-punned pointer warnings.
11413
11414 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11415
11416         * gst/gstelement.h:
11417           Add casts to the correct return type to state <=> state transition
11418           macros.
11419
11420 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11421
11422         * docs/design/part-live-source.txt:
11423           describe howto handle latency
11424         
11425         * docs/random/ensonic/profiling.txt:
11426           more ideas
11427
11428         * tools/gst-plot-timeline.py:
11429           fix log parsing for solaris, remove unused function
11430
11431 2006-10-16  Wim Taymans  <wim@fluendo.com>
11432
11433         * docs/design/part-trickmodes.txt:
11434         * gst/gstevent.c:
11435         Update some docs regarding reverse playback.
11436
11437 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11438
11439         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11440
11441         * win32/vs8/grammar.vcproj:
11442           Error out with a warning if glib-genmarshal.exe is not in path,
11443           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11444
11445 2006-10-13  Wim Taymans  <wim@fluendo.com>
11446
11447         * gst/gstsegment.c: (gst_segment_set_seek):
11448         When seeking to stop -1, set last_stop (current position) to the
11449         duration of the segment.
11450
11451 2006-10-13  Wim Taymans  <wim@fluendo.com>
11452
11453         * gst/gstelement.h:
11454         Clarify _NO_PREROLL a bit more.
11455
11456         * gst/gstevent.c:
11457         Fix docs.
11458
11459         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11460         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11461         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11462         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11463         due to wrong locking order. Fixes #361769.
11464         Remove some redundant/misplaced checks in pad_block.
11465
11466         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11467         For negative rates, count backwards from the duration.
11468
11469 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11470
11471         * gst/gsterror.c: (_gst_library_errors_init):
11472           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11473           up with something better).
11474
11475 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11476
11477         * win32/vs6/libgstreamer.dsp:
11478         * win32/vs7/libgstreamer.vcproj:
11479         * win32/vs8/libgstreamer.vcproj:
11480           Don't reference glib-compat.c which is currently not used and not
11481           disted; add gstquark.c which was recently added. Fixes #361730.
11482
11483 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11484
11485         * win32/common/libgstbase.def:
11486         * win32/common/libgstcontroller.def:
11487         * win32/common/libgstreamer.def:
11488           Add gst_caps_merge() and a bunch of other recently-added functions.
11489           Fixes #361732.
11490
11491 2006-10-11  Wim Taymans  <wim@fluendo.com>
11492
11493         * docs/plugins/gstreamer-plugins.args:
11494         * docs/plugins/inspect/plugin-coreelements.xml:
11495         * docs/plugins/inspect/plugin-coreindexers.xml:
11496         Update element args.
11497
11498         * gst/gstsystemclock.c:
11499         Small comment update.
11500
11501         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11502         (gst_tee_request_new_pad), (gst_tee_release_pad),
11503         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11504         (gst_tee_sink_activate_pull):
11505         * plugins/elements/gsttee.h:
11506         Some tee loving:
11507         Add default property defines.
11508         Implement release pad function.
11509         Give properties better blubs etc.
11510         Activate pads before adding them to a running tee.
11511         Do simple buffer_alloc on the first requested pad.
11512         Post error when activation fails.
11513
11514 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11515
11516         * gst/gst.c: (ensure_current_registry_forking):
11517           Check return value of write() to make compiler happy.
11518
11519 2006-10-11  Wim Taymans  <wim@fluendo.com>
11520
11521         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11522
11523         * plugins/elements/gstqueue.c: (gst_queue_chain):
11524         Recheck queue filledness after signalling the overrun when we're about
11525         to leak downstream because we released the lock when emitting the signal
11526         and the queue could be empty again. Fixes #352345.
11527
11528 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11529
11530         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11531           Fix refcounting here too, just like we did for _new_valist() a few
11532           days ago (#357180) (thanks to René Stadler). Also remove all those
11533           'Since: 0.9' from the gtk-doc blobs.
11534
11535         * tests/check/libs/controller.c: (controller_refcount_new_list),
11536         (gst_controller_suite):
11537           Unit test for the above.
11538
11539 2006-10-10  Wim Taymans  <wim@fluendo.com>
11540
11541         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11542
11543         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11544         (gst_pad_save_thyself):
11545         Update some docs.
11546         Write pad direction in XML output. Fixes #345496.
11547
11548 2006-10-10  Wim Taymans  <wim@fluendo.com>
11549
11550         Patch by: René Stadler <mail at renestadler dot de>
11551
11552         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11553         (gst_controller_new_list), (_gst_controller_dispose),
11554         (_gst_controller_finalize), (_gst_controller_class_init):
11555         Take ref to controlled object so that it cannot disappear. 
11556         Fixes #357432.
11557
11558 2006-10-10  Wim Taymans  <wim@fluendo.com>
11559
11560         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11561         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11562         (gst_check_teardown_sink_pad):
11563         Activate/deactivate pads in setup/teardown respectively.
11564
11565 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11566
11567         Patch by: Josep Torra Valles <josep@fluendo.com>
11568
11569         * gst/Makefile.am:
11570         Cast values when making gstenumtypes.h.  This pacifies Forte
11571         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11572         in the enumeration.
11573
11574 2006-10-09  Wim Taymans  <wim@fluendo.com>
11575
11576         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11577         Rename some more @cur to @start to fix docs. 
11578
11579         * gst/gstsegment.c: (gst_segment_set_seek):
11580         Fix typo.
11581         time and start must always stay in sync as defined in design doc.
11582
11583         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11584         Rename param to fix docs.
11585
11586         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11587         Check that start and time are in sync.
11588
11589         * tests/check/pipelines/parse-launch.c:
11590         (gst_parse_test_element_change_state):
11591         Activate pad before adding to the element.
11592
11593 2006-10-09  Wim Taymans  <wim@fluendo.com>
11594
11595         * docs/design/part-qos.txt:
11596         Fix typo.
11597
11598         * gst/gstevent.c:
11599         * gst/gstevent.h:
11600         Update seek event docs regarding negative rates.
11601         Rename @cur to @start. 
11602
11603         * gst/gstsegment.c: (gst_segment_set_seek):
11604         * gst/gstsegment.h:
11605         Update set_seek docs regarding negative rates.
11606         Correctly update last_stop to @stop when dealing with negative
11607         rates.
11608         Rename @cur to @start. 
11609
11610         * tests/check/gst/gstpad.c: (GST_START_TEST):
11611         Activate pads before trying to use them.
11612
11613         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11614         (gst_segment_suite):
11615         Add simple check for segments and negative rates.
11616
11617 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11618
11619         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11620         * gst/gsttaglist.h:
11621         * docs/gst/gstreamer-sections.txt:
11622           API: add gst_tag_list_is_empty() (#360467).
11623
11624         * tests/check/gst/gsttag.c: (GST_START_TEST):
11625           And a test case.
11626
11627 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11628
11629         * gst/gstmessage.h:
11630         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11631         a value that doesn't fit on enumeration.
11632
11633 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11634
11635         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11636         Remove local debugging system and use Gstreamer's instead.
11637
11638 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11639
11640         Patch by: Josep Torra Valles <josep@fluendo.com>
11641
11642         * common/m4/gst-error.m4:
11643         Disable warning of statement not reached on Forte.
11644         * gst/gstmessage.h:
11645         Fix warning on Forte (value doesn't fit on enumeration).
11646         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11647         Fix warning on Forte (value doesn't fit on enumeration).
11648         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11649         DEBUG macro says it takes minimum of 2 args and so Forte
11650         complains about the use with just 1 arg.
11651         * plugins/elements/gstfdsink.c:
11652         * plugins/elements/gstfdsrc.c:
11653         * plugins/elements/gstfilesink.c:
11654         * plugins/elements/gstfilesrc.c:
11655         Use correct return type for the uri handler implementations.
11656
11657         All these fix warnings in Forte.  Fixes bug #360860.
11658
11659 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11660
11661         * gst/gstelement.h:
11662           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11663           format string, so don't use G_GNUC_PRINTF for those versions.
11664
11665 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11666
11667         * gst/gsttaglist.c: (gst_is_tag_list):
11668         * gst/gsttaglist.h:
11669           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11670
11671         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11672           Small test for the above.
11673
11674 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11675
11676         * gst/gsttaglist.h:
11677           Less tabs, more spaces.
11678
11679 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11680
11681         * gst/gstinfo.h:
11682           Those two function declarations do actually belong there, revert
11683           commit from yesterday that turned them intro macros.
11684
11685 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11686
11687         Patch by: Josep Torra Valles <josep@fluendo.com>
11688
11689         * gst/gst.c: (gst_init_get_option_group):
11690         Fix empty declaration and type mismatch.
11691         * gst/gstbin.c: (gst_bin_change_state_func):
11692         Fix type mismatch.
11693         * gst/gstelement.c: (gst_element_continue_state),
11694         (gst_element_set_state_func), (gst_element_change_state),
11695         (gst_element_change_state_func):
11696         Fix type mismatches.
11697         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11698         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11699         Cast as appropriate.
11700         * gst/gstobject.c: (gst_class_signal_connect):
11701         Cast as appropriate.  The function pointer parameter really
11702         has the wrong type but would break API if we change it.
11703         * gst/gstquery.c:
11704         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11705         order of including string.h.
11706         * gst/gstutils.c: (gst_element_state_get_name):
11707         Remove unreachable line.
11708         * gst/gstxml.c: (gst_xml_parse_doc):
11709         Fix type mismatch.
11710         All these caught by Forte.
11711
11712 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11713
11714         Patch by: Josep Torra Valles <josep@fluendo.com>
11715
11716         * common/m4/gst-error.m4:
11717         Fixed bug #360151.
11718         We need to disable warnings on Forte for empty declarations
11719         due to gst-indent adding ;s to lines that just use macros
11720         where the macro actually doesn't need a ; at end to end
11721         statement.
11722
11723 2006-10-06  Wim Taymans  <wim@fluendo.com>
11724
11725         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11726         (gst_file_sink_close_file), (gst_file_sink_event),
11727         (gst_file_sink_render):
11728         Add some FIXME for the NEWSEGMENT handling.
11729
11730 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11731
11732         * gst/parse/grammar.y:
11733         Remove static function gst_parse_element_lock as all it does
11734         is return.  Looks like cruft from 0.8.
11735
11736 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11737
11738         Patch by: Josep Torra Valles <josep@fluendo.com>
11739
11740         * common/m4/gst-error.m4:
11741         * configure.ac:
11742         * libs/gst/net/Makefile.am:
11743         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11744         libresolv.
11745
11746 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11747
11748         * gst/gstpad.c: (pre_activate):
11749         * gst/gstregistry.c: (gst_registry_scan_path_level):
11750         * gst/gstregistryxml.c: (load_plugin):
11751         * libs/gst/controller/gstcontroller.c:
11752         (gst_controlled_property_set_interpolation_mode):
11753         * libs/gst/dataprotocol/dataprotocol.c:
11754         (gst_dp_packet_from_event_1_0):
11755         * libs/gst/net/gstnetclientclock.c:
11756         (gst_net_client_clock_observe_times):
11757         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11758           Printf fixes.
11759
11760 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11761
11762         * configure.ac:
11763         * docs/gst/gstreamer-sections.txt:
11764         * gst/gstconfig.h.in:
11765         * gst/gstelement.h:
11766         * gst/gstinfo.h:
11767           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11768           whether we can use G_GNUC_PRINTF in other header files and at
11769           least check the printf format/arguments of debug messages and
11770           GST_ELEMENT_ERROR messages when the printf extension is not
11771           being used.
11772           Replace more tabs with spaces in gstinfo.h and remove two spurious
11773           function declarations in GST_DISABLE_DEBUG part with macros.
11774
11775 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
11776
11777         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11778           More docs for the sync-message signal (mention that it is not
11779           emitted by default); log message structures of messages posted on
11780           the bus as well.
11781
11782 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
11783
11784         * gst/gst.c: (ensure_current_registry_forking):
11785         Use a pipe pair to receive status results from the forked child, and
11786         ignore the result from waitpid. Fixes #355499
11787
11788 2006-10-02  Wim Taymans  <wim@fluendo.com>
11789
11790         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11791         (gst_ghost_pad_suite):
11792         Fix leak in check.
11793
11794 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11795
11796         * gst/gstpad.c:
11797           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11798
11799 2006-10-02  Edward Hervey  <edward@fluendo.com>
11800
11801         * docs/design/part-block.txt:
11802         Further explain the use of flushing on blocked pads.
11803         * docs/gst/gstreamer-sections.txt:
11804         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11805         (gst_pad_push_event):
11806         * gst/gstpad.h:
11807         Added new GstPadFlag : GST_PAD_BLOCKING.
11808         Adds the notion of pads really blocking, which enables to properly
11809         handle FLUSH_START/FLUSH_STOP events on blocked pads.
11810         Fixes #358999
11811         API: gst_pad_is_blocking()
11812         API: GST_PAD_IS_BLOCKING() macro
11813         API: GST_PAD_BLOCKING GstPadFlag
11814         
11815 2006-10-02  Wim Taymans  <wim@fluendo.com>
11816
11817         Patch by: mrcgran <mrc.gran at gmail dot com>
11818
11819         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11820         Filter the proxied caps against the padtemplate if we have one.
11821
11822         * gst/gstquery.c: (gst_query_new_segment):
11823         Add include for gstinfo.h so that compilation with
11824         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11825
11826 2006-10-02  Wim Taymans  <wim@fluendo.com>
11827
11828         Patch by: Alessandro Decina  <alessandro at nnva org>
11829
11830         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11831         (gst_file_sink_set_location), (gst_file_sink_open_file),
11832         (gst_file_sink_close_file), (gst_file_sink_event),
11833         (gst_file_sink_render):
11834         Set file to NULL when closing filesink so that we can set a new filename
11835         in READY. Fixes #358613.
11836
11837 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11838
11839         Patch by: Alessandro Decina  <alessandro at nnva org>
11840
11841         * gst/gstevent.c: (_gst_event_copy):
11842           Fix gst_mini_object_make_writable() and gst_event_copy() for events
11843           with event structures by setting the parent refcount address of the
11844           copied structure to the address of the refcount member of the newly
11845           copied event rather than the address of the refcount member of the
11846           original event. Fixes #358737.
11847
11848         * tests/check/gst/gstevent.c: (GST_START_TEST):
11849           Unit test for the above.
11850
11851 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
11852
11853         * docs/design/Makefile.am:
11854           Dist some more files.
11855
11856 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11857
11858         * tests/check/libs/controller.c: (GST_START_TEST),
11859         (gst_controller_suite):
11860           Add test for the previous fix; add some more tests
11861           for correct refcounting behaviour; fix a few leaks
11862           in test cases; call gst_controller_init() at start
11863           of all tests.
11864
11865 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11866
11867         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11868         (gst_controller_set_from_list):
11869           Don't g_return_val_if_fail() on timed values with invalid timestamps
11870           inside a critical section without unlocking the mutex. Spotted by
11871           René Stadler. (#357617)
11872           Also, fix up refcounting properly: when returning an existing
11873           controller, we should increase the reference only once and not
11874           once per property and when trying to control a property again
11875           we should also increase the refcount.
11876
11877 2006-09-29  Wim Taymans  <wim@fluendo.com>
11878
11879         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11880         * libs/gst/net/gstnettimeprovider.c:
11881         (gst_net_time_provider_thread):
11882         Stop reading commands when EOF as well.
11883
11884         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11885         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11886         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11887         Unify description of the dump property.
11888
11889 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11890
11891         * tests/examples/manual/.cvsignore:
11892         OK, so it's actually cvsignore that needs changing. Stop laughing.
11893
11894 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11895
11896         * tests/examples/manual/Makefile.am:
11897         Gah, declare vars *before* using them
11898
11899 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11900
11901         * gst/gst.c: (init_pre), (scan_and_update_registry),
11902         (ensure_current_registry_nonforking),
11903         (ensure_current_registry_forking), (ensure_current_registry),
11904         (init_post), (gst_debug_help), (gst_deinit):
11905         * gst/gst_private.h:
11906         * gst/gstregistry.c: (gst_registry_finalize),
11907         (gst_registry_remove_features_for_plugin_unlocked),
11908         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11909         (gst_registry_scan_path),
11910         (_priv_gst_registry_remove_cache_plugins),
11911         (_priv_gst_registry_cleanup):
11912         * gst/gstregistry.h:
11913         Re-commit the registry changes, along with an extra fix:
11914           When a cached plugin is encountered at a different file path,
11915           update the stored path in the registry cache so that the parent
11916           process knows where it actually is now when it re-reads the registry
11917           cache. Fixes the thing that broke distcheck with the previous commit.
11918
11919         * tests/check/Makefile.am:
11920         Clean up files named 'core' too when running make clean.
11921
11922         * tests/examples/manual/Makefile.am:
11923         Set up a registry path for running these tests, and clean it properly
11924         for distcheck.
11925
11926 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11927
11928         * configure.ac:
11929         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11930         want gmodule-no-export-2.0.pc instead so that we don't drag in
11931         --export-dynamic on every project that links to GStreamer.
11932
11933         Also, make our export regex only match the start of symbols, rather 
11934         than any symbol that contains '_gst' somewhere.
11935
11936         * libs/gst/check/Makefile.am:
11937         The libgstcheck we build does however need export-dynamic, as it
11938         produces some symbols that don't match our _gst... style regex.
11939         Fixes: #318031
11940
11941 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
11942
11943         * gst/gst.c: (init_pre), (scan_and_update_registry),
11944         (ensure_current_registry_nonforking),
11945         (ensure_current_registry_forking), (ensure_current_registry),
11946         (init_post), (gst_debug_help), (gst_deinit):
11947         * gst/gst_private.h:
11948         * gst/gstregistry.c: (gst_registry_finalize),
11949         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11950         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11951         (_gst_registry_cleanup):
11952         * gst/gstregistry.h:
11953           Revert previous change until I figure out why it breaks distcheck.
11954
11955 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
11956
11957         * gst/gst.c: (init_pre), (scan_and_update_registry),
11958         (ensure_current_registry_nonforking),
11959         (ensure_current_registry_forking), (ensure_current_registry),
11960         (init_post), (gst_debug_help), (gst_deinit):
11961
11962           Make init_pre and init_post take the full complement of GOptionFunc
11963           args so they can return useful GErrors. Make the registry updating
11964           functions do so.
11965
11966           Call _priv_gst_registry_remove_cache_plugins after scanning files to
11967           ensure that the registry we're about to write out doesn't contain
11968           stale information about old-deleted plugin files.
11969
11970           Make _priv_gst_registry_remove_cache_plugins return a boolean so
11971           that deletion of plugin files is considered a registry change.
11972
11973         * gst/gst_private.h:
11974         * gst/gstregistry.c: (gst_registry_finalize),
11975         (gst_registry_remove_features_for_plugin_unlocked),
11976         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11977         (gst_registry_scan_path),
11978         (_priv_gst_registry_remove_cache_plugins),
11979         (_priv_gst_registry_cleanup):
11980         * gst/gstregistry.h:
11981         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11982         by adding _priv prefix, so that they won't appear in the global
11983         symbol table. They still do atm though because of #318031. Move the
11984         prototypes to gst_private.h
11985
11986         When removing a plugin, remove all features for that plugin too. 
11987         Fixes #340878.
11988
11989 2006-09-27  Wim Taymans  <wim@fluendo.com>
11990
11991         * docs/random/moving-plugins:
11992         Make it clear that the "compiled-in descriptions" really mean
11993         the element details.
11994
11995         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11996         (gst_base_sink_wait_preroll):
11997         Update docs.
11998
11999         * docs/libs/gstreamer-libs-sections.txt:
12000         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12001         (gst_base_src_get_range), (gst_base_src_activate_push):
12002         * libs/gst/base/gstbasesrc.h:
12003         Added function to block while waiting for PLAYING, this function
12004         is used by live sources that block on the clock.
12005         API: gst_base_src_wait_playing()
12006
12007 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12008
12009         Patch by: Peter Kjellerstedt <pkj at axis com>
12010
12011         * Makefile.am:
12012           gst-element-check.m4 is generated and should therefore be
12013           copied from the build dir rather than the source dir (#357593).
12014           'make distcheck' hasn't noticed this because we were disting
12015           the file as well, so stop doing that.
12016
12017 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12018
12019         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12020           Add some tests for gst_caps_intersect().
12021
12022         * tools/gst-launch.c: (event_loop):
12023           Print all buffering percentages we get, even the 100% one.
12024
12025 2006-09-26  Wim Taymans  <wim@fluendo.com>
12026
12027         * tools/gst-inspect.c: (print_element_properties_info),
12028         (print_signal_info):
12029         Fix printing of flags to match the look of enums.
12030
12031 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12032
12033         * gst/gstelementfactory.c:
12034           Fix typo in docs blurb.
12035
12036 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12037
12038         * gst/gsturi.c: (search_by_entry):
12039           Don't assert/crash here if a uri handler doesn't return any
12040           supported protocols. The list of protocols could be generated
12041           dynamically at runtime or at plugin registration, and an error
12042           in the underlying library shouldn't be fatal (#353301).
12043
12044 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12045
12046         * gst/gstinfo.c:
12047           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12048           (spotted by Peter Kjellerstedt).
12049
12050 2006-09-23  Wim Taymans  <wim@fluendo.com>
12051
12052         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12053
12054         * libs/gst/base/gstbasesrc.c:
12055         (gst_base_src_default_check_get_range), (gst_base_src_start),
12056         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12057         (gst_base_src_change_state):
12058         Match _start/_stop calls in the activate functions. Remove redundant
12059         _stop call from the state change function. Fixes #356910.
12060         Turn failure DEBUG into ERROR. 
12061
12062 2006-09-22  Wim Taymans  <wim@fluendo.com>
12063
12064         * docs/design/part-buffering.txt:
12065         * gst/gstmessage.c: (gst_message_new_buffering),
12066         (gst_message_parse_buffering):
12067         Update docs about buffering.
12068
12069         * docs/design/part-trickmodes.txt:
12070         Fix typo.
12071
12072 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12073
12074         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12075         (gst_controller_new_list):
12076           Ref instances when returning them again (fixes #357180)
12077
12078 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12079
12080         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12081           Don't forget to release proxy lock when there's an error.
12082
12083 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12084
12085         * gst/gstcaps.h:
12086           Add extra initialisers for Caps things, to fix some plugin warnings
12087           when using -Wextra
12088
12089 2006-09-18  Wim Taymans  <wim@fluendo.com>
12090
12091         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12092           Also set template on the internal pad so that a getcaps from the 
12093           target pad returns the template caps.
12094
12095 2006-09-18  Wim Taymans  <wim@fluendo.com>
12096
12097         * gst/gstelement.c: (gst_element_post_message),
12098         (gst_element_dispose):
12099         Use _DEBUG_OBJECT some more.
12100
12101         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12102         Avoid typechecks.
12103
12104         * tools/gst-launch.c: (main):
12105         If the toplevel element is not a GstPipeline, it must be put in a
12106         pipeline so that a bus and clock is selected.
12107
12108 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12109
12110         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12111           JITTER, RATE, and LATENCY query should be handled by the
12112           default case and not by the CONVERT query code.
12113
12114 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12115
12116         * gst/gstformat.c: (gst_format_register):
12117           Fix locking order (must take lock before using n_values).
12118
12119         * gst/gstvalue.c: (gst_value_serialize_enum),
12120         (gst_value_deserialize_enum_iter_cmp),
12121         (gst_value_deserialize_enum):
12122           Fix serialisation/deserialisation of custom registered GstFormats.
12123
12124         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12125           Unit test for custom format serialisation/deserialisation.
12126
12127 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12128
12129         * docs/pwg/building-boiler.xml:
12130         * plugins/elements/gstcapsfilter.c:
12131         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12132         section.
12133
12134 2006-09-16  Edward Hervey  <edward@fluendo.com>
12135
12136         * libs/gst/base/gstbasetransform.c:
12137         (gst_base_transform_buffer_alloc):
12138         Check if requested caps are the same as the sinks caps IF
12139         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12140         is FALSE.
12141         This fixes the renegotiation issues stated in #352827.
12142
12143 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12144
12145         * configure.ac:
12146         * docs/manual/advanced-autoplugging.xml:
12147         * tests/examples/Makefile.am:
12148         * tests/examples/manual/.cvsignore:
12149         * tests/examples/manual/Makefile.am:
12150         * tests/examples/manual/extract.pl:
12151           Extract the manual examples again like we used to do.
12152           Fix one of them.
12153
12154 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12155
12156         * win32/common/config.h:
12157           update for version
12158
12159 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12160
12161         * gst/gsterror.c:
12162           Documents how to receive errors.
12163
12164 2006-09-15  Wim Taymans  <wim@fluendo.com>
12165
12166         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12167         (event_loop), (main):
12168         Added some comments here and there.
12169         Post an application message when an interrupt is caught instead of doing
12170         an uncontrolled state change.
12171         Clean up the event loop.
12172         Handle buffering messages, pause/resume the pipeline.
12173         Make shutdown because of an interrupt more reliable.
12174
12175 2006-09-15  Wim Taymans  <wim@fluendo.com>
12176
12177         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12178         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12179         (gst_base_sink_preroll_object):
12180         Make sure that our internal state is correct when we commit our state
12181         asynchronously. This solves a race where a state change to PLAYING
12182         could cause the sink to remain blocked in preroll in some situations.
12183
12184 2006-09-15  Wim Taymans  <wim@fluendo.com>
12185
12186         * tools/gst-inspect.c: (print_element_properties_info),
12187         (print_signal_info):
12188         List flags as hex so it's easier to deal with.
12189
12190 2006-09-15  Wim Taymans  <wim@fluendo.com>
12191
12192         * docs/libs/gstreamer-libs-sections.txt:
12193         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12194         (gst_base_sink_do_sync):
12195         * libs/gst/base/gstbasesink.h:
12196         Expose logic to wait for preroll so that subclasses such as audiosink
12197         can also use this method.
12198         API: gst_base_sink_wait_preroll()
12199
12200 2006-09-15  Wim Taymans  <wim@fluendo.com>
12201
12202         * gst/gstobject.c: (gst_object_set_parent):
12203         * gst/gstpipeline.c: (do_pipeline_seek):
12204         Small cleanups in docs and code.
12205
12206         * gst/gstsegment.c: (gst_segment_clip):
12207         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12208         if stop == start and start is in the segment, no clipping should be
12209         done. Also add a test for this.
12210
12211 2006-09-15  Wim Taymans  <wim@fluendo.com>
12212
12213         * docs/design/part-buffering.txt:
12214         * docs/gst/gstreamer-sections.txt:
12215         * gst/gstmessage.c: (gst_message_new_buffering),
12216         (gst_message_parse_buffering):
12217         * gst/gstmessage.h:
12218         Added methods to create and parse BUFFERING messages.
12219         Added preliminary docs about buffering.
12220         API: gst_message_new_buffering
12221         API: gst_message_parse_buffering
12222
12223 2006-09-06  Wim Taymans  <wim@fluendo.com>
12224
12225         * gst/gstbin.c:
12226         Update documentation.
12227
12228         * gst/gstelement.c: (gst_element_class_init),
12229         (gst_element_release_request_pad), (gst_element_set_clock),
12230         (gst_element_get_index), (gst_element_add_pad),
12231         (gst_element_remove_pad), (gst_element_get_random_pad),
12232         (gst_element_send_event), (gst_element_get_query_types),
12233         (gst_element_query), (gst_element_post_message),
12234         (gst_element_message_full), (gst_element_continue_state),
12235         (gst_element_lost_state), (gst_element_save_thyself),
12236         (gst_element_restore_thyself):
12237         Documentation updates.
12238         Rename last bit of the new-pad -> pad-added signal rename.
12239         Fix the case where an element query would only work if the source
12240         pad was linked.
12241         Avoid some useless type checking in message handling.
12242
12243         * gst/gstevent.c:
12244         * gst/gstevent.h:
12245         * gst/gstutils.c:
12246         Documentation updates.
12247
12248 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12249
12250         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12251           add an INFO line for when we actually update the fd
12252
12253 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12254
12255         * configure.ac:
12256           back to TRUNK
12257
12258 === release 0.10.10 ===
12259
12260 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12261
12262         * configure.ac:
12263           releasing 0.10.10, "Pais"
12264
12265 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12266
12267         * docs/manual/advanced-position.xml:
12268           Fix typo in sample code.
12269
12270 2006-09-05  Wim Taymans  <wim@fluendo.com>
12271
12272         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12273         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12274         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12275         * libs/gst/net/gstnetclientclock.h:
12276         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12277         * libs/gst/net/gstnettimepacket.h:
12278         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12279         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12280         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12281         * libs/gst/net/gstnettimeprovider.h:
12282         Make stuff compile on windows. Fixes #345295.
12283
12284 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12285
12286         * gst/gst.c: (ensure_current_registry_forking):
12287           Print better details when child was terminated by signal.
12288
12289 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12290
12291         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12292           Print a warning rather than g_assert() if a plugin feature
12293           is a URI handler but returns no protocols (#353976).
12294
12295 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12296
12297         * docs/random/moving-plugins:
12298         Fix two typos.         
12299
12300 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12301
12302         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12303           Fix locking order, handle NULL function values properly.
12304
12305         * gst/gstinfo.h:
12306           Fix docs.
12307
12308         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12309           Initialise variable before using it and fix debug statement to
12310           print the address of the function rather than the address of the
12311           variable on the stack holding the address of the function.
12312
12313 2006-09-01  Wim Taymans  <wim@fluendo.com>
12314
12315         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12316         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12317         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12318         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12319         (gst_ghost_pad_parent_unset),
12320         (gst_ghost_pad_internal_do_activate_push),
12321         (gst_ghost_pad_internal_do_activate_pull),
12322         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12323         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12324         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12325         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12326         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12327         (gst_ghost_pad_new_no_target_from_template),
12328         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12329         More cleanups.
12330         Avoid needless typechecking in macros.
12331         Since the internal pad is always present and never changes, there is
12332         no need to locking or ref when retrieving it.
12333         Improve debugging a bit.
12334         Handle link errors when setting the target. Fixes #341029.
12335
12336 2006-09-01  Wim Taymans  <wim@fluendo.com>
12337
12338         * docs/libs/gstreamer-libs-sections.txt:
12339         * docs/plugins/gstreamer-plugins-sections.txt:
12340         Fix docs some more.
12341
12342         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12343         (gst_collect_pads_event):
12344         * libs/gst/base/gstcollectpads.h:
12345         Documentation updates.
12346         Free queued buffer when removing a pad.
12347
12348 2006-08-31  Michael Smith  <msmith@fluendo.com>
12349
12350         * gst/gstutils.c: (gst_element_link_pads),
12351         (gst_element_link_pads_filtered):
12352           Ensure that we set a capsfilter to NULL if we failed to link it
12353           when doing filtered linking, to avoid criticals.
12354
12355           No need to check for unreffing srcpad, which is explicly NULLed
12356           above (a trivial code cleanup).
12357
12358 2006-08-31  Wim Taymans  <wim@fluendo.com>
12359
12360         * docs/design/part-gstghostpad.txt:
12361         Update ascii art in documentation.
12362
12363         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12364         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12365         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12366         (gst_ghost_pad_internal_do_activate_push),
12367         (gst_ghost_pad_internal_do_activate_pull),
12368         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12369         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12370         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12371         (gst_ghost_pad_set_target):
12372         Small cleanups and leak fixes.
12373         Remove some checks now that the internal pad is never NULL.
12374         Fix the case where linking pads without a target would create nasty
12375         criticals. Fixes #341029.
12376         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12377         value of _set_target().
12378
12379         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12380         (gst_ghost_pad_suite):
12381         Some more tests for creating and linking untargeted ghostpads.
12382
12383 2006-08-31  Edward Hervey  <edward@fluendo.com>
12384
12385         * docs/gst/gstreamer-sections.txt:
12386         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12387         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12388         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12389         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12390         (gst_ghost_pad_new_from_template),
12391         (gst_ghost_pad_new_no_target_from_template):
12392         * gst/gstghostpad.h:
12393         Refactored *_new() functions.
12394         Templates are now used as a g_object_new() parameter.
12395         Use template in _do_getcaps() if we don't have a target.
12396         Small documentation cleanups.
12397         Added two new constructors:
12398         gst_ghost_pad_new_from_template()
12399         gst_ghost_pad_new_no_target_from_template()
12400         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12401         (gst_ghost_pad_suite):
12402         Added tests for new ghostpad instanciation functions.
12403
12404         API additions: gst_ghost_pad_new_from_template,
12405         gst_ghost_pad_new_no_target_from_template
12406
12407 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12408
12409         * docs/random/ensonic/profiling.txt:
12410           Ideas about qos profiling.
12411
12412 2006-08-29  Wim Taymans  <wim@fluendo.com>
12413
12414         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12415         Code cleanups.
12416         Fix memleak.
12417
12418 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12419
12420         * gst/gstxml.c:
12421           Improve and detypofy docs.
12422
12423         * tests/check/Makefile.am:
12424         * tests/check/gst/.cvsignore:
12425         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12426           Add a basic test suite for GstXML.
12427
12428 2006-08-29  Wim Taymans  <wim@fluendo.com>
12429
12430         * gst/gstelement.c: (activate_pads), (clear_caps),
12431         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12432         Clear the pad caps when the element shut down all of the pads and
12433         is not streaming data that could modify the caps. 
12434         Fixes #352958.
12435
12436 2006-08-28  Michael Smith  <msmith@fluendo.com>
12437
12438         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12439           Revert previous change; I misunderstood single-segment mode.
12440
12441 2006-08-28  Michael Smith  <msmith@fluendo.com>
12442
12443         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12444           Unset DISCONT on buffers when using single-segment mode.
12445
12446 2006-08-28  Wim Taymans  <wim@fluendo.com>
12447
12448         * gst/gstcaps.c: (gst_caps_merge_structure):
12449         * gst/gstcaps.h:
12450         Fix docs and indentation again.
12451
12452         * tests/check/gst/gstquery.c: (GST_START_TEST):
12453         Fix leak in tests and add some more tests.
12454
12455 2006-08-28  Edward Hervey  <edward@fluendo.com>
12456
12457         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12458         Inform GstSegment of the last stop position in order for the current
12459         segment to have a proper duration if it doesn't have a specific stop
12460         position from which a duration could be calculated.
12461         This bug was noticeable when a non-flushing, non-update new segment was
12462         followed by another segment (all buffers from the new segment were being
12463         dropped).
12464
12465 2006-08-28  Wim Taymans  <wim@fluendo.com>
12466
12467         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12468         Small comment update.
12469
12470         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12471         (gst_identity_transform_ip):
12472         Drop-probability is broken, mention this in the code with a 
12473         FIXME and also in the property description.
12474         Make silent also be silent about the drop messages.
12475
12476 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12477
12478         * docs/manual/appendix-win32.xml:
12479           Remove mention of popt, we don't depend on that any
12480           longer (#353136). Add some comments pointing out that
12481           this section is slightly outdated.
12482
12483 2006-08-28  Wim Taymans  <wim@fluendo.com>
12484
12485         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12486
12487         * gst/gstquery.c: (gst_query_new_segment):
12488         * tests/check/gst/gstquery.c: (GST_START_TEST):
12489         Initialize variables when creating a new segment query.
12490         Fixes #353121.
12491
12492 2006-08-28  Wim Taymans  <wim@fluendo.com>
12493
12494         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12495
12496         * gst/gstelement.c: (gst_element_get_bus):
12497         * tests/check/gst/gstelement.c: (GST_START_TEST):
12498         Check for NULL before _reffing the bus. Fixes #353122.
12499
12500 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12501
12502         * docs/manual/basics-bus.xml:
12503           Docs update: fix wrong callback return value explanation; add
12504           some lines about the implicit relationship between main loop
12505           and main context; remove duplicate main loop variable declaration.
12506
12507 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12508
12509         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12510           Don't leak caps in unit test; add a few more simple
12511           checks. 
12512
12513 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12514
12515         * docs/gst/gstreamer-sections.txt:
12516         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12517         (gst_caps_structure_is_subset), (gst_caps_merge),
12518         (gst_caps_merge_structure):
12519         * gst/gstcaps.h:
12520         * libs/gst/base/gstbasetransform.c:
12521         (gst_base_transform_transform_caps):
12522         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12523           implement caps merging (fixes #352580)
12524
12525 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12526
12527         * tools/Makefile.am:
12528         * tools/gst-plot-timeline.py:
12529           add debug-log plotting developer tool (#340674)
12530
12531 2006-08-23  Wim Taymans  <wim@fluendo.com>
12532
12533         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12534         (gst_pad_stop_task):
12535         Improve debugging for task functions.
12536
12537         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12538         (gst_task_start), (gst_task_pause), (gst_task_join):
12539         Make sure that the task function started and finished after a 
12540         join(). 
12541         Don't try to push the task function on the threadpool multiple
12542         times.
12543         Improve the g_warning message with some useful suggestions
12544         about how to fix the problem. 
12545
12546 2006-08-23  Wim Taymans  <wim@fluendo.com>
12547
12548         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12549         Handle RESYNC correctly in _proxy_getcaps.
12550
12551 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12552
12553         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12554         (gst_xml_parse_memory), (gst_xml_get_element):
12555           Chain up to parent class in dispose function and also
12556           unref the elements in the toplevel_elements GList.
12557           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12558           Always return a reference in gst_xml_get_element() rather
12559           than only sometimes.
12560
12561         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12562           Don't leak GstXml object.
12563
12564 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12565
12566         * docs/gst/gstreamer-sections.txt:
12567         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12568         (gst_caps_merge):
12569         * gst/gstcaps.h:
12570         * libs/gst/base/gstbasetransform.c:
12571         (gst_base_transform_transform_caps):
12572           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12573           in a better way
12574
12575 2006-08-21  Edward Hervey  <edward@fluendo.com>
12576
12577         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12578         Implement GObject::dispose virtual method in GstXML so we can free the
12579         top_elements GList.
12580
12581 2006-08-21  Wim Taymans  <wim@fluendo.com>
12582
12583         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12584         (gst_buffer_create_sub):
12585         Copy duration/offset_end/caps when creating a subbuffer of the
12586         complete parent.
12587         Make the subbuffer read-only when we make the metadata writable for
12588         now. Fixes #351768.
12589
12590         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12591         Added check for metadata copy when creating subbuffers.
12592
12593 2006-08-21  Edward Hervey  <edward@fluendo.com>
12594
12595         * libs/gst/base/gstbasetransform.c:
12596         (gst_base_transform_buffer_alloc):
12597         Only call downstream buffer_alloc if transform element is passthrough
12598         or always_in_place. Closes #350449.
12599
12600 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12601
12602         * ChangeLog:
12603           ChangeLog surgery to add comments to previous changes
12604
12605 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12606
12607         * gst/gst.c:
12608           Add comments
12609
12610         * gst/gstpad.c: (gst_pad_set_active):
12611           Be more verbose in the log
12612
12613         * libs/gst/base/gstbasetransform.c:
12614         (gst_base_transform_transform_caps):
12615           Simplify caps to get rid of duplicates, fixes #345444
12616
12617 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12618
12619         * gst/gstvalue.c:
12620         * gst/gstvalue.h:
12621           Use these optimizations only internally.
12622
12623 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12624
12625         * gst/gstvalue.c: (gst_value_compare_list),
12626         (gst_value_compare_fraction_range),
12627         (gst_value_intersect_fraction_fraction_range),
12628         (gst_value_intersect_fraction_range_fraction_range),
12629         (gst_value_subtract_fraction_fraction_range),
12630         (gst_value_subtract_fraction_range_fraction_range),
12631         (gst_value_get_compare_func), (gst_value_compare),
12632         (gst_value_compare_with_func):
12633         * gst/gstvalue.h:
12634           Saves the expensive lookup of the compare function in many cases
12635          (#345444)
12636
12637 2006-08-18  Edward Hervey  <edward@fluendo.com>
12638
12639         * tests/check/gst/gstinfo.c: (gst_info_suite):
12640         Disable test that require gstdebug if it wasn't built in core.
12641
12642 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12643
12644         * docs/random/ensonic/logging.txt:
12645           update ideas
12646           
12647         * gst/gstinfo.c: (gst_debug_log_default):
12648           reorder fields, save some columns, add optional color codes for log
12649           levels
12650
12651 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12652
12653         * docs/random/ensonic/logging.txt:
12654           add ideas about making the logs a bit more useful
12655
12656 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12657
12658         * docs/pwg/advanced-events.xml:
12659         * docs/pwg/titlepage.xml:
12660           Update for 0.10 API (#340627). Add myself
12661           to authors list.
12662
12663 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12664
12665         * docs/libs/gstreamer-libs-docs.sgml:
12666         * docs/libs/gstreamer-libs-sections.txt:
12667         * libs/gst/check/gstbufferstraw.c:
12668           Make gstcheck stuff show up in docs (still needs to
12669           be documented properly though).
12670
12671 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12672
12673         * docs/gst/gstreamer-sections.txt:
12674         * gst/Makefile.am:
12675         * gst/gst.c: (init_post):
12676         * gst/gst_private.h:
12677         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12678         * gst/gstquark.h:
12679         * gst/gstquery.c: (gst_query_new_position),
12680         (gst_query_set_position), (gst_query_parse_position),
12681         (gst_query_new_duration), (gst_query_set_duration),
12682         (gst_query_parse_duration), (gst_query_new_convert),
12683         (gst_query_set_convert), (gst_query_parse_convert),
12684         (gst_query_new_segment), (gst_query_set_segment),
12685         (gst_query_parse_segment), (gst_query_new_seeking),
12686         (gst_query_set_seeking), (gst_query_parse_seeking):
12687         Add internal helpers for pre-registering quarks from static strings
12688         and using the quark values directly instead of looking them up when
12689         creating and parsing queries. Can be used for event construction too.
12690         Closes #350432.
12691
12692 2006-08-16  Wim Taymans  <wim@fluendo.com>
12693
12694         * gst/gstbin.c:
12695         Fix bogus docs.
12696
12697 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12698
12699         * gst/gstutils.c: (gst_util_set_value_from_string):
12700           Fix memleak (#351502).
12701
12702         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12703           Add unit test for most of gst_util_set_value_from_string()
12704           (not that one would want to encourage use of this function).
12705
12706 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12707
12708         * libs/gst/check/gstcheck.h:
12709           Use const gchar * variables in fail_unless_equals_string
12710           macro to avoid compiler warnings (and don't use tabs for
12711           indenting).
12712
12713 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12714
12715         * tools/gst-launch.c: (print_tag):
12716           More space on the left for the tag names, to cater
12717           for the 'extended comment' tag (not touching the
12718           string for the first line since it's translated).
12719
12720 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12721
12722         * libs/gst/check/gstcheck.h:
12723           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12724           print something when they fail.
12725
12726 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12727
12728         * docs/gst/gstreamer-sections.txt:
12729         * gst/gsttaglist.c: (_gst_tag_initialize):
12730         * gst/gsttaglist.h:
12731           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12732           Also change merge function for GST_TAG_COMMENT to
12733           use_first.
12734
12735 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12736
12737         * gst/gstinfo.c: (gst_debug_print_object):
12738           Make GST_PTR_FORMAT print messages as well.
12739
12740         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12741         (GST_START_TEST), (gst_info_suite):
12742           More tests.
12743
12744 2006-08-14  Edward Hervey  <edward@fluendo.com>
12745
12746         * gst/gstelementfactory.c: (gst_element_register):
12747         If the GstElementClass doesn't have a GstElementDetails with all fields
12748         filled up correctly (longname, description AND author), then error out
12749         nicely instead of crashing.
12750
12751 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12752
12753         * gst/gststructure.c:
12754           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12755
12756         * gst/gstvalue.h:
12757           Expand on the difference between arrays and lists as we use them.
12758           
12759 2006-08-14  Wim Taymans  <wim@fluendo.com>
12760
12761         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12762         If the parent state change function failed, don't assume we can safely
12763         stop the source, this will be done when the pads are deactivated.
12764
12765 2006-08-14  Wim Taymans  <wim@fluendo.com>
12766
12767         * gst/gstbuffer.c:
12768         * gst/gsttask.c: (gst_task_join):
12769         Small doc updates.
12770
12771         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12772         (gst_pad_stop_task):
12773         When pad (de)activation failed for some reason, restore the old
12774         activation mode and set the pad to flushing instead of assuming the
12775         pad is deactivated.
12776         If the _task_join() failed, reinstall the task on the pad so that it can
12777         be stopped later and return an error.
12778
12779 2006-08-11  Andy Wingo  <wingo@pobox.com>
12780
12781         * configure.ac:
12782         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12783         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12784         is only for users of API that don't want to see deprecated
12785         functions in the headers; people that want to compile out
12786         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12787         CFLAGS. Fixes the build of multifdsink, or will soon..
12788
12789 2006-08-11  Wim Taymans  <wim@fluendo.com>
12790
12791         * docs/gst/gstreamer-sections.txt:
12792         Add GstClockClass vmethod docs.
12793
12794         * gst/gstcaps.h:
12795         Mark #endif with comment for associated #if
12796
12797         * gst/gstclock.c: (gst_clock_id_wait):
12798         * gst/gstclock.h:
12799         Add vmethod wait_jitter to avoid an unneeded _get_time() for
12800         most clock implementations.
12801         Document vmethods.
12802         Flesh out docs about resolution methods.
12803         API: GstClockClass::wait_jitter
12804
12805         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12806         (gst_system_clock_async_thread),
12807         (gst_system_clock_id_wait_jitter_unlocked),
12808         (gst_system_clock_id_wait_jitter):
12809         Use base class wait_jitter variant for improved performance
12810         due to less clock polling.
12811
12812 2006-08-11  Edward Hervey  <edward@fluendo.com>
12813
12814         * gst/gst.c: (gst_init_check), (init_post):
12815         Set gst as being initialized before scanning/updating the registry,
12816         since there might be my python plugin loader that calls gst_init() and
12817         we don't want to loop back in.
12818         Closes #350879
12819
12820 2006-08-11  Wim Taymans  <wim@fluendo.com>
12821
12822         * docs/design/part-qos.txt:
12823         Bring docs in line with the code. Mostly the sign of the jitter was
12824         wrong in the docs. Fixes #349943.
12825
12826         * gst/gstclock.c:
12827         Fix the docs for the jitter.
12828
12829         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12830         (gst_event_parse_tag), (gst_event_new_buffer_size),
12831         (gst_event_parse_buffer_size), (gst_event_parse_qos),
12832         (gst_event_new_seek), (gst_event_parse_seek),
12833         (gst_event_new_navigation):
12834         Make sure the GstStructure has no parent when creating custom
12835         events.
12836         Add some more argument checking so that we avoid 0.0 rates.
12837         Flesh out the docs for the QoS event some more.
12838
12839 2006-08-11  Wim Taymans  <wim@fluendo.com>
12840
12841         * docs/gst/gstreamer-sections.txt:
12842         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12843         (ensure_current_registry_forking), (ensure_current_registry),
12844         (parse_one_option), (parse_goption_arg), (gst_deinit),
12845         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12846         * gst/gst.h:
12847         Doc updates.
12848         Added API and command line option to disable registry forking in
12849         addition to the environment variable.
12850         Constify some static arrays.
12851         Added some more debug.
12852         Don't deinit twice.
12853         API: gst_registry_fork_is_enabled()
12854         API: gst_registry_fork_set_enabled()
12855         API: --gst-disable-registry-fork command line option
12856         Fixes #348918.
12857
12858 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
12859
12860         * gst/gst.c: (gst_init):
12861           Fix typo in error message.
12862
12863 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
12864
12865         * libs/gst/controller/gstcontroller.h:
12866           fix ABI size-correction
12867
12868         * tests/check/libs/gdp.c: (gst_dp_suite):
12869           make tests that use deprecated API conditional
12870
12871 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
12872
12873         * docs/libs/gstreamer-libs-sections.txt:
12874         * libs/gst/controller/gstcontroller.c:
12875         (_gst_controller_get_property), (_gst_controller_set_property),
12876         (_gst_controller_init), (_gst_controller_class_init):
12877         * libs/gst/controller/gstcontroller.h:
12878         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12879         (gst_object_set_control_rate):
12880           API: add gst_object_{s,g}et_control_rate(), add private data section,
12881           fix docs
12882
12883         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12884         * libs/gst/dataprotocol/dataprotocol.h:
12885           add deprecation guards to make gtk-doc happy and allow disabling cruft
12886
12887 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
12888
12889         * tests/check/Makefile.am:
12890         * tests/check/gst/.cvsignore:
12891           Let's enable the new unit test as well.
12892
12893 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
12894
12895         * configure.ac:
12896         * docs/gst/gstreamer-sections.txt:
12897         * gst/gstconfig.h.in:
12898         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12899         (_gst_info_printf_extension_ptr),
12900         (_gst_info_printf_extension_segment):
12901           API: add GST_SEGMENT_FORMAT, which is a printf extension we
12902           register that lets us easily dump GstSegments into debug
12903           logs (#350419).
12904
12905         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12906         (info_segment_format_printf_extension), (gst_info_suite):
12907           Add simple unit test that logs a bunch of different segments (not
12908           valgrinded at the moment because of leaks in
12909           gst_debug_add_log_function).
12910
12911 2006-08-09  Edward Hervey  <edward@fluendo.com>
12912
12913         * libs/gst/base/gstbasetransform.c:
12914         (gst_base_transform_buffer_alloc):
12915         Even if we can't figure out the proper format to request downstream,
12916         call buffer_alloc() downstream with the input parameters without setting
12917         the caps on the srcpad. This will force negotiation in the chain
12918         function.
12919         Closes #350449
12920
12921 2006-08-08  Edward Hervey  <edward@fluendo.com>
12922
12923         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12924         Unlinking from a pad without a target is now a perfectly valid case
12925         which should NOT raise an assertion.
12926         This case would happen if a linked ghostpad its target set to NULL after
12927         it was previously linked.
12928
12929 2006-08-08  Edward Hervey  <edward@fluendo.com>
12930
12931         * tests/check/libs/gdp.c:
12932         Also comment out the test (see below).
12933
12934 2006-08-08  Edward Hervey  <edward@fluendo.com>
12935
12936         * tests/check/libs/gdp.c: (gst_dp_suite):
12937         Use the architecture information from config.h and not gcc macros
12938         in order to properly disable a test that fails on PPC64.
12939
12940 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
12941
12942         * gst/gstelement.c: (gst_element_remove_pad):
12943           Don't crash printing the warning if the pad has no parent.
12944
12945 2006-08-02  Wim Taymans  <wim@fluendo.com>
12946
12947         * libs/gst/dataprotocol/dataprotocol.c:
12948         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12949         (gst_dp_crc), (gst_dp_header_payload_length),
12950         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12951         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12952         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12953         (gst_dp_event_from_packet), (gst_dp_validate_header),
12954         (gst_dp_validate_payload):
12955         Make debug category static
12956         Constify the crc table.
12957         Do some more arg checking in public functions.
12958         Fix some docs and do some small cleanups.
12959
12960         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12961         Add some more checks to see if GDP deals with bogus input.
12962
12963 2006-07-31  Wim Taymans  <wim@fluendo.com>
12964
12965         * gst/gstvalue.c: (gst_value_compare_list):
12966         Fix GstValueList comparison code. Fixes #347293.
12967
12968         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12969         Check to test GstValueList comparison.
12970
12971 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
12972
12973         * gst/gstelementfactory.c: (gst_element_factory_create):
12974         Remove unnecessary ref/unref pair
12975
12976         * gst/parse/grammar.y:
12977         Make sure to free the parse buffer on all code paths.
12978         Move a g_free up to the error handler where it's easier to see.
12979
12980         * tests/check/gst/gstevent.c: (test_event):
12981         Extending timeout for downstream travelling events to 10 seconds to
12982         hopefully avoid intermittent failure on the buildbots.
12983
12984         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12985         Don't manually set the state of the src element - it will happen as a
12986         natural consequence of the pipeline changing state, and that way it
12987         will do it in the right order too.
12988
12989 2006-07-31  Wim Taymans  <wim@fluendo.com>
12990
12991         * libs/gst/base/gstbasetransform.c:
12992         (gst_base_transform_buffer_alloc):
12993         Use OBJECT_LOCK and refcounting to get the pad caps in the
12994         buffer_alloc function because the caps could change while we are
12995         busy with them. Fixes #349105
12996
12997 2006-07-31  Wim Taymans  <wim@fluendo.com>
12998
12999         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13000         Protect _PAD_CAPS with OBJECT_LOCK.
13001
13002 2006-07-31  Wim Taymans  <wim@fluendo.com>
13003
13004         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13005         (gst_pad_get_property), (gst_pad_activate_pull),
13006         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13007         (gst_pad_set_activate_function),
13008         (gst_pad_set_activatepull_function),
13009         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13010         (gst_pad_set_getrange_function),
13011         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13012         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13013         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13014         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13015         (gst_pad_set_acceptcaps_function),
13016         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13017         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13018         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13019         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13020         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13021         (gst_pad_configure_sink), (gst_pad_configure_src),
13022         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13023         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13024         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13025         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13026         (gst_pad_send_event):
13027         Use _DEBUG_OBJECT when it makes sense.
13028         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13029         Small cleanups and code reflows.
13030         Avoid caps refcounting in _accept_caps.
13031         Refactor alloc_buffer so that the code performed on the peer is in a
13032         separate function. Also if the pad does not implement a buffer alloc
13033         function, we should still check if the pad is flushing before falling
13034         back to the default allocator.
13035
13036 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13037
13038         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13039         Make all uses of identity and fakesink have silent=true to avoid
13040         serialising every passing data structure, which is breaking tests
13041         on FC4 for some unknown reason.
13042
13043 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13044
13045         * gst/parse/Makefile.am:
13046         * gst/parse/grammar.y:
13047         * gst/parse/parse.l:
13048           Reverted previous patch as it required to bump the flex dependency to
13049           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13050
13051 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13052
13053         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13054
13055         * gst/parse/Makefile.am:
13056         * gst/parse/grammar.y:
13057         * gst/parse/parse.l:
13058           push & pop the state of the lexer for reentrant use case
13059           Fixes #349180
13060
13061 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13062
13063         * libs/gst/base/gstbasesrc.h:
13064           Note in the docs that the ::newsegment vfunc is not actually used by
13065           GstBaseSrc.
13066
13067 2006-07-28  Wim Taymans  <wim@fluendo.com>
13068
13069         * libs/gst/base/gstcollectpads.c:
13070         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13071         (gst_collect_pads_clear), (gst_collect_pads_flush),
13072         (gst_collect_pads_event), (gst_collect_pads_chain):
13073         When flushing a pad, also clear the queued buffer so that we don't
13074         accidentally use it when we shouldn't.
13075         Fix leaks by inreffing incomming buffer.
13076         Flush out queued buffers in case of errors.
13077         Fixes #347452.
13078
13079 2006-07-28  Wim Taymans  <wim@fluendo.com>
13080
13081         * docs/random/phonon-gst:
13082         Random notes about a Phonon backend.
13083
13084 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13085
13086         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13087         Extra debug output
13088         * tests/check/libs/gdp.c: (gst_dp_suite):
13089         Take a whack at fixing the ppc compile using a different define to
13090         disable the broken test.
13091
13092         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13093         Remove excess g_print()
13094
13095 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13096
13097         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13098         Oops, meant to uncomment this line too to dampen the noise a bit.
13099
13100 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13101
13102         * gst/parse/grammar.y:
13103         * gst/parse/parse.l:
13104         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13105         (GST_START_TEST), (parse_suite):
13106         Fix some of the leaks exposed by extending the parse-launch testsuite,
13107         and move the 3 I can't figure out into a separate test that won't run
13108         the pipelines unless the appropriate line is uncommented.
13109
13110 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13111
13112         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13113           Requesting 0 bytes before the end of the file should result in
13114           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13115           unit test.
13116
13117 2006-07-27  Wim Taymans  <wim@fluendo.com>
13118
13119         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13120         Fix useless assert, a uint is always positive.
13121
13122         * gst/gststructure.c: (gst_structure_nth_field_name),
13123         (gst_structure_foreach), (gst_structure_map_in_place):
13124         Check input arguments for public functions to avoid obvious crashes.
13125
13126         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13127         * plugins/elements/gstfakesink.h:
13128         Do less useless typechecking.
13129
13130 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13131
13132         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13133           Do not use mmap() by default since there are a number of error
13134           conditions that we would like to handle in a non-fatal way that
13135           will result in a SIGBUS if we use mmap(). Examples: external
13136           devices (USB harddrive, portable music player) being unplugged
13137           while in use; file on mounted CD/DVD that can't be read because
13138           the medium is partly damaged. Fixes #348455 and #348475.
13139
13140 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13141
13142         * gst/gstquery.h:
13143         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13144         rates are a gdouble
13145
13146 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13147
13148         * gst/gstregistry.c:
13149           Move big documentation comment into class section header, so that it
13150           appears in the API docs.
13151
13152 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13153
13154         * docs/gst/gstreamer-sections.txt:
13155         Oops. Commit the docs additions too for new API.
13156         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13157
13158 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13159
13160         * gst/gststructure.c: (gst_structure_id_set),
13161         (gst_structure_id_set_valist):
13162         * gst/gststructure.h:
13163         Add API for setting values into structures without performing
13164         a quark lookup, if the appropriate quark is already known.
13165
13166         API: gst_structure_id_set
13167         API: gst_structure_id_set_valist
13168
13169         * gst/parse/grammar.y:
13170         * gst/parse/parse.l:
13171         Remove some dead code shown by the coverage information.
13172         Don't throw a critical g_warning when encountering a syntax error,
13173         just warn and let the normal error path handle it.
13174
13175         * plugins/elements/gstelements.c:
13176         Bump the rank of filesink up to PRIMARY so that it is preferred over
13177         gnomevfssink for file:// sink uri's
13178
13179         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13180         (GST_START_TEST), (run_delayed_test),
13181         (gst_parse_test_element_base_init),
13182         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13183         (gst_parse_test_element_change_state),
13184         (gst_register_parse_element), (parse_suite):
13185         Beef up the tests for parse syntax to check that more error cases
13186         fail as they are supposed to. Increases the test coverage a bit.
13187
13188 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13189
13190         * docs/manual/basics-elements.xml:
13191           Fix gst_element_link() example.
13192
13193         * gst/gstutils.c:
13194           Mention in API docs that one should usually gst_bin_add()
13195           elements to a bin or pipeline before doing the linking.
13196           
13197 2006-07-26  Wim Taymans  <wim@fluendo.com>
13198
13199         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13200         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13201         Avoid function call for known types by keeping the buffer and
13202         subbuffer GType global.
13203
13204         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13205         Random silly optimisations in read() path.
13206
13207 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13208
13209         * tools/gst-launch.c: (main):
13210           If the top-level of the parse is a normal bin, it doesn't do the
13211           right logic to run as a top-level element, so place it inside a
13212           pipeline.
13213
13214 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13215
13216         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13217           Remove superfluous g_object_notify() calls, GObject does
13218           that for us automatically.
13219
13220 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13221
13222         * gst/gstinfo.h:
13223           on Win32, use dllspec to export the debug category symbols
13224
13225 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13226
13227         * gst/gsttaglist.c: (_gst_tag_initialize):
13228           Allow more than one GST_TAG_IMAGE per taglist.
13229
13230 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13231
13232         * gst/gstminiobject.c:
13233           update docs
13234         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13235         (gst_fd_src_create):
13236           log recurring events at LOG level
13237           add more debug for when the fd gets set
13238
13239 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13240
13241         * gst/gstparse.c: (gst_parse_launch):
13242           Also remove reentrance checks if flex is MT safe (#348179)
13243          Fix my empty ChangeLog entry below
13244
13245 2006-07-21  Andy Wingo  <wingo@pobox.com>
13246
13247         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13248
13249         * libs/gst/check/Makefile.am
13250         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13251         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13252         * libs/gst/check/gstbufferstraw.h:
13253         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13254         functions, thus proving I am still a GStreamer haxor. OK I wrote
13255         them a long time ago, but anyways.
13256
13257 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13258
13259         * configure.ac:
13260         * gst/gstparse.c: (gst_parse_launch):
13261           Check for flex version and omit mutex if we have a MT save flex
13262           (fixes #348179)
13263
13264 2006-07-21  Wim Taymans  <wim@fluendo.com>
13265
13266         * gst/gstparse.c: (gst_parse_launch):
13267         Protect recursive calls to _parse with a recursive mutex
13268         and busy flag.
13269
13270 2006-07-21  Wim Taymans  <wim@fluendo.com>
13271
13272         * tests/check/gst/gstpad.c: (GST_START_TEST):
13273         Fix leak in test.
13274
13275 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13276
13277         * gst/gstparse.c: (gst_parse_launch):
13278           Do not hang on recursive usage of gst_parse_launch()
13279
13280 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13281
13282         * gst/gsttaglist.c:
13283           Add some more docs, comments and FIXME 0.11s here and there
13284           and also fix some typos.
13285
13286 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13287
13288         * gst/gstsegment.h:
13289           Convert tabs to spaces for better readability. 
13290
13291 2006-07-20  Edward Hervey  <edward@fluendo.com>
13292
13293         * tests/check/libs/gdp.c: (gst_dp_suite):
13294         the test_buffer test fails at line 140 on ppc64 at the following
13295         check:
13296         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13297                 GST_BUFFER_FLAG_IN_CAPS),
13298                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13299         See bug #348114 for more details.
13300
13301 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13302
13303         * docs/pwg/advanced-scheduling.xml:
13304         * gst/gstpad.c:
13305           Fix typos (#348000).
13306
13307 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13308
13309         * docs/pwg/intro-basics.xml:
13310           Fix wrong links (#347927).
13311
13312 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13313
13314         * gst/gstregistry.h:
13315         * gst/gstregistryxml.c: (load_feature),
13316         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13317         * win32/common/config.h:
13318           make --disable-index work (#342564)
13319
13320 2006-07-18  Wim Taymans  <wim@fluendo.com>
13321
13322         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13323
13324         * gst/Makefile.am:
13325         * gst/gsttrace.h:
13326         The attached patch adds two missing defines to gsttrace.h when tracing
13327         is disabled.  It also corrects one existing define.
13328         Fixes #347756.
13329
13330 2006-07-17  Wim Taymans  <wim@fluendo.com>
13331
13332         * docs/gst/gstreamer-sections.txt:
13333         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13334         * gst/gst.h:
13335         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13336         Add two functions to check and change the SIGSEGV behaviour
13337         when loading plugins.
13338         Don't mess with the SIGSEGV handler when we were told not to.
13339         Fixes #347794.
13340         API: gst_segtrap_is_enabled
13341         API: gst_segtrap_set_enabled
13342
13343 2006-07-14  Wim Taymans  <wim@fluendo.com>
13344
13345         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13346         * tests/check/elements/filesrc.c: (GST_START_TEST):
13347         Revert fix for regression in #347408 after release.
13348
13349 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13350
13351         Patch by: Antoine Tremblay <hexa00 at gmail com>
13352
13353         * gst/gstutils.c: (gst_element_unlink):
13354           Free iterator when done (#347311).
13355
13356         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13357           And add a test case for this.
13358
13359 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13360
13361         * configure.ac:
13362         Bump nano back to CVS
13363
13364 === release 0.10.9 ===
13365
13366 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13367
13368         * configure.ac:
13369           releasing 0.10.9, "On the road again"
13370
13371 2006-07-13  Wim Taymans  <wim@fluendo.com>
13372
13373         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13374         * tests/check/elements/filesrc.c: (GST_START_TEST):
13375         Revert pull-0 fix for release. Disable check. Fixes #347408.
13376
13377 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13378
13379         * libs/gst/dataprotocol/dataprotocol.c:
13380         (gst_dp_event_from_packet_1_0):
13381           Fixes #347337: failure to deserialize event packets with
13382           empty payload (only event type)
13383
13384 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13385
13386         * gst/Makefile.am:
13387           do not install a .c file in the header directory
13388
13389 2006-07-13  Edward Hervey  <edward@fluendo.com>
13390
13391         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13392         GhostPad no longer implicitely use the padtemplates of the targets.
13393         Fixes #347384
13394
13395 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13396
13397         * gst/gstvalue.c: (gst_value_compare_list),
13398         (gst_value_compare_array), (_gst_value_initialize):
13399         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13400         Make GstValueArray comparison be order dependent as designed.
13401         Add checks for value lists and value array comparisons.
13402         Fixes #347221
13403
13404 2006-07-11  Edward Hervey  <edward@fluendo.com>
13405
13406         * gst/gstbin.c: (activate_pads),
13407         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13408         (gst_bin_change_state_func):
13409         (de)activate src pads before calling state_change on the childs.
13410         This is to avoid the case where a src ghostpad is blocked (holding the
13411         stream lock), which would block the deactivation of the ghostpad's
13412         target pad.
13413         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13414         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13415         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13416         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13417         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13418         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13419         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13420         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13421         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13422         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13423         (gst_ghost_pad_class_init),
13424         (gst_ghost_pad_internal_do_activate_push),
13425         (gst_ghost_pad_internal_do_activate_pull),
13426         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13427         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13428         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13429         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13430         GhostPads now create their internal GstProxyPad at creation (and not
13431         when they're linked, as it was being done previously).
13432         The internal and target pads are linked straight away.
13433         The data will also travel through the other pad in order to make
13434         pad blocking and probes non-hackish (the probe/block now really happens
13435         on the GhostPad and not on the target).
13436         * gst/gstpad.c: (gst_pad_set_blocked_async),
13437         (gst_pad_link_prepare), (gst_pad_push_event):
13438         Remove previous ghostpad cruft.
13439         * gst/gstutils.c: (gst_pad_add_data_probe),
13440         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13441         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13442         (gst_pad_remove_buffer_probe):
13443         Remove previous ghost pad cruft.
13444         Added more detailed debug statements.
13445         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13446         Fix the testsuite for refcounting changes.
13447         The comments about who has references were correct, but the refcount
13448         being checked wasn't the same (!?!).
13449
13450         Fixes #341029
13451
13452 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13453
13454         * docs/gst/gstreamer-sections.txt:
13455         * gst/gstconfig.h.in:
13456         More docs for configuration options, add docs to gtk-doc.
13457
13458 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13459
13460         * gst/Makefile.am:
13461         * gst/gstconfig.h.in:
13462         * win32/common/config.h:
13463         Fix build when disabling tracing (fixes #344016). Also start to document
13464         the defines that disable the sub-systems.
13465
13466 2006-07-10  Edward Hervey  <edward@fluendo.com>
13467
13468         * gst/gst.c: (ensure_current_registry_forking):
13469         let's make valgrind happy...
13470
13471 2006-07-09  Wim Taymans  <wim@fluendo.com>
13472
13473         * gst/gstelement.c: (activate_pads),
13474         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13475         Better pad activation code: Reset the collect value too on resync.
13476         Add some comments.
13477
13478 2006-07-09  Wim Taymans  <wim@fluendo.com>
13479
13480         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13481         (gst_pad_activate_push):
13482         Use some more macros where it makes sense.
13483         Allow pad mode switching instead of asserting. When a pad
13484         is activated in one mode and we activate it in another, 
13485         deactivate it first before activating it in a different mode.
13486         Fixes #329198.
13487
13488 2006-07-08  Andy Wingo  <wingo@pobox.com>
13489
13490         * tools/gst-launch.c (main): Handle err == NULL.
13491
13492         * gst/gst.c (init_post, ensure_current_registry)
13493         (ensure_current_registry_forking)
13494         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13495         factoring out the registry scanning into separate functions. Don't
13496         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13497         Better environment var name/interface suggestions accepted.
13498
13499 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13500
13501         * gst/gstobject.c: (gst_object_set_name_default),
13502         (gst_object_set_name):
13503           Random micro-optimisation: don't use a hash table
13504           with strings as keys and the usual strdup/strcmp
13505           involved, but rather just use the GQuark of the
13506           type name as key, since it needs to be looked up
13507           anyway to get the type name string.
13508
13509         * tests/check/gst/gstobject.c: (GST_START_TEST):
13510           Fix various leaks.
13511
13512 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13513
13514         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13515         (gst_bin_iterate_all_by_interface):
13516           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13517           GTypes are gulongs and thus the top 4 bytes might be cut
13518           off on some platforms when doing GPOINTER_TO_INT, leading
13519           to invalid GTypes and bad things happening (see RH bug #179654).
13520           Also add a check to make sure the type passed in is really
13521           an interface type.
13522
13523 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13524
13525         * .cvsignore:
13526           Ignore more.
13527
13528 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13529
13530         * Makefile.am:
13531         * configure.ac:
13532         * gst-element-check.m4:
13533         * gst-element-check.m4.in:
13534           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13535           instead of the unversioned gst-inspect (#324176, #168659).
13536
13537 2006-07-06  Wim Taymans  <wim@fluendo.com>
13538
13539         * gst/gstmessage.h:
13540         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13541         warnings.
13542
13543 2006-07-06  Wim Taymans  <wim@fluendo.com>
13544
13545         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13546         (gst_base_src_wait), (gst_base_src_update_length),
13547         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13548         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13549         (gst_base_src_loop), (gst_base_src_start),
13550         (gst_base_src_activate_pull):
13551         Update docs.
13552         blocksize == 0 now means the default blocksize when working in push
13553         based mode.
13554         Remove some pointless asserts in _wait function.
13555         Fix offset/length calculations and EOS handling. We can now pull 0
13556         bytes as well, which is allowed.
13557         use _check_get_range() to decide if we can operate in _pull based
13558         mode.
13559         Fix refcounting leak when check_get_range function was not 
13560         implemented.
13561         API GstBaseSrc::blocksize range can be 0 too now (default)
13562
13563         * tests/check/elements/filesrc.c: (GST_START_TEST),
13564         (filesrc_suite):
13565         Added check to test _get_range() behaviour.
13566
13567 2006-07-06  Wim Taymans  <wim@fluendo.com>
13568
13569         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13570         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13571         (gst_pad_pull_range):
13572         * gst/gstpad.h:
13573         Lots of comments and docs added to the pad functions.
13574         Flesh out the expected behaviour of the get_range() functions.
13575
13576 2006-07-06  Wim Taymans  <wim@fluendo.com>
13577
13578         * gst/gstbus.h:
13579         * gst/gstclock.h:
13580         * gst/gstevent.h:
13581         * gst/gstiterator.h:
13582         * gst/gstpad.h:
13583         * gst/gstplugin.h:
13584         * gst/gsttask.h:
13585         Remove comma at end of enumerator list. 
13586
13587 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13588
13589         * win32/common/libgstbase.def:
13590         * win32/common/libgstdataprotocol.def:
13591         * win32/common/libsgtreamer.def:
13592         Add new exported functions.
13593
13594 2006-07-05  Wim Taymans  <wim@fluendo.com>
13595
13596         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13597         Add some more docs here and there.
13598
13599 2006-07-05  Wim Taymans  <wim@fluendo.com>
13600
13601         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13602         (gst_base_sink_loop), (gst_base_sink_get_position):
13603         When operating in pull mode update the offset so that we
13604         read sequentially.
13605
13606 2006-07-05  Wim Taymans  <wim@fluendo.com>
13607
13608         * gst/gstregistryxml.c: (read_string):
13609         Avoid strdup. (will happen in libxml, but hey!)
13610
13611         * gst/gsturi.c:
13612         Add some more docs.
13613
13614 2006-07-05  Wim Taymans  <wim@fluendo.com>
13615
13616         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13617         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13618         (gst_buffer_suite):
13619         No point in checking if the size of the subbuffer > 0, the
13620         code handles it correclty as demonstrated by unit test.
13621         Also add a unit test for the zero sized _new_and_alloc and
13622         _copy. Fixes #346663.
13623
13624 2006-07-05  Wim Taymans  <wim@fluendo.com>
13625
13626         * libs/gst/base/gstbasetransform.c:
13627         (gst_base_transform_prepare_output_buffer),
13628         (gst_base_transform_buffer_alloc),
13629         (gst_base_transform_handle_buffer):
13630         Make sure the buffer we pass to transform_ip has a refcount of
13631         1 and thus is writable. Fixes #343196
13632
13633 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13634
13635         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13636         (gst_file_src_init), (gst_file_src_set_property),
13637         (gst_file_src_get_property), (gst_file_src_map_region):
13638         * plugins/elements/gstfilesrc.h:
13639         Add "sequential" property, off by default, to use madvise and hint
13640         to the kernel that sequential access is desired.
13641         Touch all retrieved pages by default to ensure they are pulled
13642         into memory. (Closes #345720)
13643
13644 2006-07-03  Wim Taymans  <wim@fluendo.com>
13645
13646         * docs/design/part-block.txt:
13647         * docs/design/part-dynamic.txt:
13648         Small docs updates.
13649
13650 2006-07-03  Wim Taymans  <wim@fluendo.com>
13651
13652         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13653         (gst_caps_unref), (gst_static_caps_get),
13654         (gst_caps_append_structure):
13655         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13656         Use GSlice when the glib we build against is >= 2.10
13657
13658 2006-07-03  Wim Taymans  <wim@fluendo.com>
13659
13660         * gst/gstelement.c: (gst_element_pads_activate):
13661         Small cleanup in pad activation code.
13662
13663 2006-07-03  Wim Taymans  <wim@fluendo.com>
13664
13665         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13666
13667         * gst/gst-i18n-app.h:
13668         * gst/gst-i18n-lib.h:
13669         * tools/gst-inspect.c: (print_signal_info):
13670         The attached patch will make the inclusion of gettext.h unconditional in
13671         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13672         libintl.h in tools/gst-inspect.c.
13673         This allows use of --disable-nls again and fixes #344642.
13674
13675 2006-07-03  Edward Hervey  <edward@fluendo.com>
13676
13677         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13678         Implement pad blocking on events according to part-block.txt.
13679         More comments on behaviour.
13680         * tests/check/gst/gstevent.c: (test_event):
13681         Send event to peer pad of blocked pad (else it will block).
13682
13683 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13684
13685         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13686         (gst_check_run_suite):
13687           if we get the wrong message, give us the types as string
13688         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13689           Fix a translatable
13690         * tests/check/elements/filesrc.c: (GST_START_TEST):
13691           add a test for trying to open a non-existing file
13692
13693 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13694
13695         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13696           add a test for adding self
13697
13698 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13699
13700         * libs/gst/check/gstcheck.h:
13701           add some assert_ as alias for fail_unless_*
13702         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13703           increase test coverage
13704
13705 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13706
13707         * Makefile.am:
13708           include lcov.mak for lcov coverage generation
13709         * tools/Makefile.am:
13710           add to CLEANFILES
13711
13712 2006-07-02  Edward Hervey  <edward@fluendo.com>
13713
13714         * tests/check/elements/.cvsignore:
13715         moaping
13716
13717 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13718
13719         * configure.ac:
13720           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13721         * tests/check/Makefile.am:
13722           clean up gcov files
13723
13724 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13725
13726         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13727           remove gst_caps_simplify; it was not declared and not used
13728           and deprecated in 0.8
13729
13730 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13731
13732         * docs/faq/gst-uninstalled:
13733           don't put empty paths on PYTHONPATH
13734         * docs/gst/gstreamer-sections.txt:
13735           remove some symbols that are not there
13736
13737 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13738
13739         * gst/gstcaps.c: (gst_caps_compare_structures):
13740           whitespace fixes
13741         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13742         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13743           add more tests
13744
13745 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13746
13747         * libs/gst/dataprotocol/Makefile.am:
13748           build dataprotocol test by linking to the lib, instead of
13749           compiling the source, so we get coverage
13750         * tests/check/Makefile.am:
13751         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13752         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13753           add a test for filesrc
13754
13755 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13756
13757         * tests/check/gst/gststructure.c: (GST_START_TEST),
13758         (gst_structure_suite):
13759           Push coverage from 59.04% to 70.00%
13760
13761 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13762
13763         * tests/check/Makefile.am:
13764           gst-inspect every element; this makes sure that we also get
13765           coverage on element's get/set functions
13766
13767 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13768
13769         * configure.ac:
13770           set CFLAGS and friends to -O0 if gcov is being used
13771           add GCOV LIBS
13772         * gst/Makefile.am:
13773         * libs/gst/base/Makefile.am:
13774         * libs/gst/check/Makefile.am:
13775         * libs/gst/controller/Makefile.am:
13776         * libs/gst/dataprotocol/Makefile.am:
13777         * libs/gst/net/Makefile.am:
13778         * plugins/elements/Makefile.am:
13779         * plugins/indexers/Makefile.am:
13780           add makefile rules to generate gcov data and clean up
13781         * tests/check/Makefile.am:
13782           add a coverage target that generates an html overview
13783           of coverage data
13784
13785 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13786
13787         * tests/check/elements/fakesink.c:
13788         * tests/check/elements/fakesrc.c:
13789         * tests/check/elements/fdsrc.c:
13790         * tests/check/elements/identity.c:
13791         * tests/check/generic/sinks.c: (gst_sinks_suite):
13792         * tests/check/generic/states.c:
13793         * tests/check/gst/gst.c:
13794         * tests/check/gst/gstabi.c:
13795         * tests/check/gst/gstbin.c:
13796         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13797         * tests/check/gst/gstbus.c: (gst_bus_suite):
13798         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13799         * tests/check/gst/gstelement.c:
13800         * tests/check/gst/gstevent.c: (gst_event_suite):
13801         * tests/check/gst/gstghostpad.c:
13802         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13803         * tests/check/gst/gstmessage.c: (gst_message_suite):
13804         * tests/check/gst/gstminiobject.c:
13805         * tests/check/gst/gstobject.c:
13806         * tests/check/gst/gstpad.c:
13807         * tests/check/gst/gstpipeline.c:
13808         * tests/check/gst/gstplugin.c:
13809         * tests/check/gst/gstquery.c: (gst_query_suite):
13810         * tests/check/gst/gstsegment.c: (gst_segment_suite):
13811         * tests/check/gst/gststructure.c:
13812         * tests/check/gst/gstsystemclock.c:
13813         * tests/check/gst/gsttag.c:
13814         * tests/check/gst/gsttask.c: (gst_task_suite):
13815         * tests/check/gst/gstutils.c:
13816         * tests/check/gst/gstvalue.c:
13817         * tests/check/libs/adapter.c:
13818         * tests/check/libs/basesrc.c:
13819         * tests/check/libs/collectpads.c:
13820         * tests/check/libs/controller.c:
13821         * tests/check/libs/gdp.c: (gst_dp_suite):
13822         * tests/check/libs/gstnetclientclock.c:
13823         * tests/check/libs/gstnettimeprovider.c:
13824         * tests/check/libs/libsabi.c: (libsabi_suite):
13825         * tests/check/libs/typefindhelper.c:
13826         * tests/check/pipelines/cleanup.c:
13827         * tests/check/pipelines/parse-launch.c:
13828         * tests/check/pipelines/simple-launch-lines.c:
13829         * tests/check/pipelines/stress.c: (stress_suite):
13830           use the new macro
13831
13832 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13833
13834         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13835         * libs/gst/check/gstcheck.h:
13836           create a macro and function so that the simple unit test
13837           case can be just one macro to create main()
13838
13839 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
13840
13841         * gst/gstbin.c: (gst_bin_restore_thyself):
13842         * gst/gstxml.c: (gst_xml_make_element):
13843           Fix deserialisation from XML. Set parent manually
13844           instead of using gst_bin_add(), since gst_bin_add()
13845           will unlink all pads of the element being added.
13846           Fixes #341667.
13847
13848 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
13849
13850         Patch by: Peter Kjellerstedt <pkj at axis com>
13851
13852         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13853           Fix missing g_strdup() and double free when using the
13854           --gst-plugin-load command line option (#346097).
13855
13856 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13857
13858         * gst/gstinfo.c:
13859           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13860
13861         * libs/gst/net/gstnetclientclock.c:
13862         * libs/gst/net/gstnettimeprovider.c:
13863           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13864
13865 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13866
13867         * docs/manual/advanced-dataaccess.xml:
13868           Fix buffer probe example compilation in
13869           ADM (#345708).
13870         
13871 2006-06-22  Edward Hervey  <edward@fluendo.com>
13872
13873         * gst/gstelement.c: (gst_element_pads_activate):
13874         We need to deactivate src pads first and then sink pads.
13875         The reason is the src pads might be blocking while holding the streaming
13876         lock, so we need to deactivate them first so that deactivating the sink
13877         pads doesn't block (since it will require the streaming lock).
13878
13879 2006-06-22  Wim Taymans  <wim@fluendo.com>
13880
13881         * libs/gst/base/gstbasetransform.c:
13882         (gst_base_transform_buffer_alloc):
13883         Forgot to remove two unneeded unrefs.
13884         Simplify a check _is_equal allready checks the obvious case.
13885
13886 2006-06-22  Wim Taymans  <wim@fluendo.com>
13887
13888         * docs/design/part-block.txt:
13889         Some docs about what pad_block should do.
13890
13891 2006-06-22  Wim Taymans  <wim@fluendo.com>
13892
13893         * gst/gstcaps.c: (gst_caps_replace):
13894         Fix crasher when passed NULL. Doc clarification.
13895         Optimize for the trivial case.
13896
13897         * gst/gstpipeline.c: (gst_pipeline_change_state):
13898         Small cleanups.
13899
13900         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13901         Small documentation cleanup.
13902
13903         * libs/gst/base/gstbasetransform.c:
13904         (gst_base_transform_buffer_alloc):
13905         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13906         is what we need and it avoids a whole lot of redundant 
13907         refcount operations.
13908
13909 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
13910
13911         Patch by: Philip Jägenstedt  <philip at lysator liu se>
13912
13913         * docs/manual/advanced-dataaccess.xml:
13914           Fix 'Embedding static elements' section to use
13915           GST_PLUGIN_DEFINE_STATIC (#345607).
13916
13917 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13918
13919         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13920           Attempt to 'fix' spuriously failing test case: it seems like the
13921           timeout of half a second is simply too small when the system is under
13922           load otherwise, and the timeout doesn't really seem to serve any
13923           particular purpose here. Give the pipeline a few seconds to preroll
13924           first, and then give it another half a second to go from PAUSED to
13925           PLAYING and marshal the message into the main thread.
13926
13927 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13928
13929         * tools/gst-feedback-m.m:
13930           Don't only use unversioned tools, try versioned tools as well
13931           (#345086).
13932
13933 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13934
13935         * gst/gstbus.c: (gst_bus_class_init):
13936           Fix some typos, make docs more explicit.
13937
13938 2006-06-20  Wim Taymans  <wim@fluendo.com>
13939
13940         * tests/check/gst/gstghostpad.c: (block_callback),
13941         (GST_START_TEST), (gst_ghost_pad_suite):
13942         Added some more ghostpad tests, mainly blocking
13943         and probes.
13944
13945 2006-06-16  Wim Taymans  <wim@fluendo.com>
13946
13947         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13948         (gst_file_sink_close_file), (gst_file_sink_do_seek),
13949         (gst_file_sink_event), (gst_file_sink_render):
13950         * plugins/elements/gstfilesink.h:
13951         Check if we can seek in the file instead of assuming
13952         we always can. Post an error when we are asked to seek in a
13953         non-seekable file (like a fifo). Fixes #343312.
13954         Some cleanups.
13955
13956 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
13957
13958         * tools/gst-launch.1.in:
13959           Un-garble (fourcc) bit in filtered caps section.
13960
13961 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
13962
13963         * docs/manual/advanced-autoplugging.xml:
13964         * docs/manual/basics-helloworld.xml:
13965         * docs/manual/highlevel-components.xml:
13966           Don't leak bus reference in sample code.
13967
13968 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
13969
13970         * autogen.sh:
13971           Add default for new --enable-plugin-docs switch.
13972
13973         * configure.ac:
13974           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13975           Fixes #344039.
13976
13977         * docs/Makefile.am:
13978           Use new ENABLE_PLUGIN_DOCS conditional.
13979
13980 2006-06-14  Wim Taymans  <wim@fluendo.com>
13981
13982         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13983         Make it clear with a FIXME and a real define what the #if 0
13984         previously disabled.
13985
13986 2006-06-14  Wim Taymans  <wim@fluendo.com>
13987
13988         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13989         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13990         * libs/gst/base/gstbasetransform.c:
13991         (gst_base_transform_sink_eventfunc):
13992         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13993         Don't randomly and silently reset a segment when the format 
13994         changes as this is a bug somewhere upstream. Fixes #330379.
13995
13996 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
13997
13998         Patch by: Wouter Paesen  <wouter at kangaroot net>
13999
14000         * libs/gst/controller/gstcontroller.c:
14001         (gst_controlled_property_new):
14002           Fix controlling of float properties (#344849).
14003
14004         * tests/check/libs/controller.c:
14005         (gst_test_mono_source_get_property),
14006         (gst_test_mono_source_set_property),
14007         (gst_test_mono_source_class_init), (GST_START_TEST):
14008           While we're at it, add some float stuff to unit test.
14009
14010 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14011
14012         * docs/README:
14013         * docs/images/gdp-header.svg:
14014           add a gdp image
14015         * docs/libs/Makefile.am:
14016         * docs/libs/gdp-header.png:
14017         * libs/gst/dataprotocol/dataprotocol.c:
14018           add it to the API docs
14019         * docs/manual/intro-motivation.xml:
14020           fix typo
14021
14022 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14023
14024         * gst/gst.c: (scan_and_update_registry), (init_post):
14025           If the fork()'ed child process can't write the updated registry cache
14026           file to disk for some reason, make it exit with a failure exit code,
14027           so that the parent can then re-scan the plugins itself and update the
14028           registry structures in memory and work with that (rather than failing
14029           when creating elements because seemingly no plugins are available).
14030           Refactor registry scanning code into separate function for this and
14031           also separate fork() and non-fork() code paths. Fixes #344748.
14032
14033 2006-06-13  Wim Taymans  <wim@fluendo.com>
14034
14035         * docs/manual/advanced-dataaccess.xml:
14036         Fix wrong PluginDesc. Fixes #344755.
14037
14038 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14039
14040         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14041           Fix silly bug that prevented us from creating
14042           ~/.gstreamer-0.10 and writing the registry in one
14043           go (the first call to g_mkstemp() would overwrite the
14044           placeholder in the template string, so the second call
14045           to g_mkstemp() after creating the missing directory
14046           would then error out with 'invalid argument').
14047
14048 2006-06-13  Edward Hervey  <edward@fluendo.com>
14049
14050         * gst/gst.c: (init_post):
14051         Free string.
14052
14053 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14054
14055         * gst/glib-compat-private.h:
14056         * gst/glib-compat.c:
14057         * gst/glib-compat.h:
14058         * gst/gstvalue.c: (gst_value_serialize_flags):
14059           remove GLib 2.6 compatibility code
14060
14061 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14062
14063         * gst/parse/Makefile.am:
14064           Fix build with 'make -j N' even more (#340016).
14065
14066 2006-06-12  Wim Taymans  <wim@fluendo.com>
14067
14068         * docs/gst/gstreamer-sections.txt:
14069         Fix docs.
14070
14071 2006-06-12  Wim Taymans  <wim@fluendo.com>
14072
14073         * gst/gstsegment.c: (gst_segment_set_duration),
14074         (gst_segment_set_last_stop), (gst_segment_set_seek),
14075         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14076         (gst_segment_to_running_time), (gst_segment_clip):
14077         Use G_UNLIKELY to help the compiler a bit.
14078
14079 2006-06-12  Wim Taymans  <wim@fluendo.com>
14080
14081         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14082
14083         * gst/gstevent.c: (gst_event_get_type):
14084         * gst/gstmessage.c:
14085         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14086         (gst_pad_push):
14087         constify quark registration strings. Fixes #344115
14088         Avoid unneeded type checking is _pad_push() by internally
14089         calling gst_pad_chain_unchecked().
14090
14091 2006-06-12  Wim Taymans  <wim@fluendo.com>
14092
14093         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14094         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14095         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14096         (gst_buffer_is_span_fast), (gst_buffer_span):
14097         Init _type for consistency.
14098         Use _FLAGS macro to avoid type check.
14099         Avoid unneeded type checks in subbufer code.
14100
14101 2006-06-12  Wim Taymans  <wim@fluendo.com>
14102
14103         * gst/gst.c: (gst_debug_help):
14104         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14105         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14106         (gst_plugin_feature_list_free):
14107         * gst/gstregistry.c: (gst_registry_add_plugin),
14108         (gst_registry_add_feature), (gst_registry_plugin_filter),
14109         (gst_registry_feature_filter), (gst_registry_find_plugin),
14110         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14111         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14112         * gst/gstregistryxml.c: (load_feature),
14113         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14114         * gst/gstminiobject.c: (gst_mini_object_unref),
14115         (gst_mini_object_replace), (gst_value_mini_object_free),
14116         (gst_value_mini_object_copy):
14117         Use _CAST macros to avoid unneeded type checking.
14118         Added some more G_UNLIKELY.
14119
14120 2006-06-12  Wim Taymans  <wim@fluendo.com>
14121
14122         * gst/gstbuffer.h:
14123         Avoid unneeded type checking.
14124         API: GST_BUFFER_IS_DISCONT
14125
14126         * gst/gstminiobject.h:
14127         Avoid type check in flag accessor.
14128
14129         * gst/gstelementfactory.h:
14130         * gst/gstplugin.h:
14131         * gst/gstpluginfeature.h:
14132         Add _CAST macros.
14133         API: GST_ELEMENT_FACTORY_CAST
14134         API: GST_PLUGIN_CAST
14135         API: GST_PLUGIN_FEATURE_CAST
14136
14137 2006-06-12  Wim Taymans  <wim@fluendo.com>
14138
14139         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14140         (gst_object_unref):
14141         Add G_UNLIKELY in type registration.
14142         Avoid type check in _ref/_unref since that is also
14143         done in glib.
14144
14145 2006-06-12  Wim Taymans  <wim@fluendo.com>
14146
14147         * gst/gsterror.c: (gst_g_error_get_type):
14148         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14149         (gst_static_pad_template_get_type):
14150         * gst/gsttaglist.c: (gst_tag_list_get_type):
14151         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14152         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14153         * gst/gsturi.c: (gst_uri_handler_get_type):
14154         * gst/gstvalue.c: (gst_date_get_type):
14155         * gst/gstxml.c: (gst_xml_get_type):
14156         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14157         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14158         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14159         Add G_UNLIKELY in type registration.
14160
14161 2006-06-12  Wim Taymans  <wim@fluendo.com>
14162
14163         * tools/gst-inspect.c: (print_signal_info):
14164         Properly print enum values.
14165
14166 2006-06-12  Wim Taymans  <wim@fluendo.com>
14167
14168         * gst/gstinfo.c: (gst_debug_set_active),
14169         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14170         * gst/gstinfo.h:
14171         Add some G_[UN]LIKELY.
14172         Maintain __gst_debug_min to avoid formatting the arguments of
14173         debug messages that will be dropped anyway to avoid a lot of 
14174         overhead from the debugging system.
14175
14176 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14177
14178         * po/POTFILES.in:
14179         * po/POTFILES.skip:
14180           add missing files containing translatable strings, tell intltool about
14181           one exception
14182
14183 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14184
14185         * tests/check/libs/.cvsignore:
14186         add test-binary to ignore list
14187
14188 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14189
14190         * docs/libs/gstreamer-libs-docs.sgml:
14191         reorder (put dp into a chapter) and indent
14192
14193 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14194
14195         * configure.ac:
14196           back to HEAD
14197
14198 === release 0.10.8 ===
14199
14200 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14201
14202         * configure.ac:
14203           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14204
14205 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14206
14207         * gst/gst.c: (init_post):
14208           move pid declaration to declaration block
14209
14210 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14211
14212         * gst/gst.c: (init_post):
14213           use _exit() instead of exit() in our forked child; this ensures
14214           that none of the registered exit handlers from whatever is using
14215           GStreamer get executed.  This fixes gnome-mixer-applet failing
14216           to load, because ORBit would shut down.
14217           Spotted by: Edward Hervey  <edward@fluendo.com>
14218           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14219           Fixes #344474
14220
14221 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14222
14223         * configure.ac:
14224           back to TRUNK
14225
14226 === release 0.10.7 ===
14227
14228 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14229
14230         * configure.ac:
14231           releasing 0.10.7, "Soepeke, ik zie ou"
14232
14233 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14234
14235         * configure.ac:
14236         * po/af.po:
14237         * po/az.po:
14238         * po/bg.po:
14239         * po/ca.po:
14240         * po/cs.po:
14241         * po/de.po:
14242         * po/en_GB.po:
14243         * po/fr.po:
14244         * po/it.po:
14245         * po/nb.po:
14246         * po/nl.po:
14247         * po/ru.po:
14248         * po/sq.po:
14249         * po/sr.po:
14250         * po/sv.po:
14251         * po/tr.po:
14252         * po/uk.po:
14253         * po/vi.po:
14254         * po/zh_CN.po:
14255         * po/zh_TW.po:
14256         * win32/common/config.h:
14257           0.10.6.2 prerelease
14258
14259 2006-06-07  Wim Taymans  <wim@fluendo.com>
14260
14261         * gst/gstindex.c: (gst_index_gtype_resolver):
14262         * tools/gst-xmlinspect.c: (print_plugin_info):
14263         Fix leak spotted by coverity checker. Fixes #343827
14264         Fix another other leak found by paolo borelli.
14265
14266 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14267
14268         * libs/gst/dataprotocol/dataprotocol.c:
14269         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14270         (gst_dp_version_get_type), (gst_dp_init),
14271         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14272         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14273         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14274         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14275         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14276         (gst_dp_packetizer_free):
14277         * libs/gst/dataprotocol/dataprotocol.h:
14278           API: add a GstDPPacketizer object, and create/free functions
14279           API: add GstDPVersion enum
14280           Add 1.0 event function that uses the string serialization
14281           Serialize more useful buffer flags
14282           Fixes #343988
14283
14284 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14285
14286         * tests/check/Makefile.am:
14287         * tests/check/gst/gstabi.c:
14288         * tests/check/gst/struct_ppc64.h:
14289         * tests/check/libs/libsabi.c:
14290         * tests/check/libs/struct_ppc64.h:
14291           add ppc64 structure sizes
14292
14293 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14294
14295         * tests/check/Makefile.am:
14296         * tests/check/gst/gstabi.c:
14297         * tests/check/gst/struct_x86_64.h:
14298         * tests/check/libs/libsabi.c:
14299         * tests/check/libs/struct_x86_64.h:
14300           generate and add structure size lists for x86_64
14301
14302 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14303
14304         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14305         * libs/gst/check/gstcheck.h:
14306           factor out the method from tests that checks size of structures,
14307           and add code to generate the header containing these sizes
14308         * tests/check/gst/gstabi.c: (GST_START_TEST):
14309         * tests/check/gst/struct_i386.h:
14310         * tests/check/libs/libsabi.c: (GST_START_TEST):
14311         * tests/check/libs/struct_i386.h:
14312           use it
14313
14314 2006-06-06  Michael Smith  <msmith@fluendo.com>
14315
14316         * gst/gstsegment.h:
14317           Don't use c++-style comments, fixes #343929
14318
14319 2006-06-05  Edward Hervey  <edward@fluendo.com>
14320
14321         * gst/gst.c:
14322         plugin_paths is not used if we build without registry support.
14323
14324         * gst/gstsegment.c: (gst_segment_copy): 
14325         _copy() was always returning NULL...
14326
14327 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14328
14329         * libs/gst/dataprotocol/dataprotocol.c:
14330         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14331         (gst_dp_packet_from_event):
14332           factor out CRC code
14333
14334 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14335
14336         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14337           make sure we unset caps
14338
14339 2006-06-02  Michael Smith  <msmith@fluendo.com>
14340
14341         * libs/gst/check/gstcheck.c: (gst_check_init),
14342         (gst_check_chain_func):
14343         * libs/gst/check/gstcheck.h:
14344           Add a cond/mutex to the check support lib, signal this whenever we
14345           add to the buffers list. This will allow tests to not busy-wait on
14346           the buffer-list.
14347
14348 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14349
14350         * libs/gst/dataprotocol/dataprotocol.c:
14351         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14352         (gst_dp_packet_from_event):
14353           factor out some common header init code
14354
14355 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14356
14357         * docs/libs/gstreamer-libs-sections.txt:
14358         * docs/libs/tmpl/gstdataprotocol.sgml:
14359         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14360         * libs/gst/dataprotocol/dataprotocol.h:
14361           API: make gst_dp_crc() public
14362
14363 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14364
14365         * plugins/indexers/gstindexers.c: (plugin_init):
14366         conditionally register fileindexer (fixes #343598)
14367
14368 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14369
14370         * gst/gsttagsetter.h:
14371         Can't cast ifaces to a class
14372
14373         * libs/gst/net/gstnetclientclock.h:
14374         * libs/gst/net/gstnettimeprovider.h:
14375         * plugins/elements/gstfakesink.h:
14376         * plugins/elements/gstfakesrc.h:
14377         * plugins/elements/gstfdsink.h:
14378         * plugins/elements/gstfdsrc.h:
14379         * plugins/elements/gstfilesink.h:
14380         * plugins/elements/gstfilesrc.h:
14381         * plugins/elements/gstidentity.h:
14382         * plugins/elements/gstqueue.h:
14383         * plugins/elements/gsttee.h:
14384         * plugins/indexers/gstfileindex.c:
14385         * plugins/indexers/gstmemindex.c:
14386         * tests/old/examples/plugins/example.h:
14387         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14388
14389 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14390
14391         * libs/gst/dataprotocol/dataprotocol.c:
14392         (gst_dp_header_from_buffer):
14393           make sure we zero the whole ABI-compatible area
14394
14395 2006-06-01  Wim Taymans  <wim@fluendo.com>
14396
14397         Patch by: Alessandro Decina <alessandro at nnva dot org>
14398
14399         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14400         Make sure the EOS flag is cleared from pads after a flush
14401         or stop. Fixes #343538.
14402
14403         * tests/check/libs/collectpads.c: (GST_START_TEST),
14404         (gst_collect_pads_suite):
14405         Added test for collectpads reusage after EOS.
14406
14407 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14408
14409         * gst/gst.c:
14410          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14411         * win32/common/libgstbase.def:
14412          export gst_collect_pads_set_flushing
14413         * win32/common/libgstreamer.def:
14414          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14415          gst_value_fraction_multiply
14416         * win32/vs6/gst_inspect.dsp:
14417          add a link to intl.lib
14418
14419 2006-05-30  Wim Taymans  <wim@fluendo.com>
14420
14421         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14422         (gst_collect_pads_chain):
14423         Handle the case where a pad is removed from the collection
14424         that could cause the other pads to become collectable.
14425
14426 2006-05-30  Wim Taymans  <wim@fluendo.com>
14427
14428         * gst/gstelement.c:
14429         Clarify the use of _release_request_pad() and
14430         _get_request_pad() a bit better.
14431
14432         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14433         (gst_adapter_take_buffer):
14434         Fix some doc and comment typos.
14435
14436 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14437
14438         * docs/gst/gstreamer-sections.txt:
14439         * docs/libs/gstreamer-libs-sections.txt:
14440           add declared symbols
14441
14442 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14443
14444         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14445         Add debug that can be enabled using a #define at the top of the file,
14446         for dumping stats about how late/early we were when waking up from
14447         waiting on the clock.
14448
14449 2006-05-30  Wim Taymans  <wim@fluendo.com>
14450
14451         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14452         When rebuilding the pad list, don't leak the previous list.
14453
14454 2006-05-30  Wim Taymans  <wim@fluendo.com>
14455
14456         Patch by: Lutz Mueller <lutz at topfrose dot de>
14457
14458         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14459         (gst_base_src_get_query_types), (gst_base_src_update_length):
14460         Publish supported query types.
14461         Update last_stop field in get_range mode so the position
14462         query works. Fixes #342321.
14463
14464 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14465
14466         * docs/gst/gstreamer-sections.txt:
14467         * gst/gsttaglist.c: (_gst_tag_initialize):
14468         * gst/gsttaglist.h:
14469           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14470
14471 2006-05-30  Wim Taymans  <wim@fluendo.com>
14472
14473         Patch by: Alessandro Decina <alessandro at nnva dot org>
14474
14475         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14476         Unlock mutex when removing an unknown pad.
14477         Fixes #343334.
14478
14479         * tests/check/Makefile.am:
14480         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14481         (push_event), (setup), (teardown), (GST_START_TEST),
14482         (gst_collect_pads_suite), (main):
14483         Added collecpads check, disabled for now as check crashes for
14484         some reason.
14485
14486 2006-05-29  Wim Taymans  <wim@fluendo.com>
14487
14488         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14489         Don't leak pads lists.
14490
14491 2006-05-29  Wim Taymans  <wim@fluendo.com>
14492
14493         * docs/libs/gstreamer-libs-sections.txt:
14494         * libs/gst/base/gstcollectpads.c:
14495         (gst_collect_pads_set_flushing_unlocked),
14496         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14497         (gst_collect_pads_stop):
14498         * libs/gst/base/gstcollectpads.h:
14499         API: gst_collect_pads_set_flushing()
14500         Added api to set the pads to flushing, useful for seeking
14501         code in elements using collectpads.
14502         Clear segment when receiving a flush.
14503
14504 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14505
14506         * gst/gst.c: (add_path_func), (init_post):
14507           Don't scan registry paths passed via --gst-plugin-path immediately
14508           (will crash, because absolutely nothing is set up and no types are
14509           registered etc.); do this later in init_post(). Fixes #343057.
14510
14511 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14512
14513         * gst/gst.c: (init_post):
14514           if we have fork, fork while reading/rebuilding the registry
14515           so the parent doesn't take the hit of having all plugins loaded
14516           in memory.  Fixes #342777.
14517         * configure.ac:
14518           Check if we have fork()
14519         * win32/common/config.h.in:
14520           no fork() on win32
14521
14522 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14523
14524         * plugins/elements/gstelements.c:
14525         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14526         (gst_file_src_init), (gst_file_src_set_property),
14527         (gst_file_src_get_property), (gst_file_src_start):
14528         * plugins/elements/gstfilesrc.h:
14529           API: GstFileSrc::use-mmap
14530
14531         Add a use-mmap property to enable easier testing of all code paths.
14532         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14533         in the absence of gnomevfssrc. (Closes #340501)
14534
14535 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14536
14537         * tools/gst-inspect.c:
14538         Add missing include, removes warning of ngettext not being defined on
14539         some arches.
14540
14541 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14542
14543         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14544         Handle NULL input and output pointers silently as a failed conversion,
14545         rather than g_warnings.
14546
14547 2006-05-25  Wim Taymans  <wim@fluendo.com>
14548
14549         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14550         Initialize variable before using. Fixes #342820.
14551
14552 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14553
14554         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14555           Fix off-by-one bug that would only allow peeks of N-1 bytes
14556           from the start even if the buffer to typefind on contains
14557           in fact N bytes of data (makes vorbis typefinding from a
14558           vorbis identification header buffer work).
14559
14560         * tests/check/Makefile.am:
14561         * tests/check/libs/.cvsignore:
14562         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14563         (gst_typefindhelper_suite), (main), (foobar_typefind),
14564         (plugin_init):
14565           Add very basic unit test for gst_type_find_helper_for_buffer()
14566           that checks for the problem fixed above.
14567
14568 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14569
14570         * tools/gst-inspect.c: (print_interfaces),
14571         (print_element_properties_info), (print_element_list), (main):
14572           add more translatable strings
14573
14574 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14575
14576         Patch by: Julien Moutte  <julien at moutte net>
14577
14578         * docs/gst/gstreamer-sections.txt:
14579           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14580           
14581         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14582         (gst_fake_sink_preroll):
14583         * plugins/elements/gstfakesink.h:
14584           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14585
14586 2006-05-23  Wim Taymans  <wim@fluendo.com>
14587
14588         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14589         * gst/gstpad.h:
14590         Added _CUSTOM error and success GstFlowReturn that can be
14591         used be elements internally. 
14592         Added macro to check for SUCCESS flowreturns.
14593         API: GST_FLOW_CUSTOM_SUCCESS
14594         API: GST_FLOW_CUSTOM_ERROR
14595         API: GST_FLOW_IS_SUCCESS
14596
14597         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14598         Added check for GstFlowReturn sanity.
14599
14600 2006-05-23  Wim Taymans  <wim@fluendo.com>
14601
14602         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14603
14604         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14605         (gst_collect_pads_event):
14606         clear/reset segment info in FLUSH_STOP.
14607         Fixes #336929.
14608
14609 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14610
14611         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14612         (gst_collect_pads_check_collected):
14613         Flush queued buffer on _stop(), fixes playing again (#342454)
14614
14615 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14616
14617         * tests/check/gst/gststructure.c: (GST_START_TEST),
14618         (gst_structure_suite):
14619           add a test for a complete structure
14620
14621 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14622
14623         * docs/faq/developing.xml:
14624         * docs/faq/faq.xml:
14625         * docs/faq/troubleshooting.xml:
14626         * docs/faq/using.xml:
14627           Some minor FAQ updates that won't change the fact that
14628           our FAQ is badly structured, full of information hardly
14629           anyone new to GStreamer needs to know and lacking lots
14630           of information people constantly ask for.
14631           
14632 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14633
14634         * gst/gstpad.c: (gst_pad_set_caps):
14635           Short-circuit gst_pad_set_caps if setting the existing
14636           caps pointer again, and avoid printing debug and 
14637           reffing/unreffing the caps.
14638
14639         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14640           There's actually no need to set the caps before pushing -
14641           the acceptcaps method will handle it anyway.
14642
14643 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14644
14645         * docs/gst/gstreamer-sections.txt:
14646         * win32/common/libgstreamer.def:
14647         * gst/gstutils.c: (gst_element_seek_simple):
14648         * gst/gstutils.h:
14649           API: add gst_element_seek_simple() (#342238).
14650
14651 2006-05-18  Edward Hervey  <edward@fluendo.com>
14652
14653         * gst/gsttypefind.c: (gst_type_find_get_type):
14654         * gst/gsttypefind.h:
14655         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14656         registered for GstTypeFind pointers. This allows wrapping the structure
14657         in bindings (i.e. gst-python).
14658
14659 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14660
14661         * gst/gsttagsetter.c:
14662           Docs additions and fixes (see #339918).
14663
14664 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14665
14666         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14667         The caps intersection algorithm can produce multiple copies of the
14668         caps. Until that is fixed, we need to simplify the result to be
14669         sure whether the allowed caps are fixed or not.
14670
14671         * plugins/elements/gstqueue.c: (gst_queue_init),
14672         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14673         (gst_queue_push_one):
14674         Proxied buffer alloc should not set the caps on the source pad.
14675         When pushing buffers, we always accept the caps change that triggers.
14676         This prevents negotiation errors caused by caps changing mid-stream 
14677         and then being refused on our source pad (because upstream is now
14678         refusing those caps).
14679
14680 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14681
14682         * tests/examples/helloworld/helloworld.c: (main):
14683           Must plug audioconvert and audioresample between decoder
14684           and audio sink.
14685
14686 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14687
14688         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14689         (load_feature), (load_plugin):
14690         Allow empty strings for some of the plugin fields so we don't 
14691         drop valid plugin entries that were written out correctly
14692         (Fixes #341479)
14693
14694 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14695         
14696         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14697           Use g_remove and g_rename instead of remove and rename that don't 
14698           handle utf8 characters. rename was failing for users who had specific
14699           characters in their name then the registry was built at each 
14700           gstreamer init.
14701         * win32/vs6/gst_inspect.dsp:
14702         * win32/vs6/gst_launch.dsp:
14703         * win32/vs6/libgstbase.dsp:
14704         * win32/vs6/libgstcoreelements.dsp:
14705         * win32/vs6/libgstreamer.dsp:
14706           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14707           build of libgstreamer and clean unused libraries in projects link 
14708           settings.
14709
14710 2006-05-17  Edward Hervey  <edward@fluendo.com>
14711
14712         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14713         The queue is not responsible for pushing an EOS when receiving a fatal
14714         flow error. It's up to the real element driving the pipeline to do that.
14715
14716 2006-05-16  Edward Hervey  <edward@fluendo.com>
14717
14718         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14719         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14720         buffer returned a fatal error. It should just send an EOS and stop
14721         its task.
14722         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14723         when pushing buffers on the queue and will be able to handle the event.
14724
14725 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14726
14727         * docs/manual/basics-bins.xml:
14728         * docs/manual/basics-init.xml:
14729           Fix typos and minor errors in sample code (#341856).
14730
14731 2006-05-16  Wim Taymans  <wim@fluendo.com>
14732
14733         * docs/design/part-qos.txt:
14734         Fix indexes in formulas to make more sense.
14735
14736 2006-05-15  Wim Taymans  <wim@fluendo.com>
14737
14738         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14739         Don't report POSITION based on clock time if sync is
14740         disabled in a sink.
14741
14742 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14743
14744         * gst/gstobject.h:
14745           Add cast to make compiler happy - refcount variable was a gint
14746           in GstObject but is a guint in GObject and g_atomic_int_get()
14747           wants a gint *.
14748
14749 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14750
14751         * gst/parse/Makefile.am:
14752           chain commands using &&, which also makes parallel make work
14753
14754 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
14755
14756         * docs/gst/gstreamer-sections.txt:
14757         * gst/gstevent.c:
14758         * gst/gstevent.h:
14759         * gst/gstmessage.h:
14760           Minor docs fixes.
14761
14762 === release 0.10.6 ===
14763
14764 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
14765
14766         * configure.ac:
14767           releasing 0.10.6, "Take the cannoli"
14768
14769 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
14770
14771         * tools/gst-launch.c: (print_tag):
14772           Fix use of uninitialized variable in the hypothetical
14773           case that some broken plugin creates a GST_TAG_IMAGE
14774           tag containing a NULL buffer (#341667).
14775
14776 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
14777
14778         * tools/gst-launch.c: (print_tag):
14779           Print something more intelligible for image tags when
14780           using the -t switch (#341556).
14781
14782 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14783
14784         * Makefile.am:
14785           updates for win32
14786         * configure.ac:
14787           define GST_MAJORMINOR so we have it available in win32/common/config.h
14788           Possibly remove it from our Makefile.am files later
14789         * win32/common/config.h:
14790         * win32/common/config.h.in:
14791           added GST_MAJORMINOR
14792         * win32/common/gstenumtypes.c: (register_gst_resource_error):
14793         * win32/common/gstversion.h:
14794           updated
14795
14796 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
14797
14798         * win32/MANIFEST:
14799           Update win32 files listing.
14800         * win32/common/gstversion.h:
14801           Add GST_MAJORMINOR definition.
14802         * win32/common/libgstreamer.def:
14803           Add new exported functions.
14804           
14805 2006-05-12  Michael Smith  <msmith@fluendo.com>
14806
14807         * gst/gstplugin.c: (gst_plugin_load_file):
14808           If an so file has no plugin entry point, unload the module.
14809
14810 2006-05-11  Wim Taymans  <wim@fluendo.com>
14811
14812         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14813         (gst_queue_set_property):
14814         Don't forget to signal the _chain or _loop function 
14815         when the queue size or thresholds change since that might
14816         cause them to make progres again.
14817
14818 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
14819
14820         * gst/gstclock.c: (gst_clock_class_init):
14821         * gst/gstindex.c: (gst_index_class_init):
14822         * gst/gstobject.c: (gst_object_class_init):
14823         * gst/gstpad.c: (gst_pad_class_init):
14824         * gst/gstpipeline.c: (gst_pipeline_class_init):
14825         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14826         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14827         * libs/gst/base/gstbasetransform.c:
14828         (gst_base_transform_class_init):
14829         * libs/gst/net/gstnetclientclock.c:
14830         (gst_net_client_clock_class_init):
14831         * libs/gst/net/gstnettimeprovider.c:
14832         (gst_net_time_provider_class_init):
14833         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14834         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14835         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14836         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14837         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14838         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14839         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14840         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14841         * plugins/elements/gsttee.c: (gst_tee_class_init):
14842         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14843         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14844           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14845
14846 2006-05-11  Wim Taymans  <wim@fluendo.com>
14847
14848         * gst/gstbuffer.c: (_gst_buffer_initialize):
14849         Register subbufer along with the buffer type so that
14850         it does not accidentally gets registered from N
14851         different streaming threads in a non threadsafe way.
14852
14853 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14854
14855         * gst/gstbuffer.h:
14856         * gst/gstevent.h:
14857         * gst/gstmessage.h:
14858           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14859           gst_event_ref() and gst_message_ref() functions again
14860           (ugly hack, please do fix if there's a better way besides
14861           overrides.txt, which doesn't seem to work).
14862
14863 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14864
14865         * libs/gst/check/gstcheck.h:
14866           add an assert for setting state to avoid lots of repetitive code
14867           in the future
14868
14869 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14870
14871         * gst/gstvalue.c: (gst_value_serialize_flags):
14872           fix a leak if no flags are set
14873         * tests/check/gst/gstvalue.c: (GST_START_TEST):
14874           fix leak in tests
14875
14876 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14877
14878         * docs/manual/basics-pads.xml:
14879           Expand a bit on caps and filtered links and update
14880           examples that were still using the no longer existing
14881           gst_pad_link_filtered() (#338206).
14882
14883 2006-05-10  Wim Taymans  <wim@fluendo.com>
14884
14885         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14886         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14887         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14888         (gst_collect_pads_stop):
14889         * libs/gst/base/gstcollectpads.h:
14890         No need to call _stop in _finalize.
14891         Iterate the main pad list in _finalize.
14892         Added some more debug.
14893         Free lists and data in the right order.
14894         Also free data whem doing _remove_pad when stopped for
14895         backward compatibility protect ::started with PAD_LOCK as
14896         well.
14897
14898 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14899
14900         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14901         (gst_structure_parse_value):
14902           add some comments
14903           rename a method so that it actually says what it does better
14904
14905 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14906
14907         * gst/gstevent.c: (_gst_event_initialize):
14908         * gst/gstformat.c: (_gst_format_initialize):
14909           make sure some essential types used by events are registered
14910           as part of gst_init()
14911         * gst/gstvalue.c: (gst_value_serialize_flags):
14912           if no flags are set, serialize them to a value that represents NONE
14913           so that deserializing them works
14914         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14915           add tests for serialization and deserialization of flags
14916
14917 2006-05-10  Wim Taymans  <wim@fluendo.com>
14918
14919         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14920         (gst_collect_pads_collect_range), (gst_collect_pads_available),
14921         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14922         (gst_collect_pads_event), (gst_collect_pads_chain):
14923         Update docs.
14924         Better debug info.
14925         Catch and return errors from the collect function
14926         Refuse data on eos pads.
14927
14928 2006-05-10  Edward Hervey  <edward@fluendo.com>
14929
14930         * gst/gstinterface.h:
14931         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14932         GInterface type checking.
14933         They were previously using non-defined macros.
14934
14935 2006-05-09  Wim Taymans  <wim@fluendo.com>
14936
14937         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14938         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14939         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14940         (gst_collect_pads_start), (gst_collect_pads_stop),
14941         (gst_collect_pads_peek), (gst_collect_pads_pop),
14942         (gst_collect_pads_available), (gst_collect_pads_read),
14943         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14944         (gst_collect_pads_is_collected), (gst_collect_pads_event),
14945         (gst_collect_pads_chain):
14946         * libs/gst/base/gstcollectpads.h:
14947         Clean up the mess that is collectpads, add comments and
14948         FIXMEs where needed.
14949         Maintain a separate pad list so we can add pads while
14950         collecting the other ones. For this we need a new separate 
14951         lock (see comics).
14952         Fix memory leak in finalize.
14953         Refactor some weird code to set/unset pad flushing flags, mark
14954         with comments.
14955         Don't crash in _available, _read, _flush when we're EOS.
14956
14957         * tests/check/libs/.cvsignore:
14958         Ignore adapter check binary.
14959
14960 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14961
14962         * gst/gstindex.c: (gst_index_resolver_get_type):
14963         * plugins/elements/gstfakesink.c:
14964         (gst_fake_sink_state_error_get_type):
14965         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14966         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14967         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14968           Const-ify GEnumValue arrays.
14969
14970 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14971
14972         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14973           Add test case for flags + gst_buffer_make_metadata_writable().
14974
14975 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14976
14977         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14978           gst_buffer_make_metadata_writable() should maintain the
14979           buffer flags (those that make sense at least) (see #340859).
14980
14981 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14982
14983         * tools/gst-inspect.c:
14984         * tools/gst-launch.c:
14985         * tools/gst-typefind.c:
14986         * tools/gst-xmlinspect.c:
14987         * tools/tools.h:
14988           Fix up includes: need to include stdlib.h in tools.h for exit().
14989
14990 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14991
14992         * gst/gsttaglist.c: (_gst_tag_initialize):
14993         * gst/gsttaglist.h:
14994           API: add GST_TAG_IMAGE tag (#340721).
14995
14996 2006-05-08  Wim Taymans  <wim@fluendo.com>
14997
14998         * gst/gstquery.c:
14999         Added some docs for the segment query.
15000
15001 2006-05-08  Wim Taymans  <wim@fluendo.com>
15002
15003         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15004         (gst_base_src_loop), (gst_base_src_change_state):
15005         Always push non-flushing serialized events in the streaming 
15006         thread.
15007
15008 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15009
15010         * gst/gsterror.c: (_gst_stream_errors_init):
15011           Add a missing error string.
15012
15013 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15014
15015         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15016         Add applied_rate to the debug
15017
15018         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15019         Copy applied_rate into the outgoing NEWSEGMENT event
15020
15021 2006-05-08  Wim Taymans  <wim@fluendo.com>
15022
15023         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15024
15025         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15026         (gst_base_sink_change_state):
15027         call ::unlock before taking the PREROLL_LOCK so we can safely
15028         handle elements that lock in ::render.
15029         Fixes #340174.
15030
15031 2006-05-08  Edward Hervey  <edward@fluendo.com>
15032
15033         * autogen.sh: (CONFIGURE_DEF_OPT): 
15034         Darwin's libtoolize is in fact called glibtoolize.
15035         Adding glibtoolize to the list of accepted names for libtoolize.
15036
15037 2006-05-08  Wim Taymans  <wim@fluendo.com>
15038
15039         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15040         Unify error handling, don't post an error message
15041         when a push() returns EOS but perform our normal EOS
15042         handling code. Fixes #340772.
15043
15044 2006-05-08  Wim Taymans  <wim@fluendo.com>
15045
15046         * docs/design/part-overview.txt:
15047         Make upsteam/downstream concepts more clear.
15048         Give an example of serialized/non-serialized events.
15049
15050         * docs/design/part-events.txt:
15051         * docs/design/part-streams.txt:
15052         Mention applied_rate.
15053
15054         * docs/design/part-trickmodes.txt:
15055         Mention applied rate, flesh out some more use cases.
15056
15057         * gst/gstevent.c: (gst_event_new_new_segment),
15058         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15059         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15060         (gst_event_parse_tag), (gst_event_new_buffer_size),
15061         (gst_event_parse_buffer_size), (gst_event_new_qos),
15062         (gst_event_parse_qos), (gst_event_parse_seek),
15063         (gst_event_new_navigation):
15064         * gst/gstevent.h:
15065         Add applied_rate field to NEWSEGMENT event.
15066         API: gst_event_new_new_segment_full()
15067         API: gst_event_parse_new_segment_full()
15068
15069         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15070         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15071         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15072         * gst/gstsegment.h:
15073         Add applied_rate to GstSegment structure.
15074         Make calculation of stream_time and running_time more correct
15075         wrt rate/applied_rate.
15076         Add some more docs.
15077         API: GstSegment::applied_rate field
15078         API: gst_segment_set_newsegment_full();
15079
15080         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15081         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15082         * libs/gst/base/gstbasetransform.c:
15083         (gst_base_transform_sink_eventfunc),
15084         (gst_base_transform_handle_buffer):
15085         Parse and use applied_rate in the GstSegment field.
15086
15087         * tests/check/gst/gstevent.c: (GST_START_TEST):
15088         Add check for applied_rate field.
15089
15090         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15091         (gstsegments_suite):
15092         Add more checks for various GstSegment operations.
15093
15094 2006-05-08  Wim Taymans  <wim@fluendo.com>
15095
15096         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15097         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15098         (gst_base_sink_get_position), (gst_base_sink_change_state):
15099         Store the sync time of the buffer end position separatly in a
15100         new variable eos_rtime so we can properly sync the EOS event.
15101         Fixes #340697.
15102         Fix the docs for gst_base_sink_set_qos_enabled().
15103         Don't set segment start to invalid value when we receive a 
15104         non TIME newsegment.
15105         get closer to handling position reporting for negative rates 
15106         correctly.
15107
15108 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15109
15110         * gst/gstcaps.c:
15111         Docs about how to print caps for debug purposes.
15112
15113         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15114         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15115
15116 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15117
15118         * gst/gstelement.c:
15119           use full enum names and preprend a '%' in docs strings to make recent 
15120           gtk-doc turn that into a link
15121
15122 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15123
15124         * docs/manual/basics-bins.xml:
15125         * docs/manual/basics-bus.xml:
15126         * docs/manual/basics-pads.xml:
15127           Some typo fixes, some additions, some clarifications. 
15128
15129 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15130
15131         * tools/gst-inspect.c: (main):
15132         * tools/gst-launch.c: (main):
15133         * tools/gst-run.c: (main):
15134         * tools/gst-typefind.c: (main):
15135         * tools/gst-xmlinspect.c: (main):
15136           Use the string passed to g_option_context_new() for
15137           what it's intended for - the program name is already
15138           printed elsewhere.
15139
15140 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15141
15142         * tools/Makefile.am:
15143         * tools/gst-inspect.c: (main):
15144         * tools/gst-launch.c: (main):
15145         * tools/gst-xmlinspect.c: (main):
15146         * tools/tools.h:
15147           Add back --version command line option (#340460).
15148
15149         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15150           Add --version option and use GOption for argument parsing; refactor a
15151           bit; accept directories as arguments and recurse into them; lastly,
15152           print a decent error message when things go wrong.
15153
15154 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15155
15156         * docs/manual/basics-bins.xml:
15157         Don't mention GstThread (#340611)
15158         * docs/manual/basics-elements.xml:
15159         Update link to GObject tutorial (#340607)
15160         
15161 2006-05-05  Wim Taymans  <wim@fluendo.com>
15162
15163         * gst/gstbuffer.h:
15164         * gst/gstminiobject.c:
15165         Add note about refcounting and miniobject/buffer writeability
15166         to docs. Fixes #340604
15167
15168         * gst/gstelementfactory.h:
15169         Added some explanation about @klass.
15170
15171 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15172
15173         * docs/manual/intro-motivation.xml:
15174         * docs/manual/manual.xml:
15175         Avoid CORBA & Bonobo references (#340598)
15176
15177 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15178
15179         * docs/manual/basics-bus.xml:
15180         * docs/manual/basics-pads.xml:
15181         Fix up some inaccuracies and omissions (#340609)
15182         
15183 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15184
15185         * gst/gstghostpad.c:
15186           Small typo in docs (#340625)
15187
15188 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15189
15190         * gst/parse/Makefile.am:
15191           Make 'make -j' proof (see #340698).
15192
15193 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15194
15195         * configure.ac:
15196           Require GLib-2.8 here as well.
15197
15198 2006-05-05  Wim Taymans  <wim@fluendo.com>
15199
15200         * gst/glib-compat.c:
15201         * gst/gst.c: (init_pre):
15202         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15203         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15204         (gst_object_dispatch_properties_changed):
15205         * gst/gstobject.h:
15206         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15207         * gst/gststructure.c: (gst_structure_set_valist):
15208         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15209         Remove pre glib2.8 compatibility, fixes #340508
15210
15211 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15212
15213         * gst/gsttaglist.h:
15214           Mention type of tags in doc blurbs.
15215
15216 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15217
15218         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15219         (gst_pad_configure_src), (gst_pad_push):
15220         Restore acceptcaps checking behaviour now that good plugins have
15221         been released.
15222
15223 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15224
15225         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15226
15227         * gst/gst.c:
15228         * gst/gstbus.c:
15229         * gst/gstclock.c:
15230         * gst/gstevent.c:
15231         * gst/gstformat.c:
15232         * gst/gstmessage.c:
15233         * gst/gstparse.c:
15234         * gst/gstquery.c:
15235         * gst/gstutils.c:
15236         * gst/parse/Makefile.am:
15237         * libs/gst/base/gstadapter.c:
15238         * libs/gst/base/gstbasesrc.c:
15239         * libs/gst/base/gstpushsrc.c:
15240         * libs/gst/base/gsttypefindhelper.c:
15241         * plugins/elements/gstfakesrc.c:
15242         * plugins/elements/gstidentity.c:
15243           Make sure gstprivate.h and/or config.h are
15244           always included first, otherwise some of our
15245           defines (like _FILE_OFFSET_BITS) might be
15246           redefined in the system headers. Fixes build
15247           on opensolaris (#340016).
15248
15249 2006-05-04  Wim Taymans  <wim@fluendo.com>
15250
15251         * docs/libs/gstreamer-libs-sections.txt:
15252         API: addition: gst_adapter_take_buffer()
15253         
15254         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15255         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15256         (gst_adapter_available_fast):
15257         * libs/gst/base/gstadapter.h:
15258         Prepare for optimizing the hell out of this hugely inefficient
15259         piece of code. 
15260         Added gst_adapter_take_buffer() so we can at least start thinking
15261         about subbuffering and merging.
15262         Added some comments.
15263
15264         * tests/check/Makefile.am:
15265         * tests/check/libs/adapter.c: (GST_START_TEST),
15266         (gst_adapter_suite), (main):
15267         Added GstAdapter check.
15268
15269 2006-05-04  Wim Taymans  <wim@fluendo.com>
15270
15271         * docs/design/part-overview.txt:
15272         Fix some typos, add blurb about buffer flags.
15273
15274 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15275
15276         * docs/libs/gstreamer-libs-sections.txt:
15277           make sure GstBaseTransformClass shows up in the docs
15278         * libs/gst/base/gstbasetransform.c:
15279         * libs/gst/base/gstbasetransform.h:
15280           move docs so gtk-doc picks it up now
15281
15282 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15283
15284         * docs/libs/gstreamer-libs-sections.txt:
15285           add missing symbols to docs
15286
15287 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15288
15289         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15290           back out the newsegment handling change, see #340060 for ongoing
15291           discussion
15292
15293 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15294
15295         * tools/gst-run.c: (get_candidates), (main):
15296           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15297           work); fix typo in error message. Fixes #340079.
15298
15299 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15300
15301         * common/Makefile.am:
15302         * docs/Makefile.am:
15303         * docs/faq/Makefile.am:
15304         * docs/gst/Makefile.am:
15305         * docs/libs/Makefile.am:
15306         * docs/manual/Makefile.am:
15307         * docs/plugins/Makefile.am:
15308         * docs/pwg/Makefile.am:
15309         * docs/slides/Makefile.am:
15310         * docs/upload.mak:
15311         * common/upload.mak:
15312           move upload.mak to common
15313
15314 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15315
15316         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15317           add more asserts on refcounts
15318           do more cleanup at end of tests
15319           fix test leaks showing in FC5
15320
15321 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15322
15323         * plugins/elements/gsttypefindelement.c:
15324         (gst_type_find_element_handle_event):
15325         reverted wrong change and reflowed code to avoid others falling into
15326         this trap
15327
15328 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15329
15330         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15331           fix changelog entry about last collectpads change,
15332           add notes about proper fix
15333
15334 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15335
15336         * gst/gst.c:
15337         * gst/gstregistry.c: (gst_registry_scan_path_level),
15338         (gst_registry_scan_path):
15339         * gst/gstregistry.h:
15340           only write out registry if it has changed, fixes #338339
15341
15342 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15343
15344         * gst/gstbin.c:
15345         * gst/gstpipeline.c:
15346         * plugins/elements/gstcapsfilter.c:
15347         * plugins/elements/gstfakesink.c:
15348         * plugins/elements/gstfakesrc.c:
15349         * plugins/elements/gstfdsink.c:
15350         * plugins/elements/gstfdsrc.c:
15351         * plugins/elements/gstfilesink.c:
15352         * plugins/elements/gstfilesrc.c:
15353         * plugins/elements/gstidentity.c:
15354         * plugins/elements/gstqueue.c:
15355         * plugins/elements/gsttee.c:
15356         * plugins/elements/gsttypefindelement.c:
15357         (gst_type_find_element_handle_event):
15358           make GstElementDetails const
15359
15360 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15361
15362         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15363         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15364         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15365           more detailed debug and formatting cleanup,
15366           forward newsegments to src-pad (so that e.g. adder not eats them)
15367
15368 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15369
15370         * gst/gstutils.c: (gst_element_link_pads):
15371           cleanup double code
15372
15373 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15374
15375         * libs/gst/controller/gstcontroller.c:
15376         (gst_controller_sync_values):
15377           some little tuning
15378         * tests/check/libs/controller.c: (GST_START_TEST),
15379         (gst_controller_suite):
15380           a new test for live value handling
15381
15382 2006-04-28  Wim Taymans  <wim@fluendo.com>
15383
15384         * gst/gstutils.c: (push_and_ref):
15385         Added some more docs.
15386         Fix refcount issue whith gst_element_found_tags() helper 
15387         function. Fixes #338335
15388
15389         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15390         Added testsuite for gst_element_found_tags().
15391
15392 2006-04-28  Michael Smith  <msmith@fluendo.com>
15393
15394         * gst/gstvalue.c: (gst_value_serialize_flags):
15395           Avoid NULL dereference when trying to serialize flags containing
15396           invalid values.
15397
15398 2006-04-28  Michael Smith  <msmith@fluendo.com>
15399
15400         * plugins/elements/gsttypefindelement.c:
15401         (gst_type_find_element_handle_event):
15402           If we get EOS before any data is accumulated, don't use
15403           uninitialised local variables.
15404
15405 2006-04-28  Michael Smith  <msmith@fluendo.com>
15406
15407         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15408         (gst_dp_event_from_packet):
15409           Fixes in reading/writing events over GDP (not currently used?) - 
15410           dereferencing NULL events for unknown/invalid event types, memory
15411           leak, and change g_warning to GST_WARNING.
15412
15413 2006-04-28  Wim Taymans  <wim@fluendo.com>
15414
15415         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15416         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15417         (gst_base_sink_get_position), (gst_base_sink_change_state):
15418         When frame dropping is enabled, we should not ignore frames
15419         without a duration.
15420         Update some documentation.
15421
15422 2006-04-28  Wim Taymans  <wim@fluendo.com>
15423
15424         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15425         (gst_base_src_send_event), (gst_base_src_change_state):
15426         Documentation updates.
15427
15428 2006-04-28  Wim Taymans  <wim@fluendo.com>
15429
15430         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15431         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15432         handle EAGAIN, EINTR and short writes correctly. Also clean
15433         up some error cases, avoid a deadlock on bad file descriptors and
15434         use GST_DEBUG_OBJECT.
15435         Fixes #339843
15436
15437 2006-04-28  Wim Taymans  <wim@fluendo.com>
15438
15439         * gst/gstvalue.c: (gst_value_serialize_buffer),
15440         (gst_value_deserialize_buffer):
15441         Don't try to serialize a GValue with a NULL buffer. 
15442         Fixes #339821.
15443
15444         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15445         Added check for serialisation of NULL buffers.
15446
15447 2006-04-28  Wim Taymans  <wim@fluendo.com>
15448
15449         * gst/gstminiobject.c: (gst_value_take_mini_object):
15450         Taking a NULL miniobject is valid, fix the case where
15451         we try to unref the NULL miniobject.
15452
15453 2006-04-28  Wim Taymans  <wim@fluendo.com>
15454
15455         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15456
15457         * gst/gstbin.c: (gst_bin_handle_message_func):
15458         Update docs.
15459         Don't leak bin refcount when a state recalc is
15460         in progress and we delay another one #339808.
15461
15462 2006-04-28  Wim Taymans  <wim@fluendo.com>
15463
15464         * docs/design/part-TODO.txt:
15465         Mention QoS as an ongoing work item.
15466
15467         * docs/design/part-buffering.txt:
15468         New doc about buffering that needs to be fleshed out
15469         at some point.
15470
15471         * docs/design/part-qos.txt:
15472         More QoS policy for decoders/demuxers/transforms
15473
15474         * docs/design/part-trickmodes.txt:
15475         Small update.
15476
15477 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15478
15479         * configure.ac:
15480           back to HEAD
15481
15482 === release 0.10.5 ===
15483
15484 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15485
15486         * configure.ac:
15487           releasing 0.10.5, "Fogo"
15488
15489 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15490
15491         patch by: Wim Taymans
15492
15493         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15494         (gst_pad_configure_src), (gst_pad_push):
15495         * gst/gstpipeline.c: (gst_pipeline_init):
15496           Fix internal data flow errors.  Fixes #338711.
15497
15498 2006-04-12  Wim Taymans  <wim@fluendo.com>
15499
15500         * tests/check/gst/gstelement.c: (GST_START_TEST):
15501         Don't leak the factory.
15502
15503 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15504
15505         * configure.ac:
15506         * win32/common/config.h:
15507           prerelease
15508
15509 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15510
15511         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15512         (gst_controller_unset_all):
15513           Free allocated GstTimedValues when freeing list nodes.
15514           Should fix leaks 'make check-valgrind' complains about.
15515
15516         * win32/common/libgstcontroller.def:
15517           Add gst_controller_unset_all.
15518
15519 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15520
15521         * docs/libs/gstreamer-libs-sections.txt:
15522         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15523         (gst_controller_unset_all):
15524         * libs/gst/controller/gstcontroller.h:
15525         API: Added new method gst_controller_unset_all()
15526         fixed gst_controller_unset()
15527         * tests/check/libs/controller.c: (GST_START_TEST),
15528         (gst_controller_suite):
15529         Added two testcases for new and fixed method
15530
15531 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15532
15533         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15534           MSG_DONTWAIT is not defined on Cygwin, so work
15535           around that (fixes #317048).
15536           
15537 2006-04-11  Wim Taymans  <wim@fluendo.com>
15538
15539         * gst/gstelementfactory.c: (gst_element_register),
15540         (gst_element_factory_create), (gst_element_factory_make):
15541         Some cleanups.
15542         Fixed a FIXME.
15543         Updated docs (Fixes #131079)
15544
15545         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15546         Small cleanups.
15547
15548         * tests/check/gst/gstelement.c: (GST_START_TEST),
15549         (gst_element_suite):
15550         Added testcase for elementfactory class field.
15551
15552 2006-04-10  Wim Taymans  <wim@fluendo.com>
15553
15554         * gst/gstsegment.c:
15555         Added some more docs.
15556
15557         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15558         (gst_base_sink_reset_qos):
15559         Calculate more accurate rate values.
15560
15561 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15562
15563         * gst/gst_private.h:
15564           add a new #ifdef to use __declspec(dllimport) only for
15565           other modules and not for gstreamer core
15566         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15567           use gst_guint64_to_gdouble for conversion
15568         * win32/common/libgstreamer.def:
15569           add new exported functions
15570         * win32/vs6/gst_inspect.dsp:
15571         * win32/vs6/gst_launch.dsp:
15572         * win32/vs6/libgstbase.dsp:
15573         * win32/vs6/libgstcontroller.dsp:
15574         * win32/vs6/libgstcoreelements.dsp:
15575         * win32/vs6/libgstdataprotocol.dsp:
15576         * win32/vs6/libgstnet.dsp:
15577           update project files
15578
15579 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15580
15581         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15582         * gst/gstclock.c: (gst_clock_class_init):
15583         * gst/gstelement.c: (gst_element_class_init):
15584         * gst/gstindex.c: (gst_index_class_init):
15585         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15586         * gst/gstobject.c: (gst_object_class_init),
15587         (gst_signal_object_class_init):
15588         * gst/gstpad.c: (gst_pad_class_init):
15589         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15590         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15591         * gst/gstregistry.c: (gst_registry_class_init):
15592         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15593         * gst/gsttask.c: (gst_task_class_init):
15594         * gst/gstxml.c: (gst_xml_class_init):
15595         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15596         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15597         (gst_base_src_loop):
15598         * libs/gst/controller/gstcontroller.c:/
15599         (_gst_controller_class_init):
15600         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15601         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15602         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15603         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15604         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15605         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15606
15607 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15608
15609         * gst/gstpad.c: (gst_pad_link):
15610           Must set peer pads before calling the link function, otherwise
15611           a task started from a link function might get a flow-not-linked
15612           result when trying to push because the other thread where the
15613           linking happens hasn't had a chance to set the peers yet. This
15614           might happen for example when a queue gets linked to a downstream
15615           element, as queue starts a streaming task when its source pad
15616           gets linked. Happens in real life when playing back flac/musepack
15617           files in playbin (#332390).
15618           
15619 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15620
15621         * gst/gstindex.h:
15622         * gst/gstxml.h:
15623         * libs/gst/base/gstadapter.h:
15624         * libs/gst/base/gstbasesink.h:
15625         * libs/gst/base/gstbasesrc.h:
15626         * libs/gst/base/gstbasetransform.h:
15627         * libs/gst/base/gstcollectpads.h:
15628         * libs/gst/base/gstpushsrc.h:
15629         Fix broken GObject macros
15630
15631 2006-04-07  Wim Taymans  <wim@fluendo.com>
15632
15633         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15634         Initialize start and stop times, thanks valgrind.
15635
15636 2006-04-07  Wim Taymans  <wim@fluendo.com>
15637
15638         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15639         Be a bit nicer to badly behaving upstream elements that expect
15640         us to deal with non TIME segments and timestamps (such as fakesrc
15641         in the testsuite).
15642
15643 2006-04-07  Wim Taymans  <wim@fluendo.com>
15644
15645         * gst/gstbus.c:
15646         Small documentation clarification about the signal watch.
15647
15648         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15649         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15650         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15651         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15652         (gst_base_sink_get_position_last),
15653         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15654         Convert and store timestamps in stream time and running time, the
15655         raw timestamps are not useful, also document this better.
15656         Use different window sizes for good and bad QoS observations so
15657         we react to badness a little quicker.
15658         Keep track of the amount of rendered and dropped buffers.
15659         Send QoS timestamps in running time.
15660
15661         * libs/gst/base/gstbasetransform.c:
15662         (gst_base_transform_sink_eventfunc),
15663         (gst_base_transform_handle_buffer):
15664         Compare QoS timestamps against running time.
15665
15666 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15667
15668         * gst/gstpad.c:
15669           Typo fixes in docs.
15670
15671 2006-04-06  Michael Smith  <msmith@fluendo.com>
15672
15673         * gst/gstpad.c: (gst_pad_set_property):
15674           Use g_value_get_object() instead of g_value_dup_gst_object(),
15675           to avoid double-reffing the pad template (which we then sink,
15676           so this worked previously if (and only if) the pad template
15677           was floating.
15678
15679         * gst/gstpadtemplate.c: (gst_pad_template_init),
15680         (gst_pad_template_pad_created):
15681           Never return floating references to pad templates, create
15682           them as initially-sunken.
15683
15684           Document an extra function (and make this stop sinking our
15685           pad template, since that is now guaranteed to do nothing,
15686           since we created it sunken).
15687
15688         * gst/gstghostpad.c:
15689           Fix docs typo.
15690
15691 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15692
15693         * gst/gstinfo.c: (__gst_in_valgrind):
15694           Add some newlines.
15695
15696         * plugins/elements/gsttypefindelement.c:
15697         (gst_type_find_element_chain):
15698           Don't leak buffer caps.
15699
15700 2006-04-06  Michael Smith  <msmith@fluendo.com>
15701
15702         * gst/parse/grammar.y:
15703           Fix a leak in parse-launch for any source-or-sink named element 
15704           references used.
15705
15706         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15707           Unref the pipeline if it exists after we've failed parsing.
15708
15709 2006-04-05  Michael Smith  <msmith@fluendo.com>
15710
15711         * gst/gstpipeline.c: (gst_pipeline_init):
15712           When we create a pipeline bus, initially create it in flushing mode.
15713           Fixes leaks in at least one test, and makes a new pipeline work the
15714           same as one that has gone to READY and then back to NULL.
15715
15716         * gst/gstelement.c:
15717           Typo fix in docs.
15718
15719 2006-04-05  Michael Smith  <msmith@fluendo.com>
15720
15721         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15722           Unref a pad we reffed.
15723         * tests/check/gst/gstutils.c: (GST_START_TEST):
15724           Unref bins
15725
15726 2006-04-05  Michael Smith  <msmith@fluendo.com>
15727
15728         * gst/gstquery.c: (gst_query_set_formats),
15729         (gst_query_set_formatsv):
15730           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15731
15732 2006-04-05  Michael Smith  <msmith@fluendo.com>
15733
15734         * tests/check/generic/sinks.c: (GST_START_TEST):
15735           Fix a variety of memleaks in sinks check, which are only sometimes 
15736           shown by running the tests under valgrind (weird?).
15737
15738 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15739
15740         * docs/version.entities.in:
15741           Fix the substituted entity name after thomas' changes on the
15742           weekend.
15743
15744 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15745
15746         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15747         VALGRIND_PRINTF
15748         
15749 2006-04-05  Andy Wingo  <wingo@pobox.com>
15750
15751         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15752
15753         * libs/gst/base/gstbasetransform.c
15754         (gst_base_transform_sink_eventfunc): When resetting our segment on
15755         FLUSH_STOP, also update the flag saying we haven't seen a
15756         newsegment.
15757
15758 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15759
15760         Patch by: Paolo Borelli  <pborelli at katamail dot com>
15761
15762         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15763         (gst_plugin_check_license):
15764           minor clean-ups: G_DEFINE_TYPE already takes care of the
15765           parent_class stuff, no need to do it twice. Mark array of
15766           license strings as constant. (#337103)
15767           
15768 2006-04-04  Michael Smith  <msmith@fluendo.com>
15769
15770         * tools/gst-inspect.c: (print_element_list):
15771           Free the right plugin list; fixes a memory leak.
15772
15773 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15774
15775         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
15776
15777         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15778           Don't error out on empty buffers (#336945).
15779           
15780 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
15781
15782         * docs/libs/gstreamer-libs-sections.txt:
15783         * gst/gsttaglist.c:
15784         * libs/gst/base/gstbasesink.c:
15785         * libs/gst/base/gstbasesink.h:
15786         * libs/gst/base/gstbasesrc.c:
15787         * libs/gst/base/gstbasesrc.h:
15788           Documentation updates. Make BaseSink and BaseSrc docs contain the
15789           class structure so that people can actually see the prototypes for
15790           virtual functions they're supposed to be overriding.
15791
15792 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15793
15794         * plugins/elements/gsttypefindelement.c:
15795         (gst_type_find_element_chain):
15796           More debug info; when skipping typefinding, send cached
15797           events in all cases.
15798
15799 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15800
15801         * configure.ac:
15802           use new AS_VERSION and AS_NANO macros
15803         * gst/gst-i18n-lib.h:
15804         * gst/gst.c:
15805         * gst/gsterror.c:
15806         * gst/gstversion.h.in:
15807         * win32/common/config.h:
15808         * win32/common/config.h.in:
15809           update accordingly
15810
15811 2006-03-31  Michael Smith  <msmith@fluendo.com>
15812
15813         * plugins/elements/gsttypefindelement.c:
15814         (gst_type_find_element_chain):
15815           Do not typefind content if the buffers already have caps.
15816           Neccesary for icydemux (#333657), and the right thing to do anyway.
15817
15818 2006-03-30  Wim Taymans  <wim@fluendo.com>
15819
15820         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15821         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15822         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15823         (gst_base_sink_record_qos_observation),
15824         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15825         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15826         (gst_base_sink_change_state):
15827         More QoS measurements as described in the design doc.
15828         Get rid of ringbuffer with observations, running average is
15829         more simple and equally good.
15830         Calculates valid proportion now.
15831         Added beginning of flood measurement.
15832
15833 2006-03-29  Wim Taymans  <wim@fluendo.com>
15834
15835         * docs/design/part-qos.txt:
15836         * gst/gstclock.c:
15837         Small documentation updates and additions.
15838
15839 2006-03-29  Wim Taymans  <wim@fluendo.com>
15840
15841         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15842         (gst_base_src_send_event), (gst_base_src_loop),
15843         (gst_base_src_change_state):
15844         Perform the EOS logic when we reach the segment stop position.
15845         Fix compilation on gcc4.1
15846
15847 2006-03-29  Wim Taymans  <wim@fluendo.com>
15848
15849         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15850
15851         * plugins/elements/gstqueue.c: (gst_queue_init),
15852         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15853         (gst_queue_set_property):
15854         * plugins/elements/gstqueue.h:
15855         In queue, when EOS is received, if minimum threshold > max_size -
15856         current_level, there is chance that queue blocks forever in conditional
15857         item del wait. This is because the queue is not emptied completely due
15858         to minimum threshold.  Here is another approach. Instead of setting
15859         cur_levels to max in EOS, just zero all minimum threshold levels. This
15860         should make sure that queue gives out all data. When going to READY
15861         (stop) state, just reset the original minimum threshold levels.
15862         Fixes #336336.
15863
15864 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
15865
15866         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15867         (gst_type_find_element_handle_event),
15868         (gst_type_find_element_send_cached_events),
15869         (gst_type_find_element_change_state):
15870         * plugins/elements/gsttypefindelement.h:
15871           When typefinding is done in push mode, we should cache
15872           events we receive during typefinding instead of just
15873           dropping them (e.g. newsegment, custom events from
15874           dvdreadsrc etc.) and then send them out once we've
15875           determined the type of the stream (and decodebin
15876           has had a chance to plug in a decoder/demuxer).
15877           
15878 2006-03-27  Wim Taymans  <wim@fluendo.com>
15879
15880         * docs/design/part-qos.txt:
15881         First QoS ideas.
15882
15883 2006-03-27  Wim Taymans  <wim@fluendo.com>
15884
15885         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15886
15887         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15888         (gst_base_src_send_event), (gst_base_src_change_state):
15889         Handle element seek correctly when we are streaming.
15890         Fixes #326998.
15891
15892 2006-03-24  Michael Smith  <msmith@fluendo.com>
15893
15894         * docs/faq/gst-uninstalled:
15895           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15896           allow you to correctly run intalled applications built against old 
15897           core, using plugins that require updated core (e.g. running
15898           installed totem against a full uninstalled gstreamer stack)
15899
15900 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15901
15902         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15903         more debug details
15904
15905 2006-03-24  Wim Taymans  <wim@fluendo.com>
15906
15907         * docs/gst/gstreamer-sections.txt:
15908         Rearrange the order of the methods so that related methods
15909         are grouped together in sections.
15910
15911 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15912
15913         * gst/gstelement.c:
15914           Little clarification in the docs
15915
15916 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15917
15918         * docs/README:
15919         formatting fix
15920         * plugins/elements/gstidentity.c:
15921         * plugins/elements/gstqueue.c:
15922         * plugins/elements/gsttee.c:
15923         * plugins/elements/gsttypefindelement.c:
15924         GST_ELEMENT_DETAILS formatting
15925
15926 2006-03-24  Wim Taymans  <wim@fluendo.com>
15927
15928         * libs/gst/base/gstbasesink.h:
15929         Only add fields, not insert or we break ABI.
15930
15931 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15932
15933         * win32/common/libgstbase.def:
15934         * win32/common/libgstreamer.def:
15935           Update, add recently added functions.
15936
15937 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15938
15939         * docs/gst/gstreamer-sections.txt:
15940         * gst/gstutils.c: (gst_pad_query_peer_position),
15941         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15942         * gst/gstutils.h:
15943           API: add some new utility functions:
15944            - gst_pad_query_peer_position()
15945            - gst_pad_query_peer_duration()
15946            - gst_pad_query_peer_convert()
15947           
15948 2006-03-23  Wim Taymans  <wim@fluendo.com>
15949
15950         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15951         (gst_base_sink_init), (gst_base_sink_finalize),
15952         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15953         (gst_base_sink_set_property), (gst_base_sink_get_property),
15954         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15955         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15956         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15957         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15958         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15959         (gst_base_sink_preroll_object), (gst_base_sink_event),
15960         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15961         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15962         (gst_base_sink_query), (gst_base_sink_change_state):
15963         Decouple max-lateness and the fact that QoS messages are generated
15964         with a new property (qos).
15965         added API: GstBaseSink::async_play()
15966         Add vmethod so subclasses can be notified of ASYNC playing
15967         state changes.
15968         Collect timestamp start and stop to report better current
15969         position in EOS/PLAYING/PAUSED/READY/NULL.
15970         Refactor QoS/frame dropping and other measurements.
15971         API: GstBaseSrc::qos
15972         Fixes #326311
15973
15974         * libs/gst/base/gstbasesink.h:
15975         Added Private struct.
15976         API: gst_base_sink_set_qos_enabled()
15977         API: gst_base_sink_is_qos_enabled()
15978
15979 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15980
15981         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15982           If compiling against GLib-2.8 or newer, try to read the
15983           registry file using GMappedFile first before falling back
15984           to fopen() + fread() (#332151).
15985
15986 2006-03-22  Wim Taymans  <wim@fluendo.com>
15987
15988         * gst/gstinfo.c: (gst_debug_set_active),
15989         (gst_debug_category_set_threshold):
15990         Disable debugging unless explicitly activated.
15991         Fixes #335480.
15992
15993 2006-03-22  Wim Taymans  <wim@fluendo.com>
15994
15995         * gst/gstelement.c: (gst_element_set_locked_state),
15996         (gst_element_dispose):
15997         Cleanup the error case.
15998
15999         * gst/gstobject.c: (gst_object_dispose):
16000         print a critical when some object was disposed with
16001         a parent, also revive the object since it might
16002         crash the parent.
16003
16004 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16005
16006         * tools/gst-launch.1.in:
16007           Fix another typo.
16008
16009 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16010
16011         * configure.ac:
16012         * tests/check/Makefile.am:
16013           disable some tests when we don't have a registry
16014         * tests/check/gst/gstutils.c: (gst_utils_suite):
16015           don't build the part that needs parsing
16016
16017 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16018
16019         * gst/Makefile.am
16020         * tests/examples/Makefile.am:
16021           fix --disable-parse build
16022
16023 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16024
16025         * tools/gst-feedback.1.in:
16026           Fix typo: s/feeback/feedback/ (#133494).
16027
16028 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16029
16030         * tools/Makefile.am:
16031         * tools/gst-launch.1.in:
16032           Add FILES section and correct entry about GST_REGISTRY_PATH
16033           environment variable (#133495; #133494).
16034
16035 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16036
16037         * tools/Makefile.am:
16038         * tools/gst-md5sum.1.in:
16039         * tools/gst-md5sum.c:
16040           Remove gst-md5sum and man page (the md5sink element
16041           required was removed ages ago)
16042
16043 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16044
16045         * gst/gststructure.c: (gst_structure_id_set_value):
16046           Make sure that string fields in structures/taglists
16047           contain valid UTF-8 - we don't want to pass rubbish to
16048           applications because of a buggy plugin (cp. #334167).
16049
16050 2006-03-21  Edward Hervey  <edward@fluendo.com>
16051
16052         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16053         (gst_bin_handle_message_func):
16054         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16055         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16056         (gst_element_set_bus_func):
16057         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16058         * gst/gstminiobject.c: (gst_value_set_mini_object),
16059         (gst_value_take_mini_object):
16060         * gst/gstpad.c: (gst_pad_set_pad_template):
16061         * gst/gstpipeline.c: (gst_pipeline_dispose),
16062         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16063         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16064         (gst_collect_pads_chain):
16065         * libs/gst/net/gstnettimeprovider.c:
16066         (gst_net_time_provider_set_property):
16067         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16068         It's in fact all issues with gst_*object_replace().
16069
16070 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16071
16072         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16073         
16074         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16075         * pkgconfig/gstreamer-check.pc.in:
16076           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16077
16078 2006-03-21  Edward Hervey  <edward@fluendo.com>
16079
16080         * gst/gstbuffer.h:
16081         * gst/gstevent.h:
16082         * gst/gstmessage.h:
16083         gst_[buffer|event|message]_ref() macros are replaced by a static
16084         inline functions because gcc-4.1 will about if the return value
16085         isn't used.
16086         * tests/check/gst/gstevent.c: (event_probe):
16087         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16088
16089 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16090
16091         * gst/gstutils.h:
16092         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16093         the type' case. (Closes: #335195 for now). In the future, when we
16094         depend on GLib 2.10, we could also intern the type name using
16095         g_intern_static_string()
16096
16097 2006-03-20  Wim Taymans  <wim@fluendo.com>
16098
16099         * gst/gstbin.c: (gst_bin_handle_message_func),
16100         (bin_query_max_init), (bin_query_position_fold),
16101         (bin_query_position_done), (gst_bin_query):
16102         Position query should also take max of all streams.
16103
16104 2006-03-20  Wim Taymans  <wim@fluendo.com>
16105
16106         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16107         (gst_fake_src_finalize):
16108         Fix leaks in fakesrc.
16109
16110         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16111         Fix leaks in the testcase.
16112
16113 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16114
16115         * gst/gst_private.h:
16116           add win32 specific import decoration(__declspec(dllimport)) 
16117           for all extern GstDebugCategory * variables
16118         * win32/common/libgstbase.def:
16119         * win32/common/libgstcontroller.def:
16120         * win32/common/libgstreamer.def:
16121           Add some exports, remove empty lines
16122         * win32/common/libgstdataprotocol.def:
16123         * win32/common/libgstdataprotocol.dsp:
16124         * win32/common/libgstnet.def:
16125         * win32/common/libgstnet.dsp:
16126           new project files and exportation files added
16127         
16128 2006-03-19  Wim Taymans  <wim@fluendo.com>
16129
16130         * tests/check/libs/basesrc.c: (eos_event_counter):
16131         Use proper return value for probe.
16132
16133 2006-03-17  Wim Taymans  <wim@fluendo.com>
16134
16135         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16136         (gst_pad_push):
16137         Don't leak buffers, caps and pads on negotiation errors.
16138
16139 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16140
16141         * docs/faq/cvs.xml:
16142         * docs/faq/dependencies.xml:
16143         * docs/faq/developing.xml:
16144         * docs/faq/faq.xml:
16145         * docs/faq/general.xml:
16146         * docs/faq/getting.xml:
16147         * docs/faq/legal.xml:
16148         * docs/faq/troubleshooting.xml:
16149         * docs/faq/using.xml:
16150         Faq review and update.
16151
16152 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16153
16154         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16155         (gst_pad_push):
16156         Don't pound the cpu to pieces by checking get_caps when accept_caps
16157         is called with the same caps as the pad already has.
16158         Use GST_DEBUG_OBJECT when outputting caps change information.
16159
16160 2006-03-15  Wim Taymans  <wim@fluendo.com>
16161
16162         * gst/gstclock.c: (gst_clock_class_init):
16163         Fix docs.
16164
16165 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16166
16167         * gst/gstbuffer.h:
16168         Documentation fix.
16169
16170         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16171         (gst_pad_accept_caps), (gst_pad_configure_sink),
16172         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16173         Make the default acceptcaps behaviour be to check the requested 
16174         caps against the gst_pad_get_caps output. 
16175
16176         Ensure that gst_pad_accept_caps is used to check caps when a pad
16177         doesn't have a setcaps function, so that pads automatically refuse 
16178         caps that they don't allow in their pad template. (Fixes #332986)
16179
16180         When a buffer with attached caps is pushed, ensure that the source 
16181         pad receives those caps even if the element didn't call
16182         gst_pad_set_caps first.
16183
16184 2006-03-15  Wim Taymans  <wim@fluendo.com>
16185
16186         * libs/gst/base/gstadapter.c:
16187         Add some docs.
16188
16189 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16190
16191         * win32/common/libgstbase.def:
16192         * win32/common/libgstcontroller.def:
16193         * win32/common/libgstreamer.def:
16194           Add a whole bunch of missing functions (#334434).
16195
16196 2006-03-14  Wim Taymans  <wim@fluendo.com>
16197
16198         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16199         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16200         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16201         Better debug info when we receive a segment event.
16202         Reorganize a bit so we can pass the get_times() results around.
16203         Use the segment format when calculating the running time.
16204         Don't do QoS is sync is disabled or we have no clock or the
16205         element does not want us to sync to the clock.
16206         Don't drop buffers if QoS is disabled for now.
16207
16208 2006-03-14  Wim Taymans  <wim@fluendo.com>
16209
16210         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16211         Marked the stats property as unimplemented so people don't get
16212         wild ideas.
16213         Add debug message when regression goes wrong.
16214         Added some more docs.
16215
16216 2006-03-14  Wim Taymans  <wim@fluendo.com>
16217
16218         * gst/gstsegment.c: (gst_segment_to_stream_time):
16219         Return correct return type in case of errors.
16220
16221 2006-03-14  Wim Taymans  <wim@fluendo.com>
16222
16223         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16224           Don't segfault on invalid formats.
16225
16226 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16227
16228         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16229           Can't use gst_segment_to_running_time() when the segment
16230           is not in GST_TIME_FORMAT (like with filesink, for example).
16231           Stops flac encoding pipelines from spewing critical warnings
16232           at EOS (#331248).
16233           
16234 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16235
16236         * gst/gstpipeline.c: (gst_pipeline_class_init):
16237           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16238
16239         * plugins/elements/gsttypefindelement.c:
16240         (gst_type_find_element_handle_event):
16241           Don't try to typefind empty streams.
16242
16243 2006-03-14  Wim Taymans  <wim@fluendo.com>
16244
16245         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16246         (gst_base_sink_do_qos):
16247         Separate QoS calculation.
16248         Only drop buffers when lateness is bigger than the 
16249         duration of the buffer.
16250
16251 2006-03-13  Wim Taymans  <wim@fluendo.com>
16252
16253         * gst/gstpipeline.c: (gst_pipeline_set_property),
16254         (gst_pipeline_get_property), (do_pipeline_seek),
16255         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16256         (gst_pipeline_get_delay):
16257         Don't deadlock when reading properties.
16258
16259 2006-03-13  Wim Taymans  <wim@fluendo.com>
16260
16261         * libs/gst/base/gstbasetransform.c:
16262         (gst_base_transform_class_init), (gst_base_transform_init),
16263         (gst_base_transform_sink_event),
16264         (gst_base_transform_sink_eventfunc),
16265         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16266         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16267         (gst_base_transform_set_property),
16268         (gst_base_transform_get_property),
16269         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16270         (gst_base_transform_set_qos_enabled),
16271         (gst_base_transform_is_qos_enabled):
16272         * libs/gst/base/gstbasetransform.h:
16273         Make basetransform virtual method for src events too.
16274         Handle QOS in basetransform.
16275         API: gst_base_transform_update_qos()
16276         API: gst_base_transform_set_qos_enabled()
16277         API: gst_base_transform_is_qos_enabled()
16278
16279 2006-03-13  Wim Taymans  <wim@fluendo.com>
16280
16281         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16282         (gst_base_sink_do_sync):
16283         Small cleanups.
16284         Use QOS debug category.
16285
16286 2006-03-13  Wim Taymans  <wim@fluendo.com>
16287
16288         * plugins/elements/gstqueue.c:
16289         Very small doc update.
16290
16291 2006-03-13  Wim Taymans  <wim@fluendo.com>
16292
16293         * gst/gst_private.h:
16294         * gst/gstinfo.c: (_gst_debug_init):
16295         Added QOS debug category
16296
16297 2006-03-13  Wim Taymans  <wim@fluendo.com>
16298
16299         * docs/gst/gstreamer-sections.txt:
16300         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16301         * gst/gstbin.h:
16302         * gst/gstbus.c: (gst_bus_class_init):
16303         * gst/gstbus.h:
16304         * gst/gstclock.c:
16305         * gst/gstelement.c: (gst_element_set_locked_state):
16306         * gst/gstsegment.c:
16307         Documentation updates.
16308
16309         * gst/gstpipeline.c: (gst_pipeline_get_type),
16310         (gst_pipeline_class_init), (gst_pipeline_init),
16311         (gst_pipeline_dispose), (gst_pipeline_set_property),
16312         (gst_pipeline_get_property), (do_pipeline_seek),
16313         (gst_pipeline_send_event), (gst_pipeline_change_state),
16314         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16315         (gst_pipeline_get_delay):
16316         * gst/gstpipeline.h:
16317         Added methods for setting the delay.
16318         API: gst_pipeline_set_delay()
16319         API: gst_pipeline_get_delay()
16320         Add pipeline debug category
16321         Various cleanups.
16322         Updated docs.
16323         Don't reset stream time when seek failed.
16324
16325 2006-03-13  Wim Taymans  <wim@fluendo.com>
16326
16327         * docs/design/draft-klass.txt:
16328         * docs/design/part-clocks.txt:
16329         * docs/design/part-events.txt:
16330         * docs/design/part-gstbin.txt:
16331         * docs/design/part-gstpipeline.txt:
16332         * docs/design/part-messages.txt:
16333         * docs/design/part-negotiation.txt:
16334         * docs/design/part-overview.txt:
16335         * docs/design/part-preroll.txt:
16336         * docs/design/part-seeking.txt:
16337         * docs/design/part-states.txt:
16338         * docs/design/part-streams.txt:
16339         Documentation updates.
16340
16341 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16342
16343         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16344         us to leak strings...
16345
16346 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16347
16348         * libs/gst/net/gstnettimeprovider.c:
16349           fix docs
16350         * win32/common/config.h:
16351           update
16352
16353 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16354
16355         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16356
16357         * configure.ac:
16358           Don't check for libgnomeui (leftover from old examples
16359           that aren't built or disted any longer) (#334303).
16360           
16361 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16362
16363         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16364         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16365           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16366           there's no space left on the device.
16367
16368 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16369
16370         * gst/gstclock.h:
16371           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16372           to cast the input to GstClockTime before comparing with
16373           another GstClockTime value.
16374
16375 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16376
16377         * configure.ac:
16378           back to trunk
16379
16380 === release 0.10.4 ===
16381
16382 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16383
16384         * configure.ac:
16385           releasing 0.10.4, "Light"
16386
16387 2006-03-10  Michael Smith  <msmith@fluendo.com>
16388
16389         * libs/gst/dataprotocol/dataprotocol.c:
16390           Fix docs for dataprocotol to not get the return types completely
16391           wrong for a few functions.
16392
16393 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16394
16395         * docs/gst/gstreamer-sections.txt:
16396         * gst/gstpipeline.c: (gst_pipeline_class_init),
16397         (gst_pipeline_init), (gst_pipeline_set_property),
16398         (gst_pipeline_get_property), (gst_pipeline_change_state),
16399         (gst_pipeline_set_auto_flush_bus),
16400         (gst_pipeline_get_auto_flush_bus):
16401         * gst/gstpipeline.h:
16402           Add new API: gst_pipeline_set_auto_flush_bus() and
16403           gst_pipeline_get_auto_flush_bus() to disable automatic
16404           flushing of the pipeline's GstBus when going from READY
16405           to NULL state (#332045).
16406
16407 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16408
16409         * docs/gst/gstreamer-sections.txt:
16410         * gst/gsturi.c: (gst_uri_has_protocol):
16411         * gst/gsturi.h:
16412            Add new API: gst_uri_has_protocol() (#333779).
16413
16414 2006-03-09  Wim Taymans  <wim@fluendo.com>
16415
16416         * gst/gstclock.c: (gst_clock_entry_new),
16417         (gst_clock_id_compare_func), (gst_clock_id_wait),
16418         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16419         (gst_clock_init), (gst_clock_get_internal_time),
16420         (gst_clock_set_master), (do_linear_regression),
16421         (gst_clock_add_observation), (gst_clock_set_property):
16422         * gst/gstclock.h:
16423         Review docs.
16424         Small cleanups.
16425         Fix a possible segfault when the window-size is made smaller.
16426         Calculate jitter before performing the clock wait. Ideally
16427         the clock implementation should calculate jitter but we need
16428         API breakage for that.
16429
16430         * gst/gstsystemclock.c: (gst_system_clock_init):
16431         Docs review.
16432         
16433         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16434         Remove leftover else
16435
16436         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16437         (gst_systemclock_suite):
16438         Added check to test GST_CLOCK_DIFF.
16439
16440 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16441
16442         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16443         (gst_type_find_helper_get_range):
16444           If we are provided with the size, we should implement
16445           GstTypeFind::get_length, so that typefind functions who
16446           want to can actually peek at the middle of a file.
16447
16448 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16449
16450         * docs/manual/advanced-dataaccess.xml:
16451           Add some very very basic error checking.
16452
16453         * docs/pwg/appendix-checklist.xml:
16454           Some updates to the list of things to check when writing an element.
16455
16456 2006-03-08  Wim Taymans  <wim@fluendo.com>
16457
16458         * docs/design/part-element-transform.txt:
16459         Added some docs about the design of tranform elements.
16460
16461         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16462         (gst_base_src_loop), (gst_base_src_change_state):
16463         Mark buffers with the DISCONT flag.
16464
16465 2006-03-08  Michael Smith  <msmith@fluendo.com>
16466
16467         * gst/gstregistry.h:
16468         * gst/gstregistryxml.c: (gst_registry_save),
16469         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16470         (gst_registry_xml_save_pad_template),
16471         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16472         (gst_registry_xml_write_cache):
16473           Rewrite registry-saving to avoid race conditions and check for
16474           failed writes.
16475
16476 2006-03-08  Wim Taymans  <wim@fluendo.com>
16477
16478         * libs/gst/base/gstbasetransform.c:
16479         (gst_base_transform_transform_caps),
16480         (gst_base_transform_transform_size),
16481         (gst_base_transform_prepare_output_buffer),
16482         (gst_base_transform_get_unit_size),
16483         (gst_base_transform_buffer_alloc),
16484         (gst_base_transform_handle_buffer),
16485         (gst_base_transform_change_state):
16486         Cleanups, separate normal flow from errors, add sensible
16487         DEBUG lines.
16488         Don't try to renegotiate when allocating an output buffer.
16489         Also copy DISCONT buffer flag when copying a buffer.
16490         Reset the transform after we finish streaming, not during.
16491
16492 2006-03-08  Wim Taymans  <wim@fluendo.com>
16493
16494         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16495         Use last buffer timestamp in qos message.
16496
16497 2006-03-07  Wim Taymans  <wim@fluendo.com>
16498
16499         Patch by: Christophe Fergeau
16500
16501         * docs/pwg/advanced-tagging.xml:
16502         * docs/pwg/building-pads.xml:
16503           fixes #333416
16504
16505 2006-03-07  Wim Taymans  <wim@fluendo.com>
16506
16507         * docs/libs/gstreamer-libs-sections.txt:
16508         Added basesink new methods.
16509
16510         * gst/gstevent.c:
16511         * gst/gstevent.h:
16512         Docs updates. Flesh out the QoS docs.
16513
16514         * libs/gst/base/gstadapter.c:
16515         Small doc clarification about ownership and flushing.
16516
16517         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16518         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16519         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16520         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16521         * libs/gst/base/gstbasesink.h:
16522         API additions: 
16523         Added new methods to allow subclass to control max-lateness 
16524         and sync.
16525         Generate very basic QoS events based on last sync observation.
16526         Updated docs, fix typo, added some QoS blurb.
16527
16528         * libs/gst/base/gstbasesrc.c:
16529         Remove obsolete _get_state() calls from docs.
16530
16531 2006-03-07  Wim Taymans  <wim@fluendo.com>
16532
16533         * docs/libs/gstreamer-libs-sections.txt:
16534         * libs/gst/base/gstbasetransform.h:
16535         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16536         Fix docs for GstBaseSrc.
16537
16538 2006-03-07  Wim Taymans  <wim@fluendo.com>
16539
16540         * docs/gst/gstreamer-sections.txt:
16541         * gst/gstbuffer.h:
16542         * gst/gstvalue.c:
16543         * libs/gst/base/gstbasetransform.h:
16544         Small documentation fixes.
16545
16546 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16547
16548         * gst/gstvalue.c:
16549           Document thread-unsafety of gst_value_register_foo_func()
16550           when used at the same time as gst_value_foo() (#322628).
16551
16552 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16553
16554         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16555         (gst_push_src_check_get_range):
16556           Push sources don't support pull mode by default.
16557
16558 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16559
16560         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16561         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16562         (gst_base_src_default_check_get_range):
16563         * libs/gst/base/gstbasesrc.h:
16564           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16565           provide default implementation, and rename
16566           gst_base_src_check_get_range() to
16567           gst_base_src_pad_check_get_range() for clarity.
16568
16569 2006-03-06  Wim Taymans  <wim@fluendo.com>
16570
16571         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16572         Make property overridable.
16573
16574 2006-03-06  Wim Taymans  <wim@fluendo.com>
16575
16576         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16577         (gst_base_sink_init), (gst_base_sink_set_property),
16578         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16579         * libs/gst/base/gstbasesink.h:
16580         API addition: Make max-lateness a property.
16581
16582 2006-03-06  Wim Taymans  <wim@fluendo.com>
16583
16584         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16585         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16586         Don't ever draw a frame that is >10ms late.
16587
16588 2006-03-06  Michael Smith  <msmith@fluendo.com>
16589
16590         * gst/gstmessage.c: (_gst_message_copy):
16591           When copying a message, set the parent_refcount of the enclosed
16592           structure to point at the copy, not the original message.
16593
16594 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16595
16596         Patch by: Christophe Fergeau
16597
16598         * gst/gstutils.h:
16599           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16600           usable in c++ code (#333417)
16601
16602 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16603
16604         * gst/gstclock.h:
16605           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16606
16607 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16608
16609         * libs/gst/base/gstbasetransform.c:
16610         (gst_base_transform_transform_caps):
16611           Make sure caps are writable before passing them to
16612           gst_caps_append().
16613
16614 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16615
16616         * gst/gsterror.h:
16617           Fix some minor docs errors.
16618
16619 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16620
16621           Patch by: Ross Burton <ross at burtonini dot com>
16622
16623         * gst/gsterror.c: (_gst_resource_errors_init):
16624         * gst/gsterror.h:
16625           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16626
16627 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16628
16629         * gst/gst.c:
16630         Add a check and output a g_warning when GStreamer is built
16631         against GLib 2.6 but running against 2.8 or higher, and vice 
16632         versa. (Closes: #323542)
16633
16634 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16635
16636         * gst/parse/parse.l:
16637           Commit patch for parse_launch syntax from #331255. Removes 
16638           support for quoted strings and mimetypes when writing filtered 
16639           caps. See the bug report for more details - I'm pretty sure this
16640           obscure feature is not in use by _anyone_ anywhere.
16641
16642           With this simple change, the size of the gstreamer.so here 
16643           drops from 2193KB to 1565KB.
16644
16645 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16646
16647         * plugins/elements/gsttypefindelement.h:
16648         * plugins/elements/gsttypefindelement.c:
16649         (gst_type_find_element_src_event), (start_typefinding),
16650         (stop_typefinding), (gst_type_find_element_handle_event),
16651         (gst_type_find_element_chain),
16652         (gst_type_find_element_chain_do_typefinding):
16653           Use gst_type_find_helper_for_buffer() for chain-based
16654           typefinding.
16655
16656 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16657
16658         * plugins/elements/gsttypefindelement.c:
16659         (gst_type_find_element_class_init),
16660         (gst_type_find_element_set_property),
16661         (gst_type_find_element_get_property):
16662           Deprecate "maximum" property (not only was it only taken into
16663           account for typefinding in push-mode anyway, it also was never
16664           actually possible to set it in the first place because the
16665           property was registered with the numeric property ID for the
16666           "minimum" property). Register "maximum" property correctly,
16667           for the sake of future copy'n'pasters. Remove some cruft
16668           from property get/set functions.
16669
16670 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16671
16672         * plugins/elements/gsttypefindelement.c:
16673         (gst_type_find_element_activate):
16674           Use gst_type_find_helper_get_range() here, so we
16675           can honour the "minimum" property and also emit
16676           the signal with the correct probability of the found caps.
16677
16678 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16679
16680         * docs/libs/gstreamer-libs-sections.txt:
16681         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16682         (helper_find_suggest), (gst_type_find_helper_get_range),
16683         (gst_type_find_helper):
16684         * libs/gst/base/gsttypefindhelper.h:
16685           New API: gst_type_find_helper_get_range() (#333042).
16686
16687 2006-03-02  Michael Smith  <msmith@fluendo.com>
16688
16689         * gst/gstregistryxml.c: (load_feature):
16690           Asserting on a failure to read part of the registry is Not Cool.
16691           Just log a warning and return NULL (which is already handled)
16692
16693 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16694
16695         * win32/common/libgstbase.def:
16696           added export of gst_type_find_helper_for_buffer
16697         * win32/common/libgstbase.def:
16698           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16699           gst_ghost_pad_get_target
16700
16701 2006-02-28  Wim Taymans  <wim@fluendo.com>
16702
16703         * docs/design/draft-klass.txt:
16704         We use Filter now.
16705         Added Connector to mark elements that are only used to
16706         allow pipeline connections.
16707         Moved Debug to extra feature since most of them are 
16708         functionally something else.
16709
16710 2006-02-28  Wim Taymans  <wim@fluendo.com>
16711
16712         * docs/design/draft-klass.txt:
16713         Some updates and clarifications.
16714
16715 2006-02-28  Wim Taymans  <wim@fluendo.com>
16716
16717         * docs/design/draft-klass.txt:
16718         Proposal for klass field values.
16719
16720         * docs/design/part-streams.txt:
16721         Start of a doc describing stream anatomy.
16722
16723 2006-02-28  Wim Taymans  <wim@fluendo.com>
16724
16725         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16726         Help the compiler a bit with type registration.
16727         Use existing forward cod path instead of duplicating it when 
16728         handling a message.
16729         
16730         * gst/gstbus.c: (gst_bus_get_type):
16731         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16732         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16733         * gst/gstclock.c: (gst_clock_get_type):
16734         * gst/gstelement.c: (gst_element_get_type),
16735         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16736         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16737         * gst/gstminiobject.c: (gst_mini_object_get_type):
16738         * gst/gstpad.c: (gst_pad_get_type):
16739         * gst/gstsegment.c: (gst_segment_get_type):
16740         * gst/gststructure.c: (gst_structure_get_type):
16741         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16742         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16743         * gst/gstvalue.c:
16744         Help compiler with type registration.
16745
16746         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16747         Small doc update.
16748
16749 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16750
16751         * plugins/elements/gsttypefindelement.c:
16752         (gst_type_find_element_handle_event):
16753           When we get an EOS event and have not found a type yet
16754           (most likely because we had not yet accumulated
16755           TYPE_FIND_MIN_SIZE of data yet), try to determine the
16756           type given the data we have so far. Fixes typefinding
16757           for very short streams again, most notably quicktime
16758           redirections as used on Apple's trailer site (#331701).
16759
16760 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16761
16762         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16763         (gst_type_find_helper):
16764           Try typefinding factories with the highest rank first.
16765
16766 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16767
16768         * docs/libs/gstreamer-libs-docs.sgml:
16769         * docs/libs/gstreamer-libs-sections.txt:
16770         * libs/gst/base/gsttypefindhelper.c:
16771           Add section for typefind helper and add documentation
16772           for the old and the new function.
16773
16774 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16775
16776         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16777         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16778         (gst_type_find_helper_for_buffer):
16779         * libs/gst/base/gsttypefindhelper.h:
16780           New API: gst_type_find_helper_for_buffer() (#332723).
16781           
16782 2006-02-27  Michael Smith  <msmith@fluendo.com>
16783
16784         Patch by: Loïc Minier
16785
16786         * configure.ac:
16787         * docs/Makefile.am:
16788         * docs/slides/Makefile.am:
16789           prevent CVS directories getting disted.
16790
16791 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16792
16793         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16794           Use the REFCOUNTING category for caps refcounting.
16795           
16796 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16797
16798         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16799           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16800
16801 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16802
16803         * plugins/elements/gsttypefindelement.c:
16804         (gst_type_find_element_activate):
16805           Use gst_pad_check_pull_range() before _activate_pull()
16806           to avoid unnecessary open/close (see #331690).
16807
16808 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16809
16810         * gst/gstutils.c:
16811           Docs enhancement: make it crystal clear what the
16812           gst_pad_add_*_probe() callbacks should look like.
16813
16814 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16815
16816         * libs/gst/base/gstbasesrc.c:
16817           Document how applications can stop recording from
16818           live sources (see #330996).
16819
16820 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16821
16822         * tests/check/Makefile.am:
16823         * tests/check/libs/basesrc.c: (eos_event_counter),
16824         (basesrc_eos_events_pull), (basesrc_eos_events_push),
16825         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16826         (gst_basesrc_suite), (main):
16827           ... and add some tests for the base source EOS stuff.
16828
16829 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16830
16831         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16832           Test case originally showed the problem fixed below,
16833           but was then amended. Add checks back at the place
16834           where they used to be.
16835
16836 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16837
16838         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16839         (gst_base_src_init), (gst_base_src_loop),
16840         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16841         (gst_base_src_change_state):
16842         * libs/gst/base/gstbasesrc.h:
16843           Don't unconditionally send EOS when going from PAUSED to
16844           READY state, esp. make sure we don't send two EOS events
16845           in some cases (e.g. one when reaching EOS and one when
16846           going from PAUSED to READY). Also, we don't want to send
16847           EOS events when operating in pull mode. However, we do
16848           want to send an EOS event when shutting down a live
16849           source explicitly, for example (fixes #330996).
16850           
16851 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16852
16853         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16854           Update src->read_position after a seek when not using mmap.
16855           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16856
16857 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
16858
16859         * gst/Makefile.am:
16860         * gst/gstparse.h:
16861         * gst/gstutils.c:
16862         * gst/gstutils.h:
16863         Make things work with --disable-parse as they do with 
16864         --disable-load-save - the symbols involved disappear, but the
16865         header is still installed and GST_DISABLE_PARSE is included via
16866         gstconfig.h
16867
16868 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16869
16870         * libs/gst/base/gstbasetransform.c:
16871         (gst_base_transform_change_state): Fix a stupid bug. I was 
16872         sure I compiled that.
16873
16874 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16875
16876         * gst/gstpad.c: (gst_pad_set_blocked_async):
16877         * gst/gstutils.c: (gst_pad_add_data_probe),
16878         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16879         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16880         (gst_pad_remove_buffer_probe): Make those function act on the
16881         ghostpad target when it's a ghostpad. (Closes #331727)
16882
16883 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16884
16885         * libs/gst/base/gstbasetransform.c:
16886         (gst_base_transform_change_state): Make basetransform reusable.
16887         (Closes #331898)
16888
16889 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
16890
16891         * docs/random/release:
16892         Move the current documentation of how to do a release to the top
16893         of the file.
16894
16895         * gst/gstbin.c: (gst_bin_class_init),
16896         (gst_bin_handle_message_func):
16897         Allow multiple state-recalculation threads. (Closes #328873)
16898
16899 2006-02-19  Julien MOUTTE  <julien@moutte.net>
16900
16901         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16902         * gst/gstpad.c: (gst_pad_set_event_function),
16903         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16904         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16905         2 strings. You can't use the STR_NULL macro on that.
16906
16907 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
16908
16909         * gst/gstpad.c: (gst_pad_set_event_function),
16910         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16911         (gst_pad_set_getcaps_function)
16912         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16913           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16914           So now, we can use --gst-debug-level=5 on Windows
16915         * win32/common/libgstcontroller.def:
16916           Added export of gst_controller_init
16917         * win32/vs6/libgstcontroller.dsp:
16918           Fixed Release post build configuration
16919
16920 2006-02-17  Wim Taymans  <wim@fluendo.com>
16921
16922         * tests/check/gst/gstquery.c: (GST_START_TEST):
16923         Added another check.
16924
16925 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
16926
16927         * plugins/elements/gsttypefindelement.c: (find_peek):
16928           We can do peeks at non-zero offsets, as long as they
16929           fall within the buffer we have.
16930
16931 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
16932
16933         * tests/check/Makefile.am:
16934         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16935         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16936         (parse_suite), (main):
16937           Add testsuite for parse launch syntax
16938
16939 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
16940
16941         * plugins/elements/gsttypefindelement.c:
16942         (gst_type_find_element_chain):
16943           When typefinding is unsuccessful in the chain function, don't
16944           error out immediately. Only error out with NO_CAPS_FOUND if
16945           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16946           otherwise simply wait for more data so we can try typefinding
16947           again with more data later. Also, don't attempt to typefind
16948           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16949           this should improve typefinding from network sources where the
16950           size of the first buffer can be somewhat random.
16951
16952 2006-02-14  Wim Taymans  <wim@fluendo.com>
16953
16954         * docs/gst/gstreamer-sections.txt:
16955         * gst/gstpadtemplate.c:
16956         * gst/gstpadtemplate.h:
16957         Fix padtemplate docs, fixes #328805.
16958
16959 2006-02-14  Wim Taymans  <wim@fluendo.com>
16960
16961         * tools/gst-launch.c: (main):
16962         NO_PREROLL is not an ERROR so don't send confusing messages
16963         to the user.
16964
16965 2006-02-14  Wim Taymans  <wim@fluendo.com>
16966
16967         Patch by: Torsten Schoenfeld
16968
16969         * gst/gstregistry.c: (gst_registry_get_default),
16970         (_gst_registry_cleanup):
16971         Protect default registry with lock and ref/sink it.
16972         Fixes #324818
16973
16974 2006-02-14  Wim Taymans  <wim@fluendo.com>
16975
16976         * gst/gstbuffer.c:
16977         * gst/gstquery.c: (gst_query_list_add_format),
16978         (gst_query_set_formatsv), (gst_query_parse_formats_length),
16979         (gst_query_parse_formats_nth):
16980         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16981         Docs fixes.
16982
16983 2006-02-14  Wim Taymans  <wim@fluendo.com>
16984
16985         * docs/gst/gstreamer-sections.txt:
16986         Reworked query docs.
16987
16988         * gst/gstquery.c: (gst_query_new_formats),
16989         (gst_query_list_add_format), (gst_query_set_formats),
16990         (gst_query_set_formatsv), (gst_query_parse_formats_length),
16991         (gst_query_parse_formats_nth):
16992         * gst/gstquery.h:
16993         Flesh out formats query, added some new methods.
16994         Fix part of #324398.
16995
16996         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16997         Added query creation tests.
16998
16999 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17000
17001         * gst/gstpad.c: (fixate_value):
17002         Add a default fixation for fraction lists.
17003
17004 2006-02-13  Wim Taymans  <wim@fluendo.com>
17005
17006         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17007         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17008         (gst_task_join):
17009         * gst/gsttask.h:
17010         Detect and warn for obvious deadlocks. fixes #320340
17011         Fix error case where lock was not released.
17012
17013         * tests/check/Makefile.am:
17014         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17015         (task_func), (gst_element_suite), (main):
17016         Add task check.
17017
17018 2006-02-13  Wim Taymans  <wim@fluendo.com>
17019
17020         * docs/gst/gstreamer-sections.txt:
17021         * gst/gstbus.c:
17022         Add new functions to docs.
17023
17024 2006-02-13  Wim Taymans  <wim@fluendo.com>
17025
17026         * docs/design/part-TODO.txt:
17027         Updated TODO list, basesrc supports seeking to non-bytes
17028         formats.
17029
17030         * docs/design/part-element-sink.txt:
17031         Update docs.
17032
17033         * gst/gstbin.c: (bin_replace_message),
17034         (gst_bin_handle_message_func):
17035         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17036         * gst/gstevent.c: (gst_event_finalize):
17037         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17038         (gst_pad_send_event):
17039         Use shiny new _TYPE_NAME macros.
17040
17041         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17042         Move debug statement up.
17043
17044         * gst/gstelement.c: (gst_element_set_locked_state):
17045         Add some debugging.
17046
17047 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17048
17049         * docs/gst/gstreamer-sections.txt:
17050         * gst/gstmessage.h:
17051         * gst/gstquery.h:
17052           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17053           macros (#330906). Also, document the already existing
17054           GST_QUERY_TYPE macro.
17055
17056 2006-02-13  Wim Taymans  <wim@fluendo.com>
17057
17058         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17059         (event_probe), (GST_START_TEST):
17060         Only events up to the pipeline EOS are counted, there are
17061         some more when going to NULL currently which we don't care
17062         about for now.
17063
17064 2006-02-13  Wim Taymans  <wim@fluendo.com>
17065
17066         * gst/gstpad.c: (gst_pad_send_event):
17067         Correctly check flushing and emit probes. fixes #330125
17068
17069 2006-02-10  Andy Wingo  <wingo@pobox.com>
17070
17071         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17072         structure.
17073         (gst_bus_init): Cache the location of the private data in the
17074         instance structure.
17075         (gst_bus_enable_sync_message_emission) 
17076         (gst_bus_disable_sync_message_emission): Implement new public
17077         functions.
17078         (gst_bus_post): Emit the sync-message signal if the user asked for
17079         it. Fixes #330684.
17080
17081         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17082         location of the bus-private structure.
17083         (gst_bus_enable_sync_message_emission)
17084         (gst_bus_disable_sync_message_emission): API addition
17085
17086 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17087
17088         Patch by: Vincent Torri
17089
17090         * docs/pwg/building-boiler.xml:
17091         PWG patch from #326800
17092
17093 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17094
17095         * configure.ac:
17096         * docs/Makefile.am:
17097         * docs/design/Makefile.am:
17098           Dist design docs.
17099
17100 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17101
17102         * configure.ac:
17103           back to CVS
17104
17105 === release 0.10.3 ===
17106
17107 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17108
17109         * configure.ac:
17110           releasing 0.10.3, "Like a virgin"
17111
17112 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17113
17114         * configure.ac:
17115           2nd prerelease of 0.10.3
17116           Bump libtool versioning.
17117
17118 2006-02-07  Andy Wingo  <wingo@pobox.com>
17119
17120         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17121         update last_stop if we're in TIME format and the timestamp is
17122         valid.
17123
17124         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17125         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17126         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17127         If we get a new newsegment with a different format, adapt
17128         accordingly.
17129
17130         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17131         of 0. Not a problem, really.
17132
17133         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17134         warn if sync=true.
17135
17136 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17137
17138         * configure.ac:
17139           Prelease of 0.10.3
17140
17141 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17142
17143         * win32/vs7:
17144           project files updated to the default vs7 configuration
17145         * win32/common/libgstbase.def:
17146         * win32/common/libgstreamer.def:
17147           added new symbols,
17148           removed empty lines,
17149           sorted all exported symbols alphabetically
17150         * win32/common/dirent.c:
17151         * win32/common/dirent.h:
17152         * win32/common/gchar.h:
17153           use windows line end.
17154           
17155 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17156
17157         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17158           Send EOS event when stopping.
17159
17160 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17161
17162         * docs/README:
17163           Tell folks what to do if the plugin-foobar.xml file
17164           hasn't been generated for a newly-added plugin.
17165
17166 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17167
17168         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17169         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17170         (gst_collect_pads_start), (gst_collect_pads_stop),
17171         (gst_collect_pads_event): Collectpads now holds a reference
17172         to the GstPad that was added. Indeed we don't want to look
17173         at pads that might just go away with no warning...
17174
17175 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17176
17177         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17178         (gst_collect_pads_start), (gst_collect_pads_stop),
17179         (gst_collect_pads_event), (gst_collect_pads_chain):
17180         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17181         Mark Nauwelaerts's patch on bug #328491.
17182
17183 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17184
17185         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17186         (gst_utils_suite):
17187           Add some simple tests for gst_parse_bin_from_description() and
17188           gst_bin_find_unconnected_pad() (#329069).
17189
17190 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17191
17192         * tools/gst-launch.c: (event_loop), (main):
17193           Catch errors during preroll (#320084).
17194
17195 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17196
17197         * plugins/elements/gsttypefindelement.c:
17198         (gst_type_find_element_activate):
17199           Post TYPE_NOT_FOUND error message when typefinding
17200           is unsuccessful in the activate function as well.
17201
17202 2006-02-02  Wim Taymans  <wim@fluendo.com>
17203
17204         * docs/design/part-element-sink.txt:
17205         Updated doc.
17206
17207 2006-02-02  Wim Taymans  <wim@fluendo.com>
17208
17209         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17210         (gst_base_sink_render_object),
17211         (gst_base_sink_queue_object_unlocked):
17212         Only keep track of prerollable items when we are 
17213         prerolling.
17214         Before rendering after preroll, always check if we
17215         have queued items.
17216         Added some more debugging.
17217
17218 2006-02-02  Wim Taymans  <wim@fluendo.com>
17219
17220         * gst/gstelement.c: (gst_element_continue_state),
17221         (gst_element_set_state_func), (gst_element_change_state):
17222         Fixed #326576, been running this for quite some time with
17223         no regressions at all.
17224
17225 2006-02-02  Wim Taymans  <wim@fluendo.com>
17226
17227         * common/gst.supp:
17228         Added more suppressions
17229
17230 2006-02-02  Wim Taymans  <wim@fluendo.com>
17231
17232         * docs/design/part-element-sink.txt:
17233         Updated document.
17234
17235         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17236         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17237         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17238         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17239         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17240         (gst_base_sink_preroll_object),
17241         (gst_base_sink_queue_object_unlocked),
17242         (gst_base_sink_queue_object), (gst_base_sink_event),
17243         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17244         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17245         (gst_base_sink_get_position), (gst_base_sink_change_state):
17246         * libs/gst/base/gstbasesink.h:
17247         Totally refactored matching the design doc.
17248         Use two segments, one to clip incomming buffers and another to
17249         perform sync.
17250         Handle queueing correctly, bypass the queue when playing.
17251         Make EOS cancelable.
17252         Handle errors correctly when operating in pull based mode.
17253
17254         * tests/check/elements/fakesink.c: (GST_START_TEST),
17255         (fakesink_suite):
17256         Added new check for sinks.
17257
17258 2006-02-02  Wim Taymans  <wim@fluendo.com>
17259
17260         * gst/gstsegment.c: (gst_segment_clip):
17261         No reason to refuse to clip when start == -1
17262
17263 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17264
17265         * docs/README:
17266         * docs/manual/intro-basics.xml:
17267         * docs/manual/intro-preface.xml:
17268         * docs/manual/manual.xml:
17269         * docs/pwg/advanced-dparams.xml:
17270         * docs/pwg/intro-basics.xml:
17271         * docs/pwg/intro-preface.xml:
17272         * docs/pwg/pwg.xml:
17273           describe dparams (controller) for plugins
17274           unify docs a little more
17275
17276 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17277
17278         * docs/gst/gstreamer-sections.txt:
17279         * gst/gstutils.c: (element_find_unconnected_pad),
17280         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17281         * gst/gstutils.h:
17282           Add new API: gst_parse_bin_from_description() and
17283           gst_bin_find_unconnected_pad() (#329069).
17284
17285 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17286
17287         * docs/manual/README:
17288           uncover a nasty detail of the docs build
17289
17290 2006-01-31  Wim Taymans  <wim@fluendo.com>
17291
17292         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17293         Don't cache duration messages if we're not going to use or
17294         free them.
17295
17296 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17297
17298         * docs/manual/advanced-dparams.xml:
17299         * docs/pwg/advanced-dparams.xml:
17300           more dparam docs
17301         * gst/gstindex.c:
17302           fix docs
17303         * libs/gst/controller/lib.c: (gst_controller_init):
17304           init just once
17305
17306 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17307
17308         * gst/gstelement.c: (gst_element_message_full):
17309           also show file/line/func if no additional debug was given
17310
17311 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17312         
17313         * win32/vs7/grammar.vcproj:
17314           activate copy of autogenerated files for Release mode
17315
17316 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17317         
17318         * win32/common/libgstreamer.def:
17319           export gst_value_compare
17320
17321 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17322
17323         * plugins/elements/Makefile.am:
17324         * plugins/elements/gstelements.c:
17325         * plugins/elements/gstfdsink.c: (_do_init),
17326         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17327         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17328         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17329         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17330         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17331         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17332         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17333         * plugins/elements/gstfdsink.h:
17334         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17335
17336 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17337
17338         * docs/manual/advanced-dparams.xml:
17339           describe controller
17340         * docs/manual/advanced-position.xml:
17341         * docs/manual/basics-init.xml:
17342         * docs/manual/manual.xml:
17343         * docs/manual/titlepage.xml:
17344         * docs/pwg/pwg.xml:
17345         * docs/pwg/titlepage.xml:
17346           cleanup xml (more to come)
17347         * libs/gst/controller/gstcontroller.c:
17348           fix typo
17349
17350 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17351         
17352         * win32/vs6/grammar.dsp:
17353           add autogen of gstmarshal.c,h for Release mode
17354                 
17355 2006-01-30  Wim Taymans  <wim@fluendo.com>
17356
17357         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17358         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17359         (gst_base_sink_handle_object), (gst_base_sink_event),
17360         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17361         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17362         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17363         (gst_base_sink_deactivate), (gst_base_sink_activate),
17364         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17365         (gst_base_sink_query), (gst_base_sink_change_state):
17366         Basesink cleanups, remove some old code.
17367         Handle the case where a subclass can preroll in the render
17368         method (mostly audiosinks).
17369         Handle more events.
17370         Remove some locks around variables that are now protected
17371         with the PREROLL_LOCK (clock_id, flushing, ..).
17372         Optimize position query some more, do correct locking.
17373         Remove old code to push queue in state change, this is not
17374         needed anymore since preroll blocks on all prerollable items 
17375         now.
17376         Almost implemented as described in design doc.
17377
17378 2006-01-30  Wim Taymans  <wim@fluendo.com>
17379
17380         * tests/check/gst/gstbin.c: (GST_START_TEST):
17381         Wait for refcount to settle down before checking.
17382
17383 2006-01-30  Wim Taymans  <wim@fluendo.com>
17384
17385         * docs/design/part-element-sink.txt:
17386         Pseudo code overview of desired sink behaviour regarding
17387         preroll.
17388
17389 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17390         * win32/vs6/grammar.dsp:
17391           fix some bugs in Release mode for autogenerated files
17392                 
17393 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17394         * win32/common/libgstbase.def:
17395         * win32/common/libgstreamer.def:
17396           export some new symbols: gst_base_src_set_format,
17397           gst_iterator_next, gst_structure_set_valist
17398
17399 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17400
17401         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17402         Set pad functions unconditionally. Fixes #329105.
17403
17404 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17405         * win32/vs8:
17406           add vs8 project files created by Sergey Scobich
17407
17408 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17409
17410         * gst/gstutils.c: (gst_element_unlink_pads):
17411         Don't leak pad references.
17412
17413         * tests/check/elements/fakesink.c: (GST_START_TEST):
17414         * tests/check/generic/sinks.c: (GST_START_TEST):
17415         * tests/check/generic/states.c: (GST_START_TEST):
17416         * tests/check/gst/gstbin.c: (GST_START_TEST):
17417         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17418         * tests/check/gst/gstelement.c: (GST_START_TEST):
17419         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17420         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17421         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17422         Fix a bunch of leaks. Make generic/sinks.c
17423         use a bit less cpu by slowing the buffer rate
17424         between fakesrc and fakesink.
17425         
17426 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17427         * gst/gstcaps.c:
17428         * gst/gstelement.c: (gst_element_send_event):
17429         * gst/gstevent.c:
17430         * gst/gstinfo.c:
17431         * gst/gstiterator.c:
17432         * gst/gstiterator.h:
17433         * gst/gstpad.c: (gst_pad_send_event):
17434         * gst/gststructure.c:
17435         * gst/gsturi.c:
17436         * gst/gstutils.c:
17437         * gst/gstvalue.c:
17438         * libs/gst/base/gstadapter.c:
17439           doc fixes, to link to function, just write gst_cool_function(), don't
17440           prefix with '#'
17441
17442 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17443
17444         * plugins/elements/gsttee.c: (gst_tee_do_push),
17445         (gst_tee_handle_buffer):
17446         Always prefer an actual return value from a src
17447         pad in place of NOT_LINKED. This means we return
17448         WRONG_STATE when all src pads are WRONG_STATE
17449         instead of NOT_LINKED.
17450
17451         Lock when replacing the last message to prevent
17452         racing with the get_property method.
17453
17454         Add debug output
17455
17456 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17457
17458         * tests/check/Makefile.am:
17459         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17460         (main):
17461         Add a very simple check that should have caught the memleak I fixed
17462         last night (if not for the slice allocator hiding it)
17463
17464 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17465
17466         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17467         (gst_bin_remove_func), (gst_bin_handle_message_func),
17468         (bin_query_duration_fold), (bin_query_generic_fold):
17469         Clean up references to the clock provider when disposed or when
17470         handling a clock-lost message from it.
17471
17472         Unref sinks when performing a query via gst_iterator_fold, as the
17473         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17474
17475         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17476         (gst_clock_set_master):
17477         Drop our reference to the master clock, if any, when we are disposed.
17478
17479         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17480         Chain up in dispose. 
17481
17482 2006-01-26  Wim Taymans  <wim@fluendo.com>
17483
17484         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17485         Add some debugging.
17486
17487 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17488
17489         * plugins/elements/gsttee.c: (gst_tee_do_push),
17490         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17491         handles pad being NOT_LINKED or in WRONG_STATE.
17492
17493 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17494
17495         * win32/MANIFEST:
17496           more updating
17497
17498 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17499
17500         * win32/MANIFEST:
17501           remove obsolete entry
17502
17503 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17504
17505         * docs/gst/gstreamer-sections.txt:
17506         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17507         (gst_bin_iterate_sources), (gst_bin_send_event):
17508         * gst/gstbin.h:
17509         * gst/gstelement.c: (gst_element_send_event):
17510         * gst/gstevent.c:
17511         * gst/gstpad.c: (gst_pad_send_event):
17512           added code for downstream events, reviewed docs in gstevent.c
17513
17514 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17515
17516         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17517         We only query position using the clock in the playing state.
17518         Query peer in the other cases.
17519         * win32/common/config.h: Updates.
17520
17521 2006-01-24  Wim Taymans  <wim@fluendo.com>
17522
17523         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17524         A clock entry that is scheduled for the exact time of the
17525         clock is still in time.
17526
17527         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17528         (gst_base_sink_do_sync):
17529         Add some more debug info.
17530
17531 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17532
17533         * win32/vs7:
17534           Add new vs7 project files and solution.
17535
17536 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17537
17538         * win32/vs7:
17539           all files removed as they were out-dated.
17540
17541 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17542
17543         * docs/random/release:
17544           update notes
17545         * gst/gstbin.c: (gst_bin_init):
17546         * gst/gstbus.c: (gst_bus_new):
17547         * gst/gstbus.h:
17548         * gst/gstpipeline.c: (gst_pipeline_init):
17549           use gst_bus_new(), improve logging, fix docs
17550         * win32/common/config.h:
17551           update for cvs build
17552
17553 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17554
17555         * autogen.sh:
17556           up required version of automake to 1.7
17557
17558 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17559
17560         * win32/common/libgstreamer.def:
17561           export gst_buffer_is_metadata_writable
17562
17563 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17564
17565         * docs/gst/gstreamer-sections.txt:
17566         * gst/gstevent.h:
17567           Add gst_event_replace() (#327001)
17568
17569 2006-01-20  Wim Taymans  <wim@fluendo.com>
17570
17571         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17572         Make it actually compile too..
17573
17574 2006-01-20  Wim Taymans  <wim@fluendo.com>
17575
17576         * gst/gstcaps.c:
17577         Clarify behaviour of _is_equal() when passing NULL parameters.
17578
17579         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17580         (gst_pad_set_caps):
17581         Cleanups. Don't unref NULL caps.
17582         When setting the same caps, protect caps of the pad with
17583         proper lock.
17584         Use full functionality of _is_equal() when comparing caps.
17585
17586 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17587
17588         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17589         Don't loop infinitely if there are no buffers to present. Partially
17590         fixes #327197, but collectpads is just broken for reusing elements
17591         to do multiple encodes atm.
17592
17593 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17594
17595         * tools/gst-inspect.c: (print_element_features):
17596         * tools/gst-xmlinspect.c: (main):
17597         URL_HANDLER is not a plugin feature we can search for in
17598         the registry.
17599
17600 2006-01-19  Edward Hervey  <edward@fluendo.com>
17601
17602         * gst/gstelement.c: (gst_element_pads_activate): 
17603         When activating, do src pads first, then sink pads.
17604         When de-activating, do sink pads first, then src pads.
17605
17606 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17607
17608         * docs/gst/gstreamer-sections.txt:
17609         Add gst_index_add_associationv to the docs
17610
17611 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17612
17613         * gst/gstevent.c:
17614           Fix docs typo
17615
17616         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17617         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17618           Do some refactoring. Doesn't actually change functionality,
17619           but makes landing the DRAIN event easier later.
17620
17621 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17622
17623         * docs/pwg/advanced-scheduling.xml:
17624           Update from 0.9.x to 0.10 API and make example a bit
17625           clearer.
17626
17627 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17628
17629         * docs/gst/gstreamer-sections.txt:
17630         Add gst_buffer_(is|make)_metadata_writable methods.
17631
17632 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17633
17634         * docs/design/part-sparsestreams.txt:
17635         Update sparse streams doc, hopefully for greater clarity
17636
17637 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17638
17639         * docs/design/part-events.txt:
17640         Remove mention of FILLER events.
17641         Add DRAIN event.
17642
17643         * docs/design/part-sparsestreams.txt:
17644         Write some things about using NEWSEGMENT to keep sparse streams
17645         flowing.
17646
17647 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17648
17649         * gst/gstbin.c: (gst_bin_dispose):
17650           Guard gst_object_unref call against a NULL object (dispose
17651           can theoretically be called multiple times).
17652           
17653 2006-01-18  Wim Taymans  <wim@fluendo.com>
17654
17655         * gst/gstbin.c: (gst_bin_element_set_state):
17656         * gst/gstclock.c: (gst_clock_id_wait):
17657         Added some more debug info.
17658
17659         * libs/gst/base/gstadapter.c:
17660         Added more docs.
17661
17662         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17663         (gst_base_sink_do_sync), (gst_base_sink_chain):
17664         Added some comments.
17665
17666 2006-01-18  Wim Taymans  <wim@fluendo.com>
17667
17668         * tests/check/Makefile.am:
17669         * tests/check/elements/fakesink.c: (chain_async_buffer),
17670         (chain_async), (chain_async_return), (GST_START_TEST),
17671         (fakesink_suite), (main):
17672         Added fakesink test that checks prerolling and clipping
17673         behaviour.
17674
17675         * tests/check/gst/gstutils.c: (GST_START_TEST):
17676         Make check run faster so that buildbots don't timeout.
17677
17678 2006-01-18  Wim Taymans  <wim@fluendo.com>
17679
17680         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17681         (gst_base_sink_do_sync):
17682         Some cleanups.
17683         When the sink finishes blocking on the preroll buffer, it can
17684         immediatly render it instead of rendering when the next buffer
17685         arrives.
17686
17687 2006-01-18  Wim Taymans  <wim@fluendo.com>
17688
17689         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17690         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17691         (gst_base_sink_chain):
17692         Small cleanups.
17693         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17694         Don't store _last_stop if the buffer is dropped.
17695
17696 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17697
17698         * plugins/elements/gsttypefindelement.c:
17699         (gst_type_find_element_class_init):
17700           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17701           object method handler that sets the caps on the pad and we want
17702           that to happen before we emit the signal (fixes e.g. feeding a
17703           plain text file to decodebin).
17704
17705 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17706
17707         * gst/gstplugin.c: Add MPL and Proprietary as license options
17708
17709 2006-01-18  Andy Wingo  <wingo@pobox.com>
17710
17711         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17712         symbol was exported before, it appears this was just an oversight.
17713         Fixes #168703.
17714         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17715
17716         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17717         prototype to gint. OK since this prototype was not in the header.
17718
17719 2006-01-17  Andy Wingo  <wingo@pobox.com>
17720
17721         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17722         registry while we remove plugins.
17723
17724         * tools/gst-inspect.c (print_element_info): Don't unref the
17725         factory arg, that should be the responsibility of whatever code
17726         received the ref. Fixes a double-free when called from
17727         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17728         (main): Unref the factory if we have one.
17729         (print_element_list): No change -- relies on the
17730         plugin_feature_list_free to free the list of features.
17731
17732 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17733
17734         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17735         (gst_buffer_make_metadata_writable):
17736         * gst/gstbuffer.h:
17737         * libs/gst/base/gstbasetransform.c:
17738         (gst_base_transform_prepare_output_buf):
17739         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17740         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17741           Replace gst_buffer_(make|is)_metadata_writable patch now
17742           that the release is out.
17743
17744 2006-01-17  Andy Wingo  <wingo@pobox.com>
17745
17746         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17747         in the present tense without reference to versions.
17748
17749         * gst/gstregistry.c (gst_registry_add_plugin)
17750         (gst_registry_remove_plugin, gst_registry_remove_feature)
17751         (gst_registry_find_feature, gst_registry_get_feature_list)
17752         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17753         (gst_registry_lookup, gst_registry_scan_path)
17754         (_gst_registry_remove_cache_plugins)
17755         (gst_registry_get_feature_list_by_plugin): Add argument
17756         validation.
17757
17758 === release 0.10.2 ===
17759
17760 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
17761
17762         * configure.ac:
17763           releasing 0.10.2, "If man is five"
17764
17765 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17766
17767         * gst/gstbuffer.c:
17768         * gst/gstbuffer.h:
17769         * libs/gst/base/gstbasetransform.c:
17770         (gst_base_transform_prepare_output_buf):
17771         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17772         * tests/check/gst/gstbuffer.c: (gst_test_suite):
17773           Back out patch until after the release.
17774
17775 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17776
17777         * gst/gstminiobject.c:
17778           Spelling fix in docs.
17779         * ChangeLog - remove conflict indicator
17780
17781 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17782
17783         Reviewed By: Andy Wingo
17784
17785         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17786         (gst_buffer_make_metadata_writable):
17787         * gst/gstbuffer.h:
17788           Add gst_buffer_(is|make)_metadata_writable as analogues of
17789           gst_buffer_(is|make)_writable.
17790
17791         * libs/gst/base/gstbasetransform.c:
17792         (gst_base_transform_prepare_output_buf):
17793         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17794           Use name gst_buffer_(is|make)_metadata_writable functions.
17795
17796         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17797           Test gst_buffer_(is|make)_metadata_writable
17798         
17799           (Closes: #324162)
17800
17801 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17802
17803         * docs/manual/Makefile.am:
17804           don't do parallel make
17805         * configure.ac:
17806           AC_SUBST HOST_CPU
17807         * win32/common/config.h.in:
17808           add generations for HOST_CPU and GST_MAJORMINOR
17809         * win32/common/config.h:
17810           commit generated result
17811
17812 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
17813
17814         * docs/manual/appendix-integration.xml:
17815           Update GNOME integration section to use gst_init_get_option_group()
17816           instead of the old popt stuff (#322911). Also, GNOME applications
17817           should  now use gconf*sink and gconf*src instead of the old gconf
17818           helper lib we had.
17819
17820 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
17821
17822
17823         * docs/gst/gstreamer-docs.sgml:
17824         * docs/gst/gstreamer-sections.txt:
17825         * docs/libs/gstreamer-libs-sections.txt:
17826           add new API entries to the docs
17827         * libs/gst/controller/Makefile.am:
17828         * libs/gst/controller/gstcontroller.c:
17829         * libs/gst/controller/gstcontroller.h:
17830         * libs/gst/controller/gstcontrollerprivate.h:
17831         * libs/gst/controller/gsthelper.c:
17832         * libs/gst/controller/gstinterpolation.c:
17833           move private structs to private header
17834         * po/README:
17835           gstreamer-0.7 -> gstreamer-0.10
17836         * tests/check/libs/struct_i386.h:
17837           remove private structs
17838
17839 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17840
17841         * plugins/indexers/Makefile.am:
17842           Fixes as part of #317048
17843
17844 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17845
17846         * plugins/indexers/Makefile.am:
17847           fix #316086 - compilation when mmap is missing
17848
17849 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
17850
17851         * libs/gst/base/gstbasesink.c:
17852           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
17853           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17854         * win32/common/config.h:
17855           added some defines GST_MAJORMINOR and HOST_CPU
17856         * win32/common/libgstbase.def:
17857         * win32/common/libgstreamer.def:
17858           added some exported functions.
17859
17860 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17861
17862         * libs/gst/controller/gstcontroller.c:
17863         (gst_controlled_property_set_interpolation_mode),
17864         (gst_controlled_property_new):
17865         * libs/gst/controller/gstcontroller.h:
17866         * libs/gst/controller/gstinterpolation.c:
17867         (interpolate_none_get_string_value_array):
17868           make G_TYPE_STRING controlable
17869
17870 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17871
17872         * tools/README:
17873         * tools/gst-feedback.1.in:
17874         * tools/gst-inspect.1.in:
17875         * tools/gst-launch.1.in:
17876         * tools/gst-md5sum.1.in:
17877         * tools/gst-typefind.1.in:
17878         * tools/gst-xmlinspect.1.in:
17879         * tools/gst-xmllaunch.1.in:
17880           cleanup man-pages, remove reference to gst-register, document env-vars
17881
17882 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
17883
17884         * gst/gstbuffer.c: (gst_buffer_span):
17885           gst_buffer_span should copy the timestamp of the first buffer
17886           if they were both originally overlapping subbuffers of the 
17887           same parent, using the same logic as the 'slow copy' case.
17888
17889 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
17890
17891         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17892           Need to awaken ALL the pads when we pop a buffer, otherwise
17893           collectpads only works when there is 2 input streams.
17894
17895 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
17896
17897         * docs/random/ensonic/media-device-daemon.txt:
17898           more ideas (dbus)
17899         * gst/gstbuffer.c:
17900           fix doc example, add clarification
17901         * tools/gst-launch.1.in:
17902           add initial info about GST_PLUGIN_PATH, needs more work
17903
17904 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
17905
17906         * docs/manual/basics-bins.xml:
17907         * docs/manual/basics-elements.xml:
17908         * docs/manual/intro-basics.xml:
17909           Some more minor docs additions and updates.
17910
17911 2006-01-11  Wim Taymans  <wim@fluendo.com>
17912
17913         * docs/manual/basics-bins.xml:
17914         * docs/manual/basics-elements.xml:
17915         Some small fixes as pointed out by Ser-ver on IRC.
17916
17917 2006-01-10  Edward Hervey  <edward@fluendo.com>
17918
17919         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17920         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17921         the single-segment mode.
17922
17923 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
17924
17925         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17926
17927         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17928         (gst_base_src_perform_seek), (gst_base_src_send_event),
17929         (gst_base_src_set_property), (gst_base_src_get_property),
17930         (gst_base_src_loop), (gst_base_src_start),
17931         (gst_base_src_activate_push):
17932         * libs/gst/base/gstbasesrc.h:
17933           Name (private) union; makes Sun's Forte compiler happy (#324900).
17934
17935 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
17936
17937         * README:
17938           gst-register is gone.
17939
17940 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17941
17942         * gst/gstvalue.c: (_gst_value_initialize):
17943           make the G_TYPE_DATE instantiation work if debug is disabled
17944
17945 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
17946
17947         * gst/gstmessage.c: (gst_message_parse_tag),
17948         (gst_message_parse_error), (gst_message_parse_warning):
17949           Don't crash when return location for error/warning debug
17950           string is NULL; add fact that return locations can be
17951           NULL to docs where appropriate.
17952
17953 2006-01-05  Wim Taymans  <wim@fluendo.com>
17954
17955         * gst/gstplugin.c: (gst_plugin_load_file):
17956         Replace strdup by g_strdup.
17957
17958 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17959
17960         * docs/pwg/advanced-types.xml:
17961           fix doc borkage
17962
17963 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17964
17965         submitted by: Abel Cheung
17966
17967         * po/LINGUAS:
17968         * po/zh_TW.po:
17969           Added Chinese (traditional) translation
17970
17971 2006-01-04  Wim Taymans  <wim@fluendo.com>
17972
17973         * docs/manual/basics-pads.xml:
17974         * docs/plugins/Makefile.am:
17975         * docs/plugins/gstreamer-plugins-docs.sgml:
17976         * docs/plugins/gstreamer-plugins-sections.txt:
17977         * docs/pwg/advanced-clock.xml:
17978         * docs/pwg/advanced-scheduling.xml:
17979         * docs/pwg/advanced-types.xml:
17980         * plugins/elements/gstfdsink.c:
17981         * plugins/elements/gstfdsrc.c:
17982         * plugins/elements/gstfdsrc.h:
17983         * plugins/elements/gstidentity.c: (gst_identity_class_init):
17984         * plugins/elements/gstidentity.h:
17985         * plugins/elements/gstqueue.h:
17986         * plugins/elements/gsttee.c:
17987         * plugins/elements/gsttee.h:
17988         * plugins/elements/gsttypefindelement.c:
17989         (gst_type_find_element_class_init):
17990         * plugins/elements/gsttypefindelement.h:
17991         Small updates to various docs.
17992         Added core plugins to docs.
17993
17994 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17995
17996         * common/gst.supp:
17997           add a suppression for liboil's uninitialized variable
17998
17999 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18000
18001         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18002
18003         * gst/gstutils.h:
18004           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18005           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18006           compiler switch is being used (#325429).
18007
18008 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18009
18010         * gst/gstbin.c: (gst_bin_query):
18011           Disable duration query caching in bins until it gets
18012           fixed (see #324807).
18013
18014 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18015
18016         * tools/gst-inspect.c: (print_element_properties_info):
18017           Handle properties of POINTER and BOXED type.
18018
18019 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18020
18021         * gst/gst.c: (init_post):
18022           Init tags stuff and some other things before loading
18023           any static plugins (there may be other static plugins
18024           than just the GStreamer ones, and they may want to
18025           register their own tags or formats or whatever, and
18026           preferably without segfaulting).
18027
18028         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18029           Print at least a warning in the debug logs if we drop a
18030           query just because we don't know how to adjust the value
18031           in the particular format.
18032
18033 2005-12-24  David Schleef  <ds@schleef.org>
18034
18035         * tools/gstreamer-completion:
18036           Replacement for gst-complete written in sh and sed.  Only
18037           completes names of features, but that's 90% of what I want
18038           it for.  Properties are not available in registry.xml.  (Maybe
18039           they should be...)
18040
18041 === release 0.10.1 ===
18042
18043 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18044
18045         * configure.ac:
18046           releasing 0.10.1, "Nollaig chridheil"
18047
18048 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18049
18050         * docs/faq/cvs.xml:
18051           Add missing quote, should be make ERROR_CFLAGS="".
18052
18053 2005-12-20  Wim Taymans  <wim@fluendo.com>
18054
18055         * docs/design/part-trickmodes.txt:
18056         More documentation on trickmodes.
18057
18058 2005-12-20  Edward Hervey  <edward@fluendo.com>
18059
18060         * gst/gstcaps.c: (gst_static_caps_get_type):
18061         * gst/gstcaps.h:
18062           API addition: GST_TYPE_STATIC_CAPS
18063         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18064         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18065         * gst/gstpadtemplate.h:
18066           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18067         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18068         bindings.
18069
18070 2005-12-18  Wim Taymans  <wim@fluendo.com>
18071
18072         * libs/gst/base/gstadapter.c:
18073         * libs/gst/base/gstadapter.h:
18074         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18075         (gst_base_sink_get_position):
18076         * libs/gst/base/gstbasesink.h:
18077         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18078         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18079         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18080         (gst_base_src_send_event), (gst_base_src_update_length),
18081         (gst_base_src_get_range), (gst_base_src_loop),
18082         (gst_base_src_start):
18083         * libs/gst/base/gstbasesrc.h:
18084         * libs/gst/base/gstbasetransform.h:
18085         * libs/gst/base/gstcollectpads.h:
18086         * libs/gst/base/gstpushsrc.c:
18087         * libs/gst/base/gstpushsrc.h:
18088         * libs/gst/dataprotocol/dataprotocol.c:
18089         * libs/gst/dataprotocol/dataprotocol.h:
18090         * libs/gst/net/gstnetclientclock.h:
18091         * libs/gst/net/gstnettimeprovider.h:
18092         Documentation updates.
18093
18094 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18095
18096         * docs/manual/basics-helloworld.xml:
18097           Remove superfluous closing bracket in helloworld example.
18098
18099 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18100
18101         * tools/gst-launch.1.in:
18102           Update gst-launch man page; add a section with useful
18103           environment variables. Fixes #323882.
18104
18105 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18106
18107         * gst/gst.c:
18108         * gst/gst_private.h:
18109           change some char* into char[]
18110
18111 2005-12-16  Wim Taymans  <wim@fluendo.com>
18112
18113         * gst/gstregistryxml.c: (load_feature):
18114         Cleanups.
18115         Don't use g_object_unref on GstObjects so that we avoid
18116         leaks on unsafe glibs.
18117
18118 2005-12-16  Wim Taymans  <wim@fluendo.com>
18119
18120         * gst/gstbin.c: (gst_bin_recalc_state):
18121         Small doc updates.
18122
18123 2005-12-16  Wim Taymans  <wim@fluendo.com>
18124
18125         * common/check.mak:
18126         Added make forever target for check.
18127
18128 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18129
18130         * gst/gst.c: (init_post):
18131           make the registry cache file HOST_CPU-dependent
18132
18133 2005-12-16  Andy Wingo  <wingo@pobox.com>
18134
18135         * plugins/elements/gstbufferstore.c
18136         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18137         return value.
18138
18139         * tests/check/gst/gstobject.c
18140         (test_fake_object_name_threaded_unique): Pay attention to
18141         g_list_sort return value.
18142
18143 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18144
18145         * tools/gst-feedback-m.m:
18146           Update for 0.9/0.10 (fixes #323870).
18147
18148 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18149
18150         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18151           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18152           
18153         * tests/check/gst/gstminiobject.c: (my_foo_init),
18154         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18155         (test_value_collection), (gst_mini_object_suite):
18156           Add test to ensure refcounts end up as expected when passing
18157           GstMiniObjects through g_object_get() and g_object_set().
18158
18159 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18160
18161         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18162         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18163         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18164         of collectpads. This version removes a lot of races without
18165         touching API/ABI. Yay !
18166
18167 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18168
18169         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18170           Don't allow activation of a srcpad in pull_range if it has no
18171           getrange function.
18172           Change some debug statements to be a little clearer
18173
18174         * plugins/elements/gsttypefindelement.c:
18175         (gst_type_find_handle_src_query):
18176           Check that we have a peer before executing queries thereupon.
18177
18178         * tests/examples/metadata/read-metadata.c: (message_loop):
18179           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18180           immediately return us any available message with 0 timeout.
18181
18182 2005-12-12  Michael Smith  <msmith@fluendo.com>
18183
18184         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18185           Don't unref factories after calling them.
18186         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18187         * plugins/elements/gsttypefindelement.c:
18188         (gst_type_find_element_chain):
18189           Free lists of factories after using them. Fixing typefinding memory
18190           leaks.
18191
18192 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18193
18194         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18195         (gst_plugin_feature_load):
18196           more meaningful debug output
18197         * configure.ac:
18198         * tests/Makefile.am:
18199         * tests/old/examples/Makefile.am:
18200           make make distcheck happy again
18201
18202 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18203
18204         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18205           Catch the special case where we are operating chain-based,
18206           but the downstream peer pad has no chain function. Emit a
18207           custom error message in this case instead of letting the
18208           core generate one implying that this is some sort of core
18209           bug. It's not, it just means that whatever got plugged
18210           into the pipeline downstream when we announced the type
18211           can only operate pull-based, while our source can only
18212           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18213           Error string has not been marked for translation yet, as
18214           it probably needs some more work first.
18215
18216         (gst_type_find_element_get_best_possibility):
18217           Add helper function to find the best of all available
18218           found possibilities that qualify given the min. threshold.
18219
18220         (gst_type_find_element_handle_event):
18221           Fix the case where we get an EOS while still in TYPEFIND
18222           mode (we want to chose the best of all possible types,
18223           not just the first type that happens to be in our unsorted
18224           list of possible types).
18225
18226         (gst_type_find_element_chain):
18227           Make sure we return GST_FLOW_ERROR when we errored out
18228           in stop_typefinding(); also, don't just find the best of
18229           all found type entries and then use the last examined
18230           type entry, but actually use the best entry.
18231
18232 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18233
18234         * tests/examples/typefind/typefind.c: (type_found):
18235         * tests/examples/xml/runxml.c: (xml_loaded):
18236           More gcc4 fixes and a mem leak fix.
18237
18238 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18239
18240         * tests/examples/xml/createxml.c: (object_saved):
18241           gcc 4 fixes
18242
18243 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18244
18245         * tests/Makefile.am:
18246           enable the examples even more
18247
18248 2005-12-12  Andy Wingo  <wingo@pobox.com>
18249
18250         * libs/gst/net/gstnettimeprovider.c
18251         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18252         (gst_net_time_provider_set_property)
18253         (gst_net_time_provider_get_property):
18254         API addition: Export "active" as a GObject property.
18255         (gst_net_time_provider_thread): Only respond to time queries if
18256         the time provider is active.
18257
18258         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18259         NetTimeProvider, preserving binary compat.
18260
18261 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18262
18263         * tests/examples/controller/audio-example.c: (main):
18264         * tests/examples/launch/Makefile.am:
18265           convert comments again
18266
18267 2005-12-12  Wim Taymans  <wim@fluendo.com>
18268
18269         * libs/gst/base/gstpushsrc.c:
18270         Fix typo.
18271
18272 2005-12-12  Wim Taymans  <wim@fluendo.com>
18273
18274         * docs/libs/gstreamer-libs-sections.txt:
18275         Added new symbol to docs.
18276
18277         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18278         (gst_base_src_init), (gst_base_src_set_format),
18279         (gst_base_src_default_query), (gst_base_src_query),
18280         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18281         (gst_base_src_perform_seek), (gst_base_src_send_event),
18282         (gst_base_src_default_event), (gst_base_src_event_handler),
18283         (gst_base_src_set_property), (gst_base_src_get_property),
18284         (gst_base_src_wait), (gst_base_src_do_sync),
18285         (gst_base_src_update_length), (gst_base_src_get_range),
18286         (gst_base_src_check_get_range), (gst_base_src_loop),
18287         (gst_base_src_default_negotiate), (gst_base_src_start),
18288         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18289         (gst_base_src_change_state):
18290         * libs/gst/base/gstbasesrc.h:
18291         Implement seeking to other formats than _BYTES.
18292         Implement more seeking methods correctly.
18293         Doc updates.
18294         Added query vmethod.
18295         Added do_seek vmethod to make life easier for subclasses
18296         when seeking.
18297         API addition: gst_base_src_set_format()
18298
18299 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18300
18301         * tests/examples/Makefile.am:
18302           added that too
18303
18304 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18305
18306         * configure.ac:
18307         * docs/random/ensonic/media-device-daemon.txt:
18308         * tests/examples/controller/.cvsignore:
18309         * tests/examples/controller/Makefile.am:
18310         * tests/examples/controller/audio-example.c: (main):
18311         * tests/examples/helloworld/.cvsignore:
18312         * tests/examples/helloworld/Makefile.am:
18313         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18314         * tests/examples/launch/.cvsignore:
18315         * tests/examples/launch/Makefile.am:
18316         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18317         * tests/examples/metadata/.cvsignore:
18318         * tests/examples/metadata/Makefile.am:
18319         * tests/examples/metadata/read-metadata.c: (message_loop),
18320         (make_pipeline), (print_tag), (main):
18321         * tests/examples/queue/.cvsignore:
18322         * tests/examples/queue/Makefile.am:
18323         * tests/examples/queue/queue.c: (event_loop), (main):
18324         * tests/examples/typefind/.cvsignore:
18325         * tests/examples/typefind/Makefile.am:
18326         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18327         (main):
18328         * tests/examples/xml/.cvsignore:
18329         * tests/examples/xml/Makefile.am:
18330         * tests/examples/xml/createxml.c: (object_saved), (main):
18331         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18332         * tests/old/examples/Makefile.am:
18333         * tests/old/examples/TODO:
18334         * tests/old/examples/controller/.cvsignore:
18335         * tests/old/examples/controller/Makefile.am:
18336         * tests/old/examples/controller/audio-example.c:
18337         * tests/old/examples/helloworld/.cvsignore:
18338         * tests/old/examples/helloworld/Makefile.am:
18339         * tests/old/examples/helloworld/helloworld.c:
18340         * tests/old/examples/launch/.cvsignore:
18341         * tests/old/examples/launch/Makefile.am:
18342         * tests/old/examples/launch/mp3parselaunch.c:
18343         * tests/old/examples/launch/mp3play:
18344         * tests/old/examples/manual/Makefile.am:
18345         * tests/old/examples/metadata/Makefile.am:
18346         * tests/old/examples/metadata/read-metadata.c:
18347         * tests/old/examples/queue/.cvsignore:
18348         * tests/old/examples/queue/Makefile.am:
18349         * tests/old/examples/queue/queue.c:
18350         * tests/old/examples/typefind/.cvsignore:
18351         * tests/old/examples/typefind/Makefile.am:
18352         * tests/old/examples/typefind/typefind.c:
18353         * tests/old/examples/xml/.cvsignore:
18354         * tests/old/examples/xml/Makefile.am:
18355         * tests/old/examples/xml/createxml.c:
18356         * tests/old/examples/xml/runxml.c:
18357           applied some simple fixing to some examples
18358           re-enabled the working examples
18359
18360 2005-12-12  Wim Taymans  <wim@fluendo.com>
18361
18362         * gst/gstsegment.c: (gst_segment_init),
18363         (gst_segment_set_last_stop), (gst_segment_set_seek),
18364         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18365         (gst_segment_to_running_time):
18366         Added more documentation.
18367         Make sure the last_pos value is updated properly.
18368         Make sure to_stream_time and to_running_time don't
18369         operate on wrong values.
18370
18371         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18372         Update check.
18373
18374 2005-12-12  Michael Smith  <msmith@fluendo.com>
18375
18376         * plugins/elements/gsttypefindelement.c: (free_entry),
18377         (gst_type_find_element_chain):
18378           Now that we're not leaking factories, make sure we keep references
18379           to them while we need them.
18380
18381 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18382
18383         * tests/check/gst/struct_i386.h:
18384           ifdef out the XML structs
18385
18386 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18387
18388         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18389           floor is not needed, F is always positive; this obviates the
18390           need for adding -lm when building without libxml
18391
18392 2005-12-12  Wim Taymans  <wim@fluendo.com>
18393
18394         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18395         Take current playback rate into account when reporting
18396         the position.
18397
18398 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18399
18400         * docs/manual/mime-world.fig:
18401           Let's try this again, this time with a file that is
18402           actually in XFig format.
18403
18404 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18405
18406         * docs/manual/mime-world.fig:
18407           Add audioconvert element to diagram so that it
18408           matches the text and the code (fixes #319526).
18409
18410 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18411
18412         * docs/pwg/building-chainfn.xml:
18413         * docs/pwg/building-pads.xml:
18414         * docs/pwg/building-state.xml:
18415         * docs/pwg/other-source.xml:
18416           Update state change stuff for 0.10 (fixes #322969).
18417
18418 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18419
18420         * docs/manual/advanced-dataaccess.xml:
18421         * docs/manual/appendix-checklist.xml:
18422         * docs/manual/appendix-programs.xml:
18423         * docs/manual/basics-pads.xml:
18424         * docs/manual/highlevel-components.xml:
18425         * docs/manual/manual.xml:
18426           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18427           add converters in front of pipelines; remove curly
18428           brackets for threads stuff, they no longer exist; use
18429           GST_TYPE_FRACTION for framerates; update some pieces of
18430           code to 0.10, but there's plenty more to do.
18431
18432         * docs/manual/appendix-porting.xml:
18433           Expand on asynchroneous state changes; s/0.9/0.10/;
18434           mention disappearance of gst_init_get_popt_table()
18435           (fixes #322916).
18436
18437 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18438
18439         * docs/faq/using.xml:
18440           Spider no longer exists, and neither does gst-launch-ext.
18441           Update examples to use decodebin and playbin and put
18442           converters in front of sinks (fixes #323726).
18443
18444 2005-12-09  Michael Smith  <msmith@fluendo.com>
18445
18446         * plugins/elements/gsttypefindelement.c: (find_peek),
18447         (gst_type_find_element_chain):
18448           Fix leaking element factories in typefinding.
18449           Fix problem where we forgot about a probable type on non-seekable
18450           files, and thus later mis-typefound it.
18451
18452 2005-12-09  Michael Smith  <msmith@fluendo.com>
18453
18454         * common/m4/gst-makecontext.m4:
18455         * common/m4/gst-mcsc.m4:
18456         * configure.ac:
18457         * win32/common/config.h:
18458         * win32/common/config.h.in:
18459           Remove makecontext stuff; not used in 0.10 and causes problems on
18460           HPUX according to bug #322441
18461
18462 2005-12-07  Wim Taymans  <wim@fluendo.com>
18463
18464         * tests/check/Makefile.am:
18465         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18466         (main):
18467         * tests/check/libs/struct_i386.h:
18468         Added ABI check for libs
18469
18470 2005-12-07  Wim Taymans  <wim@fluendo.com>
18471
18472         * tests/check/Makefile.am:
18473         And add the struct_i386.h to dist.
18474
18475 2005-12-07  Wim Taymans  <wim@fluendo.com>
18476
18477         * tests/check/Makefile.am:
18478         * tests/check/gst/.cvsignore:
18479         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18480         (main):
18481         * tests/check/gst/struct_i386.h:
18482         Added check for ABI compatibility.
18483
18484 2005-12-07  Wim Taymans  <wim@fluendo.com>
18485
18486         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18487         (gst_fake_src_get_times), (gst_fake_src_create):
18488         Fix broken sync option, fixes #323259
18489
18490 2005-12-07  Wim Taymans  <wim@fluendo.com>
18491
18492         * gst/gstbuffer.c:
18493         Small docs update.
18494
18495         * gst/gstcaps.c: (gst_caps_is_equal):
18496         Don't assert on NULL <--> X. Fixes #323260
18497
18498         * gst/gstminiobject.c: (gst_mini_object_replace):
18499         If we're doing atomic operations, we might just as well use
18500         the proper way to get an atomic pointer.
18501
18502         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18503         Clean up debugging.
18504
18505 2005-12-07  Michael Smith  <msmith@fluendo.com>
18506
18507         * gst/parse/grammar.y:
18508           Remove handling of { } for threads.
18509
18510 2005-12-06  David Schleef  <ds@schleef.org>
18511
18512         * libs/gst/base/gstbasetransform.c: speling fix.
18513
18514 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18515
18516         * docs/libs/tmpl/gstdataprotocol.sgml:
18517         * docs/random/omega/testing/gstobject.c:
18518         * gst/gst.c:
18519         * gst/gstclock.c:
18520         * gst/gstelement.c:
18521         * gst/gstelementfactory.c:
18522         * gst/gsterror.c:
18523         * gst/gstevent.c:
18524         * gst/gstghostpad.c:
18525         * gst/gstinfo.c:
18526         * gst/gstpadtemplate.c:
18527         * gst/gstregistryxml.c:
18528         * gst/gsttaglist.c:
18529         * gst/gsttagsetter.c:
18530         * gst/gsttypefind.c:
18531         * gst/gstvalue.c:
18532         * libs/gst/base/gstbasesrc.c:
18533         * libs/gst/net/gstnetclientclock.c:
18534         * libs/gst/net/gstnettimeprovider.c:
18535         * plugins/elements/gstfakesrc.c:
18536         * plugins/elements/gstfdsrc.c:
18537         * plugins/elements/gstfilesrc.c:
18538         * plugins/elements/gstidentity.c:
18539         * plugins/elements/gstqueue.c:
18540         * plugins/elements/gsttypefindelement.c:
18541         * plugins/indexers/gstfileindex.c:
18542         * plugins/indexers/gstmemindex.c:
18543         * tests/check/gst/gsttag.c:
18544         * tests/old/examples/cutter/cutter.c:
18545         * tests/old/examples/mixer/mixer.c:
18546         * tests/old/examples/xml/runxml.c: (main):
18547         * tests/old/testsuite/caps/normalisation.c:
18548         * tests/old/testsuite/debug/global.c:
18549         * tests/old/testsuite/parse/parse1.c:
18550         * tools/gst-xmlinspect.c:
18551         * win32/common/dirent.c:
18552           expand tabs
18553
18554 === release 0.10.0 ===
18555
18556 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18557
18558         * configure.ac:
18559           releasing 0.10.0, "Maroilles"
18560
18561 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18562
18563         submitted by: Funda Wang <fundawang@linux.net.cn>
18564
18565         * po/LINGUAS:
18566         * po/zh_CN.po:
18567           added Chinese (Traditional) translation
18568
18569 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18570
18571         * docs/gst/gstreamer-sections.txt:
18572         * docs/libs/tmpl/gstdataprotocol.sgml:
18573         * docs/random/thomasvs/TODO:
18574         * gst/gstutils.c:
18575         * gst/gstutils.h:
18576           fix docs
18577
18578 2005-12-05  Andy Wingo  <wingo@pobox.com>
18579
18580         patch by: Wim Taymans <wim@fluendo.com>
18581
18582         * libs/gst/base/gstbasetransform.c
18583         (gst_base_transform_prepare_output_buf)
18584         (gst_base_transform_buffer_alloc):
18585         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18586         alloc_buffer_and_set_caps.
18587
18588         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18589         set_caps on the source pad.
18590         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18591         alloc_buffer used to do. Fixes #322874.
18592
18593         * docs/gst/gstreamer-sections.txt: 
18594         * docs/design/part-negotiation.txt: 
18595         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18596         changes.
18597
18598 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18599
18600         patch by: Sebastien Moutte
18601
18602         * win32/MANIFEST:
18603         * win32/common/config.h.in:
18604         * win32/vs6/libgstcontroller.dsp:
18605           win32 build fixes
18606
18607 2005-12-05  Wim Taymans  <wim@fluendo.com>
18608
18609         * gst/gstcaps.c: (gst_caps_is_equal):
18610         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18611         (gst_fake_src_create):
18612         Back out previous code changes, leave doc updates, file bugs 
18613         instead. 
18614
18615 2005-12-05  Wim Taymans  <wim@fluendo.com>
18616
18617         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18618         (gst_fake_src_get_times), (gst_fake_src_create):
18619         * plugins/elements/gstfakesrc.h:
18620         Fix broken sync code.
18621
18622 2005-12-05  Wim Taymans  <wim@fluendo.com>
18623
18624         * gst/gstcaps.c: (gst_caps_is_equal):
18625         Comparing NULL against !NULL yields different caps, not a
18626         failure.
18627
18628 2005-12-05  Wim Taymans  <wim@fluendo.com>
18629
18630         * gst/gstpipeline.c:
18631         Fix small typo in docs.
18632
18633 2005-12-05  Andy Wingo  <wingo@pobox.com>
18634
18635         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18636
18637         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18638         registries/plugins with a MAJORMINOR one.
18639         (plugin_desc): Rename library from gstcoreleements to
18640         staticelements. Fixes #323222.
18641
18642 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18643
18644         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18645           Change debug category to 'collectpads' from 'collect_pads'
18646           (fixes #323250).
18647
18648 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18649
18650         patch by: Sebastien Moutte
18651
18652         * libs/gst/controller/gstinterpolation.c:
18653           use convert function for uint64/double
18654         * win32/vs6/libgstcontroller.dsp:
18655           link to GLib
18656
18657 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18658
18659         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18660         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18661         * gst/gstutils.h:
18662         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18663           add tests that seem to show that the guint64/gdouble conversions
18664           are correct.
18665
18666 2005-12-02  Wim Taymans  <wim@fluendo.com>
18667
18668         * gst/gstregistry.c: (gst_registry_add_path):
18669         * gst/gstregistry.h:
18670         * gst/gstregistryxml.c:
18671         Fix docs again.
18672
18673 2005-12-02  Wim Taymans  <wim@fluendo.com>
18674
18675         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18676         (gst_util_uint64_scale_int):
18677         Small cleanup.
18678
18679         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18680         Add debug log line.
18681
18682         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18683         Add FIXME.
18684
18685 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18686
18687         * win32/MANIFEST:
18688         * win32/common/config.h:
18689         * win32/vs6/gstreamer.dsw:
18690         * win32/vs6/libgstcoreelements.dsp:
18691         * win32/vs6/libgstelements.dsp:
18692           renamed core elements plugin
18693
18694 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18695
18696         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18697         (get_candidates):
18698           do piece-wise major/minor comparison so 0.9 < 0.10
18699           also allow .exe extensions for tools
18700
18701 2005-12-02  Michael Smith  <msmith@fluendo.com>
18702
18703         * gst/gst.c:
18704           Escape a % to make gtkdoc happier; bug 322958.
18705
18706 === release 0.9.7 ===
18707
18708 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18709
18710         * configure.ac:
18711           releasing 0.9.7, "My Dog Has No Nose"
18712
18713 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18714
18715         * common/gst-xmlinspect.py:
18716         * configure.ac:
18717         * docs/libs/tmpl/gstdataprotocol.sgml:
18718         * docs/random/release:
18719         * po/af.po:
18720         * po/az.po:
18721         * po/bg.po:
18722         * po/ca.po:
18723         * po/cs.po:
18724         * po/de.po:
18725         * po/en_GB.po:
18726         * po/fr.po:
18727         * po/it.po:
18728         * po/nb.po:
18729         * po/nl.po:
18730         * po/ru.po:
18731         * po/sq.po:
18732         * po/sr.po:
18733         * po/sv.po:
18734         * po/tr.po:
18735         * po/uk.po:
18736         * po/vi.po:
18737         * win32/common/config.h:
18738         * win32/common/config.h.in:
18739         * win32/vs6/gst_inspect.dsp:
18740         * win32/vs6/gst_launch.dsp:
18741         * win32/vs6/libgstbase.dsp:
18742         * win32/vs6/libgstelements.dsp:
18743         * win32/vs6/libgstreamer.dsp:
18744         * win32/vs7/GStreamer.vcproj:
18745         * win32/vs7/gst-inspect.vcproj:
18746         * win32/vs7/gst-launch.vcproj:
18747         * win32/vs7/libgstbase.vcproj:
18748           bump GST_MAJORMINOR to 0.10
18749           reset libtool version
18750
18751 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18752
18753         * po/LINGUAS:
18754         * po/bg.po:
18755           Added Bulgarian translation by (Alexander Shopov)
18756
18757 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18758
18759         * tests/check/gst/gstplugin.c:
18760           fix test
18761
18762 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18763
18764         * common/gst-xmlinspect.py:
18765         * common/gtk-doc-plugins.mak:
18766         * configure.ac:
18767         * docs/Makefile.am:
18768         * docs/gst/Makefile.am:
18769         * docs/gst/gstreamer-docs.sgml:
18770         * docs/gst/gstreamer-sections.txt:
18771         * docs/gst/gstreamer.types:
18772         * docs/gst/gstreamer.types.in:
18773         * docs/plugins/Makefile.am:
18774         * docs/plugins/gstreamer-plugins-docs.sgml:
18775         * docs/plugins/gstreamer-plugins-sections.txt:
18776         * docs/plugins/gstreamer-plugins.types:
18777         * docs/plugins/inspect.stamp:
18778         * docs/plugins/inspect/plugin-coreelements.xml:
18779         * docs/plugins/inspect/plugin-coreindexers.xml:
18780         * docs/plugins/scanobj-build.stamp:
18781         * gstreamer.spec.in:
18782         * plugins/elements/Makefile.am:
18783         * plugins/elements/gstelements.c:
18784         * plugins/elements/gstfakesink.c:
18785         * plugins/elements/gstfakesrc.c:
18786         * plugins/elements/gstfilesink.c:
18787         * plugins/elements/gstfilesrc.c:
18788         * plugins/elements/gstqueue.c:
18789         * plugins/indexers/Makefile.am:
18790         * plugins/indexers/gstindexers.c:
18791           document core plugins in a separate document just like all the
18792           others
18793           rename these plugins to something starting with core
18794
18795 2005-12-01  Andy Wingo  <wingo@pobox.com>
18796
18797         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18798         padding here before, but it missed the commit.
18799
18800 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18801
18802         * libs/gst/controller/gstinterpolation.c:
18803           whitespace prices have crashed, we should feel free to use some now
18804           use gst_guint64_to_gdouble
18805
18806 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18807
18808         * libs/gst/controller/gstcontroller.c:
18809         * libs/gst/controller/gsthelper.c:
18810         * libs/gst/controller/gstinterpolation.c:
18811         * libs/gst/controller/lib.c:
18812           wrap config.h include
18813
18814 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18815
18816         * docs/gst/gstreamer-sections.txt:
18817           update docs
18818
18819 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18820
18821         * plugins/elements/gstelements.c:
18822         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18823         (gst_fd_sink__class_init), (gst_fd_sink__init),
18824         (gst_fd_sink__chain), (gst_fd_sink__set_property),
18825         (gst_fd_sink__get_property):
18826         * plugins/elements/gstfdsink.h:
18827         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18828         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18829         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18830         (gst_fd_src_unlock), (gst_fd_src_set_property),
18831         (gst_fd_src_get_property), (gst_fd_src_create),
18832         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18833         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18834         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18835         (gst_fd_src_uri_handler_init):
18836         * plugins/elements/gstfdsrc.h:
18837         * plugins/elements/gstqueue.c: (gst_queue_get_type):
18838           more anal cleanup
18839
18840 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18841
18842         * docs/gst/Makefile.am:
18843         * docs/gst/gstreamer.types.in:
18844         * gst/Makefile.am:
18845           fix the docs build
18846
18847 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18848
18849         * configure.ac:
18850         * gst/Makefile.am:
18851         * gst/gst.c:
18852         * gst/gstplugin.h:
18853         * gst/gstregistry.h:
18854         * tests/benchmarks/complexity.c:
18855         * tests/benchmarks/mass-elements.c:
18856         * tests/check/Makefile.am:
18857         * tools/Makefile.am:
18858         * tools/gst-inspect.c:
18859         * tools/gst-xmlinspect.c:
18860           various fixes to make
18861           --disable-nls --disable-registry --disable-loadsave
18862           --disable-parse --disable-gst-debug
18863           work and get the core .so down to 360444 bytes after stripping
18864
18865 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18866
18867         * Makefile.am:
18868         * configure.ac:
18869           descend into tests
18870         * docs/random/thomasvs/TODO:
18871         * tests/Makefile.am:
18872         * tests/README:
18873           add a README
18874
18875 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18876
18877         * win32/GStreamer.vcproj:
18878         * win32/MANIFEST:
18879         * win32/Makefile:
18880         * win32/Makefile.inspect:
18881         * win32/Makefile.launch:
18882         * win32/Makefile.register:
18883         * win32/README.txt:
18884         * win32/gst-inspect.vcproj:
18885         * win32/gst-launch.vcproj:
18886         * win32/gst-register.vcproj:
18887         * win32/gstelements.vcproj:
18888         * win32/gstgetbits.def:
18889         * win32/gstgetbits.vcproj:
18890         * win32/gstreamer-dbg.def:
18891         * win32/gstreamer.def:
18892         * win32/libgstbase.def:
18893         * win32/libgstbase.vcproj:
18894         * win32/link_oldruntime.c:
18895         * win32/mman.c:
18896         * win32/mman.h:
18897         * win32/mman.inl:
18898         * win32/msvc71.sln:
18899           move even more stuff, win32/ is nice and clean now
18900
18901 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18902
18903         * libs/gst/control/.cvsignore:
18904         * win32/MANIFEST:
18905         * win32/config.h:
18906         * win32/dirent.c:
18907         * win32/dirent.h:
18908         * win32/gstbytestream.def:
18909         * win32/gstbytestream.vcproj:
18910         * win32/gstconfig.h:
18911         * win32/gstenumtypes.c:
18912         * win32/gstenumtypes.h:
18913         * win32/gstoptimalscheduler.vcproj:
18914         * win32/gstversion.h:
18915         * win32/gtchar.h:
18916         * win32/testsuite/bins.vcproj:
18917         * win32/testsuite/bytestream.vcproj:
18918         * win32/testsuite/caps.vcproj:
18919         * win32/testsuite/cleanup.vcproj:
18920         * win32/testsuite/clock.vcproj:
18921         * win32/testsuite/debug.vcproj:
18922         * win32/testsuite/dlopen.vcproj:
18923         * win32/testsuite/dynparams.vcproj:
18924         * win32/testsuite/elements.vcproj:
18925         * win32/testsuite/ghostpads.vcproj:
18926         * win32/testsuite/indexers.vcproj:
18927         * win32/testsuite/negotiation.vcproj:
18928         * win32/testsuite/parse.vcproj:
18929         * win32/testsuite/plugin.vcproj:
18930         * win32/testsuite/refcounting.vcproj:
18931         * win32/testsuite/schedulers.vcproj:
18932         * win32/testsuite/states.vcproj:
18933         * win32/testsuite/tags.vcproj:
18934         * win32/testsuite/threads.vcproj:
18935           remove old win32 stuff that isn't maintained and should be
18936           reorganized
18937
18938 2005-11-30  Andy Wingo  <wingo@pobox.com>
18939
18940         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18941         loading the gst.interfaces python module bork.
18942
18943         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18944         available since GLib 2.2. Fixes #318031.
18945
18946 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18947
18948         * Makefile.am:
18949         * check/.cvsignore:
18950         * check/Makefile.am:
18951         * check/elements/.cvsignore:
18952         * check/elements/fakesrc.c:
18953         * check/elements/fdsrc.c:
18954         * check/elements/identity.c:
18955         * check/generic/.cvsignore:
18956         * check/generic/states.c:
18957         * check/gst-libs/.cvsignore:
18958         * check/gst-libs/controller.c:
18959         * check/gst-libs/gdp.c:
18960         * check/gst/.cvsignore:
18961         * check/gst/capslist.h:
18962         * check/gst/gst.c:
18963         * check/gst/gstbin.c:
18964         * check/gst/gstbuffer.c:
18965         * check/gst/gstbus.c:
18966         * check/gst/gstcaps.c:
18967         * check/gst/gstelement.c:
18968         * check/gst/gstevent.c:
18969         * check/gst/gstghostpad.c:
18970         * check/gst/gstiterator.c:
18971         * check/gst/gstmessage.c:
18972         * check/gst/gstminiobject.c:
18973         * check/gst/gstobject.c:
18974         * check/gst/gstpad.c:
18975         * check/gst/gstpipeline.c:
18976         * check/gst/gstplugin.c:
18977         * check/gst/gstsegment.c:
18978         * check/gst/gststructure.c:
18979         * check/gst/gstsystemclock.c:
18980         * check/gst/gsttag.c:
18981         * check/gst/gstutils.c:
18982         * check/gst/gstvalue.c:
18983         * check/net/.cvsignore:
18984         * check/net/gstnetclientclock.c:
18985         * check/net/gstnettimeprovider.c:
18986         * check/pipelines/.cvsignore:
18987         * check/pipelines/cleanup.c:
18988         * check/pipelines/simple_launch_lines.c:
18989         * check/pipelines/stress.c:
18990         * check/states/.cvsignore:
18991         * check/states/sinks.c:
18992         * configure.ac:
18993         * examples/Makefile.am:
18994         * examples/appreader/.cvsignore:
18995         * examples/appreader/Makefile.am:
18996         * examples/appreader/appreader.c:
18997         * examples/controller/.cvsignore:
18998         * examples/controller/Makefile.am:
18999         * examples/controller/audio-example.c:
19000         * examples/cutter/.cvsignore:
19001         * examples/cutter/Makefile.am:
19002         * examples/cutter/cutter.c:
19003         * examples/cutter/cutter.h:
19004         * examples/events/Makefile.am:
19005         * examples/events/seek.c:
19006         * examples/helloworld/.cvsignore:
19007         * examples/helloworld/Makefile.am:
19008         * examples/helloworld/helloworld.c:
19009         * examples/helloworld2/.cvsignore:
19010         * examples/helloworld2/Makefile.am:
19011         * examples/helloworld2/helloworld2.c:
19012         * examples/launch/.cvsignore:
19013         * examples/launch/Makefile.am:
19014         * examples/launch/mp3parselaunch.c:
19015         * examples/launch/mp3play:
19016         * examples/manual/.cvsignore:
19017         * examples/manual/Makefile.am:
19018         * examples/manual/extract.pl:
19019         * examples/metadata/Makefile.am:
19020         * examples/metadata/read-metadata.c:
19021         * examples/mixer/.cvsignore:
19022         * examples/mixer/Makefile.am:
19023         * examples/mixer/mixer.c:
19024         * examples/mixer/mixer.h:
19025         * examples/pingpong/.cvsignore:
19026         * examples/pingpong/Makefile.am:
19027         * examples/pingpong/pingpong.c:
19028         * examples/plugins/.cvsignore:
19029         * examples/plugins/Makefile.am:
19030         * examples/plugins/example.c:
19031         * examples/plugins/example.h:
19032         * examples/pwg/.cvsignore:
19033         * examples/pwg/Makefile.am:
19034         * examples/pwg/extract.pl:
19035         * examples/queue/.cvsignore:
19036         * examples/queue/Makefile.am:
19037         * examples/queue/queue.c:
19038         * examples/queue2/.cvsignore:
19039         * examples/queue2/Makefile.am:
19040         * examples/queue2/queue2.c:
19041         * examples/queue3/.cvsignore:
19042         * examples/queue3/Makefile.am:
19043         * examples/queue3/queue3.c:
19044         * examples/queue4/.cvsignore:
19045         * examples/queue4/Makefile.am:
19046         * examples/queue4/queue4.c:
19047         * examples/retag/.cvsignore:
19048         * examples/retag/Makefile.am:
19049         * examples/retag/retag.c:
19050         * examples/retag/transcode.c:
19051         * examples/thread/.cvsignore:
19052         * examples/thread/Makefile.am:
19053         * examples/thread/thread.c:
19054         * examples/typefind/.cvsignore:
19055         * examples/typefind/Makefile.am:
19056         * examples/typefind/typefind.c:
19057         * examples/xml/.cvsignore:
19058         * examples/xml/Makefile.am:
19059         * examples/xml/createxml.c:
19060         * examples/xml/runxml.c:
19061         * tests/Makefile.am:
19062         * tests/check/Makefile.am:
19063         * testsuite/.cvsignore:
19064         * testsuite/Makefile.am:
19065         * testsuite/Rules:
19066         * testsuite/caps/.cvsignore:
19067         * testsuite/caps/Makefile.am:
19068         * testsuite/caps/app_fixate.c:
19069         * testsuite/caps/audioscale.c:
19070         * testsuite/caps/caps.c:
19071         * testsuite/caps/caps.h:
19072         * testsuite/caps/caps_strings:
19073         * testsuite/caps/compatibility.c:
19074         * testsuite/caps/deserialize.c:
19075         * testsuite/caps/enumcaps.c:
19076         * testsuite/caps/eratosthenes.c:
19077         * testsuite/caps/filtercaps.c:
19078         * testsuite/caps/fixed.c:
19079         * testsuite/caps/fraction-convert.c:
19080         * testsuite/caps/fraction-multiply-and-zero.c:
19081         * testsuite/caps/intersect2.c:
19082         * testsuite/caps/intersection.c:
19083         * testsuite/caps/normalisation.c:
19084         * testsuite/caps/random.c:
19085         * testsuite/caps/renegotiate.c:
19086         * testsuite/caps/sets.c:
19087         * testsuite/caps/simplify.c:
19088         * testsuite/caps/string-conversions.c:
19089         * testsuite/caps/structure.c:
19090         * testsuite/caps/subtract.c:
19091         * testsuite/caps/union.c:
19092         * testsuite/debug/.cvsignore:
19093         * testsuite/debug/Makefile.am:
19094         * testsuite/debug/category.c:
19095         * testsuite/debug/commandline.c:
19096         * testsuite/debug/global.c:
19097         * testsuite/debug/output.c:
19098         * testsuite/debug/printf_extension.c:
19099         * testsuite/dlopen/.cvsignore:
19100         * testsuite/dlopen/Makefile.am:
19101         * testsuite/dlopen/dlopen_gst.c:
19102         * testsuite/dlopen/loadgst.c:
19103         * testsuite/elements/.cvsignore:
19104         * testsuite/elements/Makefile.am:
19105         * testsuite/elements/gst-inspect-check.in:
19106         * testsuite/elements/struct_i386.h:
19107         * testsuite/elements/struct_size.c:
19108         * testsuite/indexers/.cvsignore:
19109         * testsuite/indexers/Makefile.am:
19110         * testsuite/indexers/cache1.c:
19111         * testsuite/indexers/indexdump.c:
19112         * testsuite/parse/.cvsignore:
19113         * testsuite/parse/Makefile.am:
19114         * testsuite/parse/parse1.c:
19115         * testsuite/parse/parse2.c:
19116         * testsuite/plugin/.cvsignore:
19117         * testsuite/plugin/Makefile.am:
19118         * testsuite/plugin/README:
19119         * testsuite/plugin/dynamic.c:
19120         * testsuite/plugin/linked.c:
19121         * testsuite/plugin/loading.c:
19122         * testsuite/plugin/registry.c:
19123         * testsuite/plugin/static.c:
19124         * testsuite/plugin/static2.c:
19125         * testsuite/plugin/testplugin.c:
19126         * testsuite/plugin/testplugin2.c:
19127         * testsuite/plugin/testplugin2_s.c:
19128         * testsuite/plugin/testplugin_s.c:
19129         * testsuite/refcounting/.cvsignore:
19130         * testsuite/refcounting/Makefile.am:
19131         * testsuite/refcounting/bin.c:
19132         * testsuite/refcounting/element.c:
19133         * testsuite/refcounting/element_pad.c:
19134         * testsuite/refcounting/mainloop.c:
19135         * testsuite/refcounting/mem.c:
19136         * testsuite/refcounting/mem.h:
19137         * testsuite/refcounting/object.c:
19138         * testsuite/refcounting/pad.c:
19139         * testsuite/refcounting/sched.c:
19140         * testsuite/refcounting/thread.c:
19141         * testsuite/states/.cvsignore:
19142         * testsuite/states/Makefile.am:
19143         * testsuite/states/bin.c:
19144         * testsuite/states/locked.c:
19145         * testsuite/states/parent.c:
19146         * testsuite/threads/.cvsignore:
19147         * testsuite/threads/159566.c:
19148         * testsuite/threads/159852.c:
19149         * testsuite/threads/Makefile.am:
19150         * testsuite/threads/queue.c:
19151         * testsuite/threads/signals.c:
19152         * testsuite/threads/staticrec.c:
19153         * testsuite/threads/thread.c:
19154         * testsuite/threads/threadb.c:
19155         * testsuite/threads/threadc.c:
19156         * testsuite/threads/threadd.c:
19157         * testsuite/threads/threade.c:
19158         * testsuite/threads/threadf.c:
19159         * testsuite/threads/threadg.c:
19160         * testsuite/threads/threadh.c:
19161         * testsuite/threads/threadi.c:
19162           move all of these under tests
19163
19164 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19165
19166         * configure.ac:
19167         * tests/Makefile.am:
19168           fix distcheck
19169
19170 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19171
19172         * docs/gst/gstreamer-sections.txt:
19173         * tests/sched/.cvsignore:
19174         * tests/sched/Makefile.am:
19175         * tests/sched/cases/(fs-fs).xml:
19176         * tests/sched/cases/(fs-i-fs).xml:
19177         * tests/sched/cases/(fs-i-i-fs).xml:
19178         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19179         * tests/sched/dynamic-pipeline.c:
19180         * tests/sched/interrupt1.c:
19181         * tests/sched/interrupt2.c:
19182         * tests/sched/interrupt3.c:
19183         * tests/sched/runtestcases:
19184         * tests/sched/runxml.c:
19185         * tests/sched/sched-stress.c:
19186         * tests/sched/sort.c:
19187         * tests/sched/testcases:
19188         * tests/sched/testcases1.tc:
19189         * tests/seeking/.cvsignore:
19190         * tests/seeking/Makefile.am:
19191         * tests/seeking/seeking1.c:
19192         * tests/threadstate/.cvsignore:
19193         * tests/threadstate/Makefile.am:
19194         * tests/threadstate/test1.c:
19195         * tests/threadstate/test2.c:
19196         * tests/threadstate/threadstate1.c:
19197         * tests/threadstate/threadstate2.c:
19198         * tests/threadstate/threadstate3.c:
19199         * tests/threadstate/threadstate4.c:
19200         * tests/threadstate/threadstate5.c:
19201           remove obsolete tests
19202         * configure.ac:
19203         * tests/bench-complexity.scm:
19204         * tests/bench-mass_elements.scm:
19205         * tests/complexity.c:
19206         * tests/complexity.gnuplot:
19207         * tests/instantiate/.cvsignore:
19208         * tests/instantiate/Makefile.am:
19209         * tests/instantiate/caps.c:
19210         * tests/mass_elements.c:
19211         * tests/network-clock-utils.scm:
19212         * tests/network-clock.scm:
19213         * tests/plot-data:
19214         First pass at cleaning up tests/ dir before moving the rest
19215         Combined with CVS surgery
19216
19217 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19218
19219         * po/POTFILES.in:
19220           queue has moved, update
19221
19222 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19223
19224         * docs/gst/gstreamer-sections.txt:
19225           remove double entries from the docs
19226         * gst/gst_private.h:
19227         * gst/gstinfo.c: (_gst_debug_init):
19228           remove the THREAD debug category
19229         * gst/Makefile.am:
19230         * gst/gstqueue.c:
19231         * gst/gstqueue.h:
19232         * docs/gst/gstreamer.types:
19233         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19234         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19235           completely move queue and fix up debugging categories
19236
19237 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19238
19239         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19240           make initialization portable, using LL is not
19241
19242 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19243
19244         * win32/common/gstconfig.h:
19245           add large padding
19246
19247 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19248
19249         * win32/common/libgstreamer.def:
19250           rename symbols; sort base section
19251
19252 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19253
19254         * gst/gstclock.c: (do_linear_regression):
19255           remove crack non-portable handrolled DEBUG macro
19256
19257 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19258
19259         * docs/random/release:
19260           update notes
19261         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19262         (gst_object_flags_get_type), (register_gst_bin_flags),
19263         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19264         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19265         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19266         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19267         (gst_caps_flags_get_type), (register_gst_clock_return),
19268         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19269         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19270         (gst_clock_flags_get_type), (register_gst_state),
19271         (gst_state_get_type), (register_gst_state_change_return),
19272         (gst_state_change_return_get_type), (register_gst_state_change),
19273         (gst_state_change_get_type), (register_gst_element_flags),
19274         (gst_element_flags_get_type), (register_gst_core_error),
19275         (gst_core_error_get_type), (register_gst_library_error),
19276         (gst_library_error_get_type), (register_gst_resource_error),
19277         (gst_resource_error_get_type), (register_gst_stream_error),
19278         (gst_stream_error_get_type), (register_gst_event_type_flags),
19279         (gst_event_type_flags_get_type), (register_gst_event_type),
19280         (gst_event_type_get_type), (register_gst_seek_type),
19281         (gst_seek_type_get_type), (register_gst_seek_flags),
19282         (gst_seek_flags_get_type), (register_gst_format),
19283         (gst_format_get_type), (register_gst_index_certainty),
19284         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19285         (gst_index_entry_type_get_type),
19286         (register_gst_index_lookup_method),
19287         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19288         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19289         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19290         (gst_index_flags_get_type), (register_gst_debug_level),
19291         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19292         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19293         (gst_iterator_result_get_type), (register_gst_iterator_item),
19294         (gst_iterator_item_get_type), (register_gst_message_type),
19295         (gst_message_type_get_type), (register_gst_mini_object_flags),
19296         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19297         (gst_pad_link_return_get_type), (register_gst_flow_return),
19298         (gst_flow_return_get_type), (register_gst_activate_mode),
19299         (gst_activate_mode_get_type), (register_gst_pad_direction),
19300         (gst_pad_direction_get_type), (register_gst_pad_flags),
19301         (gst_pad_flags_get_type), (register_gst_pad_presence),
19302         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19303         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19304         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19305         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19306         (gst_plugin_flags_get_type), (register_gst_rank),
19307         (gst_rank_get_type), (register_gst_query_type),
19308         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19309         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19310         (gst_tag_flag_get_type), (register_gst_task_state),
19311         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19312         (gst_alloc_trace_flags_get_type),
19313         (register_gst_type_find_probability),
19314         (gst_type_find_probability_get_type), (register_gst_uri_type),
19315         (gst_uri_type_get_type), (register_gst_parse_error),
19316         (gst_parse_error_get_type):
19317         * win32/common/gstenumtypes.h:
19318         * win32/common/gstversion.h:
19319           update visual studio generated files
19320
19321 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19322
19323         * win32/vs6/libgstbase.dsp:
19324         * win32/vs6/libgstelements.dsp:
19325           update project files for new locations
19326
19327 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19328
19329         * Makefile.am:
19330           remove some files
19331         * README:
19332           reinstate and update
19333         * DEVEL:
19334         * REQUIREMENTS:
19335           removed
19336         * LICENSE:
19337         * docs/random/LICENSE:
19338           moved to random
19339
19340 2005-11-30  Edward Hervey  <edward@fluendo.com>
19341
19342         * gst/gsttypefind.c: (gst_type_find_register):
19343         * gst/gsttypefind.h:
19344         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19345         (gst_type_find_factory_dispose):
19346         * gst/gsttypefindfactory.h:
19347         Fix memory leak in GstTypeFindFactory.
19348
19349 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19350
19351         * gst/gst.c:
19352         * plugins/elements/Makefile.am:
19353         * plugins/elements/gstelements.c:
19354         * plugins/elements/gstqueue.c:
19355           move queue from core to the elements plugin
19356
19357 2005-11-29  Andy Wingo  <wingo@pobox.com>
19358
19359         * libs/gst/base/gstbasetransform.h: 
19360         * libs/gst/base/gstbasesrc.h: 
19361         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19362
19363         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19364         of pointers by which to pad very extensible base classes (like the
19365         ones in libs/gst/base).
19366
19367 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19368
19369         * docs/gst/gstreamer-docs.sgml:
19370         * docs/gst/gstreamer-sections.txt:
19371         * docs/libs/gstreamer-libs-docs.sgml:
19372         * docs/libs/gstreamer-libs-sections.txt:
19373           moving documentation from core to lib
19374
19375 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19376
19377         * check/Makefile.am:
19378         * configure.ac:
19379         * docs/gst/Makefile.am:
19380         * gst/Makefile.am:
19381         * gst/base/.cvsignore:
19382         * gst/base/Makefile.am:
19383         * gst/base/README:
19384         * gst/base/gstadapter.c:
19385         * gst/base/gstadapter.h:
19386         * gst/base/gstbasesink.c:
19387         * gst/base/gstbasesink.h:
19388         * gst/base/gstbasesrc.c:
19389         * gst/base/gstbasesrc.h:
19390         * gst/base/gstbasetransform.c:
19391         * gst/base/gstbasetransform.h:
19392         * gst/base/gstcollectpads.c:
19393         * gst/base/gstcollectpads.h:
19394         * gst/base/gstpushsrc.c:
19395         * gst/base/gstpushsrc.h:
19396         * gst/base/gsttypefindhelper.c:
19397         * gst/base/gsttypefindhelper.h:
19398         * gst/check/Makefile.am:
19399         * gst/check/gstcheck.c:
19400         * gst/check/gstcheck.h:
19401         * gst/net/Makefile.am:
19402         * gst/net/gstnet.h:
19403         * gst/net/gstnetclientclock.c:
19404         * gst/net/gstnetclientclock.h:
19405         * gst/net/gstnettimepacket.c:
19406         * gst/net/gstnettimepacket.h:
19407         * gst/net/gstnettimeprovider.c:
19408         * gst/net/gstnettimeprovider.h:
19409         * libs/gst/Makefile.am:
19410         * libs/gst/base/Makefile.am:
19411         * libs/gst/base/gstbasetransform.c:
19412         * libs/gst/check/Makefile.am:
19413         * plugins/elements/Makefile.am:
19414         * po/POTFILES.in:
19415           CVS surgery + support to move base, check, and net out of gst
19416           and into libs/gst
19417
19418 2005-11-29  Andy Wingo  <wingo@pobox.com>
19419
19420         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19421
19422         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19423         padding.
19424
19425         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19426
19427         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19428
19429         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19430
19431         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19432         padding; reduces object size by about 30%. We don't expect
19433         anything else to go into gstobject.
19434
19435         * gst/gstminiobject.h (struct _GstMiniObject)
19436         (struct _GstMiniObjectClass): Only one pointer of padding; the
19437         payload is only a pointer and two ints anyway. For the class there
19438         are only two methods as well.
19439         
19440         * gst/gstelement.h (struct _GstElementClass): Removed
19441         the state_changed signal callback, it is not used.
19442
19443 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19444
19445         * docs/gst/gstreamer.types:
19446           fix includes, though they are a little dinky
19447
19448 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19449
19450         * check/Makefile.am:
19451           look in the right place for elements, a lot more chance of
19452           success
19453         * gst/Makefile.am:
19454           remove indexers and elements subdirs
19455         * plugins/Makefile.am:
19456           make indexers conditional
19457
19458 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19459
19460         * Makefile.am:
19461         * configure.ac:
19462         * plugins/elements/Makefile.am:
19463         * plugins/elements/gstcapsfilter.c:
19464         * plugins/elements/gstfilesink.c:
19465         * plugins/elements/gstfilesrc.c:
19466         * plugins/elements/gstidentity.c:
19467         * plugins/indexers/Makefile.am:
19468           do CVS surgery and related build fixery to move elements
19469           and indexers in a new gstreamer/plugins directory, out of the
19470           gst/ directory
19471
19472 2005-11-29  Andy Wingo  <wingo@pobox.com>
19473
19474         * check/Makefile.am:
19475         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19476         * pkgconfig/gstreamer-net.pc.in:
19477         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19478         #322257.
19479
19480 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19481
19482         * tools/Makefile.am:
19483         * tools/gst-complete.1.in:
19484         * tools/gst-complete.c:
19485         * tools/gst-compprep.1.in:
19486         * tools/gst-compprep.c:
19487           removing -compprep and -complete
19488
19489 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19490
19491         * gst/gstevent.c: (gst_event_new_new_segment),
19492         (gst_event_parse_new_segment):
19493         * gst/gstevent.h:
19494           fix #320529 - clean up new_segment API and structure.
19495           Let's hope everyone was using the methods, and not the structure.
19496
19497 2005-11-29  Edward Hervey  <edward@fluendo.com>
19498
19499         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19500         (gst_base_sink_event), (gst_base_sink_do_sync),
19501         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19502         Properly handle non GST_FORMAT_TIME segment
19503         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19504         Properly handle non GST_FORMAT_TIME segment
19505         * gst/gstsegment.c:
19506         This function is valid if the accumulator is 0 and the format
19507         is different from the requested format.
19508         
19509 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19510
19511         * docs/gst/gstreamer-sections.txt:
19512         Add gst_query_new_seeking and gst_query_parse_seeking to the
19513         docs.
19514
19515 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19516
19517         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19518           Treat a pad alloc with new caps the same as if we were not
19519           negotiated, in order to allow a changing upstream output
19520           to produce a new format of data.
19521
19522 2005-11-29  Edward Hervey  <edward@fluendo.com>
19523
19524         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19525         (gst_base_transform_event), (gst_base_transform_eventfunc):
19526         The event virtual method is now properly implemented, with a default
19527         handler
19528         Sub classes should call the parent_class event method. They should
19529         return FALSE if they had a problem handling the given event, or don't
19530         want GstBaseTransform to send that even downstream
19531         * gst/elements/gstidentity.c: (gst_identity_class_init),
19532         (gst_identity_init), (gst_identity_event),
19533         (gst_identity_transform_ip), (gst_identity_set_property),
19534         (gst_identity_get_property):
19535         * gst/elements/gstidentity.h:
19536         Added the single-segment boolean property.
19537         If set to TRUE, it will output a single segment of data, starting from
19538         0, will eat up all incoming newsegment, and modify the timestamp of the
19539         buffers accordingly
19540
19541 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19542
19543         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19544           Don't ref NULL target pad (#322751). Improve docs.
19545
19546 2005-11-29  Michael Smith  <msmith@fluendo.com>
19547
19548         * gst/gstregistryxml.c: (load_plugin):
19549           Don't crash if we failed to load a feature from a plugin. 
19550
19551 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19552
19553         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19554         (GST_START_TEST):
19555           use more check API and less GLib API
19556
19557 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19558
19559         * Makefile.am:
19560           don't run checks if we don't have check
19561         * common/check.mak:
19562           remove the registry when running make torture
19563         * docs/gst/gstreamer-sections.txt:
19564           remove second multiply
19565         * gst/gstqueue.c: (gst_queue_loop):
19566           fix a compile warning when disabling debug
19567
19568 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19569
19570         * gst/gstinfo.h:
19571         Hey! Let's print the pad name if the pointer != NULL instead
19572         of when it == NULL :-)
19573
19574 2005-11-28  Wim Taymans  <wim@fluendo.com>
19575
19576         * check/gst/gstutils.c: (GST_START_TEST):
19577         Updated check, add some scaling accuracy checking code.
19578
19579         * gst/gstutils.c: (gst_util_div128_64),
19580         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19581         (gst_util_uint64_scale_int):
19582         Fix 6 times faster division code. Optimize for common 
19583         1/1 and less common X/1 cases.
19584
19585 2005-11-28  Wim Taymans  <wim@fluendo.com>
19586
19587         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19588         More checks.
19589
19590         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19591         (do_linear_regression), (gst_clock_add_observation):
19592         Cleanups.
19593         Release lock when the clock cannot be slaved.
19594         Catch the case where the regression returned an invalid denominator.
19595
19596         * gst/gstutils.c: (gst_util_div128_64_iterate),
19597         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19598         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19599         Add protentially more performant non-iterative 128/64 divide function
19600         that unfortunatly does not work yet.
19601         Shortcut the trivial 0/X = 0 case.
19602         Remove the warnings on overflow.
19603
19604 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19605
19606         * gst/gstplugin.c: (gst_plugin_register_func):
19607           everything causing a plugin not to load should be at least a WARNING
19608
19609 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19610
19611         * docs/random/ensonic/dparams.txt:
19612           some TODOs for the next dev cycle
19613         * libs/gst/controller/gstcontroller.c:
19614         (gst_controlled_property_set_interpolation_mode),
19615         (gst_controlled_property_new):
19616         * libs/gst/controller/gstcontroller.h:
19617           use base type to assign acccessor functions
19618
19619 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19620
19621         * check/Makefile.am:
19622         Oops, that should have been top_srcdir
19623
19624 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19625
19626         * check/Makefile.am:
19627         * check/elements/fdsrc.c: (GST_START_TEST):
19628         Use a cmdline define to specify the location of a file to use for
19629         testing, to avoid breaking distcheck.
19630
19631 2005-11-28  Andy Wingo  <wingo@pobox.com>
19632
19633         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19634
19635 2005-11-28  Edward Hervey  <edward@fluendo.com>
19636
19637         * tools/gst-launch.c: (main):
19638         Clarify the output strings, makes it easier to translate.
19639         Fixes #322626
19640
19641 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19642
19643         * gst/Makefile.am:
19644           don't try and build net if we don't even have <sys/socket.h>
19645
19646 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19647
19648         * check/Makefile.am:
19649         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19650         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19651           Add tests for fdsrc seekability
19652
19653         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19654         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19655         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19656         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19657         * gst/elements/gstfdsrc.h:
19658           fdsrc should not be a 'live' source.
19659           Implement seeking on seekable fd's.
19660
19661         * gst/gstquery.c: (gst_query_new_seeking),
19662         (gst_query_parse_seeking):
19663         * gst/gstquery.h:
19664           Implement SEEKING query functions: 
19665             *_new_seeking and *_parse_seeking
19666
19667 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19668
19669         * gst/gstelement.c: (gst_element_dispose):
19670           don't loop forever
19671
19672         * gst/gstiterator.c:
19673         * gst/gststructure.c:
19674           doc fixes
19675
19676         * libs/gst/controller/gstcontroller.c:
19677         (gst_controlled_property_set_interpolation_mode):
19678         * libs/gst/controller/gstcontroller.h:
19679         * libs/gst/controller/gstinterpolation.c:
19680         (interpolate_none_get_enum_value_array):
19681           support controlling enums
19682
19683 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19684
19685         * gst/gstvalue.c:
19686           Improve documentation for gst_value_union().
19687
19688         * gst/gstvalue.h:
19689           Change return value for union, intersect and subtract functions
19690           from gint to gboolean.
19691
19692 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19693
19694         * gst/gstvalue.c: (gst_value_serialize_any_list),
19695         (gst_value_transform_any_list_string),
19696         (gst_value_deserialize_list), (gst_value_deserialize_array),
19697         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19698         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19699         (gst_value_set_fraction_range_full),
19700         (gst_value_deserialize_fraction_range),
19701         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19702         (gst_value_deserialize_boolean),
19703         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19704         (gst_value_serialize_float), (gst_value_deserialize_float),
19705         (gst_string_wrap), (gst_value_deserialize_string),
19706         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19707         (gst_value_union_int_range_int_range),
19708         (gst_value_intersect_int_range_int_range),
19709         (gst_value_intersect_double_range_double_range),
19710         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19711         (gst_value_subtract_int_range_int_range),
19712         (gst_value_subtract_double_double_range),
19713         (gst_value_subtract_double_range_double_range),
19714         (gst_value_deserialize_fraction):
19715         * gst/gstvalue.h:
19716           Use gint, gdouble and gchar in our API instead of int, double and
19717           char (and make usage in gstvalue.c more consistent).
19718
19719 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19720
19721         * check/Makefile.am:
19722         * libs/gst/controller/Makefile.am:
19723         * libs/gst/dataprotocol/Makefile.am:
19724           fix up Makefile.am and remove GST_ENABLE_NEW
19725
19726 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19727
19728         * configure.ac:
19729         * gst/Makefile.am:
19730         * gst/base/Makefile.am:
19731         * gst/check/Makefile.am:
19732         * gst/elements/Makefile.am:
19733         * gst/net/Makefile.am:
19734           update LDFLAGS use some more
19735
19736 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19737
19738         * common/m4/gst-doc.m4:
19739           Fixes #312589
19740
19741 2005-11-26  Edward Hervey  <edward@fluendo.com>
19742
19743         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19744         This shouldn't issue a g_warning since it returns NULL if it
19745         couldn't find the plugin, and all functions using this behave
19746         properly on a NULL return. Switching to a GST_WARNING.
19747
19748 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19749
19750         * gst/gstbin.c: (gst_bin_handle_message_func):
19751         Don't leak clock messages.
19752
19753 2005-11-25  Wim Taymans  <wim@fluendo.com>
19754
19755         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19756         (gst_util_uint64_scale_int):
19757         Optimisations, remove unneeded vars.
19758
19759 2005-11-25  Wim Taymans  <wim@fluendo.com>
19760
19761         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19762         Added more checks for the high precision uint64 cases.
19763
19764         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19765         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19766         Implement high precision (guint64 * guint64) / guint64.
19767
19768 2005-11-24  Wim Taymans  <wim@fluendo.com>
19769
19770         * gst/base/gstbasesrc.c: (gst_base_src_query):
19771         Fix wrong percentage query.
19772
19773         * gst/gstutils.c: (gst_util_uint64_scale),
19774         (gst_util_uint64_scale_int):
19775         Add some more common cases that can be handled 
19776         efficiently to _scale.
19777
19778 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19779
19780         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19781         (gst_mini_object_suite):
19782           don't use check calls from threads; check probably isn't
19783           threadsafe and using a lock to make it threadsafe would
19784           defeat the purpose of this check
19785         * gst/check/gstcheck.c:
19786         * gst/check/gstcheck.h:
19787           use GST_DEBUG some more
19788
19789 2005-11-24  Wim Taymans  <wim@fluendo.com>
19790
19791         * gst/gstutils.c: (gst_util_uint64_scale),
19792         (gst_util_uint64_scale_int):
19793         Chain trivial case to _scale_int.
19794
19795 2005-11-24  Wim Taymans  <wim@fluendo.com>
19796
19797         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19798         Added test for scaling.
19799
19800         * gst/gstclock.h:
19801         Small doc fix.
19802
19803         * gst/gstutils.c: (gst_util_uint64_scale_int):
19804         Implemented high precision scaling code.
19805
19806 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
19807
19808         * gst/gstinfo.h:
19809           do not crash on pad==NULL
19810
19811 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19812
19813         Patch by: Stefan Kost
19814
19815         * common/gtk-doc.mak:
19816         * docs/gst/Makefile.am:
19817         * docs/libs/Makefile.am:
19818           Fix distcheck issues for the libraries docs build
19819           Closes #319599.
19820
19821 2005-11-24  Michael Smith <msmith@fluendo.com>
19822
19823         * docs/manual/basics-helloworld.xml:
19824           Fix bug #315027: memory leak in example code in docs.
19825
19826 2005-11-24  Michael Smith <msmith@fluendo.com>
19827
19828         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19829           Unlock the PREROLL_LOCK in a failure case.
19830
19831 2005-11-24  Wim Taymans  <wim@fluendo.com>
19832
19833         * docs/gst/gstreamer-sections.txt:
19834         * gst/base/gstadapter.h:
19835         * gst/base/gstbasesink.h:
19836         * gst/base/gstbasesrc.h:
19837         * gst/base/gstbasetransform.h:
19838         * gst/base/gstpushsrc.h:
19839         * gst/elements/gstfakesink.h:
19840         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19841         * gst/elements/gstfakesrc.h:
19842         * gst/elements/gstfilesink.h:
19843         * gst/elements/gstfilesrc.h:
19844         * gst/gst.c:
19845         * gst/gstbin.c:
19846         * gst/gstbuffer.c: (_gst_buffer_copy):
19847         * gst/gstbus.h:
19848         * gst/gstcaps.c:
19849         * gst/gstchildproxy.c:
19850         * gst/gstclock.c:
19851         * gst/gstelement.c:
19852         * gst/gstelementfactory.c:
19853         * gst/gstelementfactory.h:
19854         * gst/gstevent.c:
19855         * gst/gstghostpad.h:
19856         * gst/gstindex.h:
19857         * gst/gstinterface.h:
19858         * gst/gstminiobject.c:
19859         * gst/gstminiobject.h:
19860         * gst/gstpad.c:
19861         * gst/gstpad.h:
19862         * gst/gstpadtemplate.h:
19863         * gst/gstpipeline.h:
19864         * gst/gstpluginfeature.h:
19865         * gst/gstquery.h:
19866         * gst/gstqueue.h:
19867         * gst/gsttaglist.c:
19868         * gst/gsttaglist.h:
19869         * gst/gsttagsetter.c:
19870         * gst/gsttagsetter.h:
19871         * gst/gsttrace.c:
19872         * gst/gsttrace.h:
19873         * gst/gsttypefind.h:
19874         * gst/gsturi.h:
19875         * gst/gstvalue.c:
19876         * gst/net/gstnetclientclock.c:
19877         * gst/net/gstnetclientclock.h:
19878         * gst/net/gstnettimepacket.c:
19879         * gst/net/gstnettimeprovider.c:
19880         * gst/net/gstnettimeprovider.h:
19881         Doc fixes.
19882
19883 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19884
19885         * configure.ac: back to HEAD
19886
19887 === release 0.9.6 ===
19888
19889 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
19890
19891         * configure.ac:
19892           releasing 0.9.6, "Always On Time"
19893
19894 2005-11-23  Wim Taymans  <wim@fluendo.com>
19895
19896         * docs/gst/gstreamer-sections.txt:
19897         * gst/glib-compat.c:
19898         * gst/gsttagsetter.c:
19899         * gst/gstvalue.c:
19900         * gst/net/gstnetclientclock.c:
19901         * gst/net/gstnettimepacket.h:
19902         Doc updates.
19903
19904 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19905
19906         * docs/faq/using.xml:
19907         * docs/libs/tmpl/gstcontrol.sgml:
19908         * docs/manual/advanced-dparams.xml:
19909         * docs/manual/appendix-checklist.xml:
19910         * docs/manual/basics-elements.xml:
19911         * docs/pwg/other-source.xml:
19912         * docs/random/moving-plugins:
19913         * gst/gstpad.c:
19914         * tools/gst-launch.1.in:
19915           remove mentions of sinesrc
19916
19917 2005-11-23  Michael Smith <msmith@fluendo.com>
19918
19919         * docs/gst/gstreamer-sections.txt:
19920           Update for new API and API changes.
19921         * gst/gstobject.h:
19922           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19923         * gst/gstvalue.c:
19924           Documentation typo fix.
19925         * gst/net/gstnettimepacket.c:
19926           Documentation fixes for arguments.
19927
19928 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
19929
19930         * gst/gststructure.c: (gst_structure_get_fraction),
19931         (gst_structure_parse_value),
19932         (gst_structure_fixate_field_nearest_fraction):
19933         * gst/gststructure.h:
19934         * gst/gstutils.c: (gst_util_uint64_scale_int):
19935         * gst/gstutils.h:
19936         * scripts/update-funcnames:
19937         API Changes. 
19938         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19939         Make gst_structure_fixate_field_nearest_fraction take a numerator
19940         and denominator argument instead of a GValue
19941         add gst_structure_get_fraction helper function.
19942
19943 2005-11-23  Wim Taymans  <wim@fluendo.com>
19944
19945         * docs/design/part-TODO.txt:
19946         Update TODO.
19947
19948         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19949         * gst/net/gstnetclientclock.h:
19950         Use parent fields for timeout and window_size.
19951
19952 2005-11-23  Andy Wingo  <wingo@pobox.com>
19953
19954         * check/net/gstnetclientclock.c (test_functioning): Adjust to
19955         rate_num/rate_denom change.
19956
19957         * gst/net/gstnetclientclock.c
19958         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19959         OBJECT_LOCK. Don't call add_observation with the lock.
19960
19961         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19962         fraction.
19963         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19964         rate fraction.
19965         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19966         deal with rate as a fraction whose numerator and denominator are
19967         GstClockTime values.
19968         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19969         master; the other fields are protected by the SLAVE_LOCK.
19970         (do_linear_regression): Note that this must be called with the
19971         SLAVE_LOCK.
19972         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19973         OBJECT_LOCK. Call set_calibration instead of touching the
19974         variables directly.
19975         (gst_clock_set_property, gst_clock_get_property): Protect
19976         master/slave parameters with the SLAVE_LOCK.
19977
19978         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19979         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19980         note that all of the instance variables that add_observation and
19981         the set_master functions use are protected by that lock and not
19982         the OBJECT_LOCK.
19983         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19984
19985         * gst/gstclock.c (gst_clock_add_observation): No longer requires
19986         the caller to take the object lock.
19987
19988 2005-11-23  Wim Taymans  <wim@fluendo.com>
19989
19990         * gst/gsterror.c: (_gst_core_errors_init):
19991         * gst/gsterror.h:
19992         Add error for clock stuff.
19993
19994         * gst/gstpipeline.c: (gst_pipeline_change_state),
19995         (gst_pipeline_set_clock):
19996         Post clock error when clock cannot be used in a pipeline.
19997
19998 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
19999
20000         * docs/gst/gstreamer-sections.txt:
20001           make two symbols from gstinfo private for the docs
20002         * gst/base/gstcollectpads.h:
20003         * gst/gstutils.c:
20004           fix doc typos, update docs
20005
20006 2005-11-22  Wim Taymans  <wim@fluendo.com>
20007
20008         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20009         (gst_base_sink_wait), (gst_base_sink_do_sync),
20010         (gst_base_sink_handle_event):
20011         * gst/base/gstbasesink.h:
20012         No need to store the clock, the parent element class already
20013         has it.
20014
20015         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20016         Updates for clock_set returning a gboolean
20017
20018         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20019         (gst_clock_id_wait_async), (gst_clock_class_init),
20020         (gst_clock_init), (gst_clock_finalize),
20021         (gst_clock_get_internal_time), (gst_clock_get_time),
20022         (gst_clock_slave_callback), (gst_clock_set_master),
20023         (gst_clock_get_master), (do_linear_regression),
20024         (gst_clock_add_observation), (gst_clock_set_property),
20025         (gst_clock_get_property):
20026         * gst/gstclock.h:
20027         Implement master/slave. When setting a clock as a slave, a
20028         periodic timeout is scheduled to sample master and slave times.
20029         Then the slave clock is recalibrated to match offset and rate
20030         of the master clock.
20031         Update logging a bit.
20032         Add flag so that a clock can state that is cannot be slaved to
20033         another clock.
20034
20035         * gst/gstelement.c: (gst_element_set_clock):
20036         * gst/gstelement.h:
20037         The set clock returns a gboolean for when an element cannot
20038         deal with the selected clock in the pipeline. 
20039
20040         * gst/gstpipeline.c: (gst_pipeline_change_state),
20041         (gst_pipeline_set_clock):
20042         * gst/gstpipeline.h:
20043         Handle the case where the selected clock cannot be set on
20044         the pipeline.
20045
20046         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20047         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20048         (gst_net_client_clock_set_property),
20049         (gst_net_client_clock_get_property),
20050         (gst_net_client_clock_observe_times):
20051         * gst/net/gstnetclientclock.h:
20052         Use regression code in GstClock parent, remove duplicated
20053         functionality.
20054
20055 2005-11-22  Michael Smith <msmith@fluendo.com>
20056
20057         * gst/gstutils.c: (gst_util_clock_time_scale):
20058         * gst/gstutils.h:
20059         * docs/gst/gstreamer-sections.txt:
20060           Rename method to have extra underscore.
20061
20062 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20063
20064         * gst/elements/Makefile.am:
20065         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20066         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20067         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20068         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20069         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20070         * gst/elements/gstfakesrc.h:
20071         * gst/gstqueue.c: (queue_leaky_get_type):
20072           correctly fix GEnumValues so that nick is the short lowercase
20073           dashed tag
20074         * tools/gst-inspect.c: (print_element_properties_info):
20075           also show the nick, since it's useful to use from parse_launch
20076           syntax
20077           Fixes #322139
20078
20079 2005-11-22  Michael Smith <msmith@fluendo.com>
20080
20081         * gst/gstutils.c: (gst_util_clocktime_scale):
20082         * gst/gstutils.h:
20083         * docs/gst/gstreamer-sections.txt:
20084           Add util method for scaling a clocktime by a fraction. Useful 
20085           implementation is left as an exercise for the reader.
20086
20087 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20088
20089         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20090         If needed, allocate storage in the destination value during
20091         collection.
20092
20093 2005-11-22  Edward Hervey  <edward@fluendo.com>
20094
20095         * docs/gst/gstreamer-sections.txt:
20096         * gst/Makefile.am:
20097         * gst/gst.h:
20098         * gst/gsturitype.c:
20099         * gst/gsturitype.h:
20100         * gst/gstutils.c: (gst_util_set_object_arg):
20101         * tools/gst-compprep.c: (main):
20102         * tools/gst-inspect.c: (print_element_properties_info):
20103         Removed GstURI, closes bug #321061
20104
20105 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20106
20107         * check/gst/gststructure.c: (GST_START_TEST):
20108         * gst/gststructure.c: (gst_structure_parse_value):
20109           Oops, broke automatic string type parsing.
20110           Add a test to catch it in future.
20111
20112 2005-11-22  Andy Wingo  <wingo@pobox.com>
20113
20114         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20115         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20116         Actually rename the function implementations. Grr.
20117
20118 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20119
20120         * check/gst/capslist.h:
20121           Comment test cases
20122         * check/gst/gststructure.c: (GST_START_TEST),
20123         (gst_structure_suite):
20124           Test automatic value type detection in gst_structure_from_string.
20125         * gst/gststructure.c: (gst_structure_parse_value):
20126           Add fraction as a type we try and guess automatically in
20127           caps/structure strings.
20128
20129 2005-11-22  Andy Wingo  <wingo@pobox.com>
20130
20131         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20132
20133         * gst/gsttagsetter.h:
20134         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20135         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20136         (gst_tag_setter_add_tag_valist)
20137         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20138         _add_values, _add_valist, and _add_valist_values. Since this is an
20139         interface the function suffixes should be more explicit so
20140         language binding don't end up with element.add_valist ->
20141         gst_tag_setter_add_valist, for example. Fixes #322069.
20142
20143 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20144
20145         * check/gst/gstcaps.c: (GST_START_TEST):
20146           Extend caps string tests to check that a caps to string
20147           conversion is reversible and produces the same caps.
20148
20149         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20150           Output "fraction" as the generic type fraction range, so caps
20151           serialisation and deserialisation works.
20152         * check/gst/capslist.h:
20153         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20154           Support 'MIN' and 'MAX' for deserialising fractions.
20155
20156 2005-11-22  Andy Wingo  <wingo@pobox.com>
20157
20158         * gst/gstevent.h (gst_event_new_new_segment)
20159         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20160         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20161         Renamed from *_newsegment, *_buffersize, *_notarget.
20162
20163         * scripts/update-funcnames: New script, performs the changes
20164         listed above.
20165
20166 2005-11-22  Wim Taymans  <wim@fluendo.com>
20167
20168         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20169         Make sure the GstFlowReturn is returned.
20170
20171         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20172         (gst_bus_add_signal_watch):
20173         * gst/gstbus.h:
20174         add gst_bus_add_signal_watch_full.
20175
20176         * gst/gstplugin.c: (gst_plugin_load_file):
20177         Small style cleanup.
20178
20179 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20180
20181         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20182           Block the fakesrc srcpad when we send an event, to avoid
20183           contention on the stream_lock causing random test failures.
20184
20185 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20186
20187         * check/gst/gstvalue.c: (GST_START_TEST):
20188         * gst/gstvalue.c: (gst_value_fraction_subtract):
20189           Fix subtraction.
20190
20191 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20192
20193         * gst/gst.h:
20194           include "gstchildproxy.h"
20195         * gst/gstchildproxy.h:
20196         * libs/gst/controller/gstcontroller.h:
20197           use G_GNUC_NULL_TERMINATED
20198
20199 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20200
20201         * check/gst/capslist.h:
20202         * check/gst/gstcaps.c: (GST_START_TEST):
20203         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20204         * gst/gststructure.c: (gst_structure_parse_range),
20205         (gst_structure_fixate_field_nearest_fraction):
20206         * gst/gststructure.h:
20207         * gst/gstvalue.c: (gst_value_init_fraction_range),
20208         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20209         (gst_value_collect_fraction_range),
20210         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20211         (gst_value_set_fraction_range_full),
20212         (gst_value_get_fraction_range_min),
20213         (gst_value_get_fraction_range_max),
20214         (gst_value_serialize_fraction_range),
20215         (gst_value_transform_fraction_range_string),
20216         (gst_value_compare_fraction_range),
20217         (gst_value_deserialize_fraction_range),
20218         (gst_value_intersect_fraction_fraction_range),
20219         (gst_value_intersect_fraction_range_fraction_range),
20220         (gst_value_subtract_fraction_fraction_range),
20221         (gst_value_subtract_fraction_range_fraction),
20222         (gst_value_subtract_fraction_range_fraction_range),
20223         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20224         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20225         (gst_value_transform_string_fraction), (_gst_value_initialize):
20226         * gst/gstvalue.h:
20227           Implement fraction ranges and extend GstFraction to support
20228           arithmetic subtraction, as well as deserialization from integer
20229           strings such as "100"
20230           Add a testsuite as for int and double range set operations
20231
20232 2005-11-21  Andy Wingo  <wingo@pobox.com>
20233
20234         * gst/gsttaglist.h: 
20235         * gst/gstcaps.h: 
20236         * gst/gststructure.h: Add glib-compat.h.
20237
20238 2005-11-21  Wim Taymans  <wim@fluendo.com>
20239
20240         * gst/gstbin.c: (gst_bin_change_state_func):
20241         Fix for #321595
20242
20243 2005-11-21  Wim Taymans  <wim@fluendo.com>
20244
20245         * gst/gstsegment.h:
20246         And add a nice define too.
20247
20248 2005-11-21  Wim Taymans  <wim@fluendo.com>
20249
20250         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20251         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20252         (gst_segment_set_duration), (gst_segment_set_last_stop),
20253         (gst_segment_set_seek), (gst_segment_set_newsegment),
20254         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20255         (gst_segment_clip):
20256         * gst/gstsegment.h:
20257         Make binding friendly.
20258
20259 2005-11-21  Andy Wingo  <wingo@pobox.com>
20260
20261         * gst/gsttagsetter.h: 
20262         * gst/gsttaglist.h: 
20263         * gst/gststructure.h: 
20264         * gst/gstcaps.h: 
20265         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20266         #319940.
20267
20268         * gst/gsterror.c (_gst_core_errors_init):
20269         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20270         category.
20271
20272         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20273         (noinst_HEADERS): noinst the -private.
20274
20275 2005-11-21  Michael Smith <msmith@fluendo.com>
20276
20277         * gst/gstplugin.h:
20278         * gst/gstregistry.h:
20279           Remove unimplemented declarations for which we can see no sensible
20280           use.
20281
20282 2005-11-21  Andy Wingo  <wingo@pobox.com>
20283
20284         * gst/gst.h: Include glib-compat.h.
20285
20286         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20287
20288         * gst/glib-compat.c: Include the public and the private header.
20289
20290         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20291
20292         * gst/gstvalue.c: 
20293         * gst/gstpad.c: 
20294         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20295
20296         * check/gst/gstevent.c (create_custom_events): Check that
20297         FLUSH_STOP is serialized.
20298
20299         * check/elements/identity.c (event_func): 
20300         * check/elements/fakesrc.c (event_func): No stream lock, the core
20301         takes it.
20302
20303         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20304         stream lock taking, yay.
20305
20306         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20307         ensure that core takes the stream lock.
20308
20309         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20310         lock name change.
20311
20312         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20313         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20314         it already. For the flush start we do take it though so we get the
20315         right preroll state change messages.
20316
20317         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20318         the stream lock here, the core does it for us.
20319
20320         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20321         GST_STREAM_GET_LOCK.
20322         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20323         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20324         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20325         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20326         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20327         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20328
20329         * gst/gstpad.c: Update for stream lock name change.
20330
20331         * gst/base/gstbasesink.c: Update for preroll lock name change.
20332
20333 2005-11-21  Wim Taymans  <wim@fluendo.com>
20334
20335         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20336         (gst_clock_get_master):
20337         * gst/gstclock.h:
20338         * gst/gstsystemclock.c: (gst_system_clock_init):
20339         Convert Clock flags to object flags.
20340         Added methods to manage master/slave clocks.
20341
20342 2005-11-21  Wim Taymans  <wim@fluendo.com>
20343
20344         * check/gst/gstsegment.c: (GST_START_TEST):
20345         * docs/design/part-TODO.txt:
20346         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20347         (gst_base_sink_event), (gst_base_sink_do_sync),
20348         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20349         (gst_base_sink_query), (gst_base_sink_change_state):
20350         * gst/base/gstbasesink.h:
20351         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20352         (gst_base_src_default_newsegment),
20353         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20354         (gst_base_src_get_range), (gst_base_src_loop),
20355         (gst_base_src_change_state):
20356         * gst/base/gstbasesrc.h:
20357         * gst/base/gstbasetransform.c:
20358         (gst_base_transform_prepare_output_buf),
20359         (gst_base_transform_event), (gst_base_transform_change_state):
20360         * gst/base/gstbasetransform.h:
20361         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20362         (gst_collect_pads_event):
20363         * gst/base/gstcollectpads.h:
20364         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20365         (gst_fake_src_create):
20366         * gst/elements/gstfakesrc.h:
20367         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20368         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20369         (gst_segment_set_last_stop), (gst_segment_set_seek),
20370         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20371         (gst_segment_to_running_time), (gst_segment_clip):
20372         * gst/gstsegment.h:
20373         More segment updates, replace code in plugins with segment
20374         helper functions.
20375
20376 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20377
20378         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20379         Don't ignore sscanf results
20380
20381 2005-11-21  Andy Wingo  <wingo@pobox.com>
20382
20383         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20384
20385         * *.h:
20386         * *.c: Ran scripts/update-macros. Oh yes.
20387
20388         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20389         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20390         GST_GET_LOCK, etc.
20391
20392         * scripts/update-macros: New script. Run it on your files to
20393         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20394         well.
20395
20396 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20397
20398         * docs/gst/Makefile.am:
20399         * docs/gst/gstreamer-docs.sgml:
20400         * docs/gst/gstreamer-sections.txt:
20401         * docs/gst/gstreamer.types:
20402         * gst/gstinfo.h:
20403           more docs fixes, add new api to the docs
20404
20405 2005-11-21  Andy Wingo  <wingo@pobox.com>
20406
20407         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20408         state_broadcast call.
20409
20410         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20411
20412 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20413
20414         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20415         function calls for arrays.
20416
20417 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20418
20419         * docs/random/ensonic/media-device-daemon.txt:
20420           wild idea, can this be done?
20421         * docs/gst/gstreamer-sections.txt:
20422         * gst/gsterror.h:
20423         * gst/gstfilter.c:
20424         * gst/gstfilter.h:
20425         * gst/gstplugin.h:
20426         * gst/gstpluginfeature.c:
20427         * gst/gsttrace.c:
20428         * gst/gstvalue.c:
20429         * gst/gstvalue.h:
20430           doc fixes and additions
20431
20432 2005-11-21  Andy Wingo  <wingo@pobox.com>
20433
20434         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20435         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20436         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20437         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20438         private to the basesrc implementation.
20439
20440         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20441         behalf of event function if necessary. It should no longer be
20442         necessary to take the stream lock in pad's event functions. Fixes
20443         #320299.
20444
20445 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20446         * docs/gst/gstreamer-sections.txt:
20447         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20448         (gst_structure_fixate_field_nearest_double),
20449         (gst_structure_fixate_field_boolean):
20450         * gst/gststructure.h:
20451         * win32/common/libgstreamer.def:
20452         * win32/gstreamer.def:
20453
20454         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20455         (#322027)
20456
20457 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20458
20459         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20460         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20461         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20462         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20463         (gst_fdsrc_uri_handler_init):
20464         * gst/elements/gstfdsrc.h:
20465           Port fd:// URI handler from 0.8 to fdsrc
20466
20467 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20468
20469         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20470         (gst_value_serialize_fourcc):
20471         * gst/gstvalue.h:
20472           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20473           consistent with our other format defines (#320324).
20474
20475 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20476
20477         * gst/gstvalue.c: (gst_value_is_fixed):
20478           Revert previous commit. Value lists are by definition
20479           not fixed, as they are a list of possible values.
20480
20481 2005-11-21  Andy Wingo  <wingo@pobox.com>
20482
20483         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20484         during the stable series if we need it. Fixes #319178.
20485
20486         * gst/gstevent.c (gst_event_new_filler): Removed.
20487
20488         * check/gst/gstevent.c: Update comment about filler events.
20489
20490 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20491
20492         * gst/gstvalue.c: (gst_value_is_fixed):
20493           Should handle both value arrays and value lists.
20494
20495 2005-11-21  Andy Wingo  <wingo@pobox.com>
20496
20497         patch by: Alessandro Dessina <alessandro nnva org>
20498
20499         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20500         functions to access arrays. Fixes #321962.
20501
20502 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20503
20504         * docs/gst/gstreamer.types:
20505           gst_collectpads_get_type => gst_collect_pads_get_type.
20506           
20507         * gst/base/gstbasetransform.c:
20508           Remove unused SIGNAL_HANDOFF enum.
20509
20510 2005-11-21  Andy Wingo  <wingo@pobox.com>
20511
20512         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20513         the event type (upstream, downstream, serialized). Renamed
20514         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20515         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20516         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20517
20518         * gst/gstevent.c: Update for new CUSTOM event names.
20519
20520         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20521
20522         * gst/gstevent.h:
20523         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20524         bug #319392.
20525
20526 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20527
20528         * docs/gst/gstreamer-sections.txt:
20529         * win32/common/libgstbase.def:
20530         * win32/libgstbase.def:
20531         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20532         (gst_collect_pads_class_init), (gst_collect_pads_init),
20533         (gst_collect_pads_finalize), (gst_collect_pads_new),
20534         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20535         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20536         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20537         (gst_collect_pads_start), (gst_collect_pads_stop),
20538         (gst_collect_pads_peek), (gst_collect_pads_pop),
20539         (gst_collect_pads_available), (gst_collect_pads_read),
20540         (gst_collect_pads_flush), (gst_collect_pads_event),
20541         (gst_collect_pads_chain):
20542         * gst/base/gstcollectpads.h:
20543           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20544           unimplemented functions as unimplemented. Add padding to
20545           GstCollectData. (#320766, #320423)
20546
20547 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20548
20549         * gst/gstmessage.c:
20550           Improve docs for DURATION message (usage of duration parameter)
20551           (#320113)
20552
20553 2005-11-20  Wim Taymans  <wim@fluendo.com>
20554
20555         * check/Makefile.am:
20556         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20557         (main):
20558         * gst/Makefile.am:
20559         * gst/gst.h:
20560         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20561         (gst_segment_set_seek), (gst_segment_set_newsegment),
20562         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20563         (gst_segment_clip):
20564         * gst/gstsegment.h:
20565         Added segment helper structure and methods. Not fully implemented
20566         yet.
20567         Added segment check.
20568
20569 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20570
20571         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20572           Add a deserialisation test for fractions
20573         * examples/metadata/read-metadata.c: (message_loop),
20574         (make_pipeline), (main):
20575           Fix up metadata reading sample.
20576         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20577           Debug format fix
20578         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20579           Don't try and fixate empty caps
20580         * gst/gst_private.h:
20581           Wrap in G_BEGIN_DECLS/G_END_DECLS
20582         * gst/gstvalue.c: (gst_value_collect_fraction),
20583         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20584         (gst_value_transform_string_fraction),
20585         (gst_value_compare_fraction):
20586           Add some extra guards to ensure that we don't end up 
20587           with an invalid denominator of 0 in a gstfraction and
20588           that fractions always get reduced.
20589
20590 2005-11-20  Wim Taymans  <wim@fluendo.com>
20591
20592         * docs/gst/gstreamer-sections.txt:
20593         * gst/gstbuffer.h:
20594         * gst/gstelement.c:
20595         * gst/gstformat.c:
20596         * gst/gstformat.h:
20597         * gst/gstindex.h:
20598         * gst/gstquery.c:
20599         * gst/gstquery.h:
20600         * gst/gstvalue.c:
20601         Doc fixes.
20602
20603 2005-11-20  Wim Taymans  <wim@fluendo.com>
20604
20605         * docs/design/part-TODO.txt:
20606         * gst/gstcaps.h:
20607         Make a proper enum of the flag.
20608
20609 2005-11-19  Wim Taymans  <wim@fluendo.com>
20610
20611         * docs/design/part-TODO.txt:
20612         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20613         (gst_format_to_quark), (gst_format_register):
20614         * gst/gstformat.h:
20615         * gst/gstquery.c: (_gst_query_initialize),
20616         (gst_query_type_get_name), (gst_query_type_to_quark),
20617         (gst_query_type_register):
20618         * gst/gstquery.h:
20619         Add type to quark and type to string conversions.
20620
20621 2005-11-19  Andy Wingo  <wingo@pobox.com>
20622
20623         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20624         #320097.
20625
20626 2005-11-19  Wim Taymans  <wim@fluendo.com>
20627
20628         * docs/design/part-TODO.txt:
20629         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20630         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20631         (gst_bin_handle_message_func):
20632         * gst/gstbin.h:
20633         Make message handling overridable.
20634
20635 2005-11-19  Andy Wingo  <wingo@pobox.com>
20636
20637         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20638
20639         * gst/gstclock.h:
20640         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20641         be a GstClockTime.
20642         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20643         is a GstClockTime. Fixes #321710.
20644
20645         * gst/gstclock.h (GstClock): Remove offset property. Add
20646         internal_calibration and external_calibration. Fix padding. Pad
20647         also by GstClockTime so we don't run into problems.
20648
20649         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20650         (gst_clock_get_rate_offset): Remove.
20651         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20652
20653         * gst/gstutils.h:
20654         * gst/gstutils.c (g_static_rec_cond_wait)
20655         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20656
20657         * gst/gstbin.c: Remove terrible continue_state prototype.
20658
20659         * gst/gstelement.h (gst_element_continue_state): Make public.
20660
20661         * gst/gstelement.h:
20662         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20663         by continue_state. Fixes #319389.
20664
20665         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20666         Really fixes #168438. However I don't see anywhere where the
20667         filter function is called... stupid GStreamer...
20668         
20669         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20670         don't have a dispose function, so it won't get called when the
20671         object is unreffed, but oh well!
20672
20673         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20674         allows a destroy function to be set so user_data can be freed.
20675         Fixes #168438.
20676         (gst_index_set_filter): Call gst_index_set_filter_full.
20677
20678         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20679
20680         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20681         string should produce an error, given the lack of a way to
20682         represent NULL strings. Fixes #165650.
20683         
20684         * gst/gstvalue.h: 
20685         * gst/gstvalue.c (gst_value_array_append_value) 
20686         (gst_value_array_prepend_value, gst_value_array_get_size) 
20687         (gst_value_array_get_value): New API, copied from
20688         gst_value_list_*, only operates on arrays.
20689         (gst_value_list_append_value, gst_value_list_prepend_value) 
20690         (gst_value_list_concat, gst_value_list_get_size) 
20691         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20692
20693         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20694         init_list, because it works on both.
20695         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20696         (gst_value_copy_list_or_array): Renamed from copy_list.
20697         (gst_value_free_list_or_array): Renamed from free_list.
20698         (gst_value_collect_list_or_array): Renamed from collect_list.
20699         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20700         (gst_value_list_or_array_peek_pointer): Renamed from
20701         list_peek_pointer.
20702         (_gst_value_array_value_table, _gst_value_list_value_table):
20703         Update value table functions.
20704         (gst_value_compare_list_or_array): Renamed from compare_list.
20705
20706         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20707         some constness.
20708
20709         * gst/gsttaglist.c:
20710         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20711         GstTagList*. Fixes #143472.
20712
20713         * gst/gststructure.h: Clarify what the foreach/map functions can
20714         or can't do to their arguments.
20715
20716 2005-11-18  Wim Taymans  <wim@fluendo.com>
20717
20718         * gst/gstclock.c: (gst_clock_set_calibration),
20719         (gst_clock_get_calibration):
20720         Doc and API fixes.
20721         Calibration can be set with internal time equal to current
20722         internal time too.
20723
20724 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20725
20726         * gst/gsterror.c:
20727         * gst/gsterror.h:
20728           document
20729
20730 2005-11-18  Andy Wingo  <wingo@pobox.com>
20731
20732         * configure.ac: 
20733         * pkgconfig/gstreamer-net.pc.in:
20734         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20735         * pkgconfig/Makefile.am: Add net pkgconfig files.
20736
20737 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20738
20739         * gst/gstcaps.c:
20740         * gst/gstghostpad.c:
20741         * gst/gsttrace.c:
20742         * gst/gstvalue.c:
20743         * gst/gstvalue.h:
20744           docs fixes
20745
20746 2005-11-18  Andy Wingo  <wingo@pobox.com>
20747
20748         * gst/net/gstnetclientclock.c: Turn off debugging.
20749
20750         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20751         times connverge somewhat. Can't make a real test.
20752
20753         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20754         integer arithmetic. Return the minimum of the domain, which can be
20755         set as "internal" for gst_clock_set_calibration.
20756         (gst_net_client_clock_observe_times): Call _set_calibration.
20757         (gst_net_client_clock_new): Call _set_calibration instead of
20758         rate_offset.
20759
20760         * check/net/gstnetclientclock.c (test_functioning): Use the right
20761         adjustment api.
20762
20763         * gst/gstclock.h:
20764         * gst/gstclock.c (gst_clock_get_calibration) 
20765         (gst_clock_set_calibration): New functions, obsolete the ones I
20766         added yesterday. Doh. Precision issues mean we have to extrapolate
20767         from a point in the more recent past than 1970.
20768         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20769         obsolete.
20770         (gst_clock_adjust_unlocked): Use the right calibration data.
20771
20772 2005-11-18  Edward Hervey  <edward@fluendo.com>
20773
20774         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
20775         Also reset the ->current_* values in READY->PAUSED
20776
20777 2005-11-18  Andy Wingo  <wingo@pobox.com>
20778
20779         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20780         Whoops, check the right fd. Also add some debugging.
20781         (gst_net_client_clock_observe_times): Adjust for int64 offset.
20782         (do_linear_regression): Add a crapload of debugging. Subtract off
20783         the minimum values from the input series to discard unneeded bits.
20784         Use only int arithmetic. There is still double arithmetic when
20785         calculating the intercept that needs fixing. Return boolean to
20786         indicate success; FALSE would mean the domain or range is too
20787         great. Still needs fixes.
20788
20789 2005-11-18  Wim Taymans  <wim@fluendo.com>
20790
20791         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20792         For the current position in stream time, we need to subtract
20793         accumulated time.
20794         
20795         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20796         Release lock before calling the callback function of async
20797         entries.
20798
20799 2005-11-18  Andy Wingo  <wingo@pobox.com>
20800
20801         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20802         Port goes all the way to MAXUINT16.
20803
20804         * gst/net/gstnettimeprovider.c: Make the port range the same as
20805         for the kernel: 0 assigns, otherwise ports are less than
20806         MAXUINT16.
20807
20808         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20809         port change.
20810
20811         * check/net/gstnetclientclock.c (test_functioning): Add the start
20812         of another test. 
20813
20814 2005-11-18  Wim Taymans  <wim@fluendo.com>
20815
20816         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20817         (gst_bin_remove_func), (bin_bus_handler):
20818         * gst/gstbin.h:
20819         Removing a clock provider from a bin, triggers a clock lost message
20820         so that a new clock will be selected.
20821         Adding a clock to a bin triggers a clock provider message.
20822         Make sure we reselect a clock when we received a clock lost message.
20823         Keep a reference to the element that provided the clock.
20824
20825 2005-11-18  Andy Wingo  <wingo@pobox.com>
20826
20827         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20828         the clock initially so it produces values around the base time.
20829         (gst_net_client_clock_class_init): Typo fix.
20830         (gst_net_client_clock_thread): Add note on when the socket gets
20831         closed.
20832
20833 2005-11-17  Wim Taymans  <wim@fluendo.com>
20834
20835         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20836         Free remote and local time arrays.
20837
20838 2005-11-17  Wim Taymans  <wim@fluendo.com>
20839
20840         * gst/net/gstnetclientclock.c: (do_linear_regression),
20841         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20842         Fix compilation, uninitialized vars and a forgotten continue.
20843
20844 2005-11-17  Andy Wingo  <wingo@pobox.com>
20845
20846         * check/Makefile.am (check_PROGRAMS): 
20847         * check/net/gstnetclientclock.c: Add a most minimal test for the
20848         net client clock. More to come later.
20849
20850         * gst/net/gstnet.h: 
20851         * gst/net/Makefile.am: Add netclientclock.
20852
20853         * gst/net/gstnetclientclock.h:
20854         * gst/net/gstnetclientclock.c: New files, implement an untested
20855         GstClock that takes its time from a network time provider.
20856         Implements the algorithm in network-clock.scm.
20857
20858         * tests/network-clock.scm (*window-size*): Rename from
20859         *queue-length*.
20860         * tests/network-clock.scm (network-time): 
20861         * tests/network-clock-utils.scm (q-push): Update callers.
20862
20863 2005-11-17  Wim Taymans  <wim@fluendo.com>
20864
20865         * gst/gstbin.c: (gst_bin_provide_clock_func),
20866         (gst_bin_sort_iterator_new):
20867         And unref the child too..
20868
20869 2005-11-17  Wim Taymans  <wim@fluendo.com>
20870
20871         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20872         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20873         Refactor the sort iterator so it can be used while holding the
20874         LOCK too.
20875         Make clock selection select a clock closest to the source.
20876
20877 2005-11-17  Michael Smith <msmith@fluendo.com>
20878
20879         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20880         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20881         * gst/gstclock.h:
20882           Anonymous structs are a gcc (and some other compilers) extension, so
20883           don't use them. Since this is only for ABI-compatibility, and our
20884           API/ABI freeze is over in a few days, this whole thing will only
20885           last a few days, so don't bother trying to think up a meaningful
20886           name for the struct.
20887
20888 2005-11-17  Andy Wingo  <wingo@pobox.com>
20889
20890         * gst/gstclock.h (GstClock): Add rate and offset properties,
20891         preserving ABI stability. Add rate/offset accessors. Will file bug
20892         for the freeze break.
20893
20894         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20895         and offset, trying to keep precision and avoiding
20896         underflow/overflow.
20897         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20898         functions. Make gst_clock_set_time_adjust obsolete.
20899         (gst_clock_set_time_adjust): Note that this function is obsolete.
20900         Will file bug soon.
20901
20902         * gst/base/gstbasetransform.h: Make the ABI-stability hack
20903         greppable by using GST_PADDING-1+1.
20904
20905 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
20906
20907         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20908
20909         * gst/gstmessage.c: (gst_message_parse_clock_lost):
20910           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20911
20912         * gst/gstpadtemplate.h:
20913         * gst/gstpluginfeature.h:
20914           Don't use c++ style comments in headers (#321638).
20915
20916 2005-11-16  Andy Wingo  <wingo@pobox.com>
20917
20918         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20919         buffer.
20920
20921         * check/net/gstnettimeprovider.c: Check to see that the time
20922         provider actually provides times. Works, yo!
20923
20924 2005-11-16  Wim Taymans  <wim@fluendo.com>
20925
20926         * check/Makefile.am:
20927         Enable more tests.
20928
20929         * check/elements/fakesrc.c: (GST_START_TEST):
20930         Set element to NULL before disposing it.
20931
20932 2005-11-16  Andy Wingo  <wingo@pobox.com>
20933
20934         * gst/net/Makefile.am:
20935         * gst/net/gstnet.h:
20936         * gst/net/gstnettimeprovider.c: 
20937         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20938         provider, include it from gstnet.h, and add it to the build.
20939
20940         * gst/net/gstnettimepacket.h: 
20941         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20942         sending and receiving.
20943
20944 2005-11-16  Wim Taymans  <wim@fluendo.com>
20945
20946         * check/Makefile.am:
20947         Enable valgrind check.
20948
20949         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20950         (gst_fake_src_alloc_buffer):
20951         Fix memleak.
20952
20953 2005-11-16  Wim Taymans  <wim@fluendo.com>
20954
20955         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20956         Call parent finalize too.
20957
20958 2005-11-16  Wim Taymans  <wim@fluendo.com>
20959
20960         * check/Makefile.am:
20961         Enable valgrind check that should work fine now.
20962
20963         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20964         * gst/gstqueue.c: (gst_queue_init):
20965         Fix memleaks in pad allocation.
20966
20967 2005-11-16  Andy Wingo  <wingo@pobox.com>
20968
20969         * gst/net/Makefile.am:
20970         * gst/net/gstnet.h: New part of core to hold network elements and
20971         objects. Put in core because it exposes API that applications want
20972         to use. The library is named libgstnet-tempname right now because
20973         of the existing libgstnet in gst-plugins-base. Solution is
20974         probably to rename the one in plugins-base; will file a bug for
20975         the freeze break.
20976
20977         * gst/net/gstnettimeprovider.c: 
20978         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20979         get_time call over the network.
20980
20981         * configure.ac: 
20982         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20983
20984         * check/Makefile.am:
20985         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20986         get additions shortly.
20987
20988 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20989
20990         * gst/gstpad.c: (gst_pad_new_from_static_template):
20991         * gst/gstpad.h:
20992           add gst_pad_new_from_static_template functions
20993         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20994         (gst_check_setup_sink_pad):
20995         * gst/elements/gsttee.c: (gst_tee_init):
20996           and use them
20997
20998 2005-11-16  Wim Taymans  <wim@fluendo.com>
20999
21000         * gst/gstpad.c: (gst_pad_pause_task):
21001         Removed warning, it's not really an error either.
21002
21003 2005-11-16  Wim Taymans  <wim@fluendo.com>
21004
21005         * gst/base/gstbasetransform.c:
21006         (gst_base_transform_prepare_output_buf),
21007         (gst_base_transform_event):
21008         Check if the caps are NULL, this can happen if the element
21009         is shutting down and the pad caps are set to NULL.
21010
21011 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21012
21013         * gst/elements/gsttee.c: (gst_tee_init):
21014           fix pad template leak in tee
21015
21016 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21017
21018         * gst/glib-compat.c: (g_value_dup_gst_object):
21019         * gst/glib-compat.h:
21020         * gst/gstpad.c: (gst_pad_set_property):
21021           use gst_object_ref when setting the pad template; this will
21022           trigger the pad template leaks on GLib 2.6 and the slaves
21023
21024 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21025
21026         * gst/glib-compat.c: (gst_flags_get_first_value):
21027         * gst/glib-compat.h:
21028         * gst/gstregistryxml.c:
21029           remove functions copied from GLib 2.6
21030
21031 2005-11-16  Michael Smith <msmith@fluendo.com>
21032
21033         * gst/Makefile.am:
21034           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21035           do, but only breaks with newer valgrind versions. We're not a
21036           valgrind tool, we have no link-time dependencies on libcoregrind.
21037
21038 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21039
21040         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21041           some debug changes
21042         * gst/gstmessage.h:
21043           typo fixes
21044
21045 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21046
21047         * gst/base/gstbasesrc.c: (gst_base_src_init):
21048         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21049         * gst/gstqueue.c: (gst_queue_init):
21050         * gst/gstregistryxml.c: (load_feature):
21051           Revert all these unrefs, they don't even pass make check !
21052
21053 2005-11-15  Johan Dahlin  <johan@gnome.org>
21054
21055         * gst/base/gstbasesrc.c: (gst_base_src_init):
21056         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21057         * gst/gstqueue.c: (gst_queue_init): 
21058         Free pad templates, fixes a couple of leaks.
21059
21060 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21061
21062         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21063
21064         * gst/gstpad.c: (gst_pad_get_property):
21065           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21066           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21067           (#321452)
21068
21069 2005-11-15  Wim Taymans  <wim@fluendo.com>
21070
21071         * gst/gstevent.c:
21072         Small doc update.
21073
21074 2005-11-15  Andy Wingo  <wingo@pobox.com>
21075
21076         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21077
21078         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21079         using GST_CLOCK_TIME_NONE to disable base time management.
21080         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21081         time if it was NONE before.
21082         (gst_pipeline_change_state): Only munge the base time if
21083         stream_time != GST_CLOCK_TIME_NONE.
21084
21085         * check/gst/gstpipeline.c (test_base_time): Punt around the
21086         problem of the probe not being called, because that's not the
21087         issue I'm looking at. Add a check that setting stream_time to NONE
21088         disables base time management.
21089         
21090 2005-11-15  Wim Taymans  <wim@fluendo.com>
21091
21092         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21093         segment_stop == -1 at startup.
21094
21095         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21096         (gst_base_transform_change_state):
21097         Init segment values at start.
21098
21099 2005-11-15  Wim Taymans  <wim@fluendo.com>
21100
21101         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21102         0 segment values are 0 in any format.
21103
21104         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21105         * gst/base/gstbasetransform.h:
21106         Parse newsegment correctly in basetransform
21107
21108         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21109         Sync to clock using updated segment values.
21110
21111 2005-11-15  Andy Wingo  <wingo@pobox.com>
21112
21113         * check/gst/gstpipeline.c (test_base_time): Add check that the
21114         base time and stream time are reset correctly.
21115
21116 2005-11-15  Wim Taymans  <wim@fluendo.com>
21117
21118         * docs/design/part-TODO.txt:
21119         Some more TODO items.
21120
21121 2005-11-15  Andy Wingo  <wingo@pobox.com>
21122
21123         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21124         error if the user selected "no clock" as the clocking method.
21125
21126         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21127         timestamps with live capture.
21128
21129         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21130         is 0 but we are a live source, timestamp the buffers using the
21131         element's clock.
21132
21133 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21134
21135         * docs/gst/gstreamer-sections.txt:
21136         * gst/gsterror.c:
21137         * gst/gstghostpad.c:
21138         * gst/gstobject.h:
21139         * gst/gstxml.c:
21140           more section docs
21141
21142 2005-11-14  Wim Taymans  <wim@fluendo.com>
21143
21144         * common/gst.supp:
21145           add suppressions from Wim's Debian machine
21146
21147 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21148
21149         * common/gst.supp:
21150           add suppressions from Andy's AMD64 Ubuntu machine
21151
21152 2005-11-14  Andy Wingo  <wingo@pobox.com>
21153
21154         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21155         STATE_LOCK not necessary. Fixes #311489.
21156
21157         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21158         #305291.
21159
21160         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21161         this function is not implemented.
21162
21163 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21164
21165         * gst/base/gstbasetransform.c:
21166         (gst_base_transform_prepare_output_buf):
21167         Ref the source pad caps while we need them.
21168         Fixes (#321386)
21169
21170 2005-11-11  Wim Taymans  <wim@fluendo.com>
21171
21172         * docs/gst/gstreamer-sections.txt:
21173         Added some docs for GstCollectData.
21174
21175         * gst/base/gstadapter.c:
21176         Some small code example fix.
21177
21178         * gst/base/gstcollectpads.c:
21179         * gst/base/gstcollectpads.h:
21180         Document some more.
21181
21182 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21183
21184         * configure.ac: back to HEAD
21185
21186 === release 0.9.5 ===
21187
21188 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21189
21190         * configure.ac:
21191           releasing 0.9.5, "Bike Lunch Day"
21192
21193 2005-11-11  Wim Taymans  <wim@fluendo.com>
21194
21195         * gst/gstbuffer.c: (_gst_buffer_copy):
21196         Copy more flags.
21197
21198         * gst/gstcaps.c: (gst_caps_is_equal):
21199         Fix some docs.
21200         Make _is_equal fast in the trivial cases.
21201
21202         * gst/gstminiobject.c:
21203         * gst/gstminiobject.h:
21204         More docs. Spifify .h file.
21205
21206         * gst/gstutils.c:
21207         Small doc update.
21208
21209 2005-11-11  Wim Taymans  <wim@fluendo.com>
21210
21211         * gst/base/gstbasetransform.c:
21212         (gst_base_transform_prepare_output_buf),
21213         (gst_base_transform_handle_buffer):
21214         Small cleanups.
21215         If we're processing a buffer and need to allocate an output
21216         buffer, we cannot accept a format change. If we did get a 
21217         format change, we have to alloc a buffer ourselves of the 
21218         right size.
21219
21220 2005-11-11  Wim Taymans  <wim@fluendo.com>
21221
21222         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21223         While checking the flag for reentrancy in the gstcaps function
21224         is nice to detect recursive invocations, it also makes it 
21225         impossible to call getcaps from multiple threads, which must be
21226         possible. So, checking for recursive calls has to go.
21227
21228 2005-11-11  Michael Smith <msmith@fluendo.com>
21229
21230         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21231           Don't sync on buffers that fall partially outside our current
21232           segment. Prevents an assertion failure/abort playing some files.
21233
21234 2005-11-10  Andy Wingo  <wingo@pobox.com>
21235
21236         * check/gst/gstbin.c (test_message_state_changed_children): Style
21237         fix..
21238
21239         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21240         gst_bus_poll with the signal watch. Ensures that poll and a signal
21241         watch see the same messages.
21242
21243         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21244         a poll and a watch at the same time get the same messages.
21245
21246 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21247
21248         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21249         * gst/gstcaps.c: (gst_caps_intersect):
21250           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21251           and it's not needed.
21252
21253 2005-11-10  Wim Taymans  <wim@fluendo.com>
21254
21255         * docs/design/part-TODO.txt:
21256         Updated todo.
21257
21258 2005-11-10  Wim Taymans  <wim@fluendo.com>
21259
21260         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21261         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21262         (gst_base_src_do_sync), (gst_base_src_get_range):
21263         Implement clock sync in base class.
21264
21265 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21266
21267         patch by: Tim-Philipp Müller <tim at centricular dot net>
21268
21269         * gst/gststructure.c: (gst_structure_parse_field),
21270         (gst_structure_from_string):
21271           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21272           so that gst_parse_launch() can deal with spaces in filtered link
21273           caps (fixes #164479)
21274         * check/gst/capslist.h:
21275         * check/gst/gststructure.c: (GST_START_TEST):
21276           add unit tests for this change
21277
21278 2005-11-10  Wim Taymans  <wim@fluendo.com>
21279
21280         * docs/gst/gstreamer-sections.txt:
21281         * gst/gstelement.c:
21282         * gst/gstelement.h:
21283         Fix docs, move some STATE macros to private.
21284
21285 2005-11-10  Wim Taymans  <wim@fluendo.com>
21286
21287         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21288         Added check for bug #317341
21289
21290         * gst/gstbuffer.c:
21291         * gst/gstbuffer.h:
21292         Some more spiffifying.
21293
21294         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21295         Call peer linkfunction if we are a source pad. Totally fixes
21296         #317341
21297
21298         * gst/gstpad.c:
21299         Update docs, source pads should call the peer linkfunction
21300         so they can atomically perform the pad link.
21301
21302 2005-11-09  Wim Taymans  <wim@fluendo.com>
21303
21304         * gst/gstbuffer.c:
21305         * gst/gstbuffer.h:
21306         Uber-spiffy-spiffify some more.
21307
21308 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21309
21310         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21311         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21312         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21313         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21314         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21315         * gst/gstpad.c: (gst_pad_init):
21316           Use GST_DEBUG_FUNCPTR() more extensively.
21317
21318 2005-11-09  Wim Taymans  <wim@fluendo.com>
21319
21320         * gst/gstobject.c: (gst_object_class_init):
21321         * gst/gstobject.h:
21322         Documentation fixes.
21323
21324 2005-11-09  Edward Hervey  <edward@fluendo.com>
21325
21326         * gst/gsttypefindfactory.c:
21327         Fix docs.
21328         
21329 2005-11-09  Edward Hervey  <edward@fluendo.com>
21330
21331         * gst/base/gsttypefindhelper.c:
21332         * gst/gsttypefind.c:
21333         * gst/gsttypefind.h:
21334         Fix docs.
21335
21336 2005-11-09  Wim Taymans  <wim@fluendo.com>
21337
21338         * gst/gstiterator.c:
21339         Fix revision data.
21340
21341         * gst/gsttask.c:
21342         * gst/gsttask.h:
21343         Fix docs.
21344
21345 2005-11-09  Wim Taymans  <wim@fluendo.com>
21346
21347         * gst/gstevent.h:
21348         * gst/gsturi.h:
21349         Fix docs.
21350
21351 2005-11-09  Wim Taymans  <wim@fluendo.com>
21352
21353         * docs/gst/gstreamer-sections.txt:
21354         Moved the message async delivery private lock and cond
21355         to the private section.
21356
21357         * gst/gstmessage.c:
21358         * gst/gstmessage.h:
21359         Fixed docs.
21360
21361 2005-11-09  Edward Hervey  <edward@fluendo.com>
21362
21363         * docs/gst/gstreamer-sections.txt:
21364         * gst/gsturi.c:
21365         * gst/gsturi.h:
21366         Document GstURIHandler
21367
21368 2005-11-09  Wim Taymans  <wim@fluendo.com>
21369
21370         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21371         (gst_iterator_find_custom):
21372         * gst/gstiterator.h:
21373         Fix iterator docs.
21374
21375 2005-11-09  Wim Taymans  <wim@fluendo.com>
21376
21377         * gst/gstbin.h:
21378         Document another field.
21379
21380         * gst/gststructure.c:
21381         * gst/gststructure.h:
21382         Document.
21383
21384 2005-11-09  Wim Taymans  <wim@fluendo.com>
21385
21386         * gst/gstbin.h:
21387         Documented structs.
21388
21389 2005-11-09  Wim Taymans  <wim@fluendo.com>
21390
21391         * docs/gst/gstreamer-sections.txt:
21392         Added some new macros.
21393
21394         * gst/gstclock.c:
21395         * gst/gstclock.h:
21396         * gst/gstobject.h:
21397         Docs updates.
21398
21399 2005-11-09  Wim Taymans  <wim@fluendo.com>
21400
21401         * docs/design/part-TODO.txt:
21402         Some more items for the TODO
21403
21404         * gst/gstcaps.c:
21405         * gst/gstcaps.h:
21406         Document GstCaps.
21407
21408 2005-11-09  Andy Wingo  <wingo@pobox.com>
21409
21410         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21411         to work on something else now tho...
21412
21413         * gst/base/gstadapter.c: More adapter docs.
21414
21415         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21416         (gst_file_sink_stop): New functions, replace the state change
21417         handler.
21418         (gst_file_sink_class_init): Hook up the start and stop functions.
21419         (gst_file_sink_base_init): Don't set the state change handler any
21420         more. It was a bit ugly too, being set from here...
21421         (gst_file_sink_get_property, gst_file_sink_set_property):
21422         Cleanups...
21423         (gst_file_sink_set_location): More robust check that doesn't call
21424         GST_STATE. Ugggggg.
21425
21426 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21427
21428         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21429           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21430
21431 2005-11-08  Wim Taymans  <wim@fluendo.com>
21432
21433         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21434         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21435         (gst_base_sink_chain), (gst_base_sink_change_state):
21436         * gst/base/gstbasesink.h:
21437         * gst/base/gstbasesrc.h:
21438         * gst/gstelement.h:
21439         * gst/gstevent.h:
21440         Avoid excessive typechecking in macros.
21441
21442         * gst/gstminiobject.c: (gst_mini_object_get_type),
21443         (gst_mini_object_init), (gst_mini_object_new),
21444         (gst_mini_object_free):
21445         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21446         (gst_object_finalize):
21447         Remove cruft code, optimize alloc_trace.
21448
21449 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21450
21451         * docs/faq/gst-uninstalled:
21452           fix up PS1 for systems that try to reset it
21453
21454 2005-11-07  Wim Taymans  <wim@fluendo.com>
21455
21456         * gst/base/gstbasesrc.c: (gst_base_src_init),
21457         (gst_base_src_get_range):
21458         Set the segment_end to -1 initially. Fixed typefind.
21459
21460 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21461
21462         * gst/base/gstadapter.c:
21463           Debug category should be 'adapter', not 'GstAdapter'.
21464           
21465         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21466         (gst_collectpads_class_init), (gst_collectpads_init),
21467         (gst_collectpads_peek), (gst_collectpads_pop),
21468         (gst_collectpads_event), (gst_collectpads_chain):
21469           Add debug category and some debugging output. Use boilerplate
21470           macros. Remove some extraneous words from docs.
21471
21472 2005-11-05  Andy Wingo  <wingo@pobox.com>
21473
21474         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21475         macro.
21476
21477 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21478
21479         * docs/gst/gstreamer-sections.txt:
21480         * gst/gstcaps.h:
21481         * gst/gstinfo.c:
21482         * gst/gstminiobject.h:
21483         * gst/gstobject.h:
21484         * gst/gstutils.h:
21485           more docs added
21486
21487 2005-11-04  Wim Taymans  <wim@fluendo.com>
21488
21489         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21490         Small update to stop at the configured segment_end
21491         position.
21492
21493 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21494
21495         * gst/gstregistry.c:
21496         * gst/gstregistry.h:
21497           added missing docs
21498
21499 2005-11-04  Edward Hervey  <edward@fluendo.com>
21500
21501         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21502         Check if we are doing a segment seek and have arrived at the
21503         end of that segment.
21504
21505 2005-11-04  Wim Taymans  <wim@fluendo.com>
21506
21507         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21508         Don't leak a mutex unlock in case of an error.
21509
21510         * gst/gstbus.h:
21511         Doc fixes.
21512
21513 2005-11-04  Wim Taymans  <wim@fluendo.com>
21514
21515         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21516         (gst_bus_post):
21517         Get the context to wake up only once.
21518
21519 2005-11-03  Wim Taymans  <wim@fluendo.com>
21520
21521         * check/states/sinks.c: (GST_START_TEST):
21522         Uncomment fixed check.
21523
21524         * docs/design/part-TODO.txt:
21525         Updated TODO.
21526
21527         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21528         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21529         (gst_base_sink_get_position):
21530         If we are going to PLAYING, post the right pending state
21531         when we post the intermediate paused message.
21532
21533         * gst/gstelement.c: (gst_element_continue_state),
21534         (gst_element_set_state_func), (gst_element_change_state):
21535         Don't post state changes that were between the same state
21536         and were not ASYNC.
21537
21538 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21539
21540         * docs/gst/gstreamer-sections.txt:
21541         * gst/gstcaps.h:
21542         * gst/gstinfo.c:
21543         * gst/gstminiobject.h:
21544         * gst/gstobject.h:
21545         * gst/gstutils.h:
21546           more docs and doc style fixes
21547
21548 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21549
21550         * docs/gst/gstreamer-sections.txt:
21551         * gst/gstelement.c:
21552         * gst/gstminiobject.c:
21553         doc fixes
21554
21555 2005-11-03  Andy Wingo  <wingo@pobox.com>
21556
21557         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21558         state-changed messages actually have the right order and the right
21559         values.
21560
21561 2005-11-03  Wim Taymans  <wim@fluendo.com>
21562
21563         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21564         Added some more checks. Specifically the case where NO_PREROLL
21565         elements are in the pipeline.
21566
21567         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21568         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21569         (gst_base_sink_get_position):
21570         Post READY->PAUSED state change messages too.
21571         Fix bug where VOID was posted as pending state...
21572
21573         * gst/gstbin.c: (gst_bin_recalc_state):
21574         use _element_continue_state() to continue the state change.
21575
21576         * gst/gstelement.c: (gst_element_continue_state),
21577         (gst_element_commit_state), (gst_element_set_state_func),
21578         (gst_element_change_state), (gst_element_change_state_func):
21579         Lots of state change cleanups, assign the STATE_RETURN in
21580         a new continue_state() function that also propagates the
21581         last return value from a state change to the app.
21582         Update some debug statements with proper category.
21583
21584 2005-11-03  Wim Taymans  <wim@fluendo.com>
21585
21586         * docs/design/part-events.txt:
21587         * docs/design/part-gstpipeline.txt:
21588         * docs/design/part-messages.txt:
21589         * docs/design/part-overview.txt:
21590         * docs/design/part-seeking.txt:
21591         * docs/design/part-states.txt:
21592         * docs/design/part-trickmodes.txt:
21593         * docs/manual/advanced-position.xml:
21594         Small docs updates.
21595
21596         * gst/gstobject.h:
21597         People think !! is ugly, this looks better.
21598
21599         * gst/gstpad.c: (gst_pad_set_blocked_async):
21600         Remove !! since it's fixed elsewhere now.
21601
21602 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21603
21604         * gst/gstminiobject.h:
21605         * gst/gstobject.h:
21606           Add !! to _FLAG_IS_SET macros to make the result boolean.
21607
21608 2005-11-03  Edward Hervey  <edward@fluendo.com>
21609
21610         * gst/gstpad.c: (gst_pad_set_blocked_async):
21611         comparing a flag and a gboolean rarely returns coherent results...
21612         Added two characters (!!) to make that work correctly.
21613         
21614 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21615
21616         * gst/gstbus.c: (gst_bus_class_init):
21617           Fix some typos.
21618           
21619         * gst/gstqueue.c: (gst_queue_loop):
21620           Don't assume a miniobject that isn't a buffer is an
21621           event (it could be that there is a refcounting
21622           problem somewhere and the pointer is stale and
21623           refers to an already destroyed miniobject).
21624
21625 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21626
21627         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21628
21629 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21630
21631         * docs/manual/advanced-position.xml:
21632           Update seek example and explanations to current 0.9 API.
21633
21634         * gst/elements/gsttypefindelement.c:
21635         (gst_type_find_element_activate):
21636           Remove FIXME comment now that the found caps
21637           are unreffed.
21638
21639 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21640
21641         * gst/gstregistryxml.c: (load_feature):
21642           Add another GST_STR_NULL instance
21643
21644 2005-11-02  Edward Hervey  <edward@fluendo.com>
21645
21646         * gst/gstpad.c: (handle_pad_block):
21647         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21648         
21649 2005-11-02  Wim Taymans  <wim@fluendo.com>
21650
21651         * gst/gstbin.c:
21652         Fix typo in docs.
21653
21654         * gst/gstelement.c: (gst_element_commit_state):
21655         Remove unused value.
21656
21657         * gst/gstiterator.c:
21658         Mention that the returned element is reffed in the docs.
21659
21660 2005-11-02  Wim Taymans  <wim@fluendo.com>
21661
21662         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21663         (gst_pad_push), (gst_pad_push_event):
21664         Unlock blocked pads when they are flushed.
21665
21666 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21667
21668         * docs/README:
21669         * docs/gst/gstreamer-sections.txt:
21670         * gst/gstbin.c:
21671           doc updates
21672         * gst/gstregistry.c: (gst_registry_scan_path_level):
21673           fix for a nasty little missed situation where an installed plug-in
21674           which was in the cache did not get overridden by an uninstalled one
21675           which was earlier in the plugin path because the newly created plugin
21676           for the uninstalled one (not in the registry) didn't get its
21677           ->registered set to TRUE
21678
21679 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21680
21681         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21682         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21683         (gst_collectpads_is_active), (gst_collectpads_collect),
21684         (gst_collectpads_collect_range), (gst_collectpads_start),
21685         (gst_collectpads_stop), (gst_collectpads_peek),
21686         (gst_collectpads_pop), (gst_collectpads_available),
21687         (gst_collectpads_read), (gst_collectpads_flush):
21688           Guard public API with assertions.
21689         
21690         * gst/gstpad.c:
21691           Fix docs for gst_pad_set_link_function().
21692
21693 2005-11-02  Johan Dahlin  <johan@gnome.org>
21694
21695         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21696         Unref found_caps after we used it.
21697
21698 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21699
21700         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21701           Don't try to ref NULL.
21702
21703 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21704
21705         * win32/common/config.h.in:
21706           provide a GST_FUNCTION that just gives a string for now
21707
21708 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21709
21710         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21711         (gst_object_flags_get_type), (register_gst_bin_flags),
21712         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21713         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21714         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21715         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21716         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21717         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21718         (gst_clock_flags_get_type), (register_gst_state),
21719         (gst_state_get_type), (register_gst_state_change_return),
21720         (gst_state_change_return_get_type), (register_gst_state_change),
21721         (gst_state_change_get_type), (register_gst_element_flags),
21722         (gst_element_flags_get_type), (register_gst_core_error),
21723         (gst_core_error_get_type), (register_gst_library_error),
21724         (gst_library_error_get_type), (register_gst_resource_error),
21725         (gst_resource_error_get_type), (register_gst_stream_error),
21726         (gst_stream_error_get_type), (register_gst_event_type),
21727         (gst_event_type_get_type), (register_gst_seek_type),
21728         (gst_seek_type_get_type), (register_gst_seek_flags),
21729         (gst_seek_flags_get_type), (register_gst_format),
21730         (gst_format_get_type), (register_gst_index_certainty),
21731         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21732         (gst_index_entry_type_get_type),
21733         (register_gst_index_lookup_method),
21734         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21735         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21736         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21737         (gst_index_flags_get_type), (register_gst_debug_level),
21738         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21739         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21740         (gst_iterator_result_get_type), (register_gst_iterator_item),
21741         (gst_iterator_item_get_type), (register_gst_message_type),
21742         (gst_message_type_get_type), (register_gst_mini_object_flags),
21743         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21744         (gst_pad_link_return_get_type), (register_gst_flow_return),
21745         (gst_flow_return_get_type), (register_gst_activate_mode),
21746         (gst_activate_mode_get_type), (register_gst_pad_direction),
21747         (gst_pad_direction_get_type), (register_gst_pad_flags),
21748         (gst_pad_flags_get_type), (register_gst_pad_presence),
21749         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21750         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21751         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21752         (gst_plugin_error_get_type), (register_gst_plugin_flags),
21753         (gst_plugin_flags_get_type), (register_gst_rank),
21754         (gst_rank_get_type), (register_gst_query_type),
21755         (gst_query_type_get_type), (register_gst_tag_merge_mode),
21756         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21757         (gst_tag_flag_get_type), (register_gst_task_state),
21758         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21759         (gst_alloc_trace_flags_get_type),
21760         (register_gst_type_find_probability),
21761         (gst_type_find_probability_get_type), (register_gst_uri_type),
21762         (gst_uri_type_get_type), (register_gst_parse_error),
21763         (gst_parse_error_get_type):
21764         * win32/common/gstversion.h:
21765           update win32 copies
21766
21767 2005-11-01  Luca Ognibene  <luogni@tin.it>
21768
21769         * gst/gst.c:
21770           fix docs. popt is dead, long live GOption.
21771
21772 2005-10-31  Wim Taymans  <wim@fluendo.com>
21773
21774         * gst/gstbuffer.h:
21775         Small doc fix.
21776
21777 2005-10-31  Andy Wingo  <wingo@pobox.com>
21778
21779         * Boo!
21780
21781         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21782
21783         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21784         need to serialize property notifications on GLib 2.8. GLib 2.6 has
21785         the possibility of deadlocks here if code calling notify() or
21786         set() has a lock that can be taken in another notify handler (ABBA
21787         with class lock and e.g. python GIL state lock).
21788
21789 2005-10-28  Julien MOUTTE  <julien@moutte.net>
21790
21791         * gst/gstbus.c: Doc updates.
21792
21793 2005-10-28  Wim Taymans  <wim@fluendo.com>
21794
21795         * docs/design/part-TODO.txt:
21796         * gst/gstiterator.c:
21797         * gst/gstsystemclock.c:
21798         * gst/gstsystemclock.h:
21799         Doc updates.
21800
21801 2005-10-28  Edward Hervey  <edward@fluendo.com>
21802
21803         * docs/gst/gstreamer-docs.sgml:
21804         * docs/gst/gstreamer-sections.txt:
21805         the GstURIType documentation page is private, it only defines GstURIType
21806         which should be defined in the GstURIHandler page
21807         
21808 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21809
21810         * gst/gstbin.c: (gst_bin_class_init):
21811         * gst/gstbin.h:
21812         * gst/gstutils.c:
21813         Documentation updates.
21814
21815 2005-10-28  Wim Taymans  <wim@fluendo.com>
21816
21817         * docs/gst/gstreamer-sections.txt:
21818         * gst/gstclock.c:
21819         * gst/gstclock.h:
21820         Documented the clocks.
21821
21822 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
21823
21824         * docs/gst/gstreamer-sections.txt:
21825           move some macros to private sections
21826         * gst/gstminiobject.c:
21827         * gst/gstminiobject.h:
21828           add descriptions provided by ds and some more
21829         * gst/gstpad.h:
21830           mark macro as to be removed
21831
21832 2005-10-28  Wim Taymans  <wim@fluendo.com>
21833
21834         * docs/design/part-TODO.txt:
21835         Add an item to TODO.
21836
21837         * gst/gstiterator.c: (gst_iterator_fold),
21838         (gst_iterator_find_custom):
21839         * gst/gstiterator.h:
21840         Add iterator docs.
21841
21842 2005-10-28  Wim Taymans  <wim@fluendo.com>
21843
21844         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21845         (gst_base_transform_init):
21846         Don't leak class.
21847
21848         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21849         An EOS event marks the queue as completely filled.
21850
21851 2005-10-27  Wim Taymans  <wim@fluendo.com>
21852
21853         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21854         (gst_base_sink_do_sync), (gst_base_sink_get_position):
21855         Some more debugging.
21856
21857         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21858         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21859         (gst_base_transform_event), (gst_base_transform_getrange),
21860         (gst_base_transform_chain):
21861         * gst/base/gstbasetransform.h:
21862         Fix debugging,
21863         Protect transform and concurrent buffer alloc with a new lock.
21864         Try not to break ABI/API.
21865
21866 2005-10-27  Wim Taymans  <wim@fluendo.com>
21867
21868         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21869         (gst_base_src_init), (gst_base_src_query),
21870         (gst_base_src_default_newsegment),
21871         (gst_base_src_configure_segment), (gst_base_src_do_seek),
21872         (gst_base_src_send_event), (gst_base_src_event_handler),
21873         (gst_base_src_pad_get_range), (gst_base_src_loop),
21874         (gst_base_src_unlock), (gst_base_src_default_negotiate),
21875         (gst_base_src_start), (gst_base_src_deactivate),
21876         (gst_base_src_activate_push), (gst_base_src_change_state):
21877         Move some stuff around and cleanup things.
21878
21879 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
21880
21881         * gst/base/gstbasesrc.c: (gst_base_src_query):
21882           Add missing break statements.
21883
21884 2005-10-27  Wim Taymans  <wim@fluendo.com>
21885
21886         * check/gst/gstbin.c: (GST_START_TEST):
21887         An extra refcount is taken in basesrc.
21888
21889         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21890         (gst_base_src_get_range), (gst_base_src_pad_get_range),
21891         (gst_base_src_loop):
21892         Small cleanups, check for flushing after being unlocked from the 
21893         LIVE_LOCK. take refcounts correctly (not yet everywhere).
21894         Don't send out EOS when going to READY.
21895
21896 2005-10-27  Wim Taymans  <wim@fluendo.com>
21897
21898         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21899         (gst_base_sink_get_position):
21900         Some more debug.
21901
21902         * gst/gstbin.c: (message_check), (bin_replace_message),
21903         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21904         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21905         (bin_query_duration_init), (bin_query_duration_fold),
21906         (bin_query_duration_done), (bin_query_generic_fold),
21907         (gst_bin_query):
21908         * tools/gst-launch.c: (main):
21909         Remove old option.
21910
21911 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
21912
21913         * examples/controller/audio-example.c: (main):
21914         * examples/queue/queue.c: (event_loop):
21915         * gst/base/gstbasetransform.h:
21916         * gst/gstelement.c: (gst_element_send_event):
21917         * gst/gstevent.h:
21918         * gst/gstpad.c: (gst_pad_send_event):
21919           fixing examples
21920           fixing docs typos
21921           changing log priority in error situations
21922
21923 2005-10-25  Wim Taymans  <wim@fluendo.com>
21924
21925         * gst/gstbin.c: (message_check), (bin_replace_message),
21926         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21927         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21928         (bin_query_duration_init), (bin_query_duration_fold),
21929         (bin_query_duration_done), (bin_query_generic_fold),
21930         (gst_bin_query):
21931         Some doc and debug updates.
21932         Cache previously requested query DURATION for speed. invalidate
21933         cached duration if element posts a DURATION message.
21934
21935 2005-10-25  Wim Taymans  <wim@fluendo.com>
21936
21937         * docs/design/part-TODO.txt:
21938         Update TODO.
21939
21940         * gst/gstbin.c: (message_check), (bin_replace_message),
21941         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21942         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21943         (bin_query_duration_init), (bin_query_duration_fold),
21944         (bin_query_duration_done), (bin_query_generic_fold),
21945         (gst_bin_query):
21946         Handle SEGMENT_START/DONE messages correctly.
21947         More evolved query algorithm that handles duration queries
21948         correctly.
21949
21950         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21951         (gst_element_get_state_func), (gst_element_abort_state),
21952         (gst_element_commit_state), (gst_element_lost_state):
21953         Some more debugging.
21954
21955         * gst/gstmessage.h:
21956         Added doc.
21957
21958 2005-10-25  Wim Taymans  <wim@fluendo.com>
21959
21960         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21961         Don't use invalid stream_time.
21962
21963         * gst/gstevent.c: (gst_event_new_newsegment):
21964         stream_time in newsegment cannot be undefined.
21965
21966 2005-10-24  Wim Taymans  <wim@fluendo.com>
21967
21968         * gst/gstbus.c:
21969         Doc fix.
21970
21971         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21972         (gst_queue_loop):
21973         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21974
21975 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
21976
21977         * docs/libs/tmpl/gstdparam.sgml:
21978         * docs/libs/tmpl/gstdplinint.sgml:
21979         * docs/libs/tmpl/gstdpman.sgml:
21980         * docs/libs/tmpl/gstdpsmooth.sgml:
21981         * docs/libs/tmpl/gstunitconvert.sgml:
21982           these are obsolete
21983
21984 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21985
21986         * configure.ac:
21987           back to HEAD
21988
21989 === release 0.9.4 ===
21990
21991 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21992
21993         * configure.ac:
21994           releasing 0.9.4, "Tyrannosaurus Rex"
21995
21996 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
21997
21998         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21999         (gst_file_sink_get_current_offset):
22000           Use fseeko() and ftello() if available. When falling back on
22001           lseek() to get the current offset, fflush() first to make sure
22002           everything is up-to-date and we get the right offset.
22003
22004 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22005
22006         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22007         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22008         * gst/gsterror.c: (_gst_stream_errors_init):
22009         * gst/gsterror.h:
22010         * gst/gstqueue.c: (gst_queue_loop):
22011         * po/POTFILES.in:
22012           remove prematurely added error category and clean up the instances
22013
22014 2005-10-21  Wim Taymans  <wim@fluendo.com>
22015
22016         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22017         (gst_base_sink_get_position), (gst_base_sink_query),
22018         (gst_base_sink_change_state):
22019         Simply set the right flag when going to playing, that's all
22020         we need to do instead of calling a function inside the object
22021         lock (that could take the lock as well and deadlock)
22022
22023 2005-10-21  Wim Taymans  <wim@fluendo.com>
22024
22025         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22026         (gst_base_src_loop):
22027         Don't warn, the peer element knows what to do best when
22028         the seek failed, it might try something else.
22029
22030 2005-10-21  Wim Taymans  <wim@fluendo.com>
22031
22032         * gst/base/gstbasesrc.c: (gst_base_src_init),
22033         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22034         Fix seeking.
22035
22036 2005-10-21  Wim Taymans  <wim@fluendo.com>
22037
22038         * docs/design/part-segments.txt:
22039         More docs.
22040
22041         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22042         Correctly set caps, even on the subbufer.
22043
22044 2005-10-21  Wim Taymans  <wim@fluendo.com>
22045
22046         * docs/gst/gstreamer-docs.sgml:
22047         * docs/gst/gstreamer-sections.txt:
22048         * gst/gstelement.h:
22049         * gst/gstevent.c:
22050         * gst/gstevent.h:
22051         * gst/gstmessage.h:
22052         * gst/gstpad.h:
22053         * gst/gstparse.h:
22054         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22055         * gst/gsttask.h:
22056         * gst/gstutils.c:
22057         * gst/gstutils.h:
22058         And 2% more doc coverage.
22059
22060 2005-10-21  Andy Wingo  <wingo@pobox.com>
22061
22062         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22063         position reporting.
22064
22065 2005-10-20  Wim Taymans  <wim@fluendo.com>
22066
22067         * gst/gsterror.c: (gst_error_get_message):
22068         * gst/gstparse.h:
22069         * gst/gstquery.h:
22070         * gst/gststructure.c:
22071         * gst/gsttrace.c:
22072         * gst/gstutils.c:
22073         More docs.
22074
22075 2005-10-20  Wim Taymans  <wim@fluendo.com>
22076
22077         * gst/gstbuffer.h:
22078         * gst/gstpad.c:
22079         * gst/gstparse.c:
22080         Another 1% more coverage.
22081
22082 2005-10-20  Wim Taymans  <wim@fluendo.com>
22083
22084         * docs/gst/gstreamer-sections.txt:
22085         * gst/gstelement.c: (gst_element_get_state_func),
22086         (gst_element_abort_state), (gst_element_commit_state),
22087         (gst_element_lost_state):
22088         * gst/gstevent.h:
22089         * gst/gstquery.c: (gst_query_set_position),
22090         (gst_query_parse_position), (gst_query_set_duration),
22091         (gst_query_parse_duration), (gst_query_new_convert):
22092         * gst/gstutils.c:
22093         Yay! 1% more docs coverage.
22094
22095 2005-10-20  Wim Taymans  <wim@fluendo.com>
22096
22097         * gst/gstpad.h:
22098         * gst/gstquery.c: (gst_query_set_position),
22099         (gst_query_parse_position), (gst_query_set_duration),
22100         (gst_query_parse_duration), (gst_query_new_convert):
22101         * gst/gstquery.h:
22102         * gst/gstutils.c: (gst_element_query_convert):
22103         * gst/gstutils.h:
22104         Docs and consistency fixes.
22105
22106 2005-10-20  Wim Taymans  <wim@fluendo.com>
22107
22108         * gst/gsttask.c:
22109         * gst/gsttask.h:
22110         More docs.
22111
22112 2005-10-20  Wim Taymans  <wim@fluendo.com>
22113
22114         * gst/gstbin.c: (message_check), (bin_replace_message),
22115         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22116         (update_degree), (gst_bin_sort_iterator_next),
22117         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22118         Reworked the message handling a bit, cache the messages instead of
22119         only the senders. alows us to do more in the future.
22120
22121 2005-10-20  Wim Taymans  <wim@fluendo.com>
22122
22123         * docs/design/part-TODO.txt:
22124         Update TODO
22125
22126         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22127         (gst_base_sink_query):
22128         Don't use clock time to report position when in EOS.
22129
22130 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22131
22132         * tools/gst-inspect.c: (print_interfaces),
22133         (print_element_properties_info), (print_element_info):
22134           Fix interface output with gst-inspect -a; don't print
22135           newlines after double/float properties.
22136
22137 2005-10-20  Wim Taymans  <wim@fluendo.com>
22138
22139         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22140         (gst_base_sink_query):
22141         Speed up current position calculation.
22142
22143         * gst/base/gstbasesrc.c: (gst_base_src_query),
22144         (gst_base_src_default_newsegment):
22145         Correctly set stream position in newsegment.
22146
22147         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22148         (update_degree), (gst_bin_sort_iterator_next),
22149         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22150         * gst/gstmessage.c: (gst_message_new_custom):
22151         Clean up debugging info
22152
22153         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22154         (gst_queue_loop), (gst_queue_handle_src_query):
22155         Pause task faster.
22156
22157 2005-10-19  Wim Taymans  <wim@fluendo.com>
22158
22159         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22160         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22161         Fix query handling again.
22162
22163 2005-10-19  Wim Taymans  <wim@fluendo.com>
22164
22165         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22166         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22167         * gst/base/gstbasesrc.c: (gst_base_src_query):
22168         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22169         * gst/elements/gsttypefindelement.c:
22170         (gst_type_find_handle_src_query), (find_element_get_length),
22171         (gst_type_find_element_activate):
22172         API change fix.
22173
22174         * gst/gstquery.c: (gst_query_new_position),
22175         (gst_query_set_position), (gst_query_parse_position),
22176         (gst_query_new_duration), (gst_query_set_duration),
22177         (gst_query_parse_duration), (gst_query_set_segment),
22178         (gst_query_parse_segment):
22179         * gst/gstquery.h:
22180         Bundling query position/duration is not a good idea since duration
22181         does not change much and we don't want to recalculate it for every
22182         position query, so they are separated again..
22183         Base value in segment query is not needed.
22184
22185         * gst/gstqueue.c: (gst_queue_handle_src_query):
22186         * gst/gstutils.c: (gst_element_query_position),
22187         (gst_element_query_duration), (gst_pad_query_position),
22188         (gst_pad_query_duration):
22189         * gst/gstutils.h:
22190         Updates for query API change.
22191         Added some docs here and there.
22192
22193 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22194
22195         * check/gst/gstbin.c: (GST_START_TEST):
22196         * check/gst/gstghostpad.c: (GST_START_TEST):
22197         * check/pipelines/cleanup.c: (GST_START_TEST):
22198           wait on thread to die so we can check refcount correctly
22199
22200 2005-10-18  Wim Taymans  <wim@fluendo.com>
22201
22202         * check/pipelines/stress.c: (GST_START_TEST):
22203         Make check a little more time consuming.
22204
22205 2005-10-18  Wim Taymans  <wim@fluendo.com>
22206
22207         * check/Makefile.am:
22208         * check/pipelines/stress.c: (GST_START_TEST),
22209         (simple_launch_lines_suite), (main):
22210         Small state change torture test.
22211
22212         * docs/design/part-states.txt:
22213         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22214         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22215         (gst_base_sink_change_state):
22216         Never take state lock from streaming thread, clean up ugly
22217         hacks. Unfortunatly core does not yet support nice ways to
22218         async commit state.
22219         
22220         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22221         (bin_bus_handler):
22222         Start state recalc if a STATE_DIRTY message is posted, but only
22223         on the toplevel bin.
22224
22225         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22226         (gst_element_get_state_func), (gst_element_abort_state),
22227         (gst_element_commit_state), (gst_element_lost_state),
22228         (gst_element_set_state_func), (gst_element_change_state):
22229         * gst/gstelement.h:
22230         State variables are now protected with the LOCK, the state
22231         lock is only used to serialize _set_state().
22232
22233 2005-10-18  Wim Taymans  <wim@fluendo.com>
22234
22235         * check/gst/gstbin.c: (GST_START_TEST):
22236         * check/gst/gstmessage.c: (GST_START_TEST):
22237         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22238         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22239         (bin_bus_handler):
22240         * gst/gstelement.c: (gst_element_abort_state),
22241         (gst_element_commit_state), (gst_element_lost_state):
22242         * gst/gstmessage.c: (gst_message_new_state_changed),
22243         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22244         (gst_message_new_segment_done), (gst_message_new_duration),
22245         (gst_message_parse_state_changed),
22246         (gst_message_parse_segment_start),
22247         (gst_message_parse_segment_done), (gst_message_parse_duration):
22248         * gst/gstmessage.h:
22249         * tools/gst-launch.c: (event_loop):
22250         Seriously, this is better than a previous commit as we only need
22251         to notify the fact that an element changed state in a streaming
22252         thread, marking the state of the parents dirty, hence the 
22253         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22254         message.
22255
22256 2005-10-18  Wim Taymans  <wim@fluendo.com>
22257
22258         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22259         (gst_bin_recalc_func):
22260         * gst/gstelement.c: (gst_element_set_clock),
22261         (gst_element_abort_state), (gst_element_lost_state):
22262         Cleanups, prepare for state change fixes.
22263
22264 2005-10-18  Wim Taymans  <wim@fluendo.com>
22265
22266         * gst/gstbin.h:
22267         * gst/gstelement.c: (gst_element_class_init),
22268         (gst_element_set_state), (gst_element_set_state_func):
22269         * gst/gstelement.h:
22270         Pending ABI changes.
22271         GThreadPool in GstBinClass to monitor async state changes.
22272         state_cookie in GstElement to detect concurrent gst/set state.
22273         set_state is now virtual too in case a very complicated element
22274         has to be constructed.
22275
22276 2005-10-18  Wim Taymans  <wim@fluendo.com>
22277
22278         * check/gst/gstbin.c: (GST_START_TEST):
22279         * check/gst/gstmessage.c: (GST_START_TEST):
22280         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22281         * gst/gstbin.c: (bin_bus_handler):
22282         * gst/gstelement.c: (gst_element_commit_state),
22283         (gst_element_lost_state):
22284         * gst/gstmessage.c: (gst_message_new_state_changed),
22285         (gst_message_new_segment_start), (gst_message_new_segment_done),
22286         (gst_message_new_duration), (gst_message_parse_state_changed),
22287         (gst_message_parse_segment_start),
22288         (gst_message_parse_segment_done), (gst_message_parse_duration):
22289         * gst/gstmessage.h:
22290         * tools/gst-launch.c: (event_loop):
22291         Make messages future proof.
22292         state-change gets a flag if it was a message comming from the
22293         streaming thread.
22294         segment-start/stop can also be specified in other formats.
22295         A message to notify an app that a pipeline changed playback 
22296         duration.
22297         Also fix a GstMessage leak in -launch
22298
22299 2005-10-18  Andy Wingo  <wingo@pobox.com>
22300
22301         * gst/gstelement.c (gst_element_dispose): More helpful message.
22302
22303 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22304
22305         reviewed by: <delete if not using a buddy>
22306
22307         * common/gtk-doc.mak:
22308
22309 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22310
22311         * gst/gstregistry.c: (gst_registry_scan_path_level):
22312           unref a plug-in we get that was already initialized
22313
22314 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22315
22316         * docs/gst/gstreamer-sections.txt:
22317         * docs/libs/gstreamer-libs-sections.txt:
22318         * gst/gstelement.h:
22319           add new api entries
22320           hide internal macro
22321
22322 2005-10-17  Andy Wingo  <wingo@pobox.com>
22323
22324         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22325         cleanup.
22326
22327         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22328
22329         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22330
22331         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22332         (gst_element_get_state_func): Better debug message.
22333         (gst_element_commit_state): s/INFO/DEBUG/.
22334         (gst_element_lost_state, gst_element_change_state): 
22335
22336         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22337         (gst_message_new_custom): s/INFO/LOG/.
22338
22339 2005-10-17  Michael Smith <msmith@fluendo.com>
22340
22341         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22342           Check if end time is valid using end time, not start time.
22343
22344 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22345
22346         * check/gst-libs/controller.c: (GST_START_TEST),
22347         (gst_controller_suite):
22348         * libs/gst/controller/gstcontroller.c:
22349         (gst_controlled_property_set_interpolation_mode):
22350         * libs/gst/controller/gstcontroller.h:
22351         * libs/gst/controller/gstinterpolation.c:
22352         * testsuite/controller/.cvsignore:
22353         * testsuite/controller/Makefile.am:
22354         * testsuite/controller/interpolator.c:
22355           merge controller testsuites
22356           fix broken tests
22357           remove mem-chunk from docs
22358
22359 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22360
22361         * gst/gstmemchunk.c:
22362         * gst/gstmemchunk.h:
22363         * gst/gsttrashstack.c:
22364         * gst/gsttrashstack.h:
22365           out.  get out.  you're fired.  to the Attic !
22366
22367 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22368
22369         * gst/gstcaps.c: (gst_caps_intersect):
22370           fix signedness issues in a (hopefully) correct way
22371         * gst/gstelement.c: (gst_element_pads_activate):
22372           some debugging
22373         * gst/gstobject.c: (gst_object_set_parent):
22374           some debugging
22375
22376 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22377
22378         * gst/gstvalue.h: Fix prototypes.
22379
22380 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22381
22382         * docs/gst/gstreamer-sections.txt:
22383         * gst/gst.c: (gst_version_string):
22384         * gst/gst.h:
22385         * gst/gstversion.h.in:
22386         * win32/common/libgstreamer.def:
22387           add gst_version_string ()
22388
22389 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22390
22391         * configure.ac:
22392           clean up further
22393         * gst/gst.c: (init_post):
22394         * win32/common/config.h.in:
22395           it's PLUGINDIR now
22396         * gst/gstcaps.c: (gst_caps_intersect):
22397           use gint64, the range could be bigger than a guint
22398
22399 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22400
22401         * gst/gstclock.h:
22402           document potential problem in 2038
22403
22404 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22405
22406         * gst/gstcaps.c: (gst_caps_intersect):
22407           Fix guint j diving under 0
22408
22409 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22410
22411         * configure.ac:
22412         * win32/common/config.h:
22413         * win32/common/config.h.in:
22414           check for process.h, declares getpid() on Windows
22415         * gst/gstinfo.c:
22416           include process.h if we have it
22417         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22418         * gst/gstmemchunk.h:
22419           fix signedness issues
22420         * win32/common/libgstreamer.def:
22421           fix get_type's
22422
22423 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22424
22425         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22426         fix. Because of unsigned ints, caps intersection was going nuts and
22427         trying to access structures with G_MAXUINT index. That fixes
22428         videotestsrc ! ffmpegcolorspace ! fakesink
22429         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22430         consistency.
22431
22432 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22433
22434         * configure.ac:
22435           use the gettext macro
22436         * gst/elements/gstelements.c:
22437         * gst/gst.c:
22438         * gst/indexers/gstindexers.c:
22439           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22440         * win32/common/config.h:
22441           updated config.h
22442         * win32/common/config.h.in:
22443           add the template to generate config.h
22444         * win32/common/gstenumtypes.c:
22445         * win32/common/gstversion.h:
22446           updated copies
22447
22448 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22449
22450         * gst/gst.c: (gst_version):
22451         * gst/gstversion.h.in:
22452           add the nano
22453
22454 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22455
22456         * gst/gstevent.h:
22457           Oops, add missing closing bracket.
22458
22459 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22460
22461         * configure.ac:
22462           use common m4's for argument checking
22463
22464 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22465
22466         * docs/gst/gstreamer-sections.txt:
22467         * gst/gstevent.h:
22468           Add GST_EVENT_TYPE_NAME() macro.
22469
22470 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22471
22472         * gst/gstinfo.c:
22473         * gst/gstpluginfeature.c:
22474         * gst/gsttask.c:
22475           privatize more symbols
22476
22477 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22478
22479         * configure.ac:
22480           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22481           everything that uses GStreamer API should have the includes
22482
22483 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22484
22485         * docs/gst/gstreamer-sections.txt:
22486         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22487         * gst/gstvalue.h:
22488           give each value a _get_type, removes the DATA exports
22489
22490 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22491
22492         * gst/gst.c:
22493         * gst/gst.h:
22494           remove _gst_registry_auto_load, not used anymore
22495         * gst/gstbin.c: (gst_bin_get_type):
22496         * gst/gstbin.h:
22497         * gst/gstelement.c: (gst_element_get_type):
22498         * gst/gstelement.h:
22499         * gst/gstobject.c: (gst_object_get_type):
22500         * gst/gstobject.h:
22501         * gst/gstpad.c: (gst_pad_get_type):
22502         * gst/gstpad.h:
22503           make _get_type functions similar, fixes data export from library
22504
22505 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22506
22507         * configure.ac:
22508           correctly make conditionals
22509         * gst/elements/Makefile.am:
22510         * gst/elements/gstelements.c:
22511           fix typo causing fdsrc not to build
22512
22513 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22514
22515         * testsuite/Makefile.am:
22516         * testsuite/bytestream/.cvsignore:
22517         * testsuite/bytestream/Makefile.am:
22518         * testsuite/bytestream/filepadsink.c:
22519         * testsuite/bytestream/gstbstest.c:
22520         * testsuite/bytestream/test1.c:
22521         * testsuite/bytestream/testfile1:
22522         * testsuite/caps/normalisation.c:
22523         * testsuite/caps/random.c: (main):
22524         * testsuite/cleanup/.cvsignore:
22525         * testsuite/cleanup/Makefile.am:
22526         * testsuite/cleanup/cleanup1.c:
22527         * testsuite/cleanup/cleanup2.c:
22528         * testsuite/cleanup/cleanup3.c:
22529         * testsuite/cleanup/cleanup4.c:
22530         * testsuite/cleanup/cleanup5.c:
22531         * testsuite/controller/interpolator.c:
22532         * testsuite/debug/printf_extension.c: (main):
22533         * testsuite/elements/tee.c:
22534         * testsuite/negotiation/.cvsignore:
22535         * testsuite/negotiation/Makefile.am:
22536         * testsuite/negotiation/pad_link.c:
22537         * testsuite/pad/Makefile.am:
22538         * testsuite/pad/chainnopull.c:
22539         * testsuite/pad/getnopush.c:
22540         * testsuite/pad/link.c:
22541         * testsuite/refcounting/sched.c: (create_pipeline):
22542         * testsuite/registry/Makefile.am:
22543         * testsuite/registry/gst-print-formats.c:
22544         * testsuite/schedulers/.cvsignore:
22545         * testsuite/schedulers/142183-2.c:
22546         * testsuite/schedulers/142183.c:
22547         * testsuite/schedulers/143777-2.c:
22548         * testsuite/schedulers/143777.c:
22549         * testsuite/schedulers/147713.c:
22550         * testsuite/schedulers/147819.c:
22551         * testsuite/schedulers/147894-2.c:
22552         * testsuite/schedulers/147894.c:
22553         * testsuite/schedulers/Makefile.am:
22554         * testsuite/schedulers/group_link.c:
22555         * testsuite/schedulers/queue_link.c:
22556         * testsuite/schedulers/relink.c:
22557         * testsuite/schedulers/unlink.c:
22558         * testsuite/schedulers/unref.c:
22559         * testsuite/schedulers/useless_iteration.c:
22560         * testsuite/states/bin.c:
22561           clean out/remove some stuff from the testsuite directories
22562
22563 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22564
22565         * configure.ac:
22566           check for some headers
22567         * gst/elements/Makefile.am:
22568         * gst/elements/gstelements.c:
22569           don't compile fdsrc without sys/socket.h
22570         * gst/indexers/Makefile.am:
22571         * gst/indexers/gstindexers.c: (plugin_init):
22572           don't compile fileindex without mmap
22573
22574 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22575
22576         * configure.ac:
22577           reorganize
22578           clean up
22579           document more
22580           remove cruft
22581         * check/Makefile.am:
22582         * docs/gst/Makefile.am:
22583         * examples/helloworld/Makefile.am:
22584         * gst/Makefile.am:
22585         * gst/base/Makefile.am:
22586         * gst/check/Makefile.am:
22587         * gst/elements/Makefile.am:
22588         * gst/indexers/Makefile.am:
22589         * gst/parse/Makefile.am:
22590         * libs/gst/controller/Makefile.am:
22591         * libs/gst/dataprotocol/Makefile.am:
22592         * examples/helloworld/helloworld.c: (event_loop):
22593           compile fixes, though it's not being compiled currently
22594
22595 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22596
22597         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22598           Add some simple tests for the new taglist date API.
22599
22600 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22601
22602         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22603         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22604           Beautify 'last-message' output: print 'none' for buffer timestamps
22605           and durations if none is set; improve alignment with next messages.
22606
22607 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22608
22609         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22610         * gst/gstpluginfeature.h:
22611         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22612         * gst/gstregistry.h:
22613         * docs/gst/gstreamer-sections.txt:
22614           Add new API to check plugin feature version requirements.
22615
22616         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22617           Some basic tests for the above.         
22618
22619 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22620
22621         * gst/gststructure.c: (gst_structure_to_string):
22622           guard against NULL printf - happens when for example
22623           a message structure with GstClock gets serialized
22624
22625 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22626
22627         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22628           Fix presumable copy'n'pasto.
22629
22630 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22631
22632         * gst/elements/gstfakesrc.h:
22633         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22634         * gst/elements/gsttypefindelement.c:
22635           fix some signedness
22636         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22637           I wonder if this could actually write +2GB files before
22638
22639 2005-10-13  Andy Wingo  <wingo@pobox.com>
22640
22641         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22642         Fix Timmeke Waymans bug.
22643         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22644         string of the proper length to gst_caps_from_string. There's a
22645         potential for, before this fix, that this could cause someone
22646         connecting over the network to cause a segfault if the payload is
22647         not NUL-terminated.
22648
22649 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22650
22651         * docs/design/draft-push-pull.txt:
22652         * docs/design/part-overview.txt:
22653         * docs/random/TODO-pre-0.9:
22654         * docs/random/old/ChangeLog.gstreamer:
22655         * gst/base/gstpushsrc.c:
22656         * gst/gstclock.c:
22657           fixed typos
22658
22659 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22660
22661         * gst/glib-compat.c: (gst_flags_get_first_value):
22662         * gst/glib-compat.h:
22663         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22664         (gst_value_compare_double), (gst_value_serialize_flags):
22665           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22666           infinite loop
22667
22668 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22669
22670         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22671         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22672           fix up debugging
22673         * tools/gst-launch.c: (event_loop):
22674           print out clock nicely
22675
22676 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22677
22678         * docs/gst/gstreamer-sections.txt:
22679         * gst/gsttaglist.h:
22680         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22681         (gst_tag_list_get_date_index):
22682           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22683           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22684
22685 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22686
22687         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22688         (gst_collectpads_chain):
22689         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22690         in CollectData.
22691
22692 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22693
22694         * docs/gst/gstreamer-sections.txt:
22695         * gst/gst.c:
22696         * gst/gsterror.h:
22697         * tools/gst-inspect.c: (main):
22698         * tools/gst-launch.c: (main):
22699         * tools/gst-run.c: (main):
22700         * tools/gst-xmlinspect.c: (main):
22701           fix GOption context leaks
22702           doc fixes
22703
22704 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22705
22706         * gst/gstbus.c:
22707           use HAVE_UNISTD_H
22708         * win32/common/config.h:
22709           update config
22710         * win32/vs6/grammar.dsp:
22711         * win32/vs6/libgstelements.dsp:
22712         * win32/vs6/libgstreamer.dsp:
22713           update vs6 files
22714
22715 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22716
22717         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22718         * gst/base/gstbasesrc.c: (gst_base_src_query):
22719           fix more guint64<->gdouble conversions
22720
22721 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22722
22723         * Makefile.am:
22724           add win32-update target
22725         * win32/common/gstconfig.h:
22726         * win32/common/gstenumtypes.c:
22727         * win32/common/gstenumtypes.h:
22728         * win32/common/gstversion.h:
22729           add files that visual studio can't generate
22730
22731 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22732
22733         * Makefile.am:
22734           add a win32-update target
22735         * configure.ac:
22736
22737 2005-10-12  Wim Taymans  <wim@fluendo.com>
22738
22739         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22740         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22741         * gst/gstelement.c: (gst_element_commit_state),
22742         (gst_element_set_state):
22743         Protect flags with proper lock.
22744         unref provided cached clock in dispose.
22745
22746 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22747
22748         * gst/gst.c:
22749         * gst/gstminiobject.h:
22750         * gst/gstpad.h:
22751         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22752           removed unused flags from miniobject
22753           doc fixes
22754
22755 2005-10-12  Wim Taymans  <wim@fluendo.com>
22756
22757         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22758         (gst_file_sink_event), (gst_file_sink_render):
22759         Flush before seeking.
22760
22761 2005-10-12  Andy Wingo  <wingo@pobox.com>
22762
22763         * gst/gst.c (gst_init_check): Ignore unknown options, as has
22764         always been the case.
22765
22766 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22767
22768         * check/gst/gstbin.c: (GST_START_TEST):
22769         * docs/gst/gstreamer-sections.txt:
22770         * gst/base/gstbasesink.c: (gst_base_sink_init):
22771         * gst/base/gstbasesrc.c: (gst_base_src_init),
22772         (gst_base_src_get_range), (gst_base_src_check_get_range),
22773         (gst_base_src_start), (gst_base_src_stop):
22774         * gst/base/gstbasesrc.h:
22775         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22776         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22777         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22778         (bin_bus_handler):
22779         * gst/gstbin.h:
22780         * gst/gstbuffer.h:
22781         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22782         * gst/gstbus.h:
22783         * gst/gstelement.c: (gst_element_is_locked_state),
22784         (gst_element_set_locked_state), (gst_element_commit_state),
22785         (gst_element_set_state):
22786         * gst/gstelement.h:
22787         * gst/gstindex.c: (gst_index_init):
22788         * gst/gstindex.h:
22789         * gst/gstminiobject.h:
22790         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22791         (gst_object_set_parent):
22792         * gst/gstobject.h:
22793         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22794         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22795         * gst/gstpad.h:
22796         * gst/gstpadtemplate.h:
22797         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22798         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22799         * gst/gstpipeline.h:
22800         * gst/indexers/gstfileindex.c: (gst_file_index_load),
22801         (gst_file_index_commit):
22802         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22803         * testsuite/pad/link.c: (gst_test_src_init),
22804         (gst_test_filter_init), (gst_test_sink_init):
22805         * testsuite/states/locked.c: (main):
22806           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22807           moved bitshift from macro to enum definition
22808
22809 2005-10-12  Wim Taymans  <wim@fluendo.com>
22810
22811         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22812         * gst/elements/gstfilesink.c: (gst_file_sink_event),
22813         (gst_file_sink_render):
22814         Some more debugging info.
22815
22816 2005-10-12  Wim Taymans  <wim@fluendo.com>
22817
22818         * docs/design/part-states.txt:
22819         * tools/gst-launch.c: (main):
22820         Some doc updates.
22821         Revert non-intentional change.
22822
22823 2005-10-12  Wim Taymans  <wim@fluendo.com>
22824
22825         * check/gst/gstbin.c: (GST_START_TEST):
22826         * check/gst/gstelement.c: (GST_START_TEST):
22827         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22828         * check/gst/gstghostpad.c: (GST_START_TEST):
22829         * check/gst/gstpipeline.c: (GST_START_TEST):
22830         * check/pipelines/simple_launch_lines.c: (run_pipeline):
22831         * check/states/sinks.c: (GST_START_TEST):
22832         * gst/elements/gsttypefindelement.c: (stop_typefinding):
22833         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22834         (gst_bin_remove_func), (gst_bin_get_state_func),
22835         (gst_bin_recalc_state), (gst_bin_change_state_func),
22836         (bin_bus_handler):
22837         * gst/gstelement.c: (gst_element_get_state_func),
22838         (gst_element_get_state), (gst_element_abort_state),
22839         (gst_element_commit_state), (gst_element_set_state),
22840         (gst_element_change_state), (gst_element_change_state_func):
22841         * gst/gstelement.h:
22842         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22843         (gst_pipeline_provide_clock_func):
22844         * gst/gstutils.c: (gst_element_link_pads_filtered):
22845         * tools/gst-launch.c: (main):
22846         * tools/gst-typefind.c: (main):
22847         Use GstClockTime in _get_state() instead of GTimeVal.
22848         Remove old code in gstutils.c
22849
22850 2005-10-12  Andy Wingo  <wingo@pobox.com>
22851
22852         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22853         removed.
22854
22855         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22856         there is no task. Shouldn't affect any code, as nothing in our
22857         plugins checks this return value.
22858         (gst_pad_stop_task): Also take the stream lock if the pad has no
22859         task. Docs updated.
22860
22861 2005-10-12  Wim Taymans  <wim@fluendo.com>
22862
22863         * gst/gstpad.c: (pre_activate), (post_activate),
22864         (gst_pad_activate_pull), (gst_pad_activate_push):
22865         Cleanup activation code. Reset old state if
22866         activation failed.
22867
22868 2005-10-12  Wim Taymans  <wim@fluendo.com>
22869
22870         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22871         (gst_base_sink_change_state):
22872         No need to prerol after receiving EOS.
22873
22874         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22875         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22876         * gst/elements/gstidentity.c: (gst_identity_event):
22877         Print events more verbosely.
22878
22879 2005-10-12  Wim Taymans  <wim@fluendo.com>
22880
22881         * check/Makefile.am:
22882         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22883         * check/states/sinks2.c:
22884         Moved sinks2 testcode in sinks check.
22885
22886         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22887         (gst_bin_remove_func), (gst_bin_recalc_state),
22888         (gst_bin_change_state_func), (bin_bus_handler):
22889         Fix potential race condition when _get_state() iterated over an
22890         ASYNC element right before it posted a state completion.
22891
22892         * gst/gstclock.h:
22893         Do proper cast here.
22894
22895         * gst/gstevent.c: (gst_event_new_newsegment),
22896         (gst_event_parse_newsegment):
22897         A playback rate of 0.0 is not allowed.
22898
22899 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22900
22901         * win32/common/config.h:
22902         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22903         (_trewinddir), (_ttelldir), (_tseekdir):
22904         * win32/common/dirent.h:
22905         * win32/common/gtchar.h:
22906         * win32/common/libgstbase.def:
22907         * win32/common/libgstreamer.def:
22908         * win32/vs6/grammar.dsp:
22909         * win32/vs6/gst_inspect.dsp:
22910         * win32/vs6/gst_launch.dsp:
22911         * win32/vs6/gstreamer.dsw:
22912         * win32/vs6/libgstbase.dsp:
22913         * win32/vs6/libgstelements.dsp:
22914         * win32/vs6/libgstreamer.dsp:
22915           Visual Studio 6 project files, and a new common directory.
22916           Phear.
22917
22918 2005-10-11  Wim Taymans  <wim@fluendo.com>
22919
22920         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22921         (gst_base_sink_do_sync), (gst_base_sink_query),
22922         (gst_base_sink_change_state):
22923         * gst/base/gstbasesink.h:
22924         Correctly parse newsegment info.
22925
22926 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22927
22928         * gst/gst.c: (init_post):
22929           split plugin paths correctly
22930
22931 2005-10-11  Wim Taymans  <wim@fluendo.com>
22932
22933         * check/gst/gstevent.c: (GST_START_TEST):
22934         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22935         (gst_base_sink_change_state):
22936         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22937         * gst/base/gstbasetransform.c: (gst_base_transform_event):
22938         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22939         * gst/gstevent.c: (gst_event_new_newsegment),
22940         (gst_event_parse_newsegment):
22941         * gst/gstevent.h:
22942         Added extra flag to newsegment for future API freeze.
22943         Updated check and base elements.
22944
22945 2005-10-11  Julien MOUTTE  <julien@moutte.net>
22946
22947         * gst/base/gstcollectpads.c: (gst_collectpads_init),
22948         (gst_collectpads_add_pad), (gst_collectpads_pop),
22949         (gst_collectpads_event), (gst_collectpads_chain):
22950         * gst/base/gstcollectpads.h: Handle EOS correctly.
22951
22952 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22953
22954         * tools/gst-launch.c: (main):
22955           more null protecting
22956
22957 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22958
22959         * gst/gst-i18n-lib.h:
22960           check for ENABLE_NLS, not GETTEXT_PACKAGE
22961         * gst/gstregistry.c: (gst_registry_add_plugin),
22962         (gst_registry_scan_path_level),
22963         (_gst_registry_remove_cache_plugins):
22964           protect possibly NULL strings
22965         * gst/parse/types.h:
22966           config.h already included before
22967         * tools/gst-inspect.c: (main):
22968           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22969           check for ENABLE_NLS, not GETTEXT_PACKAGE
22970         * tools/gst-launch.c: (main):
22971           check for ENABLE_NLS, not GETTEXT_PACKAGE
22972
22973 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22974
22975         * configure.ac:
22976           if we don't have glib, fail before testing 2.8
22977         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22978           fix a leak, should fix plugins-base testsuite
22979
22980 2005-10-11  Andy Wingo  <wingo@pobox.com>
22981
22982         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22983         take the mode we're going to as an arg. Go head and set the mode
22984         and flushing flags now, so that if the activate function starts a
22985         thread all the flags will be in the right state.
22986         (post_activate): Renamed also. Just handle making sure streaming
22987         finishes for the deactivation case, and setting the deactivated
22988         mode.
22989         (gst_pad_set_active): Complain loudly if deactivation fails.
22990         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22991         (gst_pad_activate_push): Adapt to pre/post_activate changes,
22992         remove the terrible hack.
22993
22994 2005-10-11  Wim Taymans  <wim@fluendo.com>
22995
22996         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22997         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22998         (gst_bin_recalc_state), (gst_bin_change_state_func),
22999         (gst_bin_dispose), (bin_bus_handler):
23000         * gst/gstbin.h:
23001         Prepare to make current EOS message queue more generic.
23002         Fix some typos.
23003
23004         * gst/gstevent.c: (gst_event_new_newsegment),
23005         (gst_event_parse_newsegment):
23006         * gst/gstevent.h:
23007         Rename base to stream_time.
23008
23009         * gst/gstmessage.h:
23010         Fix typo in docs.
23011
23012 2005-10-11  Wim Taymans  <wim@fluendo.com>
23013
23014         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23015         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23016         (gst_bin_change_state_func), (bin_bus_handler):
23017         * gst/gstbin.h:
23018         Work on proper clock selection.
23019
23020 2005-10-11  Edward Hervey  <edward@fluendo.com>
23021
23022         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23023         * libs/gst/controller/gstcontroller.h:
23024         Added GList* version of _remove_properties() in order to be able to wrap
23025         it in bindings.
23026
23027 2005-10-11  Wim Taymans  <wim@fluendo.com>
23028
23029         * docs/design/part-states.txt:
23030         Some more docs.
23031
23032         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23033         (gst_bin_change_state_func), (bin_bus_handler):
23034         Doc updates. Don't distribute the same clock over and over again.
23035
23036         * gst/gstclock.c:
23037         * gst/gstclock.h:
23038         Doc updates.
23039
23040         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23041         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23042         (gst_pad_send_event):
23043         * gst/gstpad.h:
23044         Make probe emission threadsafe again.
23045         Register quarks and move _get_name() from utils.
23046         Doc updates.
23047
23048         * gst/gstpipeline.c: (gst_pipeline_class_init),
23049         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23050         Only redistribute the clock of it changed.
23051
23052         * gst/gstsystemclock.h:
23053         Doc updates. 
23054
23055         * gst/gstutils.c:
23056         * gst/gstutils.h:
23057         Moved the _flow_get_name() to GstPad.
23058
23059 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23060
23061         * check/gst-libs/gdp.c: (GST_START_TEST):
23062         * check/gst/gstcaps.c: (GST_START_TEST):
23063         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23064         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23065         (gst_dp_packet_from_caps):
23066           fix more valgrind warnings before turning up the heat
23067
23068 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23069
23070         * gst/parse/grammar.y:
23071           some cleanup before the hacking
23072
23073 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23074
23075         * gst/base/gstbasesrc.c: (gst_base_src_query):
23076           use conversions
23077         * gst/gstutils.c: (gst_guint64_to_gdouble),
23078         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23079         * gst/gstutils.h:
23080           externalize, basesrc uses it
23081           obviously the implementation needs testing
23082
23083 2005-10-10  Wim Taymans  <wim@fluendo.com>
23084
23085         * tests/sched/Makefile.am:
23086         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23087         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23088
23089 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23090
23091         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23092           apparently converting from guint64 to double is not implemented
23093           on MSVC
23094
23095 2005-10-10  Wim Taymans  <wim@fluendo.com>
23096
23097         * check/Makefile.am:
23098         * check/generic/states.c: (GST_START_TEST):
23099         * check/gst/gstbin.c: (GST_START_TEST):
23100         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23101         * check/states/sinks.c: (GST_START_TEST):
23102         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23103         (main):
23104         Check fixes, use API as stated in design docs, remove hacks.
23105
23106         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23107         (gst_base_sink_change_state):
23108         Catch stopping our task while we're shutting down.
23109
23110         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23111         (gst_bin_remove_func), (gst_bin_get_state_func),
23112         (gst_bin_recalc_state), (gst_bin_change_state_func),
23113         (bin_bus_handler):
23114         * gst/gstbin.h:
23115         * gst/gstelement.c: (gst_element_init),
23116         (gst_element_get_state_func), (gst_element_abort_state),
23117         (gst_element_commit_state), (gst_element_lost_state),
23118         (gst_element_set_state), (gst_element_change_state),
23119         (gst_element_change_state_func):
23120         * gst/gstelement.h:
23121         New state change algorithm (see #318116)
23122
23123         * gst/gstpipeline.c: (gst_pipeline_class_init),
23124         (gst_pipeline_init), (gst_pipeline_set_property),
23125         (gst_pipeline_get_property), (do_pipeline_seek),
23126         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23127         * gst/gstpipeline.h:
23128         Remove crude state change hacks.
23129
23130         * gst/gstutils.h:
23131         Remove crude hacks.
23132
23133         * tools/gst-launch.c: (main):
23134         Fixes for state change. Needs some more work to fully use the
23135         new stuff.
23136
23137 2005-10-10  Andy Wingo  <wingo@pobox.com>
23138
23139         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23140
23141         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23142         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23143         issue.
23144
23145 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23146
23147         * gst/gstiterator.c: (gst_iterator_new):
23148           Fix my previous commit: GTypes passed to gst_iterator_new()
23149           can be fundamental types.
23150
23151 2005-10-10  Wim Taymans  <wim@fluendo.com>
23152
23153         * gst/gstelement.c: (gst_element_iterate_pad_list),
23154         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23155         (gst_element_iterate_sink_pads):
23156         Use src/sink pads lists for the respective iterators instead
23157         of filtering.
23158
23159 2005-10-10  Andy Wingo  <wingo@pobox.com>
23160
23161         Merged in popt removal + GOption addition patch from Ronald, bug
23162         #169772.
23163
23164         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23165         GstElement macros around, remove popt-related symbols, add goption
23166         stuff.
23167
23168         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23169         
23170         * docs/gst/Makefile.am:
23171         * docs/libs/Makefile.am: No POPT_CFLAGS.
23172         
23173         * examples/manual/Makefile.am:
23174         * docs/manual/basics-init.xml: Doc updates with an example.
23175         
23176         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23177         (gst_init), (parse_one_option), (parse_goption_arg):
23178         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23179         bit of hand merging and debugging to get the GOption stuff working
23180         tho.
23181         
23182         * tests/Makefile.am:
23183         * tools/Makefile.am:
23184         * tools/gst-inspect.c: (main):
23185         * tools/gst-launch.c: (main):
23186         * tools/gst-run.c: (main):
23187         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23188
23189 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23190
23191         * gst/gstiterator.c: (gst_iterator_new):
23192           Add assertions to make sure passed GType is likely to really
23193           be a GType (as the compiler won't catch it if the size and
23194           GType arguments get mixed up, see #318447).
23195
23196 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23197
23198         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23199
23200         * gst/gstbin.c: (gst_bin_iterate_sorted):
23201           Pass GType and size arguments to gst_iterator_new() in the right
23202           order (maybe we should make _new() take the GType as first argument
23203           just like _new_list()?) (#318447).
23204           
23205
23206 2005-10-10  Wim Taymans  <wim@fluendo.com>
23207
23208         * gst/gstelement.c: (gst_element_finalize):
23209         And free the GStaticRecMutex too
23210
23211 2005-10-10  Andy Wingo  <wingo@pobox.com>
23212
23213         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23214         Allocate and free the mutex properly.
23215
23216         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23217         New macros.
23218         (GstElement): The state_lock is now recursive. Rebuild your
23219         plugins, suckers. Old macros adapted.
23220
23221         * docs/gst/gstreamer-sections.txt: Doc updates.
23222
23223         * gst/gstutils.h:
23224         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23225         (g_static_rec_cond_wait): Ported from state changes patch, while
23226         we wait on bug #317802 to be solved in a well-distributed GLib.
23227
23228         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23229         gst_element_change_state, variable name changes.
23230         (gst_element_change_state): Split out of gst_element_set_state in
23231         preparation for the state change merge. Doesn't pay attention to
23232         the 'transition' argument.
23233         (gst_element_set_state): Updates, hopefully purely cosmetic.
23234         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23235         state change patch.
23236         (gst_element_get_state_func): Renamed from get_state, cosmetic
23237         changes.
23238
23239 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23240
23241         * gst/elements/gstelements.c:
23242         * win32/GStreamer.vcproj:
23243         * win32/config.h:
23244         * win32/dirent.c: (_tseekdir):
23245         * win32/gst-inspect.vcproj:
23246         * win32/gst-launch.vcproj:
23247         * win32/gstconfig.h:
23248         * win32/gstelements.vcproj:
23249         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23250         * win32/gstreamer.def:
23251         * win32/msvc71.sln:
23252           updates for the win32 build (patch from Sebastien Moutte)
23253
23254 2005-10-10  Andy Wingo  <wingo@pobox.com>
23255
23256         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23257         gst_bin_get_state, cleaned up (but no logic changes).
23258         (bin_element_is_sink): Comment updates.
23259         (sink_iterator_filter): Remove needless cast.
23260         (gst_bin_iterate_sinks): Doc update.
23261         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23262         cleaned up (but no logic changes).
23263
23264         * check/states/sinks.c (test_src_sink): Cleanups from the state
23265         change patch.
23266         (test_livesrc_sink): Sync on the state.
23267
23268         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23269         the state change patch.
23270
23271         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23272         change patch.
23273
23274         * check/gst/gstbin.c: Merge in some style fixes and additional
23275         checks from Wim's state change patch.
23276
23277 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23278
23279         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23280         (gst_type_find_helper):
23281           Check whether we have the requested data already in our list of
23282           cached buffers before pulling a new buffer; also make the buffer
23283           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23284
23285 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23286
23287         * gst/gstcaps.c:
23288         * gst/gstevent.c:
23289           doc updates
23290         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23291           don't use long long, it's not portable.  Replacing with
23292           gint64 seems to work; let's hope no skeletons fall out of the closet.
23293
23294 2005-10-10  Andy Wingo  <wingo@pobox.com>
23295
23296         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23297
23298 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23299
23300         * docs/gst/gstreamer-sections.txt:
23301         * gst/gstevent.c:
23302         * gst/gstevent.h:
23303         * gst/gstinfo.c:
23304         * gst/gstinfo.h:
23305         * gst/gstmessage.c: (gst_message_parse_state_changed):
23306         * gst/gstpad.c:
23307         * gst/gstpad.h:
23308           more docs, fix compilation
23309
23310 2005-10-09  Philippe Khalaf <burger@speedy.org>
23311         * gst/gstmessage.c:
23312           Fixed a few forgotten variables on previous commit
23313
23314 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23315
23316         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23317           Fix evil typefind crasher: getrange() might return a short
23318           buffer at the end of a file, but gst_type_find_peek() must
23319           either return the full data as requested or NULL, but
23320           never a short buffer.
23321
23322 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23323
23324         * gst/gstmessage.c: (gst_message_new_state_changed),
23325         (gst_message_parse_state_changed):
23326         * gst/gstmessage.h:
23327           don't use "new", it's a C++ keyword
23328
23329 2005-10-08  Wim Taymans  <wim@fluendo.com>
23330
23331         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23332         * gst/gstelement.c: (gst_element_post_message):
23333         * gst/gstpipeline.c: (gst_pipeline_change_state):
23334         Small docs and debug updates.
23335
23336 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23337
23338         * docs/gst/gstreamer-sections.txt:
23339         * gst/gstelementfactory.c:
23340         * gst/gstevent.c:
23341         * gst/gsttaglist.c:
23342           more docs
23343
23344 2005-10-08  Wim Taymans  <wim@fluendo.com>
23345
23346         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23347         (gst_bin_dispose), (bin_bus_handler):
23348         Fix typos, add comments.
23349         Clear EOS list when going to PAUSED from any direction and do it
23350         in a threadsafe way.
23351         Get base time in a threadsafe way too.
23352         Fix confusing debug in the change_state function.
23353         Various other small cleanups.
23354         
23355         * gst/gstelement.c: (gst_element_post_message):
23356         Fix very verbose bus posting code.
23357
23358         * gst/gstpipeline.c: (gst_pipeline_class_init),
23359         (gst_pipeline_set_property), (gst_pipeline_get_property),
23360         (gst_pipeline_change_state):
23361         Small ARG_ -> PROP_ cleanup
23362
23363 2005-10-08  Wim Taymans  <wim@fluendo.com>
23364
23365         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23366         Do a less CPU demanding EOS check because we can.
23367
23368 2005-10-08  Wim Taymans  <wim@fluendo.com>
23369
23370         * libs/gst/dataprotocol/dataprotocol.c:
23371         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23372         (gst_dp_packet_from_event):
23373         * libs/gst/dataprotocol/dataprotocol.h:
23374         * libs/gst/dataprotocol/dp-private.h:
23375         It's about time we bump the version number.
23376         Since event types don't fit in the guint8 anymore describing
23377         the payload type, make payload type 16 bits wide.
23378
23379 2005-10-08  Wim Taymans  <wim@fluendo.com>
23380
23381         * docs/design/part-TODO.txt:
23382         * docs/design/part-clocks.txt:
23383         * docs/design/part-events.txt:
23384         * docs/design/part-gstbin.txt:
23385         * docs/design/part-gstelement.txt:
23386         * docs/design/part-gstpipeline.txt:
23387         * docs/design/part-live-source.txt:
23388         * docs/design/part-messages.txt:
23389         * docs/design/part-overview.txt:
23390         * docs/design/part-states.txt:
23391         Many doc updates.
23392
23393 2005-10-08  Wim Taymans  <wim@fluendo.com>
23394
23395         * gst/gstevent.c:
23396         * gst/gstevent.h:
23397         Fix event quark registration.
23398         Add some space between events so we can insert them in the
23399         right groups.
23400
23401 2005-10-08  Wim Taymans  <wim@fluendo.com>
23402
23403         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23404         (gst_base_sink_handle_buffer):
23405         Better log message.
23406
23407         * gst/gstbus.h:
23408         * gst/gstelement.h:
23409         More docs.
23410
23411         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23412         (gst_queue_set_property), (gst_queue_get_property):
23413         * gst/gstqueue.h:
23414         Remove old unused properties.
23415
23416 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23417         * docs/gst/gstreamer-sections.txt:
23418         * gst/gstmessage.c:
23419         * gst/gstmessage.h:
23420         * gst/gstminiobject.c:
23421         * gst/gstminiobject.h:
23422         * gst/gstobject.h:
23423         * gst/gstpad.h:
23424         * gst/gstutils.h:
23425           lots of new docs and doc fixes
23426
23427 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23428
23429         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23430         * gst/gstplugin.h:
23431         * gst/gstregistry.c: (gst_registry_lookup_locked),
23432         (gst_registry_scan_path_level):
23433         * gst/gstregistryxml.c: (load_plugin):
23434           Only ever load one plugin for a given plugin basename.
23435           This ensures correct overriding of GST_PLUGIN_PATH over
23436           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23437           system installed plugins.
23438
23439 2005-10-08  Wim Taymans  <wim@fluendo.com>
23440
23441         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23442         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23443         Prepare for doing QOS.
23444
23445 2005-10-08  Wim Taymans  <wim@fluendo.com>
23446
23447         * check/gst/gstbin.c: (GST_START_TEST):
23448         * check/pipelines/cleanup.c: (GST_START_TEST):
23449         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23450         Allow new clock message too.
23451
23452 2005-10-08  Wim Taymans  <wim@fluendo.com>
23453
23454         * gst/gstmessage.c: (gst_message_new_error),
23455         (gst_message_new_warning), (gst_message_new_tag),
23456         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23457         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23458         (gst_message_new_segment_start), (gst_message_new_segment_done),
23459         (gst_message_parse_state_changed),
23460         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23461         (gst_message_parse_new_clock):
23462         * gst/gstmessage.h:
23463         Also carry the clock in question.
23464
23465 2005-10-08  Wim Taymans  <wim@fluendo.com>
23466
23467         * gst/gstmessage.c: (gst_message_new_custom),
23468         (gst_message_new_eos), (gst_message_new_error),
23469         (gst_message_new_warning), (gst_message_new_tag),
23470         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23471         (gst_message_new_new_clock), (gst_message_new_segment_start),
23472         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23473         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23474         * gst/gstmessage.h:
23475         Clean up.
23476         Added clock related messages.
23477
23478         * gst/gstpipeline.c: (gst_pipeline_change_state):
23479         Post message when the clock changed.
23480
23481         * tools/gst-launch.c: (event_loop):
23482         Print new clock.
23483
23484 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23485
23486         * tools/gst-inspect.c: (print_element_properties_info):
23487           Can't pass NULL strings to g_print() on windows.
23488
23489 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23490
23491         * docs/Makefile.am:
23492         * docs/gst/Makefile.am:
23493         * docs/gst/gstreamer-docs.sgml:
23494         * docs/gst/running.xml:
23495         * docs/version.entities.in:
23496           add a chapter on running GStreamer.
23497           document GST_DEBUG and GST_PLUGIN* env vars
23498
23499 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23500
23501         * Makefile.am:
23502           remove include dir
23503         * configure.ac:
23504           remove PLUGINS_BUILDDIR stuff
23505         * gst/gst.c: (init_post):
23506           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23507         * idiottest.mak:
23508           remove, it was condescending and not needed
23509
23510 2005-10-08  Wim Taymans  <wim@fluendo.com>
23511
23512         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23513         (gst_base_sink_handle_object), (gst_base_sink_event),
23514         (gst_base_sink_wait), (gst_base_sink_handle_event),
23515         (gst_base_sink_change_state):
23516         * gst/base/gstbasesink.h:
23517         Repost EOS message while going to PLAYING if still EOS.
23518         Make sure that when receiving a FLUSH_START we don't attempt
23519         to sync on the clock anymore.
23520
23521 2005-10-08  Wim Taymans  <wim@fluendo.com>
23522
23523         * tools/gst-launch.c: (event_loop):
23524         Better message printout.
23525
23526 2005-10-08  Wim Taymans  <wim@fluendo.com>
23527
23528         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23529         (gst_bin_child_proxy_get_children_count):
23530         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23531         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23532         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23533         (gst_child_proxy_set_valist):
23534         * gst/parse/grammar.y:
23535         Make ChildProxy threadsafe and fix mem leaks.
23536
23537 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23538
23539         * gst/gst.c: (init_post):
23540           debug the GST_PLUGIN_ env vars
23541
23542 2005-10-08  Wim Taymans  <wim@fluendo.com>
23543
23544         * check/gst/gstbin.c: (GST_START_TEST):
23545         * check/gst/gstmessage.c: (GST_START_TEST):
23546         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23547         * gst/gstelement.c: (gst_element_commit_state),
23548         (gst_element_lost_state):
23549         * gst/gstmessage.c: (gst_message_new_state_changed),
23550         (gst_message_parse_state_changed):
23551         * gst/gstmessage.h:
23552         * tools/gst-launch.c: (event_loop):
23553         Added extra field to STATE_CHANGE message with the pending
23554         state, which will be different from the new state soon.
23555
23556 2005-10-08  Wim Taymans  <wim@fluendo.com>
23557
23558         * gst/gstbus.c: (gst_bus_pop):
23559         * gst/gstclock.c:
23560         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23561         Small cleanups and doc updates.
23562
23563 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23564
23565         * gst/gst.c: (init_pre):
23566         * gst/gstbin.c: (gst_bin_add_func):
23567           log distributing clocks and base time
23568         * gst/gstregistry.c: (gst_registry_add_plugin),
23569         (gst_registry_scan_path_level), (gst_registry_scan_path):
23570           clean up the debugging output a little
23571         * gst/gstutils.c: (gst_element_state_get_name):
23572           warn about a memleak (I've actually seen this be used, though
23573           it was probably a bug)
23574
23575 2005-10-07  Wim Taymans  <wim@fluendo.com>
23576
23577         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23578         (gst_base_src_init), (gst_base_src_default_newsegment),
23579         (gst_base_src_newsegment), (gst_base_src_do_seek),
23580         (gst_base_src_loop), (gst_base_src_start):
23581         * gst/base/gstbasesrc.h:
23582         Make the newsegment event customizable by subclasses.
23583
23584 2005-10-07  Wim Taymans  <wim@fluendo.com>
23585
23586         * gst/gstevent.c: (gst_event_new_buffersize),
23587         (gst_event_parse_buffersize):
23588         * gst/gstevent.h:
23589         New event for future idea.
23590
23591 2005-10-07  Andy Wingo  <wingo@pobox.com>
23592
23593         * gst/gstelement.c (gst_element_post_message): Doc update.
23594
23595         * docs/gst/gstreamer-sections.txt: Update.
23596
23597         * gst/gstmessage.c (gst_message_new_application): Made into a
23598         function like honest API calls.
23599         (gst_message_new_element): New message type.
23600
23601         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23602
23603         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23604         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23605         times.
23606
23607         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23608         NO_PREROLL from gst_element_change_state to fall through.
23609
23610 2005-10-07  Wim Taymans  <wim@fluendo.com>
23611
23612         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23613         (gst_ghost_pad_do_activate_push):
23614         Activating a ghostpad with no internal pad in push mode
23615         is ok.
23616
23617 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23618
23619         * gst/gstobject.h:
23620           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23621           Fixes compilation on Windows.
23622
23623 2005-10-07  Michael Smith <msmith@fluendo.com>
23624
23625         * tools/gst-inspect.c:
23626           Print out feature and plugin count at the end when printing out
23627           all features.
23628
23629 2005-10-04  Michael Smith <msmith@fluendo.com>
23630
23631         * gst/gsterror.c: (_gst_stream_errors_init):
23632           Add another error string used in a few existing plugins.
23633
23634         * gst/gstplugin.c:
23635         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23636         * tools/gst-inspect.c: (print_element_info):
23637           When a feature disappears from a plugin (and the feature exists in
23638           the cached registry file), things went horribly wrong. This isn't a
23639           complete fix, we should actually be removing the 'missing' features
23640           from the features list when we load the actual plugin. That's not
23641           yet implemented. 
23642
23643 2005-10-04  Johan Dahlin  <johan@gnome.org>
23644
23645         * check/gst/gstiterator.c: (GST_START_TEST):
23646         * gst/gstbin.c: (gst_bin_iterate_elements),
23647         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23648         * gst/gstelement.c: (gst_element_iterate_pads):
23649         * gst/gstformat.c: (gst_format_iterate_definitions):
23650         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23651         (gst_iterator_new_list), (gst_iterator_filter):
23652         * gst/gstiterator.h:
23653         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23654         Add a GType to GstIterator, update callsites and tests.
23655
23656 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23657
23658         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23659           give events a chance to be handled by event probes when the pad
23660           is not linked
23661
23662 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23663
23664         * gst/gstevent.c: (gst_event_type_get_name),
23665         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23666         * gst/gstevent.h:
23667           add string representations for event types
23668
23669 2005-10-06  Wim Taymans  <wim@fluendo.com>
23670
23671         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23672         Don't use NULL pointers.
23673
23674 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23675
23676         * gst/gst_private.h:
23677         * gst/gstbus.c:
23678         * gst/gstelement.c:
23679         * gst/gstinfo.c:
23680         * gst/gstpluginfeature.c:
23681           widen the debug category in output to fit the biggest one we have
23682           add a bus category and use it
23683           play with the colors
23684           fix up some categories
23685
23686 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23687
23688         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23689           add push activation of sink ghost pads.
23690           Andye, please verify
23691
23692 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23693
23694         * gst/gstutils.c: (gst_element_link_pads):
23695           fix a bug in the case where neither element has a pad
23696         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23697           add a test for that case
23698
23699 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23700
23701         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23702           emit have-data before checking for peers.  This allows
23703           for probe handlers to connect elements.  This helps autopluggers.
23704         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23705         (gst_pad_suite):
23706           add six checks, linked/unlinked with no/true/false probe
23707
23708 2005-10-04  Wim Taymans  <wim@fluendo.com>
23709
23710         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23711         (gst_fake_sink_event), (gst_fake_sink_preroll),
23712         (gst_fake_sink_render), (gst_fake_sink_change_state):
23713         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23714         (gst_fake_src_get_property), (gst_fake_src_create),
23715         (gst_fake_src_stop):
23716         * gst/elements/gstidentity.c: (gst_identity_stop):
23717         Protect last_message with lock.
23718
23719 2005-10-04  Edward Hervey  <edward@fluendo.com>
23720
23721         * gst/gstformat.h: 
23722         Added precision in the comments for GST_FORMAT_DEFAULT
23723
23724 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23725
23726         * tools/gst-launch.c: (main):
23727           Don't try to run erroneous pipelines.
23728
23729 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23730
23731         * gst/gstbus.c: We don't need this header.
23732
23733 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23734
23735         * configure.ac:
23736           back to development
23737
23738 === release 0.9.3 ===
23739
23740 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23741
23742         * README:
23743         * configure.ac:
23744           Releasing 0.9.3, "Unregistered"
23745
23746 2005-10-03  Andy Wingo  <wingo@pobox.com>
23747
23748         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23749         whereby calling a pad's activatepush() function can start a thread
23750         that starts to push or pull before the pad gets the FLUSHING flag
23751         unset. Hack around it by holding the stream lock until the flag is
23752         set. Need to replace this with a proper solution. Together with
23753         the ghost pad fixes, this fixes mp3 playing/tagreading.
23754
23755         * docs/design/part-gstghostpad.txt: Add a note about activation of
23756         proxy pads outside of ghost pads.
23757
23758         * gst/gstghostpad.c: Implement the ghost pad activation design.
23759
23760 2005-10-02  Andy Wingo  <wingo@pobox.com>
23761
23762         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23763         It is volatile, after all.
23764
23765         * docs/design/part-gstghostpad.txt: Flesh out activation with
23766         ghost pads.
23767
23768         * gst/base/gstbasesrc.c (gst_base_src_init): Use
23769         GST_DEBUG_FUNCPTR.
23770
23771 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
23772
23773         * configure.ac:
23774           Fix (unused) AM_CONDITIONAL tests.
23775
23776 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
23777
23778         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23779
23780         * gst/gstutils.c: (gst_pad_query_convert):
23781           Add assertion that makes sure src_val is >=0, just like
23782           gst_query_new_convert() has. (#315895)
23783
23784 2005-09-30  Edward Hervey  <edward@fluendo.com>
23785
23786         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23787         Let's not iterate pads we're not interested in, it avoids getting 
23788         sky-high refcounts on sinkpad.
23789
23790 2005-09-30  Wim Taymans  <wim@fluendo.com>
23791
23792         * gst/gstelement.c: (gst_element_set_state),
23793         (gst_element_change_state):
23794         Small tweak, element in ASYNC remains ASYNC.
23795
23796 2005-09-30  Wim Taymans  <wim@fluendo.com>
23797
23798         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23799         Only error is an error.
23800
23801         * gst/gstbin.c: (gst_bin_change_state):
23802         Better debugging.
23803
23804         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23805         Also call pad_block in pad alloc.
23806
23807         * gst/gstutils.c: (gst_flow_get_name):
23808         Better debugging.
23809
23810 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23811
23812         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23813         (gst_base_src_get_range):
23814           Fix documentation typos. Add some more debug info.
23815
23816 2005-09-29  David Schleef  <ds@schleef.org>
23817
23818         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23819           more end-user friendly.
23820         * tools/gst-inspect.c: (main): Check if command-line argument is
23821           a file and attempt to load that file as a plugin.
23822
23823 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23824
23825         * check/gst/gstbin.c:
23826         * check/states/sinks.c:
23827           fix tests for the new warning
23828         * check/gst/gstpipeline.c:
23829           add a test for pipeline and bus interaction
23830         * gst/gstelement.c:
23831           elements should be NULL if they get disposed; add a warning if not
23832
23833 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23834
23835         * gst/gstobject.c:
23836           for 2.6 refcounting, make debug log more correct by printing
23837           the actual refcounts at the time of swap (Wim)
23838
23839 2005-09-29  Andy Wingo  <wingo@pobox.com>
23840
23841         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23842         removes signal watches previously added via
23843         gst_bus_add_signal_watch.
23844         (gst_bus_add_signal_watch): Don't return the source id, just store
23845         it on the bus if there wasn't an id already.
23846
23847         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23848         add_signal_watch and remove_signal_watch.
23849
23850 2005-09-29  Edward Hervey  <edward@fluendo.com>
23851
23852         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
23853         Better if we actually iterate the list :)
23854
23855 2005-09-29  Wim Taymans  <wim@fluendo.com>
23856
23857         * check/gst/gstbin.c: (GST_START_TEST):
23858         Change for new bus API.
23859
23860         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23861         (send_messages), (GST_START_TEST), (gstbus_suite):
23862         Change for new bus signal API.
23863
23864         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23865         (gst_bus_source_prepare), (gst_bus_source_check),
23866         (gst_bus_create_watch), (gst_bus_add_watch_full),
23867         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23868         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23869         * gst/gstbus.h:
23870         Remove support for multiple GSources operating on different
23871         message types as it is too complex and unneeded when using
23872         signals.
23873         Added support for receiving signals from the bus.
23874
23875 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23876
23877         * docs/libs/tmpl/gstdataprotocol.sgml:
23878         * docs/manual/advanced-dataaccess.xml:
23879         * gst/elements/gstcapsfilter.c:
23880         * gst/gstutils.c:
23881           rename filter-caps to caps property
23882
23883 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23884
23885         * gst/gstvalue.c: (gst_value_deserialize_fraction):
23886           More robust fraction string parsing.
23887
23888         * docs/pwg/appendix-porting.xml:
23889           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23890
23891 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23892
23893         * gst/gstcaps.c: (gst_caps_do_simplify):
23894           Thou shalt not free a structure and then continue using it
23895           in the next loop iteration.
23896
23897         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23898         (gst_caps_suite):
23899           Add test case for caps simplification.
23900
23901 2005-09-29  Wim Taymans  <wim@fluendo.com>
23902
23903         * check/gst/gstbin.c: (GST_START_TEST):
23904         Oops.
23905
23906 2005-09-29  Wim Taymans  <wim@fluendo.com>
23907
23908         * check/gst/gstbin.c: (GST_START_TEST):
23909         Add bus to bin.
23910
23911         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23912         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23913         (find_element), (gst_bin_sort_iterator_next),
23914         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23915         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23916         (gst_bin_change_state), (gst_bin_dispose):
23917         A bin does not have a bus, it gets the bus from the parent.
23918
23919         * gst/gstelement.c: (gst_element_requires_clock),
23920         (gst_element_provides_clock), (gst_element_is_indexable),
23921         (gst_element_is_locked_state), (gst_element_change_state),
23922         (gst_element_set_bus_func):
23923         Small cleanups.
23924
23925         * gst/gstpipeline.c: (gst_pipeline_class_init),
23926         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23927         The pipeline provides a bus.
23928
23929 2005-09-28  Johan Dahlin  <johan@gnome.org>
23930
23931         * gst/gstmessage.c (gst_message_parse_state_changed): Use
23932         gst_structure_get_enum instead of gst_structure_get_int
23933
23934         * gst/gststructure.c (gst_structure_get_enum): Impl.
23935
23936         * gst/gststructure.h (gst_structure_get_enum): Add
23937
23938         * docs/gst/gstreamer-sections.txt: Ditto
23939
23940         * gst/gstmessage.c (gst_message_new_state_changed): Use
23941         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23942         which does introspection.
23943         Reviewed by Christian Schaller
23944
23945 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
23946
23947         * gst/gstinfo.c: (gst_debug_log_default):
23948           don't do dummy g_strdup()s
23949         * libs/gst/controller/gstcontroller.c:
23950         (on_object_controlled_property_changed),
23951         (gst_controlled_property_new), (gst_controller_new_valist),
23952         (gst_controller_new_list),
23953         (gst_controller_remove_properties_valist), (gst_controller_set),
23954         (gst_controller_get), (gst_controller_sync_values),
23955         (gst_controller_get_value_array), (_gst_controller_class_init),
23956         (gst_controller_get_type):
23957         * libs/gst/controller/gstcontroller.h:
23958         * libs/gst/controller/gstinterpolation.c:
23959         (gst_controlled_property_find_timed_value_node):
23960           convert // to /**/ comments
23961
23962 2005-09-28  Wim Taymans  <wim@fluendo.com>
23963
23964         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23965         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23966         (gst_bus_sync_signal_handler):
23967         * gst/gstbus.h:
23968         Added async-message and sync-message signals to the bus.
23969         Added helper BusFunc to emit signals for all posted messages.
23970
23971         * gst/gstmessage.c: (gst_message_type_get_name),
23972         (gst_message_type_to_quark), (gst_message_get_type):
23973         * gst/gstmessage.h:
23974         Register quarks for message names.
23975
23976 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
23977
23978         * docs/libs/gstreamer-libs-sections.txt:
23979         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23980         (gst_controller_new_list):
23981         * libs/gst/controller/gstcontroller.h:
23982           added another constructor for language bindings
23983
23984 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
23985
23986         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23987           add another check
23988         * gst/gstbus.c:
23989           add some doc
23990         * gst/gstinfo.c: (_gst_debug_init):
23991           slightly more readable color for refcount debugging
23992
23993 2005-09-28  Wim Taymans  <wim@fluendo.com>
23994
23995         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23996         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23997         (find_element), (gst_bin_sort_iterator_next),
23998         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23999         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24000         (gst_bin_change_state), (gst_bin_dispose):
24001         Small doc fixes. get_clock -> provide_clock.
24002
24003         * gst/gstelement.c: (gst_element_class_init),
24004         (gst_element_provides_clock), (gst_element_provide_clock),
24005         (gst_element_get_clock), (gst_element_commit_state),
24006         (gst_element_lost_state):
24007         * gst/gstelement.h:
24008         Make get/set_clock() symetric. Add provide_clock vmethod since
24009         that is actually what this function does.
24010
24011         * gst/gstpipeline.c: (gst_pipeline_class_init),
24012         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24013         (gst_pipeline_get_clock):
24014         get_clock -> provide_clock.
24015
24016 2005-09-28  Andy Wingo  <wingo@pobox.com>
24017
24018         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24019         lieu of real docs...
24020
24021         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24022
24023 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24024
24025         * gst/elements/gstcapsfilter.c:
24026         * gst/elements/gstfakesink.c:
24027         * gst/elements/gstfakesrc.c:
24028         * gst/elements/gstfdsink.c:
24029         * gst/elements/gstfdsrc.c:
24030         * gst/elements/gstfilesink.c:
24031         * gst/elements/gstfilesrc.c:
24032         * gst/elements/gstidentity.c:
24033         * gst/elements/gsttee.c:
24034         * gst/elements/gsttypefindelement.c:
24035           Make element details static.
24036
24037 2005-09-28  Wim Taymans  <wim@fluendo.com>
24038
24039         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24040         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24041         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24042         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24043         (gst_bin_change_state), (gst_bin_dispose):
24044         Some documentation updates.
24045         Clean up dispose handlers.
24046
24047         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24048         * gst/gstpad.c: (gst_pad_dispose):
24049         Clean up dispose handler.
24050
24051         * gst/gstpipeline.c: (gst_pipeline_change_state):
24052         Removed spurious UNLOCK.
24053
24054 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24055
24056         * docs/gst/gstreamer-sections.txt:
24057         * gst/base/gstbasesrc.h:
24058         * gst/gstelement.h:
24059         * gst/gstevent.h:
24060         * gst/gstobject.h:
24061         * gst/gstpad.h:
24062         * gst/gstpipeline.c:
24063         * gst/gstpipeline.h:
24064         * gst/gstutils.h:
24065         * gst/gstxml.h:
24066           added two new functions to the docs
24067                 documents all undocumented GstXXXFlags
24068                 completed some incomplete docs 
24069
24070 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24071
24072         * gst/gstbin.c: (gst_bin_dispose):
24073         * gst/gstelement.c: (gst_element_dispose):
24074           remove now useless and leaky resurrection code in dispose
24075         * gst/base/gstbasesrc.c: (gst_base_src_init):
24076         * gst/gstelementfactory.c: (gst_element_factory_create):
24077         * gst/gstobject.c: (gst_object_set_parent):
24078           add some debugging
24079
24080 2005-09-27  Wim Taymans  <wim@fluendo.com>
24081
24082         * docs/design/part-TODO.txt:
24083         Update TODO.
24084
24085         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24086         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24087         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24088         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24089         (gst_bin_change_state):
24090         * gst/gstelement.h:
24091         Remove element variable, we keep element info in the iterator now.
24092
24093 2005-09-27  Andy Wingo  <wingo@pobox.com>
24094
24095         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24096         values.
24097
24098 2005-09-27  Wim Taymans  <wim@fluendo.com>
24099
24100         * check/gst/gstbin.c: (GST_START_TEST):
24101         Enable check that works now.
24102
24103         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24104         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24105         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24106         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24107         (gst_bin_change_state):
24108         * gst/gstbin.h:
24109         Redid the state change algorithm using a topological sort algo.
24110         Handles all cases correctly.
24111         Exposed iterator for state change order.
24112
24113         * gst/gstelement.h:
24114         Temp storage for state changes. Need to get rid of this soon.
24115
24116 2005-09-27  Wim Taymans  <wim@fluendo.com>
24117
24118         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24119         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24120         (link_fold_func), (gst_pad_proxy_setcaps):
24121         Leak fixes, the fold functions need to unref the passed object and
24122         _get_parent_*() returns ref to parent.
24123
24124 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24125
24126         * check/gst/gstbuffer.c: (test_make_writable):
24127           Plug leak in test case and fix 'make check-valgrind'
24128
24129 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24130
24131         * gst/gstbuffer.c: (gst_subbuffer_init):
24132           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24133           works correctly in all circumstances (we could have just copied
24134           the parent buffer's readonly flag, but conceptually it seems
24135           cleaner to mark all subbuffers as read-only). (based on patch
24136           by Alessandro Decina, #314710).
24137         
24138         * check/gst/gstbuffer.c: (create_read_only_buffer),
24139         (test_make_writable), (test_subbuffer_make_writable),
24140         (gst_test_suite):
24141           Add some tests for gst_buffer_make_writable().
24142
24143 2005-09-27  Wim Taymans  <wim@fluendo.com>
24144
24145         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24146         use gst_object_has_ancestor().
24147
24148         * gst/gstobject.c: (gst_object_has_ancestor):
24149         * gst/gstobject.h:
24150         gst_object_has_ancestor() copied from gstbin.c as it is a
24151         useful function.
24152
24153         * tests/instantiate/create.c: (create_all_elements):
24154         * tests/lat.c: (handoff_src), (handoff_sink):
24155         * tests/sched/runxml.c: (main):
24156         * tests/seeking/seeking1.c: (main):
24157         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24158         (main):
24159         Fix compilation of some tests.
24160
24161 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24162
24163         * gst/gsterror.h:
24164           Remove comment. GST_TYPE_G_ERROR is here to stay,
24165           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24166           (#316961, #300610).
24167
24168 2005-09-26  Wim Taymans  <wim@fluendo.com>
24169
24170         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24171         Added check that shows error in state change order.
24172
24173 2005-09-26  Wim Taymans  <wim@fluendo.com>
24174
24175         * gst/gstbin.c: (gst_bin_change_state):
24176         Make state change function use 3 queues again, we were
24177         adding elements in the wrong order.
24178
24179         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24180         Some debug info,
24181
24182         * gst/gstpad.c: (gst_pad_dispose):
24183         Added some debug info first.
24184
24185 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24186
24187         * docs/design/draft-push-pull.txt:
24188         * docs/design/part-events.txt:
24189         * docs/design/part-overview.txt:
24190         * docs/design/part-scheduling.txt:
24191           Replace all _pull_region() with _pull_range()
24192           
24193 2005-09-26  Andy Wingo  <wingo@pobox.com>
24194
24195         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24196
24197         * check/gst-libs/controller.c: Update for controller api change.
24198
24199         * configure.ac: 
24200         * tests/Makefile.am:
24201         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24202         over by GLib bug 118439.
24203         
24204         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24205         routines to a function.
24206
24207         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24208
24209         * libs/gst/controller/gsthelper.c:
24210         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24211         (gst_object_sync_values): Renamed from sink_values. Ugh.
24212
24213         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24214
24215         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24216         Renamed from controller_key, as it is exported.
24217
24218         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24219
24220 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24221
24222         * gst/Makefile.am:
24223         * gst/gst.h:
24224         * gst/gstpad.h:
24225         * gst/gstpadtemplate.h:
24226         * gst/gstquery.c:
24227         * gst/gstquery.h:
24228         * gst/gstqueryutils.c:
24229         * gst/gstqueryutils.h:
24230           remove queryutils headers after moving the two used functions
24231           to gstquery.  also fixes build problem for gstsiddec
24232
24233 2005-09-26  Michael Smith <msmith@fluendo.com>
24234
24235         * tools/gst-launch.1.in:
24236         Correct documentation in manpage of debug syntax
24237
24238 2005-09-26  Wim Taymans  <wim@fluendo.com>
24239
24240         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24241         (gst_base_src_is_seekable), (gst_base_src_change_state):
24242         Some more debugging info.
24243
24244 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24245
24246         * docs/gst/gstreamer-sections.txt:
24247         * gst/base/gstbasetransform.h:
24248         * gst/gstindex.h:
24249           added more docs
24250
24251 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24252
24253         * docs/gst/.cvsignore:
24254         * docs/gst/tmpl/.cvsignore:
24255         * docs/gst/tmpl/gstpipeline.sgml:
24256         * docs/gst/tmpl/gstplugin.sgml:
24257         * gst/gstpipeline.c:
24258         * gst/gstplugin.c:
24259         * gst/gstplugin.h:
24260           inlined the last two docs files
24261           removed the tmpl directory from cvs (no more conflicts here!)
24262
24263 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24264
24265         * docs/gst/gstreamer-sections.txt:
24266         * docs/gst/tmpl/.cvsignore:
24267         * docs/gst/tmpl/gstpad.sgml:
24268         * docs/gst/tmpl/gstpadtemplate.sgml:
24269         * gst/Makefile.am:
24270         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24271         (gst_pad_finalize), (gst_pad_set_pad_template):
24272         * gst/gstpad.h:
24273         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24274         (gst_pad_template_class_init), (gst_pad_template_init),
24275         (gst_pad_template_dispose), (name_is_valid),
24276         (gst_static_pad_template_get), (gst_pad_template_new),
24277         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24278         (gst_pad_template_pad_created):
24279         * gst/gstpadtemplate.h:
24280           inlined two more docs
24281           factored gstpadtemplate out of gstpad
24282
24283 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24284
24285         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24286         (test_children_state_change_order_semi_sink):
24287           Fix test case: we can't rely on a fixed state change order when
24288           going from READY => PAUSED because the sink might commit its 
24289           new state first when the first buffer created by the source 
24290           reaches the sink before the source has finished its change state.
24291           (Test case still fails at times, see #316856, comment 5 onwards)
24292
24293 2005-09-24  Wim Taymans  <wim@fluendo.com>
24294
24295         * docs/design/part-events.txt:
24296         * docs/design/part-gstbus.txt:
24297         * docs/design/part-gstpipeline.txt:
24298         * docs/design/part-messages.txt:
24299         * docs/design/part-overview.txt:
24300         * docs/design/part-segments.txt:
24301         * gst/gstbin.c:
24302         * gst/gstbuffer.c:
24303         * gst/gstclock.c:
24304         * gst/gstelement.c:
24305         * gst/gstevent.c:
24306         * gst/gstfilter.c:
24307         * gst/gstiterator.c:
24308         Various documentation updates.
24309
24310 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24311
24312         * gst/gstclock.h:
24313           Well, that's embarassing.  Luckily we weren't using
24314           GST_CLOCK_DIFF anywhere.
24315
24316 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24317
24318         * common/gtk-doc.mak:
24319           don't fail on building XML, FC4 slave shows a bunch of doc
24320           missing bits that I don't get
24321         * gst/gstpad.c:
24322         * gst/gstpipeline.c:
24323         * gst/gststructure.c:
24324           some doc updates
24325
24326 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24327
24328         * docs/design/part-gstbin.txt:
24329         * docs/design/part-gstbus.txt:
24330         * gst/gstbus.c:
24331           Add blurb about how the bus goes into flushing mode and
24332           drops all messages when its bin goes from READY into NULL 
24333           state.
24334
24335 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24336
24337         * docs/gst/gstreamer-sections.txt:
24338         * gst/gststructure.c: (gst_structure_get_clock_time):
24339         * gst/gststructure.h:
24340           add a method to get a GstClockTime out of a structure
24341
24342 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24343
24344         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24345         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24346           Added test to check state change order in bins (can still be made
24347           to fail here under heavy disk load; bails out with 'Push on pad
24348           fakesink:sink0, but it was not activated in push mode').
24349
24350         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24351           Fix state change order when there is only a semi sink (#316856)
24352
24353         * gst/gstbus.c: (gst_bus_class_init):
24354           Use _class_peek_parent(), not _class_ref(); fix docs to say
24355           'default main context' instead of 'mainloop' where that is
24356           what's meant.
24357
24358         * gst/gstelement.c: (gst_element_commit_state),
24359         (gst_element_set_state):
24360           Fix typos in debug messages
24361
24362 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24363
24364         * docs/README:
24365         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24366         * gst/gstpluginfeature.c:
24367         * gst/gstutils.c:
24368           various doc updates
24369         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24370           change an assert into an error until it gets fixed properly
24371
24372 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24373
24374         * docs/gst/gstreamer-sections.txt:
24375         * docs/gst/tmpl/.cvsignore:
24376         * docs/gst/tmpl/gstelement.sgml:
24377         * docs/gst/tmpl/gstinfo.sgml:
24378         * docs/gst/tmpl/gstobject.sgml:
24379         * gst/gstelement.c:
24380         * gst/gstelement.h:
24381         * gst/gstinfo.c:
24382         * gst/gstinfo.h:
24383         * gst/gstobject.c: (gst_object_class_init):
24384         * gst/gstobject.h:
24385           inlined 3 more biiiig doc files and added some missing docs on the fly
24386
24387 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24388
24389         * check/gst/.cvsignore:
24390         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24391         * gst/gstregistryxml.c: (load_plugin),
24392         (gst_registry_xml_save_plugin):
24393           put back source in registry.  add checks for find_plugin.
24394         * testsuite/states/bin.c: (assert_state), (empty_bin),
24395         (test_adding_one_element), (main):
24396         * testsuite/states/locked.c: (main):
24397           some compile/run fixes
24398
24399 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24400
24401         * check/gst/gstvalue.c: (GST_START_TEST):
24402           fix leaks in the test itself
24403
24404 2005-09-22  Wim Taymans  <wim@fluendo.com>
24405
24406         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24407         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24408         (gst_base_sink_query):
24409         Prepare for more accurate position reporting and query
24410         handling.
24411
24412         * gst/gstelement.c: (gst_element_send_event),
24413         (gst_element_set_state):
24414         Add some comment.
24415
24416 2005-09-22  Wim Taymans  <wim@fluendo.com>
24417
24418         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24419         (gst_query_parse_segment):
24420         * gst/gstquery.h:
24421         More documentation.
24422         Add segment query for future use.
24423
24424 2005-09-22  Wim Taymans  <wim@fluendo.com>
24425
24426         * gst/gstbin.c: (gst_bin_add_func):
24427         Some more debug info.
24428
24429         * gst/gstelement.c: (gst_element_send_event):
24430         Simplify send_event
24431
24432         * gst/gstelement.h:
24433         Don't know how flags got broken.
24434
24435         * gst/gstquery.h:
24436         Added new query.
24437
24438 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24439
24440         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24441           Add simplistic test suite for GST_TYPE_DATE serialisation and
24442           deserialisation.
24443
24444 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24445
24446         * docs/gst/gstreamer-sections.txt:
24447         * gst/gststructure.c: (gst_structure_set_valist),
24448         (gst_structure_get_date):
24449         * gst/gststructure.h:
24450         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24451         (gst_date_copy), (gst_value_compare_date),
24452         (gst_value_serialize_date), (gst_value_deserialize_date),
24453         (gst_value_transform_date_string),
24454         (gst_value_transform_string_date), (_gst_value_initialize):
24455         * gst/gstvalue.h:
24456           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24457           bunch of utility functions along with a hack that checks that
24458           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24459           is required. Part of the grand scheme in #170777.
24460
24461 2005-09-22  Andy Wingo  <wingo@pobox.com>
24462
24463         * gst/gstconfig.h.in: Psych out gtk-doc.
24464
24465         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24466
24467         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24468
24469         * tools/gst-inspect.c (print_element_list): Plug some
24470         inconsequential leaks.
24471
24472         * gst/gstregistry.c (gst_registry_get_default): Doc.
24473
24474         * check/gst/gstplugin.c: 
24475         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24476         * gst/gstelementfactory.c (gst_element_factory_create): 
24477         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24478         refcount changes.
24479
24480         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24481         (gst_plugin_feature_load): Doc, don't eat refs.
24482
24483         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24484         (gst_plugin_list_free): Doc.
24485         (gst_plugin_load_file): Doc updates.
24486
24487         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24488         accessors returning refcounted objects, return a ref.
24489
24490         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24491         accessor for caps. IDEMPOTENCE. Oh yes.
24492
24493 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24494
24495         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24496
24497         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24498         (_gst_debug_register_funcptr):
24499           Add mutex to serialise access to the hash table with
24500           the function pointer => function name string mapping;
24501           make that hash table static scope (#316809).
24502
24503         * gst/registries/.cvsignore:
24504           Remove left-over file.
24505
24506 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24507
24508         * docs/pwg/appendix-porting.xml:
24509           And something about newsegment events and caps-on-buffers to
24510           the porting guide (feel free to improve).
24511
24512 2005-09-21  Andy Wingo  <wingo@pobox.com>
24513
24514         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24515         data and event probes on the same pad.
24516         (test_buffer_probe_once): Test that removing probes from within
24517         the probe functions works.
24518
24519 2005-09-21  Andy Wingo  <wingo@pobox.com>
24520
24521         * check/gst/gstutils.c: New file.
24522         (test_buffer_probe_n_times): A simple buffer probe test. More to
24523         come, foolios.
24524
24525         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24526         have-data::buffer, not have-data.
24527         (gst_pad_add_event_probe): Likewise for have-data::event.
24528         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24529         peer' isn't quite right yet though.
24530         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24531         (gst_pad_remove_data_probe): Change to take the guint handler_id
24532         as their arg, not the function+data, which is more glib-like.
24533
24534         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24535         the signal emission to indicate if the data is a buffer or an
24536         event.
24537         (gst_pad_get_type): Initialize buffer and event quarks.
24538         (gst_pad_class_init): have-data is now a detailed signal, yes it
24539         is.
24540
24541 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24542
24543         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24544         * gst/gstutils.c: (gst_util_set_value_from_string),
24545         (gst_util_set_object_arg):
24546           Don't put functional code in g_return_if_fail() or
24547           g_return_val_if_fail() statements, otherwise things will 
24548           break when G_DISABLE_CHECKS is defined during compilation.
24549
24550 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24551
24552         * docs/gst/tmpl/.cvsignore:
24553         * docs/gst/tmpl/gstvalue.sgml:
24554         * gst/gstvalue.c:
24555         * gst/gstvalue.h:
24556           inlied another one and added  some obvious docs
24557
24558 2005-09-21  Wim Taymans  <wim@fluendo.com>
24559
24560         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24561         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24562         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24563         (gst_fdsrc_get_property), (gst_fdsrc_create):
24564         * gst/elements/gstfdsrc.h:
24565         Properly implement fdsrc. Removed signal and timeout,
24566         better implemented somewhere else.
24567
24568 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24569
24570         * docs/gst/tmpl/.cvsignore:
24571         * docs/gst/tmpl/gstimplementsinterface.sgml:
24572         * gst/gstinterface.c:
24573           inlined more docs
24574
24575 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24576
24577         * docs/gst/gstreamer-sections.txt:
24578         * docs/gst/tmpl/.cvsignore:
24579         * docs/gst/tmpl/gstenumtypes.sgml:
24580           remove obsolete doc file
24581
24582 2005-09-21  David Schleef  <ds@schleef.org>
24583
24584         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24585         little beer, fix a little leak.
24586
24587 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24588
24589         * docs/gst/gstreamer-docs.sgml:
24590         * docs/gst/gstreamer-sections.txt:
24591         * docs/gst/tmpl/.cvsignore:
24592         * gst/Makefile.am:
24593         * gst/gst.h:
24594         * gst/gstbin.c:
24595         * gst/gstelement.h:
24596         * gst/gstindex.c: (gst_index_class_init):
24597         * gst/gstindex.h:
24598         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24599         (gst_index_factory_class_init), (gst_index_factory_init),
24600         (gst_index_factory_finalize), (gst_index_factory_new),
24601         (gst_index_factory_destroy), (gst_index_factory_find),
24602         (gst_index_factory_create), (gst_index_factory_make):
24603         * gst/gstindexfactory.h:
24604         * gst/gstpluginfeature.c:
24605         * gst/gstpluginfeature.h:
24606         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24607           more docs inlined, splitted gstindex.{c,h}
24608
24609 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24610
24611         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24612           fix a leak
24613
24614 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24615
24616         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24617           Set sync to FALSE by default.
24618
24619 2005-09-20  Wim Taymans  <wim@fluendo.com>
24620
24621         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24622         (gst_base_sink_init):
24623         Make sync property settable from subclass.
24624
24625         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24626         (gst_fake_sink_change_state):
24627         Set sync to FALSE by default.
24628
24629 2005-09-20  Wim Taymans  <wim@fluendo.com>
24630
24631         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24632         * tools/gst-launch.c: (main):
24633         The timeout handler should have lower priority than the source
24634         so we don't timeout before popping a message with 0 timeout.
24635         Dump error messages after failed state change.
24636
24637 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24638
24639         * tools/gst-inspect.c: (print_element_properties_info):
24640           Fix two typos.
24641
24642 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24643
24644         * check/gst/gstevent.c:
24645         * gst/elements/gstfakesink.c:
24646         * gst/elements/gstfakesink.h:
24647           remove the sync property from fakesink.
24648           has the side effect of setting sync TRUE
24649           for fakesink, which is a change.  Anyone who knows how
24650           to fix this nicely in a GObject-y way, feel free.
24651
24652 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24653
24654         * docs/gst/gstreamer-docs.sgml:
24655           remove probe refsection
24656
24657 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24658
24659         * check/Makefile.am:
24660           disable valgrinding the controller test again
24661         * docs/gst/gstreamer-sections.txt:
24662           update for api-changes
24663
24664 2005-09-20  Wim Taymans  <wim@fluendo.com>
24665
24666         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24667         (gst_base_sink_set_property), (gst_base_sink_get_property),
24668         (gst_base_sink_do_sync):
24669         * gst/base/gstbasesink.h:
24670         Added sync property to basesink to disable clock sync.
24671
24672 2005-09-20  Andy Wingo  <wingo@pobox.com>
24673
24674         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24675         eating the caller's refcount.
24676
24677         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24678         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24679         refcount.
24680
24681         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24682         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24683         of GLib 2.8 public, so we can know which refcount to check in
24684         tests.
24685
24686         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24687         (gst_object_init): Only set the gst refcount if we're going ahead
24688         with the refcount hack.
24689
24690 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24691
24692         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24693         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24694           more leaks plumbed, added more debug-logging
24695         * gst/gstmacros.h:
24696           whitespace fix
24697
24698 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24699
24700         * gst/gstmessage.c:
24701           remove include of gstmemchunk.h
24702
24703 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24704
24705         * gst/gstclock.c: (_gst_clock_id_free):
24706           Commit from the Political Party For More Atomic CVS Commits,
24707           so that people don't waste too much of their day fishing
24708           out obvious leaks out of massive commits.
24709           Oh, and fix a pretty damn obvious leak in the memchunk
24710           removal code.
24711
24712 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24713
24714         * check/Makefile.am:
24715         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24716           plug mem-leak, re-add to valgrindable tests
24717
24718 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24719
24720         * gst/gstplugin.h:
24721           unbreak the build for those who have chronic arthritis
24722           and typing "make check" is just too taxing on the hands
24723
24724 2005-09-20  Andy Wingo  <wingo@pobox.com>
24725
24726         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24727         really want it out, you should fix plugins at the same time.
24728
24729 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24730
24731         * configure.ac:
24732         * docs/gst/gstreamer-sections.txt:
24733         * gst/gstobject.c:
24734           added missing symbols to api docs
24735           disable ref-count hack if we have glib >= 2.8
24736
24737 2005-09-19  David Schleef  <ds@schleef.org>
24738
24739         * docs/gst/Makefile.am: Ignore a few more internal headers
24740         * docs/gst/gstreamer-docs.sgml: Remove old sections
24741         * docs/gst/gstreamer-sections.txt: Remove old sections
24742         * docs/gst/tmpl/gstobject.sgml: update
24743         * docs/gst/tmpl/gstplugin.sgml: update
24744         * docs/gst/tmpl/gstpluginfeature.sgml: update
24745         * docs/random/ds/0.9-suggested-changes: update.
24746         * gst/Makefile.am: remove memchunk and trashstack, since they're
24747           not used.
24748         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24749         * gst/gst.h: don't include some headers
24750         * gst/gstchildproxy.c: add gstmarshal.h
24751         * gst/gstclock.c: Don't use memchunks
24752         * gst/gstminiobject.c: Add some docs
24753         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24754         * gst/gstobject.h: same
24755         * gst/gstplugin.c: include gstmacros.h
24756         * gst/gstplugin.h: don't include gstmacros.h, since it's private
24757         * gst/gstquery.c: don't use memchunks
24758         * gst/gstregistry.c: rename gst_registry_deinit()
24759         * gst/gstregistry.h: same
24760
24761 2005-09-19  David Schleef  <ds@schleef.org>
24762
24763         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24764         * docs/libs/gstreamer-libs-sections.txt:
24765         * docs/libs/tmpl/gstgetbits.sgml:
24766         * docs/libs/tmpl/gstputbits.sgml:
24767
24768 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
24769
24770         * win32/gstenumtypes.c:
24771         * win32/gstenumtypes.h:
24772           Update.
24773
24774 2005-09-19  Wim Taymans  <wim@fluendo.com>
24775
24776         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24777         Automatically PAUSE and RESUME a pipeline when a flushing seek
24778         is performed.
24779
24780 2005-09-19  Andy Wingo  <wingo@pobox.com>
24781
24782         * gst/gstregistry.h: Spacing fixen.
24783
24784 2005-09-19  Wim Taymans  <wim@fluendo.com>
24785
24786         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24787         Handle state change failure more correctly.
24788
24789 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24790
24791         * check/Makefile.am:
24792         * check/pipelines/cleanup.c: (run_pipeline):
24793         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24794         (GST_START_TEST):
24795           enable cleanup again after fixing the leak
24796         * docs/README:
24797           some more info on docs
24798
24799 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24800
24801         * check/Makefile.am:
24802           re-enable tests now that leaks are plugged
24803         * check/gst/gst.c:
24804         * check/gst/gstbin.c:
24805         * check/gst/gstpipeline.c:
24806           add some more tests while fixing leaks
24807         * common/check.mak:
24808           make sure binaries are uptodate when valgrinding/gdbing
24809         * gst/gst.c:
24810         * gst/gstelementfactory.c:
24811           remove a ref too many, and add a FIXME for when we get
24812           round to disposing of classes
24813         * gst/gstplugin.c:
24814           fix the refcounting when loading a plugin from a file and
24815           the code pretends that the pointer is the same even though
24816           of course it can change
24817         * gst/gstpluginfeature.c:
24818           unref plugins marked cached (a bit confusing as a name)
24819           as the docs state should be done
24820           various doc additions to explain refcounting
24821         * gst/gstregistry.c:
24822         * gst/gstregistryxml.c:
24823           debugging
24824
24825 2005-09-19  Wim Taymans  <wim@fluendo.com>
24826
24827         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24828         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24829         (send_messages), (GST_START_TEST), (gstbus_suite):
24830         * check/gst/gstpipeline.c: (GST_START_TEST):
24831         * check/pipelines/cleanup.c: (run_pipeline):
24832         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24833         (GST_START_TEST):
24834         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24835         (gst_bus_source_check), (gst_bus_source_dispatch),
24836         (gst_bus_create_watch), (gst_bus_add_watch_full),
24837         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24838         * gst/gstbus.h:
24839         * tools/gst-launch.c: (event_loop):
24840         * tools/gst-md5sum.c: (event_loop):
24841         GstBusHandler -> GstBusFunc, return value has the same meaning as
24842         any other GSource (FALSE == remove source).
24843         _add_watch() and _add_watch_full() now take a MessageType mask to
24844         only handle specific types of messages.
24845         _poll() returns the GstMessage instead of the message type to avoid
24846         race conditions.
24847         _have_pending() takes a MessageType mask now too.
24848         Added testsuite for multiple bus watches.
24849         Fix testsuites and applications for new bus API.
24850
24851 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24852
24853         * check/Makefile.am:
24854           mark a bunch of the tests as to fix until we fix them
24855
24856 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24857
24858         * common/check.mak:
24859           use GST_PLUGIN settings for valgrind tests as well, so we're
24860           valgrinding the correct thing
24861         * gst/gst.c: (init_post):
24862           plug another leak
24863
24864 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24865
24866         * gst/gst.c: (init_post), (gst_deinit):
24867         * gst/gstelementfactory.c: (gst_element_factory_class_init),
24868         (gst_element_factory_finalize), (gst_element_factory_cleanup):
24869         * gst/gstindex.c: (gst_index_factory_class_init),
24870         (gst_index_factory_finalize):
24871         * gst/gstobject.c: (gst_object_dispose):
24872         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24873         (gst_plugin_load_file), (gst_plugin_desc_free):
24874         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24875         (gst_plugin_feature_finalize):
24876         * gst/gstregistry.c: (gst_registry_class_init),
24877         (gst_registry_init), (gst_registry_finalize),
24878         (gst_registry_get_default), (gst_registry_deinit):
24879         * gst/gstregistry.h:
24880         * gst/gstregistryxml.c: (load_feature), (load_plugin):
24881           various cleanups and memleak plugging.  make valgrind is happy now.
24882
24883 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24884
24885         * common/check.mak:
24886           add a check-valgrind target
24887
24888 2005-09-18  David Schleef  <ds@schleef.org>
24889
24890         * tools/gst-inspect.c: Revert the GOption code.
24891
24892 2005-09-17  David Schleef  <ds@schleef.org>
24893
24894         * check/Makefile.am: Fix environment variables.
24895         * check/gst/gstplugin.c: Fix for API changes.
24896         * tools/gst-inspect.c: Fix for API changes.
24897         * tools/gst-xmlinspect.c: Fix for API changes.
24898         * gst/gstelementfactory.c:
24899         * gst/gstplugin.c:
24900         * gst/gstplugin.h:
24901         * gst/gstpluginfeature.c:
24902         * gst/gstpluginfeature.h:
24903         * gst/gstregistry.c:
24904         * gst/gstregistry.h:
24905         * gst/gstregistryxml.c:
24906         * gst/gsttypefind.c:
24907         * gst/gsttypefindfactory.c:
24908         * gst/indexers/gstfileindex.c:
24909         * gst/indexers/gstmemindex.c:
24910         * gst/schedulers/Makefile.am:
24911           Change registry to keep track of both plugins and features,
24912           removing the feature tracking from plugins themselves.
24913
24914 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
24915
24916         * check/Makefile.am:
24917         * tools/gst-register.1.in:
24918           remove gst-register
24919
24920 2005-09-15  David Schleef  <ds@schleef.org>
24921
24922         * check/gst/gstplugin.c:
24923         * gst/gstelementfactory.c:
24924         * gst/gstplugin.c:
24925         * gst/gstpluginfeature.c:
24926         * gst/gstregistry.c:
24927           Getting tired of debugging.  Disabled all the unreffing of
24928           plugins and features, which fixes the segfaults, but of
24929           course leaks like crazy.  At least playbin works.
24930
24931 2005-09-15  David Schleef  <ds@schleef.org>
24932
24933         * check/gst/gstplugin.c: (register_check_elements),
24934         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24935         More testing
24936         * gst/elements/gsttypefindelement.c: Fix refcounting.
24937         * gst/gsttypefind.c:
24938         * gst/gsttypefindfactory.c:
24939         * gst/gsttypefindfactory.h:
24940
24941 2005-09-15  David Schleef  <ds@schleef.org>
24942
24943         * gst/gstindex.c: get refcounting correct.
24944         * gst/gstregistry.c: Handle the case where a feature/plugin is
24945           not found.
24946
24947 2005-09-15  David Schleef  <ds@schleef.org>
24948
24949         * check/Makefile.am:
24950         * check/gst/gstplugin.c: Add test
24951         * gst/gstplugin.c: Fix problems noticed by testsuite
24952         * gst/gstplugin.h:
24953         * gst/gstregistry.c: 
24954         * gst/gstregistry.h:
24955
24956 2005-09-15  David Schleef  <ds@schleef.org>
24957
24958         * gst/gstplugin.c: Implement semi-decent recounting and locking
24959           in plugins and plugin features.
24960         * gst/gstplugin.h:
24961         * gst/gstpluginfeature.c:
24962         * gst/gstpluginfeature.h:
24963         * gst/gstregistry.c:
24964
24965 2005-09-15  Michael Smith <msmith@fluendo.com>
24966
24967         * gst/gstregistry.c: (gst_registry_get_feature_list):
24968           Implement this. Makes oggdemux work; decodebin still broken.
24969
24970 2005-09-14  David Schleef  <ds@schleef.org>
24971
24972         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24973           #316076)
24974         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24975         * gst/check/Makefile.am:
24976         * libs/gst/controller/Makefile.am:
24977         * libs/gst/dataprotocol/Makefile.am:
24978
24979 2005-09-14  David Schleef  <ds@schleef.org>
24980
24981         * configure.ac: Remove getbits library.  Nothing uses it, and
24982           it should be in something like liboil if someone did want
24983           to use it.
24984         * libs/gst/Makefile.am:
24985         * libs/gst/getbits/Makefile.am:
24986         * libs/gst/getbits/gbtest.c:
24987         * libs/gst/getbits/getbits.c:
24988         * libs/gst/getbits/getbits.h:
24989         * libs/gst/getbits/gstgetbits_generic.c:
24990         * libs/gst/getbits/gstgetbits_i386.s:
24991         * libs/gst/getbits/gstgetbits_inl.h:
24992
24993 2005-09-14  David Schleef  <ds@schleef.org>
24994
24995         * gst/Makefile.am: Dist glib-compat.h
24996
24997 2005-09-14  David Schleef  <ds@schleef.org>
24998
24999         * configure.ac: Remove gst/registries, since it's no longer used.
25000         * gst/registries/Makefile.am:
25001         * gst/registries/gstlibxmlregistry.c:
25002         * gst/registries/gstlibxmlregistry.h:
25003         * gst/registries/gstxmlregistry.c:
25004         * gst/registries/gstxmlregistry.h:
25005         * gst/registries/registrytest.c:
25006
25007 2005-09-14  David Schleef  <ds@schleef.org>
25008
25009         * gst/glib-compat.h:
25010         * gst/gstregistryxml.c:
25011           Convergence is near.  Seriously.
25012
25013 2005-09-14  David Schleef  <ds@schleef.org>
25014
25015         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25016         * gst/glib-compat.h:
25017           Attempt #4 to appease the buildbots.
25018
25019 2005-09-14  David Schleef  <ds@schleef.org>
25020
25021         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25022           Attempt #3.
25023
25024 2005-09-14  David Schleef  <ds@schleef.org>
25025
25026         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25027         Attempt #2.
25028
25029 2005-09-14  David Schleef  <ds@schleef.org>
25030
25031         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25032           the new functions.
25033
25034 2005-09-14  David Schleef  <ds@schleef.org>
25035
25036         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25037         * gst/glib-compat.h: Add some functions that are in newer versions
25038           of glib than we care to require.
25039         * gst/gstregistryxml.c: Use them.
25040
25041 2005-09-14  David Schleef  <ds@schleef.org>
25042
25043         * po/POTFILES.in: remove gst-register.c
25044
25045 2005-09-14  David Schleef  <ds@schleef.org>
25046
25047         * docs/gst/gstreamer-docs.sgml:
25048         * docs/gst/gstreamer-sections.txt:
25049         * docs/gst/gstreamer.types:
25050         * docs/gst/tmpl/gstelement.sgml:
25051         * docs/gst/tmpl/gstplugin.sgml:
25052         * docs/gst/tmpl/gstpluginfeature.sgml:
25053           Documentation updates for registry changes.
25054
25055 2005-09-14  David Schleef  <ds@schleef.org>
25056
25057         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25058           because we don't require glib-2.8.
25059
25060 2005-09-14  David Schleef  <ds@schleef.org>
25061
25062         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25063           registries directory.
25064
25065 2005-09-14  David Schleef  <ds@schleef.org>
25066
25067         * check/Makefile.am:
25068         * check/generic/states.c:
25069         * gst/Makefile.am:
25070         * gst/gst.c:
25071         * gst/gst.h:
25072         * gst/gst_private.h:
25073         * gst/gstelementfactory.c:
25074         * gst/gstindex.c:
25075         * gst/gstinfo.c:
25076         * gst/gstplugin.c:
25077         * gst/gstplugin.h:
25078         * gst/gstpluginfeature.c:
25079         * gst/gstpluginfeature.h:
25080         * gst/gstregistry.c:
25081         * gst/gstregistry.h:
25082         * gst/gstregistrypool.c: remove
25083         * gst/gstregistrypool.h: remove
25084         * gst/gsttypefind.c:
25085         * gst/gsttypefindfactory.c:
25086         * gst/gsturi.c:
25087         * tools/Makefile.am:
25088         * tools/gst-compprep.c:
25089         * tools/gst-inspect.c:
25090         * tools/gst-register.c: remove
25091         * tools/gst-xmlinspect.c:
25092           Registry rewrite.  Changes registry from being a file created
25093           by a tool into a simple cache file created automatically by 
25094           libgstreamer.  Removed gst-register (because it's no longer
25095           needed).  Remove registry pools, because we only have one
25096           registry implementation (XML).  Fix up other subsystems as
25097           necessary.
25098
25099 2005-09-13  Michael Smith <msmith@fluendo.com>
25100
25101         * gst/gstconfig.h.in:
25102           Don't Use windows linking attributes for MinGW. Fixes #316157
25103
25104 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25105
25106         * gst/gstutils.c: (set_state_async_thread_func),
25107         (gst_element_set_state_async):
25108           Apparently people think it's better if this function doesn't
25109           try to set the state to whatever state was asked for on the first
25110           call to this function for any object.  Seriously.
25111
25112 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25113
25114         * check/gst/gstpipeline.c: (GST_START_TEST):
25115         * docs/gst/gstreamer-sections.txt:
25116         * gst/gstutils.c: (set_state_async_thread_func),
25117         (gst_element_set_state_async):
25118         * gst/gstutils.h:
25119           add a "gst_element_set_state_async" method that
25120           sets the state and starts a thread to make sure the state
25121           change completes as best as it can
25122
25123 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25124
25125         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25126           codify design+behaviour in testsuite after discussion
25127
25128 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25129
25130         * docs/gst/tmpl/gstelement.sgml:
25131         * docs/manual/appendix-quotes.xml:
25132           add a quote
25133         * gst/gstelement.c: (gst_element_set_state):
25134           add some debug
25135
25136 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25137
25138         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25139         (gst_base_transform_prepare_output_buf),
25140         (gst_base_transform_handle_buffer):
25141         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25142         (gst_capsfilter_prepare_buf):
25143           Remove the requirement for sub-classes to call the parent
25144           implementation of prepare_output_buffer with a wrapper function.
25145           
25146         * gst/gsttaglist.h:
25147         * gst/gsttagsetter.h:
25148           Fix #define wrapper
25149
25150 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25151
25152         * docs/gst/gstreamer-sections.txt:
25153           more doc cleanups
25154
25155 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25156
25157         * docs/gst/gstreamer-sections.txt:
25158         * docs/gst/tmpl/gstelement.sgml:
25159         * docs/gst/tmpl/gstplugin.sgml:
25160         * gst/gstminiobject.c:
25161         * gst/gstvalue.h:
25162           docs now stop throwing warnings
25163
25164 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25165
25166         * docs/gst/gstreamer-sections.txt:
25167         * docs/gst/gstreamer.types:
25168         * docs/gst/tmpl/gstpad.sgml:
25169         * docs/gst/tmpl/gsttypes.sgml:
25170         * gst/base/gstadapter.h:
25171         * gst/base/gstbasesink.h:
25172         * gst/base/gstbasesrc.h:
25173         * gst/gstbin.h:
25174         * gst/gstbuffer.h:
25175         * gst/gstbus.h:
25176         * gst/gstcaps.h:
25177         * gst/gstclock.h:
25178         * gst/gstelement.h:
25179         * gst/gstevent.h:
25180         * gst/gstmessage.h:
25181         * gst/gstpad.h:
25182         * gst/gststructure.c:
25183         * gst/registries/gstlibxmlregistry.h:
25184           various documentation fixes
25185
25186 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25187
25188         * docs/gst/gstreamer-sections.txt:
25189         * docs/gst/tmpl/gstvalue.sgml:
25190           rearrange gstvalue section
25191         * gst/gstutils.c: (gst_element_state_get_name):
25192           NONE -> VOID
25193         * gst/gstvalue.c: (_gst_value_initialize):
25194         * gst/gstvalue.h:
25195           doc updates
25196
25197 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25198
25199         * check/gst-libs/controller.c:
25200           Header include fix.
25201         * gst/base/gstbasetransform.c:
25202         (gst_base_transform_default_prepare_buf),
25203         (gst_base_transform_handle_buffer):
25204         * gst/base/gstbasetransform.h:
25205           Some more basetransform changes and fixes to enable sub-classes
25206           that modify buffer metadata only.
25207         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25208         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25209         (gst_capsfilter_prepare_buf):
25210           If the output pad has fixed allowed caps and input buffers 
25211           don't have any, set the fixed caps on outgoing buffers.
25212
25213 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25214         * check/elements/identity.c: (GST_START_TEST):
25215           Make the error a little clearer when the test fails because
25216           identity made a copy of the buffer.
25217         * docs/gst/gstreamer-sections.txt:
25218           New symbols in gstbasetransform.h
25219         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25220         (gst_base_transform_init), (gst_base_transform_transform_size),
25221         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25222         (gst_base_transform_default_prepare_buf),
25223         (gst_base_transform_get_unit_size),
25224         (gst_base_transform_buffer_alloc),
25225         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25226         (gst_base_transform_change_state),
25227         (gst_base_transform_set_passthrough),
25228         (gst_base_transform_set_in_place),
25229         (gst_base_transform_is_in_place):
25230         * gst/base/gstbasetransform.h:
25231           Change BaseTransform to separate in_place operate from same_caps
25232           output. in_place implies that the element can perform the transform
25233           on incoming buffers in-place, even if the caps on the output are
25234           different.
25235           Sub-class elements can now implement special buffer allocation
25236           methods for outgoing buffers if they wish to.
25237           Big documentation addition.
25238         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25239         * gst/elements/gstelements.c:
25240           Changes for basetransform modifications.
25241         * gst/elements/Makefile.am:
25242         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25243           Compile fix. Extra debug output.
25244
25245 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25246
25247         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25248         (gst_pad_suite):
25249           add tests for valid pad naming
25250         * gst/check/gstcheck.c: (gst_check_log_message_func),
25251         (gst_check_log_critical_func):
25252           add ASSERT_WARNING
25253           remove printing of code, it is fragile when the code contains
25254           % and the line number is enough info
25255         * gst/check/gstcheck.h:
25256         * gst/gstpad.c: (gst_pad_template_new):
25257           fix memleaks
25258
25259 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25260
25261         * configure.ac:
25262           say what CHECK flags we use
25263         * docs/libs/gstreamer-libs.types:
25264         * libs/gst/controller/Makefile.am:
25265         * libs/gst/controller/gst-controller.c:
25266         * libs/gst/controller/gst-controller.h:
25267         * libs/gst/controller/gst-helper.c:
25268         * libs/gst/controller/gst-interpolation.c:
25269         * libs/gst/controller/gstcontroller.c:
25270         * libs/gst/controller/gsthelper.c:
25271         * libs/gst/controller/gstinterpolation.c:
25272         * tools/gst-inspect.c: (print_plugin_info):
25273           we don't use dashes in header names
25274
25275 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25276
25277         * check/Makefile.am:
25278         * check/gst/.cvsignore:
25279         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25280         (gst_pipeline_suite), (main):
25281           adding a test for pipelines and state changes
25282         * gst/gstutils.c: (get_state_func):
25283           add some debugging
25284         * gstreamer.spec.in:
25285           fix up spec file
25286
25287 2005-09-08  Michael Smith <msmith@fluendo.com>
25288
25289         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25290         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25291         (gst_file_src_is_seekable), (gst_file_src_get_size),
25292         (gst_file_src_start):
25293         * gst/elements/gstfilesrc.h:
25294           Various fixes for unseekable, unmmapable, and non-normal files, so
25295           that fallback to read() rather than mmap() works.
25296         * gst/gstevent.c: (gst_event_new_newsegment):
25297           Allow newsegment events with segment_start == segment_end, as will
25298           correctly happen if you use filesrc on a zero-size file, for
25299           example.
25300
25301 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25302
25303         * gst/gstplugin.c: (gst_plugin_load_file):
25304           Call g_module_close when we don't load the module
25305
25306         * gst/registries/gstlibxmlregistry.c:
25307         (gst_xml_registry_get_property):
25308           Port leak fix from 0.8
25309
25310 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25311
25312         * docs/gst/gstreamer-docs.sgml:
25313         * docs/gst/tmpl/.cvsignore:
25314         * docs/gst/tmpl/gsttrace.sgml:
25315         * docs/gst/tmpl/gsttrashstack.sgml:
25316         * gst/Makefile.am:
25317         * gst/gst.h:
25318         * gst/gstelement.h:
25319         * gst/gstevent.h:
25320         * gst/gstmessage.c:
25321         * gst/gstmessage.h:
25322         * gst/gsttag.c:
25323         * gst/gsttag.h:
25324         * gst/gsttaginterface.c:
25325         * gst/gsttaginterface.h:
25326         * gst/gsttaglist.c:
25327         * gst/gsttaglist.h:
25328         * gst/gsttagsetter.c:
25329         * gst/gsttagsetter.h:
25330         * gst/gsttrace.c:
25331         * gst/gsttrace.h:
25332         * gst/gsttrashstack.c:
25333           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25334           inlined docs for gsttrace, gsttrashstack
25335
25336 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25337
25338         * gst/Makefile.am:
25339         * gst/elements/gstbufferstore.h:
25340         * gst/elements/gsttypefindelement.c:
25341         * gst/elements/gsttypefindelement.h:
25342         * gst/gst.h:
25343         * gst/gsttypefind.c:
25344         * gst/gsttypefind.h:
25345         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25346         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25347         (gst_type_find_factory_dispose),
25348         (gst_type_find_factory_unload_thyself),
25349         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25350         (gst_type_find_factory_get_caps),
25351         (gst_type_find_factory_get_extensions),
25352         (gst_type_find_factory_call_function):
25353         * gst/gsttypefindfactory.h:
25354         * gst/registries/gstlibxmlregistry.c:
25355         * gst/registries/gstxmlregistry.c:
25356           splitted gsttypefind into gsttypefind, gsttypefindfactory
25357
25358 2005-09-07  Andy Wingo  <wingo@pobox.com>
25359
25360         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25361         condition whereby the pad's task function is entered before the
25362         pad_mode variable was set.
25363
25364 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25365
25366         * gst/gstpad.c: (gst_pad_alloc_buffer):
25367           Catch misbehaving pad_alloc functions that don't
25368           set up caps and do it for them.
25369
25370 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25371
25372         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25373           test for pipe!=NULL
25374         * docs/gst/tmpl/.cvsignore:
25375         * docs/gst/tmpl/gstmemchunk.sgml:
25376         * docs/gst/tmpl/gstparse.sgml:
25377         * docs/gst/tmpl/gsttaglist.sgml:
25378         * docs/gst/tmpl/gsttagsetter.sgml:
25379         * docs/gst/tmpl/gsttypefind.sgml:
25380         * docs/gst/tmpl/gsttypefindfactory.sgml:
25381         * gst/gstmemchunk.c:
25382         * gst/gstparse.c:
25383         * gst/gsttag.c:
25384         * gst/gsttaginterface.c:
25385         * gst/gsttypefind.c:
25386         * gst/gsttypefind.h:
25387           inlined more docs
25388
25389 === release 0.9.2 ===
25390
25391 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25392
25393         * NEWS:
25394         * RELEASE:
25395         * configure.ac:
25396           releasing 0.9.2, "South"
25397
25398 2005-09-05  Andy Wingo  <wingo@pobox.com>
25399
25400         * gst/registries/gstxmlregistry.h:
25401         * gst/registries/gstxmlregistry.c: Um... resurrect...
25402         
25403         * gst/registries/gstxmlregistry.h:
25404         * gst/registries/gstxmlregistry.c: and update to newer API.
25405         Incidentally they should be a bit faster now that they don't have
25406         to parse the caps.
25407         
25408 2005-09-05  Andy Wingo  <wingo@pobox.com>
25409
25410         * gst/registries/gstxmlregistry.h:
25411         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25412         replaced by the libxml registry a while back
25413
25414 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25415
25416         * docs/gst/tmpl/gstplugin.sgml:
25417         * gst/elements/gstelements.c:
25418         * gst/gst.c:
25419         * gst/gstplugin.c: (gst_plugin_register_func),
25420         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25421         (gst_plugin_get_source):
25422         * gst/gstplugin.h:
25423         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25424         (gst_xml_registry_save_plugin):
25425         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25426         (gst_xml_registry_save_plugin):
25427         * tools/gst-inspect.c: (print_plugin_info):
25428           add a "source" plugin description field, to represent the source
25429           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25430           will set it to PACKAGE, which is automake's idea of the name of
25431           the source project.
25432
25433 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25434
25435         * Makefile.am:
25436         * autogen.sh:
25437         * configure.ac:
25438         * docs/Makefile.am:
25439         * docs/faq/Makefile.am:
25440         * docs/gst/tmpl/gstelement.sgml:
25441         * docs/gst/tmpl/gsttypes.sgml:
25442         * docs/htmlinstall.mak:
25443         * docs/manual/Makefile.am:
25444         * docs/pwg/Makefile.am:
25445           reorganize doc build a little
25446           split out docbook and gtk-doc stuff
25447           have two separate --enable's and enable them through autogen
25448           but disable by default in configure (to be similar to other
25449           projects)
25450         * gstreamer.spec.in:
25451           clean up docs install
25452         * po/af.po:
25453         * po/az.po:
25454         * po/ca.po:
25455         * po/cs.po:
25456         * po/de.po:
25457         * po/en_GB.po:
25458         * po/fr.po:
25459         * po/it.po:
25460         * po/nb.po:
25461         * po/nl.po:
25462         * po/ru.po:
25463         * po/sq.po:
25464         * po/sr.po:
25465         * po/sv.po:
25466         * po/tr.po:
25467         * po/uk.po:
25468         * po/vi.po:
25469           translation updates
25470
25471 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25472
25473         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25474           Add comment.
25475           
25476         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25477         (gst_fake_sink_change_state):
25478           Make state change function thread-safe.
25479           
25480         * gst/gstpad.c: (gst_pad_alloc_buffer):
25481           Set offset on generic buffer allocated by fallback.
25482
25483 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25484
25485         * docs/gst/gstreamer-sections.txt:
25486         * docs/gst/tmpl/gstelement.sgml:
25487         * gst/gstpad.c:
25488         * libs/gst/controller/gst-controller.c:
25489         (gst_controlled_property_set_interpolation_mode),
25490         (gst_controlled_property_new),
25491         (gst_controller_find_controlled_property):
25492          run the wingo-magic script against the docs
25493
25494 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25495
25496         * docs/gst/gstreamer-docs.sgml:
25497         * docs/gst/gstreamer-sections.txt:
25498         * docs/gst/tmpl/.cvsignore:
25499         * docs/gst/tmpl/gstelementdetails.sgml:
25500         * docs/gst/tmpl/gstelementfactory.sgml:
25501         * gst/gst.c:
25502         * gst/gstbus.c:
25503         * gst/gstelementfactory.c:
25504         * gst/gstelementfactory.h:
25505           merged elementdetails docs into elementfactory docs
25506           inlined both
25507
25508 2005-09-02  Andy Wingo  <wingo@pobox.com>
25509
25510         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25511         consider this enum an enum and not a flags.
25512
25513 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25514
25515         * docs/gst/gstreamer-docs.sgml:
25516         * docs/gst/tmpl/.cvsignore:
25517         * docs/gst/tmpl/gstghostpad.sgml:
25518         * docs/gst/tmpl/gstiterator.sgml:
25519         * docs/gst/tmpl/gstmacros.sgml:
25520         * docs/gst/tmpl/gstrealpad.sgml:
25521         * docs/gst/tmpl/gstregistry.sgml:
25522         * docs/gst/tmpl/gstregistrypool.sgml:
25523         * docs/gst/tmpl/gststructure.sgml:
25524         * docs/gst/tmpl/gstsystemclock.sgml:
25525         * docs/gst/tmpl/gsttrace.sgml:
25526         * gst/gstghostpad.c:
25527         * gst/gstmacros.h:
25528         * gst/gstmemchunk.c:
25529         * gst/gstmemchunk.h:
25530         * gst/gstqueue.c:
25531         * gst/gstregistry.c:
25532         * gst/gstregistrypool.c:
25533         * gst/gststructure.c:
25534         * gst/gstsystemclock.c:
25535           more docs inlined
25536
25537 2005-09-02  Andy Wingo  <wingo@pobox.com>
25538
25539         * gst/gstelement.h (GstState): Renamed from GstElementState,
25540         changed to be a normal enum instead of flags.
25541         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25542         munged to be GST_STATE_CHANGE_*.
25543         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25544         work with the new state representation.
25545         (GstStateChange): New enumeration of possible state transitions.
25546         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25547         (GstElementClass::change_state): Pass the GstStateChange along as
25548         an argument. Helps language bindings, so they don't have to use
25549         tricky lock-needing macros like GST_STATE_CHANGE ().
25550
25551         * scripts/update-states (file): New script. Run it on a file to
25552         update it for state naming and API changes. Updates files in
25553         place.
25554
25555         * All files updated for the new API.
25556
25557 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25558
25559         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25560         * gst/gstutils.c: (gst_util_set_value_from_string),
25561         (gst_util_set_object_arg):
25562           fix a bunch of unchecked return values
25563         * tools/gst-complete.c: (main):
25564         * gstreamer.spec.in:
25565           clean up a little
25566
25567 2005-09-01  Wim Taymans  <wim@fluendo.com>
25568
25569         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25570         (gst_base_sink_event), (gst_base_sink_do_sync),
25571         (gst_base_sink_handle_event):
25572         * gst/base/gstbasesink.h:
25573         Handle newsegments more correctly.
25574
25575         * gst/gstbus.c:
25576         Fix docs.
25577
25578         * gst/gstevent.c: (gst_event_new_newsegment):
25579         A newsegment cannot have a start_time of -1
25580
25581 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25582
25583         * win32/gstenumtypes.c:
25584         * win32/gstenumtypes.h:
25585           Update
25586
25587 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25588
25589         * libs/gst/controller/gst-controller.c:
25590         (gst_controlled_property_set_interpolation_mode),
25591         (gst_controlled_property_new):
25592          fixed boolean again
25593
25594 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25595
25596         * docs/faq/gst-uninstalled:
25597           add -good
25598         * gst/gstevent.c:
25599         * gst/gstevent.h:
25600           remove wrong docs
25601         * gst/gstutils.c: (gst_element_link_filtered):
25602         * gst/gstutils.h:
25603           add gst_element_link_filtered
25604
25605 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25606
25607         * docs/gst/gstreamer-docs.sgml:
25608         * docs/gst/gstreamer-sections.txt:
25609         * docs/gst/tmpl/.cvsignore:
25610         * docs/gst/tmpl/gsterror.sgml:
25611         * docs/gst/tmpl/gstfilter.sgml:
25612         * docs/gst/tmpl/gsturihandler.sgml:
25613         * docs/gst/tmpl/gsturitype.sgml:
25614         * docs/gst/tmpl/gstutils.sgml:
25615         * docs/gst/tmpl/gstxml.sgml:
25616         * gst/gsterror.c:
25617         * gst/gsterror.h:
25618         * gst/gstfilter.c:
25619         * gst/gsturi.c:
25620         * gst/gsturitype.c:
25621         * gst/gstutils.c:
25622         * gst/gstxml.c:
25623           inlined more docs, fixed double id-ref
25624
25625 2005-08-31  Wim Taymans  <wim@fluendo.com>
25626
25627         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25628         (gst_base_transform_handle_buffer):
25629         Passthrough elements don't need the caps as they don't care.
25630
25631 2005-08-31  Wim Taymans  <wim@fluendo.com>
25632
25633         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25634         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25635         Don't leak refcounts on buffers.
25636
25637 2005-08-31  Wim Taymans  <wim@fluendo.com>
25638
25639         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25640         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25641         (gst_base_transform_chain), (gst_base_transform_change_state):
25642         * gst/base/gstbasetransform.h:
25643         Handle the case where we are not negotiated more gracefully.
25644
25645 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25646
25647         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25648         (gst_file_src_map_region):
25649           Set READONLY flag on mmap'ed buffers, otherwise
25650           gst_buffer_make_writable() won't work properly (#314708).
25651
25652 2005-08-31  Wim Taymans  <wim@fluendo.com>
25653
25654         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25655         passthrough elements can even do inplace on non writable
25656         buffers (as they don't touch them).
25657
25658 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25659
25660         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25661         (gst_test_mono_source_set_property),
25662         (gst_test_mono_source_class_init), (GST_START_TEST),
25663         (gst_controller_suite):
25664           more tests (hehe I have the most)
25665         * gst/gstbus.c:
25666           describe popping messages whenusing mulltiple sources
25667         * libs/gst/controller/gst-controller.c:
25668         (gst_controlled_property_set_interpolation_mode),
25669         (gst_controlled_property_new):
25670         * libs/gst/controller/gst-controller.h:
25671         * libs/gst/controller/gst-interpolation.c:
25672           implement boolean properties
25673
25674 2005-08-31  Wim Taymans  <wim@fluendo.com>
25675
25676         * gst/gstminiobject.c: (gst_mini_object_ref):
25677         Cannot assert that the refcount has to be positive
25678         since a disposed object can be resurrected.
25679
25680 2005-08-31  Wim Taymans  <wim@fluendo.com>
25681
25682         * gst/gstpad.c: (gst_pad_init):
25683         Revert change, need to first fix badly behaving 
25684         apps.
25685
25686 2005-08-30  Wim Taymans  <wim@fluendo.com>
25687
25688         * check/elements/fakesrc.c: (setup_fakesrc):
25689         * check/elements/identity.c: (setup_identity):
25690         Activate pads before using them.
25691
25692 2005-08-30  Wim Taymans  <wim@fluendo.com>
25693
25694         * gst/base/gstadapter.c: (gst_adapter_flush):
25695         Flushing out 0 bytes is ok for this function.
25696
25697         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25698         no newsegment gives a warning and sets the start/stop to 
25699         invalid.
25700
25701         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25702         (gst_base_transform_set_passthrough):
25703         Some debug info.
25704
25705         * gst/gstminiobject.c: (gst_mini_object_ref):
25706         Check refcount here too.
25707
25708         * gst/gstpad.c: (gst_pad_init):
25709         Pads are initially flushing and refusing data.
25710
25711         * gst/gstutils.c: (gst_element_link_pads_filtered):
25712         When adding a capsfilter element make sure it has the
25713         same state as the parent bin.
25714
25715 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25716
25717         * docs/gst/tmpl/.cvsignore:
25718         * docs/gst/tmpl/gstformat.sgml:
25719         * docs/gst/tmpl/gstversion.sgml:
25720         * gst/gstbus.h:
25721         * gst/gstformat.c:
25722         * gst/gstformat.h:
25723         * gst/gstversion.h.in:
25724           more docs and two more inlined
25725
25726 2005-08-30  Wim Taymans  <wim@fluendo.com>
25727
25728         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25729         Don't sync to clock.
25730
25731 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25732
25733         * docs/gst/gstreamer-sections.txt:
25734           ultral33t func10ns deserve to appear in the docs actually
25735         * docs/gst/tmpl/.cvsignore:
25736         * docs/gst/tmpl/gstcompat.sgml:
25737         * docs/gst/tmpl/gstconfig.sgml:
25738         * gst/check/gstcheck.c:
25739         * gst/gstcompat.h:
25740         * gst/gstconfig.h.in:
25741           inlined more docs
25742
25743 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25744
25745         * docs/gst/tmpl/.cvsignore:
25746         * docs/gst/tmpl/gstquery.sgml:
25747         * docs/gst/tmpl/gstutils.sgml:
25748         * gst/gstquery.c:
25749         * gst/gstquery.h:
25750           inlined and extended docs
25751
25752 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25753
25754         * check/gst-libs/controller.c: (GST_START_TEST),
25755         (gst_controller_suite):
25756           more tests
25757         * docs/gst/tmpl/gstutils.sgml:
25758         * docs/libs/gstreamer-libs-sections.txt:
25759         * docs/libs/tmpl/gstdataprotocol.sgml:
25760           include path fixes
25761         * examples/controller/audio-example.c: (main):
25762           controller example works now
25763         * gst/gstclock.h:
25764           doc fixes
25765         * tools/gst-inspect.c: (print_element_properties_info):
25766           show param spec flags
25767
25768 2005-08-29  Andy Wingo  <wingo@pobox.com>
25769
25770         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25771
25772 2005-08-28  Andy Wingo  <wingo@pobox.com>
25773
25774         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25775         as having two arguments instead of just one. Allows superclasses
25776         to access information on subclasses -- see the terrible for() loop
25777         in gtype.c:g_type_create_instance for the reason why. All callers
25778         changed.
25779
25780 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25781
25782         * docs/design/part-messages.txt:
25783           update info
25784         * docs/gst/tmpl/.cvsignore:
25785         * docs/gst/tmpl/gstcaps.sgml:
25786         * docs/gst/tmpl/gstclock.sgml:
25787         * gst/gstbus.c:
25788         * gst/gstcaps.c:
25789         * gst/gstcaps.h:
25790         * gst/gstclock.c:
25791         * gst/gstclock.h:
25792         * gst/gstmessage.c:
25793           added descriptions for bus and message
25794           inline caps and clock docs
25795
25796 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25797
25798         * gst/gstmessage.c:
25799         * gst/gstmessage.h:
25800           doc fixes
25801
25802 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25803
25804         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25805           fix div-by-zero
25806
25807 2005-08-26  Andy Wingo  <wingo@pobox.com>
25808
25809         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25810         element_set_state's return val.
25811         (test_2_elements): Add test that's been disabled for months.
25812
25813         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25814         can-activate-pull properties.
25815
25816         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25817         can-activate-pull properties. Implement is_seekable so fakesrc can
25818         operate in pull mode.
25819
25820         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25821         properties.
25822         (gst_base_sink_activate, gst_base_sink_activate_pull)
25823         (gst_base_sink_activate_push): Make activation mode choosing work.
25824         Cleanups.
25825         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25826         is right. Make pull mode work. Post an eos before pausing in pull
25827         mode.
25828         (gst_base_sink_change_state): Pay attention to the core's
25829         change_state() return val.
25830         
25831         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25832         has-getrange properties. Cleanups.
25833         
25834         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25835         has_getrange and replace with can_activate_pull and
25836         can_activate_push.
25837
25838         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25839         locking comments. Remove has_loop, has_chain and replace with
25840         can_activate_pull and can_activate_push.
25841
25842 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
25843
25844         * configure.ac:
25845         * examples/Makefile.am:
25846         * examples/metadata/Makefile.am:
25847         * examples/metadata/read-metadata.c: (message_loop),
25848         (have_pad_handler), (make_pipeline), (print_tag), (main):
25849           Add metadata reading example that loops over a list of filenames,
25850           dumping any tags found.
25851
25852         * gst/gstbus.c: (gst_bus_dispose):
25853         * gst/gstelement.c: (gst_element_dispose):
25854           Release a few potentially-held references in dispose.
25855
25856 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25857
25858         * docs/gst/tmpl/gstminiobject.sgml:
25859           do *not* add tmpl/*.sgml files to CVS!
25860
25861 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25862
25863         * libs/gst/bytestream/.cvsignore:
25864         * libs/gst/bytestream/Makefile.am:
25865         * libs/gst/bytestream/adapter.c:
25866         * libs/gst/bytestream/adapter.h:
25867         * libs/gst/bytestream/bytestream.c:
25868         * libs/gst/bytestream/bytestream.h:
25869         * libs/gst/bytestream/filepad.c:
25870         * libs/gst/bytestream/filepad.h:
25871           removing obsolete files
25872
25873 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25874
25875         * docs/gst/gstreamer-docs.sgml:
25876         * docs/libs/gstreamer-libs-docs.sgml:
25877           disabed additional index entries again, as this makes docs-gen just
25878           slow and they aren't useful yet
25879         * docs/libs/gstreamer-libs-sections.txt:
25880           little -section.txt cleanup for libs
25881
25882 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
25883
25884         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25885         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25886           fix up some debugging
25887         (gst_base_transform_get_unit_size),
25888         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25889         (gst_base_transform_handle_buffer):
25890         * gst/base/gstbasetransform.h:
25891           handle and store timed NEWSEGMENT events so that subclasses that
25892           calculate time by counting samples have a segment_start time they
25893           need to add to their timestamps - see audioresample
25894
25895 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25896
25897         * gst/gstbin.h:
25898           removed ';' from the end of macro defs
25899         * docs/gst/gstreamer-docs.sgml:
25900         * docs/gst/gstreamer-sections.txt:
25901         * docs/gst/tmpl/.cvsignore:
25902         * gst/gstbus.h:
25903         * gst/gstelement.c: (gst_element_class_init),
25904         (gst_element_set_state), (activate_pads),
25905         (gst_element_save_thyself):
25906         * gst/gstevent.c: (gst_event_new_newsegment):
25907         * gst/gstevent.h:
25908         * gst/gstiterator.c:
25909         * gst/gstiterator.h:
25910         * gst/gstpad.c:
25911         * gst/gstprobe.h:
25912         * gst/gstutils.c: (gst_pad_query_convert):
25913         * gst/gstutils.h:
25914           fixed parameter name mismatches between source, header and docs
25915           added some more docs, resolved the last batch of unused elements in
25916           docs (now someone needs to doc them)
25917
25918 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25919
25920         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25921         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25922           don't walk through the plugins backwards.  Where is all this
25923           reversed logic coming from ?
25924
25925 2005-08-25  Wim Taymans  <wim@fluendo.com>
25926
25927         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25928         (gst_base_transform_transform_size),
25929         (gst_base_transform_configure_caps),
25930         (gst_base_transform_get_unit_size),
25931         (gst_base_transform_buffer_alloc),
25932         (gst_base_transform_change_state):
25933         * gst/base/gstbasetransform.h:
25934         Cache caps unit_size.
25935         Make sure we cannot negotiate up and downstream at the
25936         same time.
25937
25938 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25939
25940         * gst/gst.c: (init_pre), (init_post):
25941           register the installed plugin path after the env var
25942         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25943         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25944           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25945           directories, so the tests can prefer uninstalled over installed
25946
25947 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25948
25949         * gst/base/gstbasetransform.h:
25950           comment
25951         * gst/gstpad.c:
25952           add to docs
25953
25954 2005-08-25  Wim Taymans  <wim@fluendo.com>
25955
25956         * gst/gstbin.c: (bin_bus_handler):
25957         Be a bit more conservative about the posted message.
25958         
25959         * gst/gstbus.c: (gst_bus_post):
25960         Some cleanups, warn wrong return values.
25961
25962 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
25963
25964         * check/gst/gstbin.c: (GST_START_TEST):
25965         * gst/gstbin.c: (bin_bus_handler):
25966         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25967         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25968         (gst_message_new_warning), (gst_message_new_tag),
25969         (gst_message_new_state_changed), (gst_message_new_segment_start),
25970         (gst_message_new_segment_done), (gst_message_new_custom):
25971         * gst/gstmessage.h:
25972         * tools/gst-launch.c: (event_loop):
25973         * tools/gst-md5sum.c: (event_loop):
25974           Revert unpopular change for GST_MESSAGE_SRC to GObject.
25975
25976 2005-08-25  Wim Taymans  <wim@fluendo.com>
25977
25978         * check/generic/states.c: (GST_START_TEST):
25979         Cleanup can be done at the end.
25980
25981         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25982         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25983         (gst_task_get_state), (gst_task_start), (gst_task_pause):
25984         Oh boy.. Thanks for finding this, Thomas. 
25985
25986 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
25987
25988         * docs/gst/gstreamer.types:
25989           added missing types
25990
25991 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
25992
25993         * docs/gst/gstreamer-docs.sgml:
25994         * docs/gst/gstreamer-sections.txt:
25995         * docs/gst/tmpl/.cvsignore:
25996         * gst/gstbin.c:
25997         * gst/gstiterator.c:
25998         * gst/gstutils.c:
25999         * gst/registries/gstxmlregistry.h:
26000           added missing classes and symbols (123 more to go)
26001           removed removed symbols from section file
26002           fixed many doc-comments
26003
26004 2005-08-24  Wim Taymans  <wim@fluendo.com>
26005
26006         * check/generic/states.c: (GST_START_TEST):
26007         Make sure all tasks are stopped.
26008
26009         * check/gst/gstbin.c: (GST_START_TEST):
26010         Unref after usage for proper valgrinding.
26011
26012         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26013         Really wait for the task to stop before destroying the
26014         mutex.
26015
26016         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26017         (gst_queue_src_activate_push):
26018         Small cleanups. Don't stop the task when we did not start
26019         it.
26020
26021         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26022         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26023         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26024         (gst_task_join):
26025         * gst/gsttask.h:
26026         Protect the stream lock with the object lock.
26027         Disallow setting the stream lock when running.
26028         Add cleanup_all to wait for the threadpool to finish.
26029         Remove code to autoallocate a mutex if none was provided.
26030         Add _join() to wait for a task to stop.
26031         Protect the thread pool with a global lock.
26032
26033 2005-08-24  Wim Taymans  <wim@fluendo.com>
26034
26035         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26036         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26037         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26038         * gst/base/gstbasesink.h:
26039         Handle newsegment events correctly.
26040         Drop buffers out of the segment range.
26041
26042 2005-08-22  Andy Wingo  <wingo@pobox.com>
26043
26044         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26045         macro, implements an interface and gstimplementsinterface for a
26046         new type.
26047
26048 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26049
26050         * check/Makefile.am:
26051         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26052           add a test that does a bunch of state changes on elements
26053           needs some fixing for valgrind
26054         * check/states/sinks.c: (gst_object_suite):
26055           whitespace
26056         * gst/gstcaps.h:
26057           add prototype for gst_caps_is_equal_fixed
26058         * gst/gstplugin.c:
26059         * gst/gstregistrypool.c:
26060           doc fixes
26061
26062 2005-08-24  Andy Wingo  <wingo@pobox.com>
26063
26064         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26065         convert a negative value. Doesn't make much sense. Mostly this is
26066         here to force callers to ensure -1 maps to -1.
26067
26068 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26069
26070         * docs/pwg/advanced-types.xml:
26071           Well done to Michael for catching my deliberate introduction
26072           of this spelling mistake. 
26073         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26074         * gst/gstelement.h:
26075           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26076           unlink pads before removing the element from the bin.
26077
26078 2005-08-24  Andy Wingo  <wingo@pobox.com>
26079
26080         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26081         the same thing as GST_DEBUG=*:4.
26082         (parse_debug_level, parse_debug_category): New helper parsers.
26083
26084 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26085
26086         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26087         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26088         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26089         (gst_base_transform_buffer_alloc),
26090         (gst_base_transform_handle_buffer):
26091           use gboolean return values and pointers to size so we can use the
26092           full GST_BUFFER_SIZE range (guint) for buffer sizes
26093           use GstPadDirection for transform_caps
26094         * gst/base/gstbasetransform.h:
26095           rename get_size to get_unit_size since that's what it is
26096         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26097           use GstPadDirection for transform_caps
26098         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26099         * gst/gstutils.h:
26100           cleanup and debugging
26101
26102 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26103
26104         * gst/gstelement.c: (gst_element_class_init),
26105         (gst_element_set_state), (activate_pads),
26106         (gst_element_save_thyself):
26107         * tools/gst-compprep.c: (main):
26108         * tools/gst-inspect.c: (print_element_properties_info):
26109         * tools/gst-xmlinspect.c: (print_element_properties):
26110           Fixed long standing mem-leak
26111
26112 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26113
26114         * check/gst/gstbin.c: (GST_START_TEST):
26115         * gst/gstbin.c: (bin_bus_handler):
26116         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26117         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26118         (gst_message_new_warning), (gst_message_new_tag),
26119         (gst_message_new_state_changed), (gst_message_new_segment_start),
26120         (gst_message_new_segment_done), (gst_message_new_custom):
26121         * gst/gstmessage.h:
26122         * tools/gst-launch.c: (event_loop):
26123         * tools/gst-md5sum.c: (event_loop):
26124           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26125           that applications can sensibly post custom messages with references
26126           to their own objects.
26127
26128 2005-08-24  Andy Wingo  <wingo@pobox.com>
26129
26130         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26131         already.
26132
26133 2005-08-24  Wim Taymans  <wim@fluendo.com>
26134
26135         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26136         (gst_base_transform_transform_caps),
26137         (gst_base_transform_transform_size),
26138         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26139         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26140         (gst_base_transform_handle_buffer):
26141         * gst/base/gstbasetransform.h:
26142         Many fixes and new features added by Thomas. Can now also do
26143         transforms with variable sizes and a custom fixate_caps function.
26144
26145 2005-08-24  Wim Taymans  <wim@fluendo.com>
26146
26147         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26148         Some debugging.
26149
26150         * gst/gstclock.h:
26151         Cast to ClockTime before formatting to time.
26152
26153         * gst/gstutils.h:
26154         Cleanups.
26155
26156 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26157
26158         * check/gst-libs/controller.c: (GST_START_TEST),
26159         (gst_controller_suite):
26160         * docs/gst/tmpl/gstcaps.sgml:
26161         * docs/gst/tmpl/gstghostpad.sgml:
26162         * docs/gst/tmpl/gstquery.sgml:
26163         * docs/gst/tmpl/gstutils.sgml:
26164         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26165         (gst_object_sink_values), (gst_object_get_value_arrays),
26166         (gst_object_get_value_array):
26167           gracefully handle helper method calls to objects that are not beeing
26168           controlled, added test case for that          
26169
26170 2005-08-23  Wim Taymans  <wim@fluendo.com>
26171
26172         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26173         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26174         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26175         (gst_event_parse_qos), (gst_event_new_seek),
26176         (gst_event_parse_seek):
26177         * gst/gstevent.h:
26178         Some more debugging output and doc cleanups.
26179
26180         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26181         Fix possible deadlock.
26182
26183 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26184
26185         * docs/gst/gstreamer-docs.sgml:
26186         * docs/gst/gstreamer-sections.txt:
26187         * docs/gst/gstreamer.types:
26188         * docs/gst/tmpl/.cvsignore:
26189         * gst/gstbin.h:
26190         * gst/gstbus.c:
26191         * gst/gstelement.c:
26192         * gst/gstevent.h:
26193           added 100 symbols from gstreamer-unused.txt to the right sections
26194           fixed more broken comments
26195           added GstBus to docs
26196
26197 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26198
26199         * docs/gst/gstreamer-sections.txt:
26200         * docs/gst/tmpl/.cvsignore:
26201         * docs/gst/tmpl/gstbin.sgml:
26202         * docs/gst/tmpl/gstbuffer.sgml:
26203         * gst/base/gstbasesrc.c:
26204         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26205         * gst/gstbuffer.c:
26206         * gst/gstbuffer.h:
26207         * tools/gst-launch.1.in:
26208           inlined more doc comments, added missing comments and fixed comments
26209           fixed typos
26210
26211 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26212
26213         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26214           some debugging
26215         * gst/gstcaps.h:
26216           whitespace fixes
26217         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26218           more debugging
26219         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26220         * gst/gststructure.h:
26221           add a fixate function for booleans; add a FIXME that these func
26222           names should probably be gst_structure_fixate_*
26223
26224 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26225
26226         * docs/gst/gstreamer-docs.sgml:
26227         * docs/gst/gstreamer-sections.txt:
26228         * gst/Makefile.am:
26229         * gst/gstbin.c: (gst_bin_get_type),
26230         (gst_bin_child_proxy_get_child_by_index),
26231         (gst_bin_child_proxy_get_children_count),
26232         (gst_bin_child_proxy_init):
26233         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26234         (gst_child_proxy_get_child_by_index),
26235         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26236         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26237         (gst_child_proxy_get), (gst_child_proxy_set_property),
26238         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26239         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26240         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26241         * gst/gstchildproxy.h:
26242         * gst/parse/grammar.y:
26243         * tools/gst-inspect.c: (print_interfaces),
26244         (print_element_properties_info), (print_element_info):
26245           ported gstchildproxy over from 0.8
26246           ported gst-inspect fixes and enhancements over from 0.8
26247
26248 2005-08-22  Wim Taymans  <wim@fluendo.com>
26249
26250         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26251         (gst_base_transform_handle_buffer):
26252         Also call the transform function if we have ANY caps.
26253
26254         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26255         Fix debug info.
26256
26257 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26258
26259         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26260           Don't pretend to handle seek events if the source is not seekable
26261
26262 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26263
26264         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26265           Remove extra parameter to debug output
26266
26267         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26268         (gst_base_src_do_seek), (gst_base_src_activate_push):
26269           Fix seek event handling.
26270
26271         * gst/gstpipeline.c: (gst_pipeline_change_state):
26272         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26273         (gst_queue_src_activate_push):
26274           Don't start the src pad task on FLUSH_STOP if the pad
26275           isn't linked.
26276           Debug changes.
26277
26278 2005-08-22  Wim Taymans  <wim@fluendo.com>
26279
26280         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26281         Added check for gst_static_caps_get() refcounting.
26282
26283 2005-08-22  Wim Taymans  <wim@fluendo.com>
26284
26285         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26286         Make _static_caps_get() refcounting sane.
26287         
26288         * gst/gstelement.c: (gst_element_set_state):
26289         Add g_return_val_if_fail() to protect against segfaults.
26290
26291 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26292
26293         * docs/gst/tmpl/gstevent.sgml:
26294         * gst/gstevent.c:
26295         * gst/gstevent.h:
26296           inlined remaining docs, added missing doc comments
26297
26298 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26299
26300         * check/gst/gstbin.c: (GST_START_TEST):
26301           since we don't know when preroll is done, use refcount range
26302           check for the sink
26303         * gst/check/gstcheck.h:
26304           add macro for checking refcount range
26305
26306 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26307
26308         * check/Makefile.am:
26309           clean up environment for when registry gets built versus
26310           when actual tests are run; valgrind seems to not report
26311           leaks if GST_PLUGIN_PATH is set to some specific values
26312         * check/gst/gstbin.c: (GST_START_TEST):
26313           add more refcounting checks; maybe this exposes a
26314           preroll lock bug ?
26315         * common/check.mak:
26316         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26317         * gst/check/gstcheck.h:
26318         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26319         (gst_bin_change_state):
26320         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26321           add/fix debugging/whitespace
26322
26323 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26324
26325         * check/gst/gstevent.c: (event_probe), (test_event),
26326         (GST_START_TEST):
26327          Er, don't call gst_bin_watch_for_state_change you idiot.
26328
26329 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26330
26331         * check/Makefile.am:
26332           Use CHECK_CFLAGS and CHECK_LIBS
26333         * check/gst/gstevent.c: (event_probe), (test_event),
26334         (GST_START_TEST):
26335           Don't leak events.
26336         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26337         (gst_base_src_start), (gst_base_src_stop),
26338         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26339         (gst_base_src_change_state):
26340           Sprinkle gst_base_src_stop liberally around error paths to fix
26341           problems reusing a source after failed state changes.
26342         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26343         (helper_find_suggest), (gst_type_find_helper):
26344           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26345         * gst/gstevent.h:
26346         * docs/gst/tmpl/gstevent.sgml:
26347           Migrate part of the docs from the SGML file. Wait for ensonic to
26348           tell me how I did it wrong ;)
26349         * tools/gst-typefind.c: (main):
26350           Extra robustness to state changes between files.
26351
26352 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26353
26354         * check/Makefile.am:
26355           don't valgrind the controller test - it's leaking - Stefan, HELP
26356         * gst/check/gstcheck.c: (gst_check_message_error),
26357         (gst_check_chain_func), (gst_check_setup_element),
26358         (gst_check_teardown_element), (gst_check_setup_src_pad),
26359         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26360         (gst_check_teardown_sink_pad):
26361         * gst/check/gstcheck.h:
26362           add a bunch of methods to set up elements, and src and sink pads
26363         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26364         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26365         (GST_START_TEST):
26366           use them
26367         * gst/gstmessage.c:
26368         * gst/gsttag.h:
26369           whitespace/doc fixes
26370
26371 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26372
26373         * gst/gstelement.h:
26374           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26375           be handled by the application and not always printed as well
26376
26377 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26378
26379         * check/Makefile.am:
26380           set GST_TOOLS_DIR
26381         * gst/check/gstcheck.c: (gst_check_message_error):
26382         * gst/check/gstcheck.h:
26383           add a fail_unless_equals_int
26384           add fail_unless for error messages
26385
26386 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26387
26388         * check/Makefile.am:
26389         * check/gst.supp:
26390         * common/Makefile.am:
26391         * common/check.mak:
26392         * common/gst.supp:
26393           factor out some of the common stuff so we can use it
26394
26395 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26396
26397         * check/Makefile.am:
26398         * check/gst/gstiterator.c: (GST_START_TEST):
26399         * check/gst/gstsystemclock.c: (GST_START_TEST),
26400         (gst_systemclock_suite):
26401         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26402         * gst/gstclock.c:
26403           valgrind more tests
26404
26405 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26406
26407         * check/elements/.cvsignore:
26408         * check/elements/gstfakesrc.c:
26409           rename to name of element
26410         * check/elements/identity.c: (chain_func), (event_func),
26411         (setup_identity), (cleanup_identity), (GST_START_TEST),
26412         (identity_suite), (main):
26413           add a test for identity
26414         * check/Makefile.am:
26415         * pkgconfig/Makefile.am:
26416         * pkgconfig/gstreamer-check.pc.in:
26417         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26418         * gst/check:
26419         * gst/Makefile.am:
26420         * configure.ac:
26421           move the check stuff to a library that gets installed
26422         * check/gst-libs/controller.c: (GST_START_TEST):
26423         * check/gst-libs/gdp.c:
26424         * check/gst/gst.c: (GST_START_TEST):
26425         * check/gst/gstbin.c:
26426         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26427         * check/gst/gstbus.c:
26428         * check/gst/gstcaps.c: (GST_START_TEST):
26429         * check/gst/gstelement.c:
26430         * check/gst/gstghostpad.c:
26431         * check/gst/gstiterator.c:
26432         * check/gst/gstmessage.c:
26433         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26434         * check/gst/gstobject.c:
26435         * check/gst/gstpad.c: (GST_START_TEST):
26436         * check/gst/gststructure.c: (GST_START_TEST):
26437         * check/gst/gstsystemclock.c: (GST_START_TEST),
26438         (gst_systemclock_suite):
26439         * check/gst/gsttag.c: (gst_tag_suite):
26440         * check/gst/gstvalue.c:
26441         * check/pipelines/cleanup.c:
26442         * check/pipelines/simple_launch_lines.c:
26443         * check/states/sinks.c:
26444           change include statement
26445
26446         * docs/gst/gstreamer-sections.txt:
26447         * docs/gst/tmpl/gstpad.sgml:
26448           document more pad stuff
26449         * gst/gstminiobject.c: (gst_mini_object_ref),
26450         (gst_mini_object_unref):
26451           debug refcounting
26452
26453 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26454
26455         * docs/gst/tmpl/gst.sgml:
26456         * gst/gst.c:
26457           eliminate another tmpl file, fix spelling in the long-description
26458
26459 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26460
26461         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26462         (test_event), (timediff), (gstevents_suite):
26463           Should fix build on 64-bit arch's
26464
26465 2005-08-18  Andy Wingo  <wingo@pobox.com>
26466
26467         Make sure that when a pipeline goes to PLAYING, that data has
26468         actually hit the sink.
26469
26470         * check/states/sinks.c (test_sink): A sink that doesn't get any
26471         data shouldn't return SUCCESS for going to either PLAYING or
26472         PAUSED. Test also the return values on the way back down.
26473
26474         * gst/gstelement.c (gst_element_set_state): When changing the
26475         state of an element currently changing state asynchronously, go to
26476         lost-state after commiting the pending state. Makes future calls
26477         to get_state continue to return ASYNC.
26478
26479         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26480         ASYNC when going to PLAYING if we still don't have preroll, as can
26481         happen with live sources.
26482
26483 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26484
26485         * docs/pwg/advanced-types.xml:
26486           Hack long paragraph into 2 chunks as a workaround for buggy
26487           jadetex version in sid and breezy that loops infinitely and
26488           eats all RAM.
26489
26490 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26491
26492         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26493         (test_event), (timediff), (gstevents_suite):
26494           Provide more error margin in clock measurements to allow for 
26495           g_get_current_time inaccuracies.
26496
26497 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26498
26499         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26500         (test_event), (timediff), (gstevents_suite):
26501            Fix error message output so I might be able to tell why the
26502            test works here but fails on the build farm.
26503
26504 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26505
26506         * check/Makefile.am:
26507         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26508         (test_event), (timediff), (gstevents_suite), (main):
26509           I wrote a test!
26510
26511         * docs/design/part-seeking.txt:
26512           Spelling correction
26513
26514         * docs/gst/tmpl/gstevent.sgml:
26515         * docs/gst/tmpl/gstfakesrc.sgml:
26516           Docs updates.
26517
26518         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26519           Treat a buffer-without-newsegment the same as a receiving 
26520           a newsegment not in time format, and disable syncing to the clock
26521           with a warning.
26522
26523         * gst/gstbus.c: (gst_bus_set_sync_handler):
26524           Assert if anyone tries to replace the existing sync_handler for bus, 
26525           as only the owner should be setting it.
26526
26527         * gst/gstevent.h:
26528           Have a fixed set of custom event enums with events identified by
26529           their structure name (as in 0.8), rather than a free-for-all
26530           allowing collisions between enum values from different plugins.
26531
26532         * gst/gstpad.c: (gst_pad_class_init):
26533           Docs change.
26534           
26535         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26536           Handle out-of-band downstream events from the sending thread.
26537
26538 2005-08-17  Andy Wingo  <wingo@pobox.com>
26539
26540         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26541         play-timeout==0 to mean no timeout at all. In that case, don't
26542         bother with a get_state or a warning, just return directly, even
26543         if it's ASYNC.
26544
26545         * gst/base/gstbasetransform.c: Debug changes.
26546
26547         * gst/gstutils.h:
26548         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26549         ensure bins post state change messages. A bit of a hack but I can't
26550         think of a way to avoid it.
26551
26552         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26553
26554 2005-08-16  Andy Wingo  <wingo@pobox.com>
26555
26556         * gst/base/gstadapter.h:
26557         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26558         peek() but you own the data. Not terribly efficient atm.
26559
26560 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26561
26562         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26563         (gst_element_found_tags):
26564         * gst/gstutils.h:
26565           Add two utility functions for tag handling.
26566
26567 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26568
26569         * docs/manual/advanced-dataaccess.xml:
26570         * docs/manual/basics-helloworld.xml:
26571           Fix docs to use _bin_add() before _link(), which fixes the examples
26572           with recent core versions (reported by Madhan Raj M
26573           <raj_madan@rediffmail.com>, #313199).
26574
26575 2005-08-16  Wim Taymans  <wim@fluendo.com>
26576
26577         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26578         Added subtract checks.
26579
26580         * docs/design/part-events.txt:
26581         Some more docs about newsegment
26582
26583         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26584         Fix FIXME
26585
26586         * gst/gstcaps.c: (gst_caps_to_string):
26587         Add comments, cleanups.
26588         
26589         * gst/gstelement.c: (gst_element_save_thyself):
26590         cleanups
26591         
26592         * gst/gstvalue.c: (gst_value_collect_int_range),
26593         (gst_string_unwrap), (gst_value_union_int_int_range),
26594         (gst_value_union_int_range_int_range),
26595         (gst_value_intersect_int_int_range),
26596         (gst_value_intersect_int_range_int_range),
26597         (gst_value_intersect_double_double_range),
26598         (gst_value_intersect_double_range_double_range),
26599         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26600         (gst_value_subtract_int_range_int),
26601         (gst_value_subtract_double_range_double),
26602         (gst_value_subtract_double_range_double_range),
26603         (gst_value_subtract_from_list), (gst_value_subtract_list),
26604         (gst_value_can_compare), (gst_value_compare_fraction):
26605         Cleanups, add comments, remove unneeded asserts.
26606
26607 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26608
26609         * tools/gst-launch.c: (event_loop):
26610           don't convert NULL structures to strings
26611
26612 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26613
26614         * docs/gst/gstreamer-sections.txt:
26615           made some defines private
26616         * docs/gst/tmpl/gstconfig.sgml:
26617         * docs/gst/tmpl/gstqueue.sgml:
26618         * docs/gst/tmpl/gsttaglist.sgml:
26619         * docs/gst/tmpl/gsttypes.sgml:
26620         * docs/gst/tmpl/gstutils.sgml:
26621         * docs/pwg/appendix-porting.xml:
26622         * gst/base/gstbasesink.h:
26623         * gst/base/gstbasesrc.c:
26624         * gst/base/gstbasesrc.h:
26625         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26626         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26627         * gst/gstelement.c: (gst_element_class_init):
26628         * gst/gstpad.c: (gst_pad_class_init):
26629         * gst/gstqueue.c: (gst_queue_class_init):
26630         * gst/gstxml.c: (gst_xml_class_init):
26631           documented all undocumented signal inline
26632         * libs/gst/controller/gst-controller.h:
26633           added padding
26634
26635 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26636
26637         * docs/pwg/appendix-porting.xml:
26638           Document _set_link_function -> _set_setcaps_function.
26639
26640 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26641
26642         * check/Makefile.am:
26643           add a .check target for running the check
26644         * check/gst-libs/controller.c: (GST_START_TEST):
26645           cosmetic fixups
26646         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26647           complete checks for gstbuffer; would be nice if I could get the
26648           gcov stuff to work so I can see if I actually completed gstbuffer.c
26649         * check/gstcheck.h:
26650           add ASSERT_BUFFER_REFCOUNT
26651
26652 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26653
26654         * docs/gst/gstreamer-sections.txt:
26655         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26656         * gst/gsttag.h:
26657           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26658           spew out a warning if a tag that is already registered
26659           is re-registered, unless it is re-registered with a 
26660           different type (#308438).
26661
26662 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26663
26664         * docs/pwg/appendix-porting.xml:
26665         * docs/pwg/building-state.xml:
26666           Add some paragraphs about state changes in 0.9 to the PWG
26667           and the porting guide, in particular about the new meaning
26668           of GST_STATE_PAUSED and how to write state change functions
26669           with concurrent access by multiple threads in mind.
26670
26671 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26672
26673         * docs/gst/gstreamer-docs.sgml:
26674         * docs/libs/gstreamer-libs-docs.sgml:
26675           added deprecation and since indexes
26676         * libs/gst/controller/gst-controller.c:
26677         * libs/gst/controller/gst-helper.c:
26678           added since tags
26679
26680
26681 2005-08-11  Wim Taymans  <wim@fluendo.com>
26682
26683         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26684         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26685         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26686         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26687         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26688         (gst_ghost_pad_set_target):
26689         Actually implement (re)setting the target on a ghostpad
26690         as described in the docs.
26691
26692 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26693
26694         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26695           Check whether GST_DEBUG_NO_COLOR environment variable is
26696           set and disable coloured debug output if that is the case.
26697
26698 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26699
26700         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26701         (gst_type_find_helper):
26702           The memory returned by gst_type_find_peek() needs to
26703           stay valid until the end of a typefind function, and
26704           typefind functions may keep results from different 
26705           offsets around, so we can't just unref the buffer from
26706           the previous _peek(), but have to save all buffers 
26707           returned by _peek() until typefinding is done and only
26708           free them then.
26709
26710 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26711
26712         * docs/gst/gstreamer-sections.txt:
26713         * gst/gstutils.h:
26714           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26715
26716 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26717
26718         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26719           Fix a pretty good memleak.
26720
26721 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26722
26723         * gst/gstiterator.h:
26724           Fix wrong include and 'make distcheck'.
26725
26726 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26727
26728         * gst/gstbin.c: (bin_bus_handler):
26729           Use gst_element_post_message() instead.
26730
26731 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26732
26733         * gst/base/gstadapter.h:
26734         * gst/base/gstbasesink.h:
26735         * gst/base/gstbasesrc.h:
26736         * gst/base/gstbasetransform.h:
26737         * gst/base/gstcollectpads.h:
26738         * gst/base/gstpushsrc.h:
26739         * gst/gstiterator.h:
26740           Add padding to our base elements' class and instance structs and
26741           to GstIterator (you will need to rebuild all plugins and apps!)
26742
26743 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26744
26745         * gst/gstbin.c: (bin_bus_handler):
26746           Make default message forwarding from child->bus to bin->bus
26747           threadsafe and make it not emit warnings if the parent has no bus.
26748
26749 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26750
26751         * gst/gstelement.c: (activate_pads):
26752           On paused->ready, set pad->caps to NULL, as is the documented
26753           behaviour in this state change. Fixes playback of series of
26754           media files when visualization is enabled in Totem.
26755
26756 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26757
26758         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26759           Allow NULL as filter-caps (which means "any").
26760
26761 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26762
26763         * docs/libs/gstreamer-libs-sections.txt:
26764         * libs/gst/controller/gst-controller.c:
26765         * libs/gst/controller/gst-controller.h:
26766         * libs/gst/controller/gst-helper.c:
26767           adding more entries to the docs and fix small doc-bugs
26768
26769 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26770
26771         * docs/gst/gstreamer-docs.sgml:
26772         * docs/gst/gstreamer-sections.txt:
26773         * docs/gst/gstreamer.types:
26774         * docs/gst/tmpl/gstbasesink.sgml:
26775         * docs/gst/tmpl/gstbasesrc.sgml:
26776         * docs/gst/tmpl/gstbasetransform.sgml:
26777         * docs/gst/tmpl/gstfakesrc.sgml:
26778         * gst/base/gstcollectpads.c:
26779         * gst/base/gstcollectpads.h:
26780         * libs/gst/controller/gst-controller.c:
26781         * libs/gst/controller/gst-controller.h:
26782         * libs/gst/controller/gst-helper.c:
26783         * libs/gst/controller/gst-interpolation.c:
26784         * libs/gst/controller/lib.c:
26785           added long/short desc for controller docs
26786           added collectpads base class docs
26787           added correct includes to base-class docs
26788
26789 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26790
26791         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26792         (gst_test_mono_source_set_property),
26793         (gst_test_mono_source_class_init), (GST_START_TEST),
26794         (gst_controller_suite):
26795         * docs/gst/gstreamer-docs.sgml:
26796         * docs/gst/gstreamer-sections.txt:
26797         * docs/gst/gstreamer.types:
26798         * docs/libs/gstreamer-libs-docs.sgml:
26799         * docs/libs/gstreamer-libs-sections.txt:
26800         * gst/base/gstadapter.c:
26801         * libs/gst/controller/gst-controller.c:
26802         (gst_controlled_property_new), (gst_controlled_property_free),
26803         (gst_controller_new_valist),
26804         (gst_controller_remove_properties_valist),
26805         (gst_controller_sink_values), (_gst_controller_finalize):
26806         * libs/gst/controller/gst-controller.h:
26807         * libs/gst/controller/gst-helper.c:
26808         (gst_object_control_properties), (gst_object_uncontrol_properties),
26809         (gst_object_get_controller), (gst_object_set_controller),
26810         (gst_object_sink_values), (gst_object_get_value_arrays),
26811         (gst_object_get_value_array):
26812           more tests (and fixes) for the controller
26813           more docs for the controller
26814           integrated companies docs for the adapter 
26815
26816 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
26817
26818         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26819         (GST_START_TEST), (fakesrc_suite):
26820           add tests for sizetype
26821
26822 2005-08-04  Andy Wingo  <wingo@pobox.com>
26823
26824         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26825         fixes buffer_alloc proxying among other things.
26826
26827         * gst/base/gstbasetransform.c:
26828         * gst/base/gstbasetransform.h:
26829         Revert patch to gstbasetransform from 7-28 removing
26830         delay_configure.
26831
26832         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26833         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26834         Semantics changed, should return not the size of the output buffer
26835         but the byte size of a buffer with a given caps.
26836
26837         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26838         debug object.
26839         (gst_base_transform_configure_caps): Don't set out_size here: (in,
26840         out) are not the pad caps until setcaps finishes.
26841         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26842         not-in-place case as well. Deal with changing from in-place to
26843         not-in-place within calling pad_alloc_buffer. Still a bit
26844         concerned about the overhead here...
26845
26846 2005-08-03  Andy Wingo  <wingo@pobox.com>
26847
26848         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26849         fixating is an error.
26850
26851 2005-08-04  Edward Hervey  <edward@fluendo.com>
26852
26853         * gst/base/gstadapter.h: 
26854         Added gst_adapter_get_type() to the header
26855
26856 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26857
26858         * check/Makefile.am:
26859         * check/gst-libs/controller.c:
26860         * libs/gst/controller/gst-controller.c:
26861         (gst_controller_new_valist):
26862           added check test suite for the controller
26863         * gst/base/gstpushsrc.c:
26864           fixed a doc typo
26865
26866 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26867
26868         * docs/gst/Makefile.am:
26869         * docs/gst/gstreamer-docs.sgml:
26870         * docs/gst/gstreamer-sections.txt:
26871         * docs/gst/gstreamer.types:
26872         * docs/gst/tmpl/gstfakesrc.sgml:
26873         * gst/base/README:
26874         * gst/base/gstbasesink.c:
26875         * gst/base/gstbasesink.h:
26876         * gst/base/gstbasesrc.c:
26877         * gst/base/gstbasesrc.h:
26878         * gst/base/gstbasetransform.c:
26879         * gst/base/gstpushsrc.c:
26880         * gst/base/gstpushsrc.h:
26881           add short/long description docs to base classes
26882           add pushsrc to the docs
26883           remove consolidated doc fragments
26884
26885 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26886
26887         * configure.ac:
26888         * docs/libs/Makefile.am:
26889         * docs/libs/gstreamer-libs-docs.sgml:
26890         * docs/libs/gstreamer-libs-sections.txt:
26891         * docs/libs/gstreamer-libs.types:
26892         * examples/Makefile.am:
26893         * examples/controller/.cvsignore:
26894         * examples/controller/Makefile.am:
26895         * examples/controller/audio-example.c: (main):
26896         * libs/gst/Makefile.am:
26897         * libs/gst/controller/.cvsignore:
26898         * libs/gst/controller/Makefile.am:
26899         * libs/gst/controller/gst-controller.c:
26900         (on_object_controlled_property_changed), (gst_timed_value_compare),
26901         (gst_timed_value_find),
26902         (gst_controlled_property_set_interpolation_mode),
26903         (gst_controlled_property_new), (gst_controlled_property_free),
26904         (gst_controller_find_controlled_property),
26905         (gst_controller_new_valist), (gst_controller_new),
26906         (gst_controller_remove_properties_valist),
26907         (gst_controller_remove_properties), (gst_controller_set),
26908         (gst_controller_set_from_list), (gst_controller_unset),
26909         (gst_controller_get), (gst_controller_get_all),
26910         (gst_controller_sink_values), (gst_controller_get_value_arrays),
26911         (gst_controller_get_value_array),
26912         (gst_controller_set_interpolation_mode),
26913         (_gst_controller_finalize), (_gst_controller_init),
26914         (_gst_controller_class_init), (gst_controller_get_type):
26915         * libs/gst/controller/gst-controller.h:
26916         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26917         (g_object_uncontrol_properties), (g_object_get_controller),
26918         (g_object_set_controller), (g_object_sink_values),
26919         (g_object_get_value_arrays), (g_object_get_value_array):
26920         * libs/gst/controller/gst-interpolation.c:
26921         (gst_controlled_property_find_timed_value_node),
26922         (interpolate_none_get), (interpolate_trigger_get),
26923         (interpolate_trigger_get_value_array):
26924         * libs/gst/controller/lib.c: (gst_controller_init):
26925         * pkgconfig/Makefile.am:
26926         * pkgconfig/gstreamer-control-uninstalled.pc.in:
26927         * pkgconfig/gstreamer-control.pc.in:
26928         * testsuite/Makefile.am:
26929         * testsuite/controller/.cvsignore:
26930         * testsuite/controller/Makefile.am:
26931         * testsuite/controller/interpolator.c: (main):
26932           added controller code
26933           removed dparam pc files
26934
26935 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
26936         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26937         (gst_collectpads_stop):
26938           Broadcast the condition when shutting down, to make sure we wake all
26939           threads up. Shut down pads on finalize, for safety.
26940
26941 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
26942         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26943         (gst_base_transform_handle_buffer),
26944         (gst_base_transform_change_state):
26945           Handle PAUSED->READY->PAUSED transition after negotiation
26946           occurred already.
26947         * gst/gstmessage.c: (gst_message_init):
26948           Extra piece of debug for new messages.
26949
26950 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
26951
26952         * configure.ac:
26953         * docs/gst/tmpl/gstbasesrc.sgml:
26954         * docs/gst/tmpl/gstelement.sgml:
26955         * docs/gst/tmpl/gstevent.sgml:
26956         * docs/gst/tmpl/gstfakesrc.sgml:
26957         * docs/gst/tmpl/gstformat.sgml:
26958         * docs/gst/tmpl/gstghostpad.sgml:
26959         * docs/gst/tmpl/gstpad.sgml:
26960         * docs/gst/tmpl/gstquery.sgml:
26961         * docs/gst/tmpl/gststructure.sgml:
26962         * docs/gst/tmpl/gsttaglist.sgml:
26963         * docs/gst/tmpl/gstvalue.sgml:
26964         * docs/libs/gstreamer-libs-docs.sgml:
26965         * docs/libs/gstreamer-libs-sections.txt:
26966         * docs/libs/gstreamer-libs.types:
26967         * libs/gst/Makefile.am:
26968         * libs/gst/control/.cvsignore:
26969         * libs/gst/control/Makefile.am:
26970         * libs/gst/control/control.c:
26971         * libs/gst/control/control.h:
26972         * libs/gst/control/dparam.c:
26973         * libs/gst/control/dparam.h:
26974         * libs/gst/control/dparam_smooth.c:
26975         * libs/gst/control/dparam_smooth.h:
26976         * libs/gst/control/dparamcommon.h:
26977         * libs/gst/control/dparammanager.c:
26978         * libs/gst/control/dparammanager.h:
26979         * libs/gst/control/dplinearinterp.c:
26980         * libs/gst/control/dplinearinterp.h:
26981         * libs/gst/control/unitconvert.c:
26982         * libs/gst/control/unitconvert.h:
26983         * testsuite/Makefile.am:
26984         * testsuite/dynparams/.cvsignore:
26985         * testsuite/dynparams/Makefile.am:
26986         * testsuite/dynparams/dparamstest.c:
26987         * tools/Makefile.am:
26988         * tools/gst-inspect.c: (print_element_info), (main):
26989         * tools/gst-xmlinspect.c: (print_element_info), (main):
26990           deactivate and remove dparams (libgstcontrol)
26991
26992 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
26993
26994         * gst/elements/gsttypefindelement.c:
26995         (gst_type_find_element_have_type), (gst_type_find_element_init),
26996         (stop_typefinding), (gst_type_find_element_handle_event),
26997         (gst_type_find_element_chain), (gst_type_find_element_getrange):
26998         * gst/elements/gsttypefindelement.h:
26999           Set caps on all outgoing buffers, not just the first one.
27000
27001 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27002
27003         * gst/elements/gsttypefindelement.c:
27004         (gst_type_find_element_have_type),
27005         (gst_type_find_element_check_set_buffer_caps),
27006         (gst_type_find_element_init), (stop_typefinding),
27007         (gst_type_find_element_handle_event),
27008         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27009         * gst/elements/gsttypefindelement.h:
27010           Set caps on first outgoing buffer when we've found the type.
27011
27012 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27013
27014         * docs/gst/gstreamer-docs.sgml:
27015         * docs/gst/gstreamer-sections.txt:
27016         * docs/gst/tmpl/gstscheduler.sgml:
27017         * docs/gst/tmpl/gstschedulerfactory.sgml:
27018           Remove some old cruft from docs.
27019
27020 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27021
27022         * gst/gstpad.h:
27023           Fix inline docs for GstPadLinkReturn.
27024           
27025         * gst/gststructure.c: (gst_structure_has_name):
27026         * gst/gststructure.h:
27027         * docs/gst/gstreamer-sections.txt:
27028           New API: gst_structure_has_name().
27029
27030 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27031
27032         * configure.ac:
27033           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27034           and _LARGEFILE_SOURCE in config.h as required. Do not 
27035           export those flags in our .pc files any longer (#142209).
27036
27037           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27038
27039         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27040         (gst_file_sink_do_seek), (gst_file_sink_event),
27041         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27042           Redo seek/tell calls with large file support in mind; add some
27043           debugging messages; add log message that tells us when large
27044           file support is unavailable or not enabled for some reason.
27045
27046         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27047           Add log message that tells us when large file support 
27048           is unavailable or not enabled for some reason.
27049
27050 2005-07-29  Wim Taymans  <wim@fluendo.com>
27051
27052         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27053         Added test for removing an element with ghostpad from a bin.
27054         Fixed test as current implementation does the right thing.
27055
27056         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27057         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27058         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27059         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27060         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27061         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27062         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27063         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27064         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27065         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27066         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27067         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27068         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27069         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27070         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27071         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27072         * gst/gstghostpad.h:
27073         Clean up ghostpads, remove properties for internal stuff.
27074         Make threadsafe.
27075         Fix refcounting.
27076         Prepare for switching targets, not all use cases work yet.
27077
27078 2005-07-29  Wim Taymans  <wim@fluendo.com>
27079
27080         * docs/design/part-gstghostpad.txt:
27081         Small update.
27082
27083         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27084         (gst_bin_remove_func):
27085         Unlinking pads while holding the bin LOCK is not a good
27086         idea.
27087
27088         * gst/gstpad.c: (gst_pad_class_init),
27089         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27090         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27091         No prob setting template after creating the pad.
27092
27093 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27094
27095         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27096         (gst_bus_peek), (gst_bus_source_dispatch),
27097         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27098         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27099           gst_bus_poll may be called from other threads. Handle
27100           this nicely by not making poll_data disappear off the
27101           stack once gst_bus_poll returns.
27102           gst_bus_peek now increments the refcount on the returned
27103           message.
27104
27105 2005-07-29  Wim Taymans  <wim@fluendo.com>
27106
27107         * docs/design/part-gstghostpad.txt:
27108         Overview of current GhostPad datastructures and use
27109         cases for changing the target.
27110
27111 2005-07-28  Wim Taymans  <wim@fluendo.com>
27112
27113         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27114         Added checks for hierarchy consistency whan adding linked
27115         elements to bins.
27116
27117         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27118         Added check to test element scheduling without bin/pipeline.
27119
27120         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27121         First add elements to bin, then link.
27122         
27123         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27124         (gst_bin_remove_func):
27125         Unlink pads from elements added/removed from bin to maintain
27126         hierarchy consistency.
27127
27128 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27129
27130         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27131         (gst_base_transform_handle_buffer):
27132         * gst/base/gstbasetransform.h:
27133           Remove broken delay_configure (fixes renegotiation of software
27134           scaling pipelines); remove some leftover printf()s.
27135
27136 2005-07-28  Wim Taymans  <wim@fluendo.com>
27137
27138         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27139         Added some more tests for wrong hierarchy
27140
27141         * docs/design/part-overview.txt:
27142         Some updates.
27143
27144         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27145         Cleanups.
27146
27147         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27148         (gst_element_dispose):
27149         Some more cleanups.
27150
27151         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27152         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27153         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27154         (gst_pad_set_caps), (gst_pad_send_event):
27155         Check for correct hierarchy when linking pads. Moving to
27156         strict requirement for ghostpads when linking elements in
27157         different bins.
27158
27159         * gst/gstpad.h:
27160         Clean ups. Added WRONG_HIERARCHY return value.
27161
27162 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27163
27164         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27165           Better debug if no transform is possible.
27166
27167 2005-07-27  Wim Taymans  <wim@fluendo.com>
27168
27169         * docs/random/wtay/network-transp:
27170         Some old doc I had.
27171
27172 2005-07-27  Wim Taymans  <wim@fluendo.com>
27173
27174         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27175         (gst_dp_event_from_packet):
27176         Fix serialization of seek events.
27177
27178 2005-07-27  Wim Taymans  <wim@fluendo.com>
27179
27180         * check/gst-libs/gdp.c: (GST_START_TEST):
27181         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27182         Fix compilation and fix event serialization.
27183
27184 2005-07-27  Wim Taymans  <wim@fluendo.com>
27185
27186         * CHANGES-0.9:
27187         * docs/design/part-TODO.txt:
27188         * docs/design/part-events.txt:
27189         Some docs updates
27190
27191         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27192         (gst_base_sink_event), (gst_base_sink_do_sync),
27193         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27194         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27195         (gst_base_src_do_seek), (gst_base_src_event_handler),
27196         (gst_base_src_loop):
27197         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27198         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27199         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27200         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27201         (gst_base_transform_set_passthrough),
27202         (gst_base_transform_is_passthrough):
27203         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27204         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27205         Event updates.
27206
27207         * gst/gstbuffer.h:
27208         Use faster casts.
27209
27210         * gst/gstelement.c: (gst_element_seek):
27211         * gst/gstelement.h:
27212         Update gst_element_seek.
27213
27214         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27215         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27216         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27217         (gst_event_new_eos), (gst_event_new_newsegment),
27218         (gst_event_parse_newsegment), (gst_event_new_tag),
27219         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27220         (gst_event_parse_qos), (gst_event_new_seek),
27221         (gst_event_parse_seek), (gst_event_new_navigation):
27222         * gst/gstevent.h:
27223         Make GstEvent use GstStructure. Add parsing code, make sure the
27224         API is sufficiently generic.
27225         Mark possible directions of events and serialization.
27226
27227         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27228         (_gst_message_copy), (gst_message_new_segment_start),
27229         (gst_message_new_segment_done), (gst_message_new_custom),
27230         (gst_message_parse_segment_start),
27231         (gst_message_parse_segment_done):
27232         Small cleanups.
27233
27234         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27235         (gst_pad_set_caps), (gst_pad_send_event):
27236         Update for new events. 
27237         Catch events sent in wrong directions.
27238
27239         * gst/gstqueue.c: (gst_queue_link_src),
27240         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27241         (gst_queue_handle_src_query):
27242         Event updates.
27243
27244         * gst/gsttag.c:
27245         * gst/gsttag.h:
27246         Remove event code from this file.
27247
27248         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27249         (gst_dp_event_from_packet):
27250         Event updates.
27251
27252 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27253
27254         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27255         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27256         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27257           Make debugging actually useful.
27258
27259 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27260
27261         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27262         (gst_pad_fixate_caps):
27263           Implement default fixation once again, so that gst_pad_fixate()
27264           actually does anything at all. This probably needs to be some
27265           sort of a last resort, and use profile-based fixation first, but
27266           since that doesn't exist yet, this is the best we have. Fixes
27267           visualization in Totem.
27268
27269 2005-07-22  Wim Taymans  <wim@fluendo.com>
27270
27271         * docs/design/part-events.txt:
27272         Small update.
27273
27274         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27275         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27276         (gst_base_sink_activate_pull):
27277         Some more comments.
27278
27279         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27280         (gst_fake_src_create):
27281         Fix handoff marshall.
27282
27283         * gst/elements/gstidentity.c: (gst_identity_class_init),
27284         (gst_identity_transform_ip):
27285         We're a real inplace element.
27286
27287         * gst/gstbus.c: (gst_bus_post):
27288         Added some comments.
27289
27290         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27291         * tests/muxing/case1.c: (main):
27292         * tests/sched/dynamic-pipeline.c: (main):
27293         * tests/sched/interrupt1.c: (main):
27294         * tests/sched/interrupt2.c: (main):
27295         * tests/sched/interrupt3.c: (main):
27296         * tests/sched/runxml.c: (main):
27297         * tests/sched/sched-stress.c: (main):
27298         * tests/seeking/seeking1.c: (event_received), (main):
27299         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27300         (main):
27301         * tests/threadstate/threadstate3.c: (main):
27302         * tests/threadstate/threadstate4.c: (main):
27303         * tests/threadstate/threadstate5.c: (main):
27304         Fix the tests.
27305
27306 2005-07-21  Wim Taymans  <wim@fluendo.com>
27307
27308         * docs/design/part-seeking.txt:
27309         Some small additions.
27310
27311         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27312         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27313         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27314         * gst/base/gstbasesink.h:
27315         discont values are gint64, handle the math correctly.
27316
27317         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27318         Make the basesrc report error if the source pad is not linked.
27319
27320         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27321         (gst_queue_loop), (gst_queue_handle_src_query),
27322         (gst_queue_src_activate_push):
27323         Make queue collect data even if the srcpad is not linked.
27324         Start pushing out data as soon as it is linked.
27325
27326         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27327         * gst/gstutils.h:
27328         Added gst_flow_get_name() to ease error reporting.
27329
27330 2005-07-20  Wim Taymans  <wim@fluendo.com>
27331
27332         * gst/gstmessage.c: (gst_message_new_segment_start),
27333         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27334         (gst_message_parse_segment_done):
27335         * gst/gstmessage.h:
27336         Added a bunch of messages for advanced seeking.
27337
27338         * gst/parse/grammar.y:
27339         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27340         (gst_dpman_state_changed):
27341         Fix some new-pad -> pad-added signals
27342
27343 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27344
27345         * docs/manual/appendix-porting.xml:
27346         * docs/pwg/appendix-porting.xml:
27347           Document new-pad/state-change signal renames and the FixedList
27348           type rename.
27349
27350 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27351
27352         * docs/manual/advanced-autoplugging.xml:
27353         * docs/manual/basics-helloworld.xml:
27354         * docs/manual/basics-pads.xml:
27355         * docs/random/ds/0.9-suggested-changes:
27356         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27357         * gst/gstelement.h:
27358         * gst/gstevent.h:
27359         * gst/gstformat.h:
27360         * gst/gstquery.h:
27361         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27362         (gst_structure_parse_array), (gst_structure_parse_value):
27363         * gst/gstvalue.c: (gst_type_is_fixed),
27364         (gst_value_list_prepend_value), (gst_value_list_append_value),
27365         (gst_value_list_get_size), (gst_value_list_get_value),
27366         (gst_value_transform_array_string), (gst_value_serialize_array),
27367         (gst_value_deserialize_array), (gst_value_intersect_array),
27368         (gst_value_is_fixed), (_gst_value_initialize):
27369         * gst/gstvalue.h:
27370           GstElement::new-pad -> pad-added, GstElement::state-change ->
27371           state-changed, GstValueFixedList -> GstValueArray, add format and
27372           flags as their own arguments in gst_element_seek() (should improve
27373           "bindeability"), remove function generators since they don't work
27374           under a whole bunch of compilers (they were deprecated already
27375           anyway).
27376
27377 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27378
27379         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27380         (_gst_debug_register_funcptr):
27381         * gst/gstinfo.h:
27382           Fix illegal cast on some platforms (#309253).
27383
27384 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27385
27386         * gst/gstmessage.c: (gst_message_new_custom):
27387         * gst/gstmessage.h:
27388           Add _new_custom, make _new_application a macro to _new_custom.
27389
27390 2005-07-20  Wim Taymans  <wim@fluendo.com>
27391
27392         * gst/base/gstbasesrc.c: (gst_base_src_init),
27393         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27394         * gst/base/gstbasesrc.h:
27395         Add a gboolean to decide when to push out a discont.
27396
27397         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27398         (gst_queue_loop), (gst_queue_handle_src_query),
27399         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27400         (gst_queue_set_property), (gst_queue_get_property):
27401         Some cleanups.
27402
27403         * tests/threadstate/threadstate1.c: (main):
27404         Make a thread test compile and run... very silly..
27405
27406
27407 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27408
27409         * docs/manual/appendix-porting.xml:
27410           Mention removal of libgstgconf-0.9.la and existence of gconf
27411           elements.
27412
27413 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27414
27415         * docs/pwg/advanced-clock.xml:
27416         * docs/pwg/appendix-porting.xml:
27417         * docs/pwg/intro-preface.xml:
27418         * docs/pwg/other-base.xml:
27419         * docs/pwg/other-manager.xml:
27420         * docs/pwg/other-nton.xml:
27421         * docs/pwg/other-ntoone.xml:
27422         * docs/pwg/other-oneton.xml:
27423         * docs/pwg/pwg.xml:
27424           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27425           demuxer), remove n-to-n (was never written), fix some code examples
27426           and links and update the porting section to include all this.
27427
27428 2005-07-19  Wim Taymans  <wim@fluendo.com>
27429
27430         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27431         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27432         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27433         (gst_queue_src_activate_push), (gst_queue_change_state),
27434         (gst_queue_get_property):
27435         * gst/gstqueue.h:
27436         Propagate GstFlowReturn more intelligently upstream and output
27437         an ERROR/EOS when streaming stopped due to fatal error.
27438
27439 2005-07-19  Wim Taymans  <wim@fluendo.com>
27440
27441         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27442         Don't block forever for the state change to complete, the
27443         pipeline already did with a sensible timeout.
27444
27445 2005-07-19  Wim Taymans  <wim@fluendo.com>
27446
27447         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27448         Make sure we never call the create function is we
27449         got deactivated.
27450
27451 2005-07-19  Andy Wingo  <wingo@pobox.com>
27452
27453         * gst/parse/parse.l: Attempt to solve bug #172815.
27454
27455 2005-07-19  Wim Taymans  <wim@fluendo.com>
27456
27457         * docs/design/part-clocks.txt:
27458         * docs/design/part-events.txt:
27459         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27460         Small docs updates.
27461         Only update the seeking values when we are not
27462         busy streaming.
27463
27464 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27465
27466         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27467           Oops, ignore the result of gst_pad_push_event here.
27468
27469 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27470
27471         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27472         (gst_base_src_activate_push):
27473           Send discont event from the loop function, as pads
27474           aren't activated yet in the activate_push handler.
27475
27476         * gst/gstbin.c: (bin_bus_handler):
27477           Don't leak element name.
27478
27479 2005-07-18  Andy Wingo  <wingo@pobox.com>
27480
27481         * configure.ac: Use AS_LIBTOOL_TAGS.
27482
27483 2005-07-18  Wim Taymans  <wim@fluendo.com>
27484
27485         * docs/gst/gstreamer.types:
27486         Remove deleted types.
27487
27488 2005-07-18  Wim Taymans  <wim@fluendo.com>
27489
27490         * check/elements/gstfakesrc.c: (GST_START_TEST):
27491         * configure.ac:
27492         * gst/Makefile.am:
27493         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27494         (init_popt_callback):
27495         * gst/gst.h:
27496         * gst/gst_private.h:
27497         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27498         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27499         * gst/gstbin.h:
27500         * gst/gstbus.h:
27501         * gst/gstconfig.h.in:
27502         * gst/gstelement.c: (gst_element_class_init),
27503         (gst_element_set_base_time), (gst_element_get_base_time),
27504         (iterator_fold_with_resync), (gst_element_change_state),
27505         (gst_element_dispose), (gst_element_get_bus):
27506         * gst/gstelement.h:
27507         * gst/gstelementfactory.h:
27508         * gst/gsterror.c: (_gst_core_errors_init):
27509         * gst/gsterror.h:
27510         * gst/gstevent.h:
27511         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27512         * gst/gstindex.c:
27513         * gst/gstinfo.c: (_gst_debug_init):
27514         * gst/gstmessage.c: (_gst_message_copy):
27515         * gst/gstmessage.h:
27516         * gst/gstminiobject.h:
27517         * gst/gstobject.c:
27518         * gst/gstobject.h:
27519         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27520         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27521         * gst/gstpad.h:
27522         * gst/gstparse.h:
27523         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27524         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27525         (gst_pipeline_get_last_stream_time):
27526         * gst/gstpipeline.h:
27527         * gst/gstpluginfeature.h:
27528         * gst/gstquery.h:
27529         * gst/gstscheduler.c:
27530         * gst/gstscheduler.h:
27531         * gst/gststructure.h:
27532         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27533         (gst_task_finalize), (gst_task_func), (gst_task_create),
27534         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27535         (gst_task_stop), (gst_task_pause):
27536         * gst/gsttask.h:
27537         * gst/gsttypefind.h:
27538         * gst/gsttypes.h:
27539         * gst/registries/gstlibxmlregistry.c: (load_feature),
27540         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27541         * gst/registries/gstxmlregistry.c:
27542         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27543         * gst/schedulers/threadscheduler.c:
27544         * libs/gst/control/dparammanager.h:
27545         * tools/gst-inspect.c: (print_element_list),
27546         (print_plugin_features), (print_element_features):
27547         * tools/gst-xmlinspect.c: (print_element_list),
27548         (print_plugin_info), (main):
27549         Removed plugable schedulers.
27550         Removed Scheduler/Manager from elements.
27551         Removed gsttypes.h, rearranged includes.
27552         Removed dependency pad<->element, element<>pipeline, and
27553         various others,  fix includes.
27554         implement gst_pad_get_parent() with gst_object_get_parent()
27555         Make GstTask sefcontained.
27556         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27557         timeout.
27558         Fix endless loop in iterator_fold_with_resync.
27559
27560
27561 2005-07-18  Wim Taymans  <wim@fluendo.com>
27562
27563         * gst/Makefile.am:
27564         * gst/gstarch.h:
27565         Remove old file.
27566
27567 2005-07-18  Wim Taymans  <wim@fluendo.com>
27568
27569         * gst/Makefile.am:
27570         No more cothreads.h
27571
27572 2005-07-18  Wim Taymans  <wim@fluendo.com>
27573
27574         * gst/cothreads.c:
27575         * gst/cothreads.h:
27576         Let's remove these.
27577
27578 2005-07-18  Wim Taymans  <wim@fluendo.com>
27579
27580         * docs/design/part-dynamic.txt:
27581         * docs/design/part-events.txt:
27582         * docs/design/part-seeking.txt:
27583         Some more docs in the works.
27584
27585         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27586         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27587         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27588         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27589         (gst_base_transform_handle_buffer),
27590         (gst_base_transform_sink_activate_push),
27591         (gst_base_transform_src_activate_pull),
27592         (gst_base_transform_set_passthrough),
27593         (gst_base_transform_is_passthrough):
27594         Refcounting fixes.
27595
27596         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27597         Cleanups.
27598
27599         * gst/gstevent.c: (gst_event_finalize):
27600         Set SRC to NULL.
27601
27602         * gst/gstutils.c: (gst_element_unlink),
27603         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27604         (gst_pad_proxy_setcaps):
27605         * gst/gstutils.h:
27606         Add _get_parent_element() to get a pads parent as an element.
27607
27608 2005-07-18  Wim Taymans  <wim@fluendo.com>
27609
27610         * check/gst/gstbin.c: (GST_START_TEST):
27611         Remove bogus test.
27612
27613 2005-07-18  Wim Taymans  <wim@fluendo.com>
27614
27615         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27616         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27617         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27618         (gst_base_sink_event), (gst_base_sink_do_sync),
27619         (gst_base_sink_chain), (gst_base_sink_loop),
27620         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27621         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27622         Refcounting fixes.
27623         Fix logic for returning ASYNC when not prerolled.
27624
27625 2005-07-18  Wim Taymans  <wim@fluendo.com>
27626
27627         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27628         Fix nasty refcount bug.
27629
27630 2005-07-16 Philippe Khalaf <burger@speedy.org>
27631
27632         * gst/elements/gstfdsrc.c:
27633         * gst/elements/gstfdsrc.h:
27634         * gst/elements/gstelements.c:
27635         * gst/elements/Makefile.am:
27636         Ported fdsrc to 0.9.
27637
27638 2005-07-16  Wim Taymans  <wim@fluendo.com>
27639
27640         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27641         (gst_base_sink_do_sync):
27642         Fix compile error.
27643
27644 2005-07-16  Wim Taymans  <wim@fluendo.com>
27645
27646         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27647         (gst_base_sink_event), (gst_base_sink_get_times),
27648         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27649         * gst/base/gstbasesink.h:
27650         Store and use discont values when syncing buffers as described
27651         in design docs.
27652         
27653         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27654         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27655         (gst_base_src_activate_push):
27656         Push discont event when starting.
27657
27658         * gst/elements/gstidentity.c: (gst_identity_transform):
27659         Small cleanups.
27660
27661         * gst/gstbin.c: (gst_bin_change_state):
27662         Small cleanups in base_time  distribution.
27663
27664         * gst/gstelement.c: (gst_element_set_base_time),
27665         (gst_element_get_base_time), (gst_element_change_state):
27666         * gst/gstelement.h:
27667         Added methods for the base_time of the element.
27668         Some MT fixes.
27669
27670         * gst/gstpipeline.c: (gst_pipeline_send_event),
27671         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27672         (gst_pipeline_get_last_stream_time):
27673         * gst/gstpipeline.h:
27674         MT fixes.
27675         Handle seeking as described in design doc, remove stream_time
27676         hack.
27677         Cleanups clock and stream_time selection code. Added accessors
27678         for the stream_time.
27679         
27680
27681 2005-07-16  Andy Wingo  <wingo@pobox.com>
27682
27683         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27684         (#305291).
27685
27686 2005-07-16  Wim Taymans  <wim@fluendo.com>
27687
27688         * check/gst/gstbin.c: (GST_START_TEST):
27689         Make elements silent as the deep_notify refs the
27690         parent, which might make the test fail.
27691
27692         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27693         Don't hold the lock for too long.
27694
27695 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27696
27697         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27698           Don't unref the caps we passed to gst_caps_make_writable() after
27699           passing them. gst_caps_make_writable() will do that for us.
27700
27701 2005-07-15  Andy Wingo  <wingo@pobox.com>
27702
27703         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27704         (#157311).
27705
27706         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27707         own marshalling function for the handoff signal. Properly type the
27708         buffer as a buffer. Fixes some warnings. Should do a more general
27709         solution.
27710         (gst_identity_class_init): Plug into the right marshaller.
27711
27712 2005-07-15  Wim Taymans  <wim@fluendo.com>
27713
27714         * docs/design/part-TODO.txt:
27715         * docs/design/part-clocks.txt:
27716         * docs/design/part-element-sink.txt:
27717         * docs/design/part-events.txt:
27718         * docs/design/part-gstpipeline.txt:
27719         Updated docs, mostly DISCONT related.
27720
27721 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27722
27723         * docs/pwg/building-pads.xml:
27724           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27725
27726 2005-07-15  Andy Wingo  <wingo@pobox.com>
27727
27728         * tools/gst-typefind.c: Update, add copyright block.
27729
27730         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27731         Normalize and truncate caps before fixation.
27732
27733         * gst/gstcaps.h:
27734         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27735         discards all but the first structure from its argument.
27736
27737 2005-07-15  Wim Taymans  <wim@fluendo.com>
27738
27739         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27740         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27741         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27742         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27743         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27744         (gst_base_transform_chain), (gst_base_transform_change_state),
27745         (gst_base_transform_set_passthrough),
27746         (gst_base_transform_is_passthrough):
27747         * gst/base/gstbasetransform.h:
27748         Make passthrough work using the bufferpools.
27749         Changed API a bit, subclasses have to write into a buffer
27750         provided by the base class.
27751         More debug info in nego functions.
27752         
27753         * gst/elements/gstidentity.c: (gst_identity_init),
27754         (gst_identity_transform):
27755         Port to new base class.
27756
27757 2005-07-15  Wim Taymans  <wim@fluendo.com>
27758
27759         * gst/gstmessage.c: (gst_message_new_state_changed):
27760         * tools/gst-launch.c: (event_loop), (main):
27761         Totally dump messages in -launch with the -m option.
27762         Fix message name for State messages,
27763
27764 2005-07-14  Wim Taymans  <wim@fluendo.com>
27765
27766         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27767         Post error messages on errors.
27768
27769 2005-07-14  Wim Taymans  <wim@fluendo.com>
27770
27771         * gst/gstcaps.c: (gst_caps_do_simplify):
27772         Remove debug info.
27773
27774         * gst/gsterror.h:
27775         Define error for stream stopped.
27776
27777         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27778         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27779         Do proper return values.
27780
27781         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27782         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27783         (gst_pad_get_range):
27784         Better return values.
27785
27786         * gst/gstpad.h:
27787         Reorganise return values, add macro to check for fatal errors.
27788
27789         * gst/gstqueue.c: (gst_queue_chain):
27790         Return proper GstFlowReturn values,
27791
27792 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
27793
27794         * docs/gst/gstreamer-sections.txt:
27795         * docs/gst/gstreamer.types:
27796         * docs/gst/tmpl/gst.sgml:
27797         * docs/gst/tmpl/gstbasesink.sgml:
27798         * docs/gst/tmpl/gstbasesrc.sgml:
27799         * docs/gst/tmpl/gstbasetransform.sgml:
27800         * docs/gst/tmpl/gstbin.sgml:
27801         * docs/gst/tmpl/gstbuffer.sgml:
27802         * docs/gst/tmpl/gstcaps.sgml:
27803         * docs/gst/tmpl/gstclock.sgml:
27804         * docs/gst/tmpl/gstcompat.sgml:
27805         * docs/gst/tmpl/gstconfig.sgml:
27806         * docs/gst/tmpl/gstelement.sgml:
27807         * docs/gst/tmpl/gstelementdetails.sgml:
27808         * docs/gst/tmpl/gstelementfactory.sgml:
27809         * docs/gst/tmpl/gstenumtypes.sgml:
27810         * docs/gst/tmpl/gsterror.sgml:
27811         * docs/gst/tmpl/gstevent.sgml:
27812         * docs/gst/tmpl/gstfakesink.sgml:
27813         * docs/gst/tmpl/gstfakesrc.sgml:
27814         * docs/gst/tmpl/gstfilesink.sgml:
27815         * docs/gst/tmpl/gstfilesrc.sgml:
27816         * docs/gst/tmpl/gstfilter.sgml:
27817         * docs/gst/tmpl/gstformat.sgml:
27818         * docs/gst/tmpl/gstghostpad.sgml:
27819         * docs/gst/tmpl/gstimplementsinterface.sgml:
27820         * docs/gst/tmpl/gstindex.sgml:
27821         * docs/gst/tmpl/gstindexfactory.sgml:
27822         * docs/gst/tmpl/gstinfo.sgml:
27823         * docs/gst/tmpl/gstiterator.sgml:
27824         * docs/gst/tmpl/gstmacros.sgml:
27825         * docs/gst/tmpl/gstmemchunk.sgml:
27826         * docs/gst/tmpl/gstminiobject.sgml:
27827         * docs/gst/tmpl/gstobject.sgml:
27828         * docs/gst/tmpl/gstpad.sgml:
27829         * docs/gst/tmpl/gstpadtemplate.sgml:
27830         * docs/gst/tmpl/gstparse.sgml:
27831         * docs/gst/tmpl/gstpipeline.sgml:
27832         * docs/gst/tmpl/gstplugin.sgml:
27833         * docs/gst/tmpl/gstpluginfeature.sgml:
27834         * docs/gst/tmpl/gstquery.sgml:
27835         * docs/gst/tmpl/gstqueue.sgml:
27836         * docs/gst/tmpl/gstregistry.sgml:
27837         * docs/gst/tmpl/gstregistrypool.sgml:
27838         * docs/gst/tmpl/gstscheduler.sgml:
27839         * docs/gst/tmpl/gstschedulerfactory.sgml:
27840         * docs/gst/tmpl/gststructure.sgml:
27841         * docs/gst/tmpl/gstsystemclock.sgml:
27842         * docs/gst/tmpl/gsttaglist.sgml:
27843         * docs/gst/tmpl/gsttagsetter.sgml:
27844         * docs/gst/tmpl/gsttrace.sgml:
27845         * docs/gst/tmpl/gsttrashstack.sgml:
27846         * docs/gst/tmpl/gsttypefind.sgml:
27847         * docs/gst/tmpl/gsttypefindfactory.sgml:
27848         * docs/gst/tmpl/gsttypes.sgml:
27849         * docs/gst/tmpl/gsturihandler.sgml:
27850         * docs/gst/tmpl/gsturitype.sgml:
27851         * docs/gst/tmpl/gstutils.sgml:
27852         * docs/gst/tmpl/gstvalue.sgml:
27853         * docs/gst/tmpl/gstversion.sgml:
27854         * docs/gst/tmpl/gstxml.sgml:
27855         * docs/libs/tmpl/gstcontrol.sgml:
27856         * docs/libs/tmpl/gstdataprotocol.sgml:
27857         * docs/libs/tmpl/gstdparam.sgml:
27858         * docs/libs/tmpl/gstdplinint.sgml:
27859         * docs/libs/tmpl/gstdpman.sgml:
27860         * docs/libs/tmpl/gstdpsmooth.sgml:
27861         * docs/libs/tmpl/gstgetbits.sgml:
27862         * docs/libs/tmpl/gstunitconvert.sgml:
27863         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27864         (gst_push_src_base_init), (gst_push_src_class_init),
27865         (gst_push_src_init), (gst_push_src_create):
27866         * gst/base/gstpushsrc.h:
27867         * gst/elements/gstelements.c:
27868         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27869         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27870         (gst_fake_sink_init), (gst_fake_sink_set_property),
27871         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27872         (gst_fake_sink_event), (gst_fake_sink_preroll),
27873         (gst_fake_sink_render), (gst_fake_sink_change_state):
27874         * gst/elements/gstfakesink.h:
27875         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27876         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27877         (gst_fake_src_base_init), (gst_fake_src_class_init),
27878         (gst_fake_src_init), (gst_fake_src_event_handler),
27879         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27880         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27881         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27882         (gst_fake_src_create_buffer), (gst_fake_src_create),
27883         (gst_fake_src_start), (gst_fake_src_stop):
27884         * gst/elements/gstfakesrc.h:
27885         * gst/elements/gstfilesink.c: (_do_init),
27886         (gst_file_sink_base_init), (gst_file_sink_class_init),
27887         (gst_file_sink_init), (gst_file_sink_dispose),
27888         (gst_file_sink_set_location), (gst_file_sink_set_property),
27889         (gst_file_sink_get_property), (gst_file_sink_open_file),
27890         (gst_file_sink_close_file), (gst_file_sink_query),
27891         (gst_file_sink_event), (gst_file_sink_render),
27892         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27893         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27894         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27895         * gst/elements/gstfilesink.h:
27896         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27897         (gst_file_src_class_init), (gst_file_src_init),
27898         (gst_file_src_finalize), (gst_file_src_set_location),
27899         (gst_file_src_set_property), (gst_file_src_get_property),
27900         (gst_file_src_map_region), (gst_file_src_map_small_region),
27901         (gst_file_src_create_mmap), (gst_file_src_create_read),
27902         (gst_file_src_create), (gst_file_src_is_seekable),
27903         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27904         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27905         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27906         (gst_file_src_uri_handler_init):
27907         * gst/elements/gstfilesrc.h:
27908           more autistic cleanliness in functions/names/defines
27909
27910 2005-07-13  Andy Wingo  <wingo@pobox.com>
27911
27912         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27913         source couldn't negotiate.
27914
27915         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27916         connections again.
27917
27918         * gst/gstutils.h:
27919         * gst/gstutils.c (gst_element_link_pads_filtered): New old
27920         function. I am channeling Hades. Put your boots on suckers!!!
27921
27922 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
27923
27924         * testsuite/caps/Makefile.am:
27925         * testsuite/caps/value_compare.c:
27926         * testsuite/caps/value_intersect.c:
27927         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27928           move two testsuite apps over to the check dir
27929
27930 2005-07-12  Wim Taymans  <wim@fluendo.com>
27931
27932         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27933         Added more debug info in the negotiate process.
27934
27935         * gst/gstmessage.h:
27936         Prepare for segment playback.
27937
27938         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27939         Better debugging.
27940
27941         * gst/gstutils.c:
27942         Some more docs.
27943
27944         * tools/gst-launch.c: (main):
27945         NULL pipeline on errors.
27946
27947 2005-07-12  Andy Wingo  <wingo@pobox.com>
27948
27949         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27950         not it comes from a malloc region. Make sure our copy gets freed.
27951
27952 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
27953
27954         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27955         * check/gst/gstmessage.c: (GST_START_TEST):
27956         * check/gst/gststructure.c: (GST_START_TEST),
27957         (gst_structure_suite), (main):
27958           more testing
27959         * gst/gstelement.c: (gst_element_message_full):
27960           clean up GError and debug string now that they get copied
27961         * gst/gstmessage.c: (gst_message_new_error),
27962         (gst_message_new_warning), (gst_message_parse_error),
27963         (gst_message_parse_warning):
27964           use GST_TYPE_G_ERROR for structure_new, and take copies of
27965           arguments, so that we don't mess up refcounting
27966
27967 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
27968
27969         * check/Makefile.am:
27970           add per-test valgrind targets
27971         * check/gst-libs/gdp.c: (GST_START_TEST),
27972         (gst_data_protocol_suite), (main):
27973           clean up
27974
27975 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
27976
27977         * check/Makefile.am:
27978           instate more valgrindable tests
27979         * check/elements/gstfakesrc.c: (chain_func), (event_func),
27980         (GST_START_TEST), (fakesrc_suite):
27981         * check/gst/gstpad.c: (GST_START_TEST):
27982         * check/gst/gststructure.c: (GST_START_TEST):
27983           fix test leaks
27984         * docs/gst/tmpl/gstminiobject.sgml:
27985         * gst/gstpad.c: (gst_pad_finalize):
27986           fix the static mutex leak
27987
27988 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
27989
27990         * check/Makefile.am:
27991           add two more tests for valgrinding
27992         * check/gst/gstvalue.c: (GST_START_TEST):
27993           test refcount of deserialized buffer, found a leak
27994         * docs/gst/gstreamer-docs.sgml:
27995         * docs/gst/gstreamer-sections.txt:
27996         * docs/gst/gstreamer.types:
27997         * docs/gst/tmpl/gstminiobject.sgml:
27998           add miniobject to docs
27999         * gst/gstminiobject.c:
28000           add some docs
28001         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28002         (gst_string_unwrap):
28003           fix a hard-to-find invalid write for one of the tests
28004           fix a leak for deserialized buffers
28005
28006 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28007
28008         * docs/pwg/advanced-events.xml:
28009         * docs/pwg/advanced-request.xml:
28010         * docs/pwg/advanced-scheduling.xml:
28011         * docs/pwg/appendix-porting.xml:
28012         * docs/pwg/building-boiler.xml:
28013         * docs/pwg/intro-preface.xml:
28014         * docs/pwg/other-ntoone.xml:
28015           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28016           of example code and explanation for pad activation, loop() and
28017           getrange() functions and a bit more. Remove old comments pointing
28018           to loop-functions.
28019         * examples/pwg/Makefile.am:
28020           Add loop/getrange examples.
28021
28022 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28023
28024         * configure.ac:
28025           check for valgrind binary + some fixes
28026         * check/gst.supp:
28027           valgrind suppressions for the tests
28028         * check/Makefile.am:
28029           add a valgrind: target that valgrinds the unit tests
28030         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28031         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28032         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28033         * check/gst/gstghostpad.c:
28034           added some cleanup
28035         * check/gst/gstdata.c:
28036           removed
28037         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28038         (thread_unref), (gst_mini_object_suite), (main):
28039           added
28040         * gst/gst.c: (gst_deinit):
28041         * gst/gst.h:
28042           add a method to clean up.
28043         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28044         (gst_system_clock_obtain):
28045           allow for disposing the system clock.
28046         * tools/gst-launch.c: (main):
28047           deinit
28048
28049 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28050
28051         * docs/gst/tmpl/gstbasesrc.sgml:
28052         * docs/gst/tmpl/gstfakesrc.sgml:
28053         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28054         (gst_base_src_init), (gst_base_src_set_property),
28055         (gst_base_src_get_property), (gst_base_src_get_range),
28056         (gst_base_src_start):
28057         * gst/base/gstbasesrc.h:
28058           add num-buffers property
28059         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28060         (gst_fakesrc_init), (gst_fakesrc_set_property),
28061         (gst_fakesrc_get_property), (gst_fakesrc_create),
28062         (gst_fakesrc_start):
28063           remove num-buffers property
28064
28065 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28066
28067         * docs/gst/gstreamer-sections.txt:
28068         * docs/gst/tmpl/gstbasesink.sgml:
28069         * docs/gst/tmpl/gstbasesrc.sgml:
28070         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28071         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28072         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28073         (gst_base_sink_set_property), (gst_base_sink_get_property),
28074         (gst_base_sink_handle_object), (gst_base_sink_event),
28075         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28076         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28077         (gst_base_sink_loop), (gst_base_sink_deactivate),
28078         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28079         (gst_base_sink_change_state):
28080         * gst/base/gstbasesink.h:
28081         * gst/base/gstbasesrc.h:
28082         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28083         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28084         (gst_filesink_init):
28085           more macro splitting
28086
28087 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28088
28089         * gst/gstelement.c: (gst_element_get_bus):
28090           add debug
28091         * tools/gst-launch.c: (check_intr), (event_loop):
28092           fix bus leaks
28093
28094 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28095
28096         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28097           fix a caps leak
28098
28099 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28100
28101         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28102         (gst_base_src_finalize):
28103           add finalize method and clean up properly
28104         * gst/gstpipeline.c: (gst_pipeline_dispose):
28105           add debug
28106
28107 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28108
28109         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28110         (gst_bin_suite):
28111           add more things to check
28112         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28113         * gst/gstelement.c:
28114           more debug
28115
28116 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28117
28118         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28119         (GST_START_TEST), (fakesrc_suite):
28120         * check/gst-libs/gdp.c: (GST_START_TEST):
28121         * check/gst/gst.c: (GST_START_TEST):
28122         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28123         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28124         * check/gst/gstbus.c: (GST_START_TEST):
28125         * check/gst/gstcaps.c: (GST_START_TEST):
28126         * check/gst/gstdata.c: (GST_START_TEST):
28127         * check/gst/gstelement.c: (GST_START_TEST):
28128         * check/gst/gstghostpad.c: (GST_START_TEST):
28129         * check/gst/gstiterator.c: (GST_START_TEST):
28130         * check/gst/gstmessage.c: (GST_START_TEST):
28131         * check/gst/gstobject.c: (GST_START_TEST):
28132         * check/gst/gstpad.c: (GST_START_TEST):
28133         * check/gst/gststructure.c: (GST_START_TEST):
28134         * check/gst/gstsystemclock.c: (GST_START_TEST),
28135         (gst_systemclock_suite):
28136         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28137         * check/gst/gstvalue.c: (GST_START_TEST):
28138         * check/pipelines/cleanup.c: (GST_START_TEST):
28139         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28140         * check/states/sinks.c: (GST_START_TEST):
28141         * check/gstcheck.c: (gst_check_init):
28142         * check/gstcheck.h:
28143           add debugging category
28144           use GST_START_TEST now, so we add a debug line
28145
28146 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28147
28148         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28149           add test for state change message on a bin
28150         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28151           add another test
28152         * gst/gstbin.c: (gst_bin_init):
28153         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28154         * gst/gstelement.c: (gst_element_post_message),
28155         (gst_element_set_state):
28156         * gst/gstelementfactory.c: (gst_element_factory_create):
28157         * gst/gstmessage.c: (gst_message_new):
28158         * gst/gstscheduler.c:
28159           various debugging additions and cleanups
28160
28161 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28162
28163         * check/Makefile.am:
28164         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28165         (main):
28166           adding tests for elements
28167         * gst/gstelement.c: (gst_element_dispose):
28168
28169 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28170
28171         * gst/registries/gstlibxmlregistry.c: (load_feature):
28172           plug more leaks.  A simple gst_init() now is leakfree, yay.
28173
28174 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28175
28176         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28177         (gst_xml_registry_load):
28178           plug another memleak
28179
28180 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28181
28182         * configure.ac:
28183           use GST_SET_ERROR_CFLAGS
28184         * docs/faq/cvs.xml:
28185           change to ERROR_CFLAGS
28186
28187 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28188
28189         * configure.ac:
28190           make GST_ERROR_CFLAGS overridable and re-enable Werror
28191         * docs/faq/cvs.xml:
28192           add a note about error CFLAGS
28193         * docs/gst/tmpl/gstfakesrc.sgml:
28194         * gst/elements/gstfakesrc.c:
28195           comment out some unused code
28196         * gst/gst.c: (split_and_iterate):
28197         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28198         (load_feature):
28199           plug some memleaks
28200
28201 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28202
28203         * common/Makefile.am:
28204         * common/gtk-doc.mak:
28205         * docs/gst/Makefile.am:
28206           factor out gtk-doc.mak
28207
28208 2005-07-07  Wim Taymans  <wim@fluendo.com>
28209
28210         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28211         (gst_thread_scheduler_dispose):
28212         Unlock the STREAM_LOCK completely.
28213
28214 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28215
28216         * check/Makefile.am:
28217         * check/elements/.cvsignore:
28218         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28219         (START_TEST), (fakesrc_suite), (main):
28220         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28221         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28222         (gst_fakesrc_create), (gst_fakesrc_start):
28223         * gst/elements/gstfakesrc.h:
28224           adding a first element test
28225
28226 2005-07-07  Andy Wingo  <wingo@pobox.com>
28227
28228         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28229         debug message.
28230
28231 2005-07-07  Wim Taymans  <wim@fluendo.com>
28232
28233         * gst/gstquery.c:
28234         * gst/gstquery.h:
28235         Remove old types
28236
28237 2005-07-07  Wim Taymans  <wim@fluendo.com>
28238
28239         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28240         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28241         Allow subclasses to implement their own negotiation.
28242
28243 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28244
28245         * docs/design/part-gstbin.txt:
28246         * docs/design/part-gstpipeline.txt:
28247           Update design notes to reflect the movement of
28248           responsibility for bus handling from GstPipeline to
28249           GstBin
28250
28251 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28252
28253         * configure.ac:
28254           Remove unnecessary queue2/3/4 examples.
28255
28256 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28257
28258         * examples/Makefile.am:
28259         * examples/helloworld/helloworld.c: (event_loop), (main):
28260         * examples/queue/queue.c: (event_loop), (main):
28261         * examples/queue2/queue2.c: (main):
28262           Update a couple of the examples to work again.
28263
28264         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28265         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28266          Spelling corrections and extra debug.
28267         
28268         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28269         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28270         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28271         * gst/gstbin.h:
28272         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28273         (gst_pipeline_change_state):
28274         * gst/gstpipeline.h:
28275           Move the bus handler for children to the GstBin, and create a
28276           separate bus for receiving messages from children to the one the
28277           bus sends 'upwards' on.
28278
28279 2005-07-06  Wim Taymans  <wim@fluendo.com>
28280
28281         * gst/base/README:
28282         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28283         (gst_base_sink_handle_object), (gst_base_sink_loop),
28284         (gst_base_sink_change_state):
28285         * gst/base/gstbasesink.h:
28286         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28287         (gst_base_src_init), (gst_base_src_setcaps),
28288         (gst_base_src_getcaps), (gst_base_src_loop),
28289         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28290         (gst_base_src_start), (gst_base_src_change_state):
28291         * gst/base/gstbasesrc.h:
28292         Make basesrc negotiate.
28293         Handle the case where preroll fails in basesink.
28294         Update README.
28295
28296 2005-07-06  Wim Taymans  <wim@fluendo.com>
28297
28298         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28299         Implement the fixate function.
28300         Clean up acceptcaps.
28301
28302 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28303
28304         * docs/pwg/building-filterfactory.xml:
28305         * docs/pwg/pwg.xml:
28306           Remove never-written filter-factory chapter; I'll add the various
28307           base classes to part 4 ("other element types") later on.
28308
28309 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28310
28311         * docs/pwg/advanced-negotiation.xml:
28312         * docs/pwg/building-boiler.xml:
28313         * docs/pwg/building-pads.xml:
28314         * docs/pwg/pwg.xml:
28315         * examples/pwg/Makefile.am:
28316           Add a chapter on caps negotiation, simplify the original code
28317           samples a bit w.r.t. caps negotiation, add link to the advanced
28318           section. Add a bunch of examples showing different use cases of
28319           different types of caps negotiation. Upstream renegotiation isn't
28320           fully documented yet since nobody knows how that works.
28321
28322 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28323
28324         * check/gst/gstpad.c:
28325         * check/gstcheck.c:
28326         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28327           if pad has no parent, return NULL as list of internal links
28328
28329 2005-07-05  Andy Wingo  <wingo@pobox.com>
28330
28331         * gst/elements/gstfilesrc.c:
28332         * gst/elements/gstfakesrc.c: 
28333         * gst/base/gstpushsrc.c:
28334         * gst/base/gstbasesrc.h: 
28335         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28336         
28337 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28338
28339         * Makefile.am:
28340           better report generation target (lcov needs a patch)
28341
28342 2005-07-05  Andy Wingo  <wingo@pobox.com>
28343
28344         * gst/elements, testsuite: Null if we got it...
28345
28346 2005-07-05  Wim Taymans  <wim@fluendo.com>
28347
28348         * configure.ac:
28349         * libs/gst/dataprotocol/Makefile.am:
28350         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28351         * libs/gst/dataprotocol/dataprotocol.h:
28352         * pkgconfig/Makefile.am:
28353         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28354         * pkgconfig/gstreamer-dataprotocol.pc.in:
28355         Ported dataprotol to 0.9. 
28356         Added pkgconfig files.
28357
28358 2005-07-05  Andy Wingo  <wingo@pobox.com>
28359
28360         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28361         Default to returning TRUE for the case when tranform_caps returns
28362         a fixed caps, like for identity or volume.
28363
28364         * check/gst/gstbus.c (pound_bus_with_messages): 
28365         * check/gst/gstmessage.c (START_TEST): 
28366         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28367         message API change.
28368
28369         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28370         logic weaks here: always run transform_caps, trying passthrough
28371         operation only if the original caps intersects with the transform.
28372
28373         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28374         source and sink caps.
28375
28376         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28377         Intersect the peer caps with the pad template before going into
28378         transform_caps.
28379         (gst_base_transform_transform_caps): More debugging.
28380
28381         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28382         src argument.
28383
28384 2005-07-04  Edward Hervey  <edward@fluendo.com>
28385
28386         * gst/gstutils.c:
28387         * gst/gstutils.h:
28388         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28389         in bindings.
28390
28391 2005-07-04  Andy Wingo  <wingo@pobox.com>
28392
28393         * check/gst/gstpad.c: Only set explicit caps on pads.
28394
28395 2005-07-01  Andy Wingo  <wingo@pobox.com>
28396
28397         * tests/network-clock.scm: Commentary update.
28398
28399         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28400         Didn't really make sense, not implementable with basetransform,
28401         etc.
28402         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28403         attempt at implementing the sync property, needs an unlock method.
28404
28405         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28406         New func, by default returns the same caps (the identity
28407         transformation).
28408         (gst_base_transform_getcaps): Uses transform_caps to return
28409         something sensible.
28410         (gst_base_transform_setcaps): Complicated logic to get caps on
28411         both pads, even if they are different, and to call set_caps once
28412         for every time both pads get their caps set.
28413         (gst_base_transform_handle_buffer): Give the ref to the transform
28414         function. Allows in-place modification of the buffer.
28415
28416         * gst/base/gstbasetransform.h (transform_caps): New class method.
28417         Given caps on one side, what can I do on the other.
28418         (set_caps): Take two caps, one for each side of the element.
28419
28420         * gst/gstpad.h:
28421         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28422         caps in place. This is safe because we can check the mutability of
28423         the caps, and a good idea because fixate functions are just called
28424         as a matter of last resort. (Not actually implemented.)
28425         (gst_pad_set_caps): If the caps we're setting is actually the same
28426         as the existing pad caps, just update the pointer without calling
28427         setcaps. Assert that caps is either NULL or fixed, as per the
28428         docs.
28429
28430         * gst/gstghostpad.c: Update for fixate changes.
28431
28432 2005-07-02  Andy Wingo  <wingo@pobox.com>
28433
28434         * gst/gstcaps.c:
28435         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28436         two refcounts makes it immutable, which is enough. Doc more.
28437
28438 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28439
28440         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28441           Put the mini_object into GValue as a mini_object,
28442           not a gpointer, since that's how we declared
28443           the signal.
28444
28445 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28446
28447         * examples/pwg/Makefile.am:
28448           Fix buildbot again.
28449
28450 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28451
28452         * docs/pwg/building-testapp.xml:
28453           Add extra check.
28454         * examples/pwg/Makefile.am:
28455           Fix buildbot.
28456
28457 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28458
28459         * configure.ac:
28460         * examples/Makefile.am:
28461         * examples/pwg/Makefile.am:
28462         * examples/pwg/extract.pl:
28463           Enable building the PWG examples.
28464         * docs/pwg/advanced-interfaces.xml:
28465           Add URI interface stub.
28466         * docs/pwg/advanced-types.xml:
28467         * docs/pwg/other-autoplugger.xml:
28468         * docs/pwg/appendix-porting.xml:
28469         * docs/pwg/pwg.xml:
28470           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28471         * docs/pwg/building-boiler.xml:
28472         * docs/pwg/building-chainfn.xml:
28473         * docs/pwg/building-pads.xml:
28474         * docs/pwg/building-props.xml:
28475         * docs/pwg/building-state.xml:
28476         * docs/pwg/building-testapp.xml:
28477           Update the building-*.xml parts for 0.9 changes. All examples
28478           code blocks compile in examples/pwg/*.
28479
28480 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28481
28482         * docs/manual/advanced-autoplugging.xml:
28483         * docs/manual/appendix-checklist.xml:
28484         * docs/manual/appendix-integration.xml:
28485         * docs/manual/highlevel-components.xml:
28486           Fix playbin/decodebin examples, update docs a bit, mention bus
28487           instead of signals in various places, mention kmplayer and
28488           kaffeine since they have a working GStreamer backend in the KDE
28489           section.
28490
28491 2005-06-30  Wim Taymans  <wim@fluendo.com>
28492
28493         * CHANGES-0.9:
28494         * docs/design/draft-ghostpads.txt:
28495         * docs/design/draft-push-pull.txt:
28496         * docs/design/draft-query.txt:
28497         * docs/design/part-TODO.txt:
28498         * docs/design/part-query.txt:
28499         Added CHANGES-0.9 doc, updated status of other docs.
28500         
28501         * gst/gstquery.h:
28502         Remove "hmm" macro
28503
28504 2005-06-30  Wim Taymans  <wim@fluendo.com>
28505
28506         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28507         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28508         (gst_base_sink_change_state):
28509         * gst/base/gstbasesink.h:
28510         Some tweaks, only EOS and a buffer complete a preroll.
28511
28512 2005-06-30  Andy Wingo  <wingo@pobox.com>
28513
28514         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28515         activate_push down to the internal pad as well.
28516
28517 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28518
28519         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28520
28521         * gst/gsttaginterface.c:
28522           Some documentation fixes (#307394 and #307397).
28523
28524 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28525
28526         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28527
28528         * gst/gstvalue.c: (gst_value_intersect_list):
28529           Fix memleak (#309125).
28530
28531 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28532
28533         * docs/manual/advanced-dataaccess.xml:
28534           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28535         * docs/manual/basics-pads.xml:
28536           Add reference for filtered caps to above chapter.
28537
28538 2005-06-30  Wim Taymans  <wim@fluendo.com>
28539
28540         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28541         (gst_bin_change_state):
28542         Probes are gone.
28543         Lame attempt at making the state change function a bit
28544         more readable.
28545
28546 2005-06-30  Wim Taymans  <wim@fluendo.com>
28547
28548         * docs/design/part-clocks.txt:
28549         * docs/design/part-element-sink.txt:
28550         * docs/design/part-events.txt:
28551         * docs/design/part-preroll.txt:
28552         * docs/design/part-states.txt:
28553         Some more tweeks and additions to the docs.
28554
28555 2005-06-30  Wim Taymans  <wim@fluendo.com>
28556
28557         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28558         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28559         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28560         (gst_pad_check_pull_range), (gst_pad_get_range),
28561         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28562         * gst/gstpad.h:
28563         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28564         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28565         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28566         (gst_pad_remove_buffer_probe):
28567         Removed atomic operations, use existing LOCK.
28568         Move exception handling out of main code path.
28569
28570 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28571
28572         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28573         (silly_return_true_function), (gst_pad_class_init),
28574         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28575         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28576         (gst_pad_send_event):
28577           Fix accumulator, add default value by using _emitv() instead
28578           of _emit() for signal emission.
28579
28580 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28581
28582         * docs/manual/advanced-dataaccess.xml:
28583         * examples/manual/Makefile.am:
28584           Add probe example.
28585         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28586           Make work (??).
28587
28588 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28589
28590         * gst/elements/gstfilesink.c: (gst_filesink_render):
28591           Simplify code so that we don't have to handle short
28592           writes and return GST_FLOW_ERROR if an error occured.
28593
28594 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28595
28596         * docs/gst/gstreamer-docs.sgml:
28597           Remove probes more.
28598
28599 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28600
28601         * docs/gst/gstreamer-sections.txt:
28602         * docs/gst/tmpl/gstpad.sgml:
28603         * docs/gst/tmpl/gstprobe.sgml:
28604         * gst/Makefile.am:
28605         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28606         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28607         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28608         (gst_pad_push_event), (gst_pad_send_event):
28609         * gst/gstpad.h:
28610         * gst/gstutils.c: (gst_pad_add_data_probe),
28611         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28612         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28613         (gst_pad_remove_buffer_probe):
28614         * gst/gstutils.h:
28615           Remove old probes, add new g-signal-based probes and some utility
28616           functions.
28617
28618 2005-06-29  Edward Hervey  <edward@fluendo.com>
28619
28620         * gst/gstelementfactory.c:
28621         * gst/gstutils.h:
28622         * gst/gstutils.c:
28623         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28624         the definition to the header file.
28625
28626 2005-06-29  Andy Wingo  <wingo@pobox.com>
28627
28628         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28629         plugins from the source directory.
28630
28631 2005-06-29  Wim Taymans  <wim@fluendo.com>
28632
28633         * docs/gst/tmpl/gstbuffer.sgml:
28634         * docs/gst/tmpl/gstclock.sgml:
28635         Some fixings for blantently wrong text.
28636
28637 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28638
28639         * check/Makefile.am:
28640         * gst/gst.c: (add_path_func), (init_pre):
28641         * gst/gstregistry.c: (gst_registry_add_path):
28642           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28643           only scan the GST_PLUGIN_PATH locations, and not add
28644           system locations
28645
28646 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28647
28648         * docs/gst/gstreamer-sections.txt:
28649         * docs/gst/tmpl/gstbasesrc.sgml:
28650         * gst/gstelement.c:
28651         * gst/gstelement.h:
28652         * gst/gstevent.c:
28653         * gst/gstutils.c:
28654           doc fixes
28655
28656 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28657
28658         * docs/manual/advanced-autoplugging.xml:
28659           Fix autoplugging example.
28660
28661 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28662
28663         * docs/manual/advanced-autoplugging.xml:
28664         * docs/manual/mime-world.fig:
28665           Try to get autoplugging working, fix type detection. Fix text
28666           in hello-world image.
28667
28668 2005-06-29  Wim Taymans  <wim@fluendo.com>
28669
28670         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28671         (gst_base_sink_change_state):
28672         Small debug line.
28673
28674         * gst/gstclock.h:
28675         map SIGNAL and BROADCAST to the right function.
28676
28677         * gst/gstobject.h:
28678         Remove redundant braces.
28679
28680         * gst/gstpad.c: (gst_pad_set_caps):
28681         Don't call setcaps function when reseting caps to NULL.
28682
28683         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28684         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28685         (gst_system_clock_id_unschedule):
28686         Use BROADCAST as this is what we do.
28687
28688 2005-06-29  Wim Taymans  <wim@fluendo.com>
28689
28690         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28691         We are actually prerolling before commiting the state
28692         change. 
28693
28694 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28695
28696         * docs/manual/advanced-clocks.xml:
28697         * docs/manual/advanced-interfaces.xml:
28698         * docs/manual/advanced-metadata.xml:
28699         * docs/manual/advanced-position.xml:
28700         * docs/manual/advanced-schedulers.xml:
28701         * docs/manual/advanced-threads.xml:
28702         * docs/manual/appendix-porting.xml:
28703         * docs/manual/basics-bins.xml:
28704         * docs/manual/basics-bus.xml:
28705         * docs/manual/basics-elements.xml:
28706         * docs/manual/basics-helloworld.xml:
28707         * docs/manual/basics-pads.xml:
28708         * docs/manual/highlevel-components.xml:
28709         * docs/manual/manual.xml:
28710         * docs/manual/thread.fig:
28711           Update (until threads/scheduling) Application Development Manual;
28712           remove GstThread, add GstBus, add simple porting checklist, add
28713           documentation for tag writing, clocks, make all examples until this
28714           part compile and run.
28715         * examples/manual/Makefile.am:
28716           Update from changes to Application Development Manual; add bus
28717           example, remove thread example.
28718
28719 2005-06-28  Wim Taymans  <wim@fluendo.com>
28720
28721         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28722         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28723         (gst_bus_source_dispatch):
28724         Add debugging messages.
28725         Make internal methods static.
28726         Handle the case where the bus is flushed in the handler.
28727         
28728         * gst/gstelement.c: (gst_element_get_bus):
28729         Fix refcount in _get_bus();
28730
28731         * gst/gstpipeline.c: (gst_pipeline_change_state),
28732         (gst_pipeline_get_clock_func):
28733         Clock refcounting fixes.
28734         Handle the case where preroll timed out more gracefully.
28735         
28736         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28737         Clean up the internal thread in dispose. This is needed
28738         for subclasses that actually get disposed.
28739         
28740         * gst/schedulers/threadscheduler.c:
28741         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28742         (gst_thread_scheduler_dispose):
28743         Free thread pool in dispose.
28744
28745 2005-06-28  Andy Wingo  <wingo@pobox.com>
28746
28747         * tests/network-clock-utils.scm (debug, print-event): New utils.
28748
28749         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28750         (*packet-loss*): Unified loss probability.
28751         (network-time): Report out-of-band events.
28752
28753         * tests/plot-data: Add support for out-of-band events. Hack it
28754         into this script instead of passing it down the pipe; should fix
28755         this later.
28756
28757 2005-06-28  Wim Taymans  <wim@fluendo.com>
28758
28759         * docs/gst/gstreamer.types:
28760         * docs/gst/tmpl/gstbasesrc.sgml:
28761         * docs/gst/tmpl/gstpad.sgml:
28762         Docs fixes.
28763
28764 2005-06-28  Wim Taymans  <wim@fluendo.com>
28765
28766         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28767         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28768         (gst_proxy_pad_do_fixatecaps):
28769         Correctly proxy the check_pull_range function.
28770
28771 2005-06-28  Andy Wingo  <wingo@pobox.com>
28772
28773         * tests/network-clock.scm: Removed need for slib.
28774         
28775 2005-06-28  Wim Taymans  <wim@fluendo.com>
28776
28777         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28778         (gst_basesink_preroll_queue_flush):
28779         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28780         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28781         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28782         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28783         (gst_proxy_pad_set_property):
28784         * gst/gstpad.c:
28785         * gst/gstpad.h:
28786         * gst/gstqueue.c: (gst_queue_init):
28787         The deprecated pad loop function is removed now.
28788
28789 2005-06-28  Andy Wingo  <wingo@pobox.com>
28790
28791         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28792         New parameters, simulate network packet loss.
28793
28794         * tests/network-clock-utils.scm: Initialize the RNG.
28795
28796 2005-06-28  Wim Taymans  <wim@fluendo.com>
28797
28798         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28799         (gst_basesink_event), (gst_basesink_deactivate):
28800         Flushing the preroll queue always needs to unlock the waiters.
28801
28802 2005-06-28  Edward Hervey  <edward@fluendo.com>
28803
28804         * gst/gstpipeline.c: (gst_pipeline_send_event): 
28805         Wheen a seek was successful on a pipeline, set the stream_time to the
28806         seek offset in order to have a synchronized stream_time.
28807
28808 2005-06-28  Wim Taymans  <wim@fluendo.com>
28809
28810         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28811         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28812         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28813         (gst_proxy_pad_do_fixatecaps):
28814         Call wrapper function instead of just calling the function
28815         pointers. This takes care of any locking and whatmore.
28816
28817 2005-06-28  Wim Taymans  <wim@fluendo.com>
28818
28819         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28820         (gst_pad_pull_range):
28821         * gst/gstpad.h:
28822         CONNECTED -> LINKED.
28823
28824 2005-06-28  Andy Wingo  <wingo@pobox.com>
28825
28826         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28827         source-munging commit!!!
28828
28829         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
28830         (gst_object_sink): Take gpointer arguments, not GstObject --
28831         avoids casts. Like GLib.
28832
28833         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28834         activate.
28835
28836 2005-06-27  Andy Wingo  <wingo@pobox.com>
28837
28838         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28839         remaining buffer.
28840
28841         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28842         returns a sorted copy of the trace list.
28843         (gst_alloc_trace_print_live): New API, only prints traces with
28844         live objects. Sort the list.
28845         (gst_alloc_trace_print_all): Sort the list.
28846         (gst_alloc_trace_print): Align columns.
28847
28848         * gst/elements/gstttypefindelement.c:
28849         * gst/elements/gsttee.c:
28850         * gst/base/gstbasesrc.c:
28851         * gst/base/gstbasesink.c:
28852         * gst/base/gstbasetransform.c:
28853         * gst/gstqueue.c: Adapt for pad activation changes.
28854
28855         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28856         sched.
28857         (gst_pipeline_dispose): Drop ref on sched.
28858
28859         * gst/gstpad.c (gst_pad_init): Set the default activate func.
28860         (gst_pad_activate_default): Push mode by default.
28861         (pre_activate_switch, post_activate_switch): New stubs, things to
28862         do before and after switching activation modes on pads.
28863         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28864         the pad's activate function to choose which mode to activate.
28865         Shortcut on deactivation and call the right function directly.
28866         (gst_pad_activate_pull): New API, (de)activates a pad in pull
28867         mode.
28868         (gst_pad_activate_push): New API, same for push mode.
28869         (gst_pad_set_activate_function) 
28870         (gst_pad_set_activatepull_function) 
28871         (gst_pad_set_activatepush_function): Setters for new API.
28872
28873         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28874         Trace all miniobjects.
28875         (gst_mini_object_make_writable): Unref the arg if we copy, like
28876         gst_caps_make_writable.
28877
28878         * gst/gstmessage.c (_gst_message_initialize): No trace init.
28879
28880         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
28881         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28882         Adapt for new pad API.
28883
28884         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28885
28886         * gst/gstelement.h:
28887         * gst/gstelement.c (gst_element_iterate_src_pads) 
28888         (gst_element_iterate_sink_pads): New API functions.
28889         
28890         * gst/gstelement.c (iterator_fold_with_resync): New utility,
28891         should fold into gstiterator.c in some form.
28892         (gst_element_pads_activate): Simplified via use of fold and
28893         delegation of decisions to gstpad->activate.
28894
28895         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28896         help in debugging.
28897
28898         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28899         class once in init, like gstmessage. Didn't run into this issue
28900         but it seems correct. Don't initialize a trace, gstminiobject does
28901         that.
28902
28903         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28904         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28905         to the bus.
28906         (assert_live_count): New util function, uses alloc traces to check
28907         cleanup.
28908
28909         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28910         To be modified when unlink drops the internal pad.
28911
28912 2005-06-27  Wim Taymans  <wim@fluendo.com>
28913
28914         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28915         (gst_bin_change_state):
28916         Cleanup the get_state() function a little, make sure it
28917         iterates the same set of elements.
28918         Added stub iterate_state_order().
28919
28920 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
28921
28922         * docs/gst/gstreamer-docs.sgml:
28923         * docs/gst/gstreamer-sections.txt:
28924         * docs/gst/gstreamer.types:
28925         * docs/gst/tmpl/gstbasesink.sgml:
28926         * docs/gst/tmpl/gstbasesrc.sgml:
28927         * docs/gst/tmpl/gstbasetransform.sgml:
28928         * docs/gst/tmpl/gstelement.sgml:
28929         * docs/gst/tmpl/gstiterator.sgml:
28930         * gst/base/gstbasesrc.c:
28931         * gst/base/gstbasesrc.h:
28932         * gst/base/gstbasetransform.h:
28933         * gst/gstelement.c:
28934         * gst/gstiterator.h:
28935           adding basetransform and iterator docs
28936
28937 2005-06-27  Andy Wingo  <wingo@pobox.com>
28938
28939         * docs/design/part-activation.txt: Notes on how activation should
28940         work -- not quite implemented yet.
28941
28942 2005-06-25  Wim Taymans  <wim@fluendo.com>
28943
28944         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28945         At least get the chain function correct, needs more
28946         fixing.
28947
28948 2005-06-25  Wim Taymans  <wim@fluendo.com>
28949
28950         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28951         (gst_basesink_handle_object), (gst_basesink_event),
28952         (gst_basesink_do_sync), (gst_basesink_handle_event),
28953         (gst_basesink_change_state):
28954         * gst/gsttask.h:
28955         Right, two problems here: ghostpads don't take locks and
28956         glib _rec_mutex_lock_full() with depth==0 still locks.
28957         Catch illegal locking and g_warn them.
28958
28959 2005-06-25  Wim Taymans  <wim@fluendo.com>
28960
28961         * check/states/sinks.c: (START_TEST), (gst_object_suite):
28962         Have to check for completion now...
28963
28964 2005-06-25  Wim Taymans  <wim@fluendo.com>
28965
28966         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28967         (gst_basesink_handle_object), (gst_basesink_event),
28968         (gst_basesink_do_sync), (gst_basesink_handle_event),
28969         (gst_basesink_change_state):
28970         * gst/gstpad.h:
28971         Unlock STREAM_LOCK whatever the recursion was.
28972
28973 2005-06-25  Wim Taymans  <wim@fluendo.com>
28974
28975         * gst/base/gstbasesink.c: (gst_basesink_set_property),
28976         (gst_basesink_preroll_queue_empty),
28977         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28978         (gst_basesink_event), (gst_basesink_do_sync),
28979         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28980         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28981         (gst_basesink_change_state):
28982         Reworked the base sink, handle event and buffer serialisation
28983         correctly and removed possible deadlock.
28984         Handle EOS correctly.
28985
28986 2005-06-25  Wim Taymans  <wim@fluendo.com>
28987
28988         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28989         (gst_pipeline_change_state):
28990         * tools/gst-launch.c: (check_intr), (event_loop), (main):
28991         Allow elements to post EOS in the state change function.
28992         Fix up -launch, make it exit the poll loop when the
28993         pipeline actually changed state.
28994         Fix up warning parsing in -launch.
28995
28996 2005-06-25  Wim Taymans  <wim@fluendo.com>
28997
28998         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28999         (gst_tee_sink_activate):
29000         Core takes STREAM_LOCK for us now.
29001
29002 2005-06-25  Wim Taymans  <wim@fluendo.com>
29003
29004         * gst/gstelement.c: (gst_element_get_state_func),
29005         (gst_element_set_state):
29006         * gst/gstelement.h:
29007         * gst/gstmessage.c: (gst_message_parse_error),
29008         (gst_message_parse_warning):
29009         Keep track of current target state while performing a state
29010         change so that subclasses can do something interesting.
29011         Fix parsing of warning/error messages when GError is NULL.
29012
29013 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29014
29015         * docs/gst/Makefile.am:
29016         * docs/gst/gstreamer-docs.sgml:
29017         * docs/gst/gstreamer-sections.txt:
29018         * docs/gst/gstreamer.types:
29019         * docs/gst/tmpl/gstbasesink.sgml:
29020         * docs/gst/tmpl/gstbasesrc.sgml:
29021         * docs/gst/tmpl/gstbin.sgml:
29022         * docs/gst/tmpl/gstcompat.sgml:
29023         * docs/gst/tmpl/gstfakesink.sgml:
29024         * docs/gst/tmpl/gstfakesrc.sgml:
29025         * docs/gst/tmpl/gstfilesink.sgml:
29026         * docs/gst/tmpl/gstfilesrc.sgml:
29027         * docs/gst/tmpl/gstindex.sgml:
29028         * docs/manual/appendix-quotes.xml:
29029         * gst/base/gstbasesrc.h:
29030         * gst/elements/gstfakesrc.h:
29031         * gst/gstmessage.h:
29032           start pulling in base classes and elements in our docs
29033
29034 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29035
29036         * docs/gst/Makefile.am:
29037         * docs/libs/Makefile.am:
29038           fixed make distcheck with gtk-doc 1.3
29039
29040 2005-06-23  Wim Taymans  <wim@fluendo.com>
29041
29042         * gst/gstelement.c: (gst_element_get_state_func),
29043         (gst_element_set_state), (gst_element_change_state):
29044         When the state did not change, also report NO_PREROLL
29045         when it matters.
29046
29047 2005-06-23  Wim Taymans  <wim@fluendo.com>
29048
29049         * gst/gstpad.c: (gst_pad_event_default):
29050         * gst/gstqueue.c: (gst_queue_loop):
29051         No unsafe task pausing please.
29052
29053 2005-06-23  Wim Taymans  <wim@fluendo.com>
29054
29055         * gst/schedulers/threadscheduler.c:
29056         (gst_thread_scheduler_task_start),
29057         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29058         Ref the task before pushing it on the threadpool. This
29059         makes sure that we have a ref when the threadfunction is
29060         actually called.
29061
29062 2005-06-23  Andy Wingo  <wingo@pobox.com>
29063
29064         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29065         offset is greater than the file's size.
29066
29067         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29068         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29069         * gst/gstobject.c (gst_object_class_init): Make the class lock
29070         recursive. Wim won't let me drop deep_notify. Decodebin works
29071         again, whoopdy doo.
29072
29073         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29074         internal pad, and hacks accordingly. Doesn't do it on the target
29075         pad because we change its caps. Probably catches all cases of
29076         interest tho.
29077         (gst_ghost_pad_set_property): Connect to notify::caps as
29078         appropritate.
29079
29080         * tests/network-clock.scm (plot-simulation): Pipe data to the
29081         elite python skript.
29082
29083         * tests/network-clock-utils.scm (define-parameter): New macro,
29084         defines a parameter that can be set via the command line.
29085         (set-parameter!, parse-parameter-arguments): Command line args
29086         parser.
29087
29088         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29089         stdin.
29090
29091 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29092
29093         * gst/elements/gsttypefindelement.c:
29094         (gst_type_find_element_handle_event):
29095           Don't restart typefinding on a discont.
29096         * gst/gstelement.c: (gst_element_set_state):
29097           Debug spelling fix.
29098         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29099           Allow changing mode of an active pad.
29100           Debug output fixes.
29101         * gst/registries/gstlibxmlregistry.c: (load_feature):
29102           Don't cast a static pad template to a normal pad template.
29103
29104 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29105
29106         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29107         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29108           remove gst_strtoll completely, since it didn't actually do
29109           anything more than what g_ascii_strtoull already does.
29110           check for range errors when deserializing
29111           do a cast for the unsigned cases; but further fixing needs
29112           a decision on what the interpretation of "(int)" and
29113           deserialization should be for values that fall outside the
29114           type's boundaries (ie, refuse, or interpret as casting)
29115
29116 2005-06-23  Wim Taymans  <wim@fluendo.com>
29117
29118         * check/Makefile.am:
29119         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29120         * docs/design/part-live-source.txt:
29121         * docs/design/part-states.txt:
29122         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29123         (gst_basesrc_set_live), (gst_basesrc_is_live),
29124         (gst_basesrc_get_range), (gst_basesrc_activate),
29125         (gst_basesrc_change_state):
29126         * gst/base/gstbasesrc.h:
29127         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29128         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29129         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29130         * gst/gstelement.c: (gst_element_get_state_func),
29131         (gst_element_set_state):
29132         * gst/gstelement.h:
29133         * gst/gsttypes.h:
29134         * tools/gst-launch.c: (event_loop), (main):
29135         Added support for live sources and other elements that
29136         cannot do preroll.
29137         Updated design docs, added live-source design doc.
29138         Implemented live source functionality in basesrc
29139         Fix error condition in _bin_get_state()
29140         Implement live source handling in -launch.
29141         Added check for live sources.
29142         Fixed case in GstBin where elements were changed state
29143         multiple times.
29144
29145
29146 2005-06-23  Andy Wingo  <wingo@pobox.com>
29147
29148         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29149         borken refcounting.
29150
29151         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29152         gst_caps_replace takes care of this for us.
29153
29154         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29155         gst_pad_set_caps on the target, not just its setcaps() function.
29156
29157         * tests/network-clock.scm: 
29158         * tests/network-clock-utils.scm: A network clock simulator.
29159         Something of an algorithmic testbed before doing something in C.
29160
29161 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29162
29163         * check/Makefile.am:
29164         * check/gst/capslist.h:
29165           copy over from 0.8, and add two with bitmasks specified with
29166           (int) 0xFF...
29167         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29168           add test to parse everything from capslist.h
29169         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29170         (main):
29171           add test for structure deserialization
29172         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29173           add tests for deserialization of strings to int types
29174         * gst/gststructure.c: (gst_structure_nth_field_name):
29175         * gst/gststructure.h:
29176           add a way to get the name of a field referenced by index
29177         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29178           instead of checking if the resulting long long lies between
29179           min and max, we check if the long long would fit into
29180           a number of bytes for the final type.
29181           This fixes cases where a string represents 2^32 - 1, which
29182           when cast to int would be the (valid) -1, but is bigger than
29183           G_MAXINT
29184
29185 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29186
29187         * gst/parse/grammar.y:
29188           add a log line for type deserialization
29189
29190 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29191
29192         * check/gst/gstvalue.c: (START_TEST):
29193         * gst/gstvalue.c: (gst_value_deserialize):
29194           return long long, not int, so gint64 deserialization actually
29195           works.  Is there any flag that makes the compiler check this ?
29196           Fixes #308559
29197
29198 2005-06-22  Wim Taymans  <wim@fluendo.com>
29199
29200         * gst/gstbuffer.h:
29201         Added convenience macros for setting buffers in GValue.
29202
29203 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29204
29205         * check/gst/.cvsignore:
29206         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29207           add a test deserializing int64, and comment part out because
29208           it fails, yay !
29209
29210 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29211
29212         * check/Makefile.am:
29213         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29214         * testsuite/Makefile.am:
29215         * testsuite/caps/Makefile.am:
29216         * testsuite/caps/value_serialize.c:
29217         * testsuite/test_gst_init.c:
29218           move a value_serialize test over
29219
29220 2005-06-20  Wim Taymans  <wim@fluendo.com>
29221
29222         * gst/gstpad.c:
29223         Small doc updates.
29224         
29225         * gst/gstvalue.c: (gst_value_compare_buffer),
29226         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29227         (gst_value_compare_flags), (gst_value_serialize_flags),
29228         (gst_value_deserialize_flags), (_gst_value_initialize):
29229         Fix serialisation of buffers, they are not boxed types anymore
29230
29231 2005-06-20  Wim Taymans  <wim@fluendo.com>
29232
29233         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29234         Testcase to show error in buffer-on-caps serialisation.
29235
29236 2005-06-20  Andy Wingo  <wingo@pobox.com>
29237
29238         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29239         will be adding to later.
29240
29241         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29242         if its socks fill with rocks.
29243         (gst_system_clock_obtain): Set the name on object construction.
29244         Avoid double-checked locking.
29245
29246 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29247
29248         * gst/gsturi.c: (gst_element_make_from_uri):
29249           Fix potential endless loop.
29250
29251 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29252
29253         * check/Makefile.am:
29254           add gsttag
29255         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29256         (main):
29257           move over from testsuite dir and clean up
29258         * configure.ac:
29259         * gst/gsttag.c:
29260         * testsuite/Makefile.am:
29261         * testsuite/tags/.cvsignore:
29262         * testsuite/tags/Makefile.am:
29263         * testsuite/tags/merge.c:
29264           remove testsuite/tags
29265
29266 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29267
29268         * docs/gst/gstreamer-sections.txt:
29269         * docs/gst/tmpl/gstenumtypes.sgml:
29270         * win32/gstenumtypes.c:
29271           clean up documentation build a little
29272
29273 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29274
29275         * check/gstcheck.h:
29276           add macros for checking refcounts on objects and caps
29277         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29278           add some more unit tests
29279         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29280         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29281           fix leaked refcounts (I hope :)) so unittest works
29282         * gst/gstpad.h:
29283           whitespace removal
29284
29285 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29286
29287         * configure.ac: back to HEAD
29288
29289 === release 0.9.1 ===
29290
29291 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29292
29293         * NEWS:
29294         * RELEASE:
29295           updated
29296
29297 2005-06-17  Andy Wingo  <wingo@pobox.com>
29298
29299         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29300         assert; it's always possible that the pad gets deactivated in
29301         between the checks in gstpad.c and the implementation. Rely on
29302         finish_preroll() to return a FLUSHING or similar instead of on the
29303         assert.
29304         
29305         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29306         clock and post an EOS message if we come out of finish_preroll in
29307         the playing state.
29308
29309 2005-06-16  David Schleef  <ds@schleef.org>
29310
29311         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29312         (gst_capsfilter_set_property): Allow NULL as possible value
29313         for filter_caps property, indicating GST_CAPS_ANY.
29314
29315 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29316
29317         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29318           fix debug output
29319         * gst/schedulers/Makefile.am:
29320           use libgst prefix
29321         * gstreamer.spec.in:
29322           fix spec for it
29323
29324 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29325
29326         * gstreamer.spec.in:
29327           clean up
29328
29329 2005-06-08  Andy Wingo  <wingo@pobox.com>
29330
29331         * gst/gstutils.c: RPAD fixes all around.
29332         (gst_element_link_pads): Refcounting fixes.
29333
29334         * tools/gst-inspect.c:
29335         * tools/gst-xmlinspect.c:
29336         * parse/grammar.y:
29337         * gst/base/gsttypefindhelper.c:
29338         * gst/base/gstbasesink.c:
29339         * gst/gstqueue.c: RPAD fixes.
29340
29341         * gst/gstghostpad.h:
29342         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29343         pads. The tricky thing is they provide both source and sink
29344         interfaces, since they proxy the internal pad for the external
29345         pad, and vice versa. Implement with lower-level ProxyPad objects,
29346         with the interior proxy pad as a child of the exterior ghost pad.
29347         Should write a doc on this.
29348         
29349         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29350         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29351         gst_object API.
29352         
29353         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29354         pads are real pads. No ghost pads in this file. Not documenting
29355         the myriad s/RPAD/PAD/ and REALIZE fixes.
29356         (gst_pad_class_init): Add properties for "direction" and
29357         "template". Both are construct-only, so they can't change during
29358         the life of the pad. Fixes properly deriving from GstPad.
29359         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29360         derived objects, just set properties when creating the objects via
29361         g_object_new.
29362         (gst_pad_get_parent): Implement as a function, return NULL if the
29363         parent is not an element.
29364         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29365         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29366         
29367         * gst/gstobject.c (gst_object_class_init): Make name a construct
29368         property. Don't set it in the object init.
29369
29370         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29371         with UNKNOWN direction.
29372         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29373         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29374         (gst_element_remove_pad): Remove ghost-pad special cases.
29375         (gst_element_pads_activate): Remove rpad cruft.
29376
29377         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29378         catch the pad's-parent-not-an-element case.
29379
29380         * gst/gst.h: Include gstghostpad.h.
29381
29382         * gst/gst.c (init_post): No more real, ghost pads.
29383
29384         * gst/Makefile.am: Add gstghostpad.[ch].
29385
29386         * check/Makefile.am:
29387         * check/gst/gstbin.c:
29388         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29389         into a bin creates ghost pads, and that the refcounts are right.
29390         Partly moved from gstbin.c.
29391
29392 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29393
29394         * check/gst-libs/.cvsignore:
29395         * check/gst/.cvsignore:
29396         * check/pipelines/.cvsignore:
29397           ignore more
29398         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29399         (START_TEST), (cleanup_suite), (main):
29400           add some tests related to cleanup after running pipelines
29401
29402 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29403
29404         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29405           add a testsuite for GstBuffer
29406
29407 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29408
29409         * gst/gstminiobject.h:
29410           add defines for accessing the refcount
29411
29412 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29413
29414         * Makefile.am: added support for html unit test coverage reports
29415
29416 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29417
29418         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29419           Free existing caps if the capsfilter changes. Add a FIXME about
29420           setting those caps on the pads.
29421
29422         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29423           Before adding a ghost pad to a parent bin, check that there isn't
29424           already one for the element on the bin. Prevents infinite recursion
29425           when using decodebin in parse pipelines. Andy says he'll rewrite the
29426           way this works anyway, so ignore the hack.
29427
29428 2005-06-02  Andy Wingo  <wingo@pobox.com>
29429
29430         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29431         file size, pass it on to the type find helper.
29432
29433         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29434         segment_start and segment_end properly according to the seek
29435         method. Segment_end is still a bit flaky because offset can be
29436         negative for CUR and END cases, but it takes -1 as an "unset"
29437         value.
29438
29439 2005-06-02  Wim Taymans  <wim@fluendo.com>
29440
29441         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29442         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29443         (gst_basesink_activate):
29444         * gst/base/gstbasesink.h:
29445         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29446         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29447         (gst_pad_query), (gst_pad_start_task):
29448         * gst/gstpad.h:
29449         * gst/gstqueue.c: (gst_queue_bufferalloc),
29450         (gst_queue_handle_sink_event), (gst_queue_chain):
29451         Bufferalloc: return GstFlowReturn to more accuratly report
29452         why allocation failed.
29453
29454 2005-06-02  Wim Taymans  <wim@fluendo.com>
29455
29456         * gst/gstpipeline.c: (gst_pipeline_send_event):
29457         Take snapshot of state without blocking.
29458
29459 2005-06-02  Wim Taymans  <wim@fluendo.com>
29460
29461         * docs/design/part-TODO.txt:
29462         * docs/design/part-caps.txt:
29463         * docs/design/part-clocks.txt:
29464         * docs/design/part-negotiation.txt:
29465         * docs/design/part-preroll.txt:
29466         Small doc updates 
29467
29468 2005-05-30  Wim Taymans  <wim@fluendo.com>
29469
29470         * gst/elements/gstidentity.c: (gst_identity_event),
29471         (gst_identity_transform), (gst_identity_get_property):
29472         Protect last_message property as it is accessed from
29473         multiple threads.
29474
29475 2005-05-30  Wim Taymans  <wim@fluendo.com>
29476
29477         * gst/gstelement.c: (gst_element_init),
29478         (gst_element_pads_activate), (gst_element_change_state):
29479         Slicker pad activation code.
29480
29481 2005-05-30  Wim Taymans  <wim@fluendo.com>
29482
29483         * gst/Makefile.am:
29484         * gst/gstelement.h:
29485         * gst/gstelementfactory.h:
29486         * gst/gsttypes.h:
29487         Move elementfactory methods to separate .h file.
29488
29489 2005-05-30  Wim Taymans  <wim@fluendo.com>
29490
29491         * docs/design/part-overview.txt:
29492         * gst/gstsystemclock.h:
29493         Small typo fixes, doc updates.
29494
29495 2005-05-30  Wim Taymans  <wim@fluendo.com>
29496
29497         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29498         (init_popt_callback):
29499         Remove cpu-opt flag.
29500
29501 2005-05-30  Wim Taymans  <wim@fluendo.com>
29502
29503         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29504         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29505         * gst/gstbuffer.h:
29506         Avoid typechecking in places where not needed.
29507         Added accessor for malloc_data.
29508
29509 2005-05-30  Wim Taymans  <wim@fluendo.com>
29510
29511         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29512         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29513         (gst_pad_configure_sink), (gst_pad_configure_src),
29514         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29515         (gst_pad_start_task):
29516         Propagate errors from _set_caps() in configure_src/sink
29517         functions instead of returning TRUE.
29518         FLUSH events can travel up and downstream
29519
29520
29521 2005-05-30  Wim Taymans  <wim@fluendo.com>
29522
29523         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29524         (gst_basesink_activate):
29525         Handle EOS in preroll.
29526
29527 2005-05-30  Wim Taymans  <wim@fluendo.com>
29528
29529         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29530         (gst_queue_loop), (gst_queue_handle_src_event):
29531         Remove old pieces of code
29532         Flushing the queue in an upstream event is a very bad idea.
29533
29534 2005-05-26  Andy Wingo  <wingo@pobox.com>
29535
29536         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29537         gst_value_set_mini_object so as to add a ref on the object (which
29538         will be removed when the value is unset).
29539
29540         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29541         arg type in ::handoff.
29542
29543         * gst/gstelement.c (gst_element_change_state): Also deactivate
29544         pads in READY->NULL, just in case the element didn't make it to
29545         PAUSED. Wingo tested, Wim approved.
29546
29547 2005-05-26  Wim Taymans  <wim@fluendo.com>
29548
29549         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29550         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29551         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29552         A flushing pad cannot be used to alloc_buffer from.
29553
29554 2005-05-26  Wim Taymans  <wim@fluendo.com>
29555
29556         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29557         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29558         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29559         (gst_bus_create_watch), (gst_bus_add_watch_full):
29560         * gst/gstbus.h:
29561         Implement a real GSource and use g_main_context_wakeup() to
29562         signal new messages instead of the socketpair.
29563
29564 2005-05-25  Wim Taymans  <wim@fluendo.com>
29565
29566         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29567         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29568         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29569         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29570         (gst_pad_send_event), (gst_pad_start_task):
29571         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29572         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29573         (gst_queue_sink_activate), (gst_queue_src_activate),
29574         (gst_queue_change_state):
29575         * gst/gstqueue.h:
29576         Fix state changes for non sinks. We now change sinks, then elements
29577         with unconnected srcpads, then the rest.
29578         More efficient queue unlocking in flush and state changes.
29579         Set the pad activate mode even if it does not have an activate
29580         function.
29581
29582 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29583
29584         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29585           Don't go in pull mode for non-seekable sources.
29586         * gst/elements/gsttypefindelement.h:
29587         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29588         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29589         (free_entry), (stop_typefinding),
29590         (gst_type_find_element_handle_event), (find_peek),
29591         (gst_type_find_element_chain), (do_pull_typefind),
29592         (gst_type_find_element_change_state):
29593           Allow typefinding (w/o seeking) in push-mode, simplified version
29594           of what was in 0.8.
29595         * gst/gstutils.c: (gst_buffer_join):
29596         * gst/gstutils.h:
29597           gst_buffer_join() from 0.8.
29598
29599 2005-05-25  Wim Taymans  <wim@fluendo.com>
29600
29601         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29602         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29603         (gst_pad_send_event), (gst_pad_start_task):
29604         Disable attempt at mode switching until it is figured out.
29605
29606 2005-05-25  Wim Taymans  <wim@fluendo.com>
29607
29608         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29609         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29610         (gst_basesink_finish_preroll), (gst_basesink_chain),
29611         (gst_basesink_loop), (gst_basesink_activate),
29612         (gst_basesink_change_state):
29613         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29614         (gst_basesrc_get_range), (gst_basesrc_loop),
29615         (gst_basesrc_activate):
29616         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29617         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29618         (gst_real_pad_init), (gst_real_pad_set_property),
29619         (gst_real_pad_get_property), (gst_pad_set_active),
29620         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29621         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29622         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29623         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29624         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29625         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29626         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29627         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29628         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29629         (gst_pad_stop_task):
29630         * gst/gstpad.h:
29631         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29632         (gst_queue_loop), (gst_queue_src_activate):
29633         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29634         (gst_task_get_state):
29635         * gst/gsttask.h:
29636         * gst/schedulers/threadscheduler.c:
29637         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29638         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29639         in task function.
29640         Remove ACTIVE pad flag, use FLUSHING everywhere
29641         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29642         functions.
29643         Add locks around IS_FLUSHING when reading.
29644         Take STREAM lock in chain(), get_range() functions so plugins
29645         don't need to take it anymore.
29646         
29647
29648
29649 2005-05-25  Wim Taymans  <wim@fluendo.com>
29650
29651         * tools/gst-launch.c: (event_loop):
29652         Unref message after using its contents instead of
29653         before.
29654
29655 2005-05-24  Wim Taymans  <wim@fluendo.com>
29656
29657         * docs/design/draft-ghostpads.txt:
29658         * docs/design/draft-push-pull.txt:
29659         * docs/design/draft-query.txt:
29660         * docs/design/part-overview.txt:
29661         Docs updates, added general overview doc.
29662
29663 2005-05-21  David Schleef  <ds@schleef.org>
29664
29665         * docs/gst/tmpl/old/GstBin.sgml:
29666         * docs/gst/tmpl/old/GstBuffer.sgml:
29667         * docs/gst/tmpl/old/GstCaps.sgml:
29668         * docs/gst/tmpl/old/GstClock.sgml:
29669         * docs/gst/tmpl/old/GstCompat.sgml:
29670         * docs/gst/tmpl/old/GstData.sgml:
29671         * docs/gst/tmpl/old/GstElement.sgml:
29672         * docs/gst/tmpl/old/GstEvent.sgml:
29673         * docs/gst/tmpl/old/GstIndex.sgml:
29674         * docs/gst/tmpl/old/GstStructure.sgml:
29675         * docs/gst/tmpl/old/GstTag.sgml:
29676         * docs/gst/tmpl/old/cothreads.sgml:
29677         * docs/gst/tmpl/old/cothreads_compat.sgml:
29678         * docs/gst/tmpl/old/gettext.sgml:
29679         * docs/gst/tmpl/old/gobject2gtk.sgml:
29680         * docs/gst/tmpl/old/grammar.tab.sgml:
29681         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29682         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29683         * docs/gst/tmpl/old/gst_private.sgml:
29684         * docs/gst/tmpl/old/gstaggregator.sgml:
29685         * docs/gst/tmpl/old/gstarch.sgml:
29686         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29687         * docs/gst/tmpl/old/gstbufferstore.sgml:
29688         * docs/gst/tmpl/old/gstdata_private.sgml:
29689         * docs/gst/tmpl/old/gstdisksink.sgml:
29690         * docs/gst/tmpl/old/gstdisksrc.sgml:
29691         * docs/gst/tmpl/old/gstelementfactory.sgml:
29692         * docs/gst/tmpl/old/gstextratypes.sgml:
29693         * docs/gst/tmpl/old/gstfakesink.sgml:
29694         * docs/gst/tmpl/old/gstfakesrc.sgml:
29695         * docs/gst/tmpl/old/gstfdsink.sgml:
29696         * docs/gst/tmpl/old/gstfdsrc.sgml:
29697         * docs/gst/tmpl/old/gstfilesink.sgml:
29698         * docs/gst/tmpl/old/gstfilesrc.sgml:
29699         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29700         * docs/gst/tmpl/old/gstidentity.sgml:
29701         * docs/gst/tmpl/old/gstindexfactory.sgml:
29702         * docs/gst/tmpl/old/gstmarshal.sgml:
29703         * docs/gst/tmpl/old/gstmd5sink.sgml:
29704         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29705         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29706         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29707         * docs/gst/tmpl/old/gstpipefilter.sgml:
29708         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29709         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29710         * docs/gst/tmpl/old/gstshaper.sgml:
29711         * docs/gst/tmpl/old/gstspider.sgml:
29712         * docs/gst/tmpl/old/gstspideridentity.sgml:
29713         * docs/gst/tmpl/old/gststatistics.sgml:
29714         * docs/gst/tmpl/old/gsttee.sgml:
29715         * docs/gst/tmpl/old/gsttimecache.sgml:
29716         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29717         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29718         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29719         * docs/gst/tmpl/old/types.sgml:
29720           I didn't intend to add these or check them in.
29721
29722 2005-05-19  David Schleef  <ds@schleef.org>
29723
29724         * configure.ac: Use -no-common everywhere.  In a sane world, it
29725           would be the default in libtool, because without it, you can't
29726           build DLLs on Windows.
29727         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29728         * docs/gst/gstreamer-sections.txt:
29729         * docs/gst/tmpl/gstcpu.sgml:
29730         * docs/gst/tmpl/gstdata.sgml:
29731         * docs/gst/tmpl/gstthread.sgml:
29732
29733 2005-05-19  David Schleef  <ds@schleef.org>
29734
29735         * gst/gstminiobject.c: (gst_value_set_mini_object),
29736         (gst_value_take_mini_object), (gst_value_get_mini_object):
29737         * gst/gstminiobject.h: Add GValue set/get functions.
29738
29739 2005-05-19  Wim Taymans  <wim@fluendo.com>
29740
29741         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29742         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29743         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29744         * gst/gstbuffer.h:
29745         * gst/gstbus.c: (gst_bus_post):
29746         * gst/gstelement.c: (gst_element_get_random_pad):
29747         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29748         Make subbufer unref the parent in finalize.
29749         some more debugging info.
29750
29751
29752 2005-05-19  Wim Taymans  <wim@fluendo.com>
29753
29754         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29755         (gst_basesink_init), (gst_basesink_finalize),
29756         (gst_basesink_activate), (gst_basesink_change_state):
29757         Don't free preroll queue too early.
29758
29759 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29760
29761         * gst/Makefile.am:
29762         * gst/ROADMAP:
29763           Hi, I'm outdated. Please shoot me.
29764
29765 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29766
29767         * gst/gstpipeline.c: (gst_pipeline_send_event):
29768           Do not access variables after they have been deleted.
29769
29770 2005-05-19  Wim Taymans  <wim@fluendo.com>
29771
29772         * tools/gst-inspect.c: (print_plugin_features):
29773         A plugin feature does unfortunatly not use the
29774         object name yet...
29775
29776 2005-05-18  Wim Taymans  <wim@fluendo.com>
29777
29778         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29779         Port _span() functions to new subbuffers.
29780
29781 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29782
29783         * gst/gstbin.c: (gst_bin_add_func):
29784           Fix clock settery in bins when adding kids after the clock has
29785           been selected.
29786
29787 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29788
29789         * gst/elements/gstidentity.c: (gst_identity_class_init):
29790           Workaround until signals support GstMiniObject.
29791
29792 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
29793
29794         * gst/gstbuffer.c:
29795         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29796
29797 2005-05-18  Wim Taymans  <wim@fluendo.com>
29798
29799         * gst/base/Makefile.am:
29800         * gst/base/gstadapter.c: (gst_adapter_base_init),
29801         (gst_adapter_class_init), (gst_adapter_init),
29802         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29803         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29804         (gst_adapter_flush), (gst_adapter_available),
29805         (gst_adapter_available_fast):
29806         * gst/base/gstadapter.h:
29807         Ported and added adapter to the base classes.
29808
29809 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29810
29811         * gst/gst.c:
29812         * gst/gstmessage.c:
29813           Make sure the class is reffed/unreffed once before threads can be
29814           used.  Fixes #304551.
29815
29816 2005-05-17  Wim Taymans  <wim@fluendo.com>
29817
29818         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29819         (gst_basesink_chain_unlocked), (gst_basesink_activate):
29820         * gst/gstminiobject.c: (gst_mini_object_get_type),
29821         (gst_mini_object_free):
29822         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29823         (gst_pad_push), (gst_pad_push_event):
29824         * gst/gstqueue.c: (gst_queue_change_state):
29825         Don't queue buffers in basesink when we are flushing.
29826         Unref buffer when flushing in basesink.
29827         Flush queue when going to READY
29828         Unref buffer when _push() returns an error.
29829         Don't free MiniObject instance when refcount is incremented
29830         in _finalize() so that we can recover objects.
29831
29832 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29833
29834         * docs/manual/advanced-schedulers.xml:
29835         * docs/manual/appendix-checklist.xml:
29836         * docs/pwg/advanced-clock.xml:
29837         * docs/pwg/advanced-interfaces.xml:
29838         * docs/pwg/advanced-request.xml:
29839         * docs/pwg/advanced-types.xml:
29840         * docs/pwg/intro-preface.xml:
29841         * examples/plugins/example.c: (gst_example_get_type),
29842         (gst_example_class_init), (gst_example_chain),
29843         (gst_example_set_property), (gst_example_get_property),
29844         (gst_example_change_state), (plugin_init):
29845         * examples/plugins/example.h:
29846           small doc fixes
29847
29848 2005-05-17  Wim Taymans  <wim@fluendo.com>
29849
29850         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29851         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29852         * gst/gstqueue.c: (gst_queue_change_state):
29853         Clear queue when going to READY.
29854         Remove IN_SETCAPS flag too.
29855
29856 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
29857
29858         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29859           Remove implicit cast from gboolean to GstElementStateReturn;
29860           make sure we still return failure in paused => ready case if
29861           the parent class fails to change state and our own stop 
29862           vfunc succeeds.
29863
29864 2005-05-17  Wim Taymans  <wim@fluendo.com>
29865
29866         * tools/gst-launch.c: (event_loop):
29867         Message was unreffed too soon.
29868
29869 2005-05-16  Andy Wingo  <wingo@pobox.com>
29870
29871         * gst/gstbin.c (sink_iterator_filter): Err... um...
29872
29873         * check/gst/gstbin.c (test_ghost_pads): New test for the
29874         ghosting-if-elements-not-in-same-bin behavior.
29875
29876 2005-05-16  David Schleef  <ds@schleef.org>
29877
29878         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29879         accessing refcount directly.
29880
29881 2005-05-15  David Schleef  <ds@schleef.org>
29882
29883         * check/Makefile.am: remove GstData checks
29884         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29885         * gst/Makefile.am: add miniobject, remove data
29886         * gst/gst.h: add miniobject, remove data
29887         * gst/gstdata.c: remove
29888         * gst/gstdata.h: remove
29889         * gst/gstdata_private.h: remove
29890         * gst/gsttypes.h: remove GstEvent and GstMessage
29891         * gst/gstelement.c: (gst_element_post_message): fix for API changes
29892         * gst/gstmarshal.list: change BOXED -> OBJECT
29893
29894         Implement GstMiniObject.
29895         * gst/gstminiobject.c:
29896         * gst/gstminiobject.h:
29897
29898         Modify to be subclasses of GstMiniObject.
29899         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29900         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29901         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29902         (gst_subbuffer_get_type), (gst_subbuffer_init),
29903         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29904         (gst_buffer_span):
29905         * gst/gstbuffer.h:
29906         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29907         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29908         (_gst_event_copy), (gst_event_new):
29909         * gst/gstevent.h:
29910         * gst/gstmessage.c: (_gst_message_initialize),
29911         (gst_message_get_type), (gst_message_class_init),
29912         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29913         (gst_message_new), (gst_message_new_error),
29914         (gst_message_new_warning), (gst_message_new_tag),
29915         (gst_message_new_state_changed), (gst_message_new_application):
29916         * gst/gstmessage.h:
29917         * gst/gstprobe.c: (gst_probe_perform),
29918         (gst_probe_dispatcher_dispatch):
29919         * gst/gstprobe.h:
29920         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29921         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29922         (_gst_query_copy), (gst_query_new):
29923
29924         Update elements for GstData -> GstMiniObject changes
29925         * gst/gstquery.h:
29926         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29927         (gst_queue_chain), (gst_queue_loop):
29928         * gst/elements/gstbufferstore.c:
29929         (gst_buffer_store_add_buffer_func),
29930         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29931         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29932         (gst_fakesink_render):
29933         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29934         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29935         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29936         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29937         (gst_filesrc_create_read):
29938         * gst/elements/gstidentity.c: (gst_identity_class_init):
29939         * gst/elements/gsttypefindelement.c:
29940         (gst_type_find_element_src_event), (free_entry_buffers),
29941         (gst_type_find_element_handle_event):
29942         * libs/gst/dataprotocol/dataprotocol.c:
29943         (gst_dp_header_from_buffer):
29944         * libs/gst/dataprotocol/dataprotocol.h:
29945         * libs/gst/dataprotocol/dp-private.h:
29946
29947 2005-05-15  David Schleef  <ds@schleef.org>
29948
29949         * gst/elements/gstelements.c: Don't include headers that were
29950         just removed.
29951
29952 2005-05-15  David Schleef  <ds@schleef.org>
29953
29954         * gst/elements/Makefile.am: Remove some elements that don't
29955         need to be in the core (or even exist at all).
29956         * gst/elements/gstaggregator.c:
29957         * gst/elements/gstaggregator.h:
29958         * gst/elements/gstmd5sink.c:
29959         * gst/elements/gstmd5sink.h:
29960         * gst/elements/gstmultifilesrc.c:
29961         * gst/elements/gstmultifilesrc.h:
29962         * gst/elements/gstpipefilter.c:
29963         * gst/elements/gstpipefilter.h:
29964         * gst/elements/gstshaper.c:
29965         * gst/elements/gstshaper.h:
29966         * gst/elements/gststatistics.c:
29967         * gst/elements/gststatistics.h:
29968         * po/POTFILES.in: Remove above files.
29969
29970 2005-05-14  Andy Wingo  <wingo@pobox.com>
29971
29972         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29973         so as to get the refs right.
29974         (sink_iterator_filter): New function, wraps bin_element_is_sink,
29975         unreffing objects that don't pass the filter.
29976
29977         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29978         gst_element_set_bus.
29979         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29980         normal cases, this will destroy the bus.
29981
29982         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29983         object.
29984
29985         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29986         has no sinks.
29987
29988 2005-05-13  Andy Wingo  <wingo@pobox.com>
29989
29990         * gst/gstutils.c (gst_element_link_pads): Instead of calling
29991         gst_pad_link, call pad_link_maybe_ghosting,
29992         (pad_link_maybe_ghosting): Links pads, making sure that the
29993         elements being linked are in the same bin.
29994         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29995         Helpers for pad_link_maybe_ghosting.
29996
29997 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
29998
29999         * configure.ac:
30000           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30001
30002 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30003
30004         * docs/design/part-element-source.txt:
30005           Mention GstPushSrc
30006
30007 2005-05-12  Wim Taymans  <wim@fluendo.com>
30008
30009         * gst/base/gstbasesink.c: (gst_basesink_init),
30010         (gst_basesink_activate):
30011         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30012         (gst_basesrc_is_seekable):
30013         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30014         (bin_element_is_sink), (gst_bin_change_state):
30015         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30016         * gst/gstelement.h:
30017         Identify sinks by their flag to avoid overly complicated
30018         checks (fow now).
30019         Do state changes even for elements not reachable from the
30020         sinks.
30021         BaseSink is a sink now :)
30022         Some more debugging info in the basesrc.
30023
30024
30025 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30026
30027         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30028           Implement _query on a bin, similar to _send_event.
30029
30030 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30031
30032         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30033           Discont event offset format should be GST_FORMAT_BYTES,
30034           not GST_FORMAT_TIME.
30035
30036 2005-05-12  Wim Taymans  <wim@fluendo.com>
30037
30038         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30039         Same fix as Ronald's but without the signal. 
30040
30041 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30042
30043         * gst/gstutils.c: (gst_element_query_position):
30044           No, an element is not a pad.
30045
30046 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30047
30048         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30049         (gst_bin_get_state):
30050           If a child is removed from a bin while we remove the child from
30051           the bin and while we're retrieving its state, signal this to the
30052           get_state function so we abort the wait (instead of waiting for
30053           a timeout) and can immediately re-iterate over all other elements.
30054
30055 2005-05-12  Wim Taymans  <wim@fluendo.com>
30056
30057         * gst/base/Makefile.am:
30058         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30059         (gst_basesrc_start):
30060         * gst/base/gstbasesrc.h:
30061         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30062         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30063         (gst_pushsrc_init), (gst_pushsrc_create):
30064         * gst/base/gstpushsrc.h:
30065         Added is_seekable to BaseSrc
30066         Added simple PushSrc.
30067
30068 2005-05-11  Wim Taymans  <wim@fluendo.com>
30069
30070         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30071         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30072         (gst_element_link_pads), (gst_element_query_position),
30073         (gst_element_query_convert), (intersect_caps_func),
30074         (gst_pad_query_position), (gst_pad_query_convert):
30075         Fix refcounting in utils function.
30076         No point in trying to activate a pad when it's added, it could
30077         be added from the state change function and then we deadlock, the
30078         element has to decide what to do.
30079
30080 2005-05-10  Andy Wingo  <wingo@pobox.com>
30081
30082         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30083         *all* the arguments.
30084
30085         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30086         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30087         lock (according to the docs -- if this is wrong change the docs).
30088
30089         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30090         flush messages in the NULL state.
30091
30092         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30093         message immediately and return.
30094         (gst_bus_set_flushing): New function. If a bus is flushing, it
30095         flushes out any queued messages and immediately unrefs new
30096         messages. This is so when an element goes to NULL, all of the
30097         unhandled messages coming from it can be freed, and their
30098         references to the element dropped. In other words: message source
30099         ref considered harmful :P
30100
30101         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30102         we're finished with it.
30103
30104         * gst/gstmessage.c (gst_message_new_state_changed): 
30105
30106 2005-05-10  Wim Taymans  <wim@fluendo.com>
30107
30108         * gst/gstvalue.c: (gst_value_compare_flags),
30109         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30110         (_gst_value_initialize):
30111         Added flags serialize/deserialize/compare code.
30112
30113 2005-05-09  Andy Wingo  <wingo@pobox.com>
30114
30115         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30116         Intersect the peer's caps with our caps.
30117
30118 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30119
30120         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30121         * gst/elements/gsttypefindelement.c: (find_peek):
30122           Handle negative offsets better. Fixes decodebin.
30123
30124 2005-05-09  Wim Taymans  <wim@fluendo.com>
30125
30126         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30127         (gst_base_transform_event):
30128         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30129         Implement accept_caps.
30130         Fix silly lock/unlock mismatch in base class.
30131
30132 2005-05-09  Wim Taymans  <wim@fluendo.com>
30133
30134         * docs/design/draft-push-pull.txt:
30135         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30136         * gst/elements/gstfilesink.c: (gst_filesink_init),
30137         (gst_filesink_query):
30138         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30139         (gst_type_find_handle_src_query), (find_element_get_length):
30140         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30141         * gst/gstelement.h:
30142         * gst/gstmessage.c:
30143         * gst/gstmessage.h:
30144         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30145         (gst_real_pad_get_caps_unlocked),
30146         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30147         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30148         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30149         (gst_real_pad_dispose), (gst_real_pad_finalize),
30150         (gst_pad_load_and_link), (gst_pad_save_thyself),
30151         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30152         (gst_pad_check_pull_range), (gst_pad_pull_range),
30153         (gst_pad_template_get_type), (gst_pad_template_class_init),
30154         (gst_pad_template_init), (gst_pad_template_dispose),
30155         (name_is_valid), (gst_static_pad_template_get),
30156         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30157         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30158         (gst_pad_get_element_private), (gst_pad_start_task),
30159         (gst_pad_pause_task), (gst_pad_stop_task),
30160         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30161         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30162         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30163         (gst_ghost_pad_new):
30164         * gst/gstpad.h:
30165         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30166         (gst_query_new_position), (gst_query_set_position),
30167         (gst_query_parse_position), (gst_query_new_convert),
30168         (gst_query_set_convert), (gst_query_parse_convert):
30169         * gst/gstquery.h:
30170         * gst/gstqueryutils.c:
30171         * gst/gstqueryutils.h:
30172         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30173         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30174         (gst_queue_handle_src_query):
30175         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30176         (gst_element_query_position), (gst_element_query_convert),
30177         (intersect_caps_func), (gst_pad_query_position),
30178         (gst_pad_query_convert):
30179         * gst/gstutils.h:
30180         * tools/gst-inspect.c: (print_pad_info):
30181         * tools/gst-xmlinspect.c: (print_element_info):
30182         Remove old query functions. Ported old code.
30183         Added position/convert helper functions to gstutils.
30184         Reordered gstpad.c code, grouping relevant things.
30185         Remove gst_message_new(), always need to speficy a specific
30186         message.
30187
30188
30189 2005-05-09  Andy Wingo  <wingo@pobox.com>
30190
30191         * gst/gstiterator.h: Add some includes.
30192
30193         * gst/gstqueryutils.h: Include more headers.
30194
30195         * gst/gstpad.h:
30196         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30197         some uses of gst_pad_query.
30198
30199         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30200         NULL out parameters.
30201         (gst_query_new_position): New proc, allocates a new position
30202         query.
30203
30204         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30205         gstqueryutils.c to the build.
30206
30207         * gst/gststructure.c (gst_structure_set_valist): Implement with
30208         the generic G_VALUE_COLLECT.
30209         
30210 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30211
30212         * gst/Makefile.am: (gst_headers):
30213         Added gstqueryutils.h to the list of headers to install, that was
30214         a 'nachty' move wingo :)
30215
30216 2005-05-06  Andy Wingo  <wingo@pobox.com>
30217
30218         * gst/gstquery.h
30219         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30220         GstData, init a memchunk.
30221         (standard_definitions): Add a few query types, deprecate a few.
30222         (gst_query_get_type): New proc.
30223         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30224         implementation.
30225         (gst_query_new_application, gst_query_get_structure): New public
30226         procs.
30227
30228         * docs/design/draft-query.txt: Removed LINKS from the query types,
30229         because all the rest can be dispatched to other pads -- seemed
30230         ugly to have a query that couldn't be dispatched. internal_links
30231         is fine as a pad method.
30232
30233         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30234         in gstpad.c, but maintain binary compatibility for the moment.
30235         Will fix before 0.9 is out.
30236
30237         * gst/gstqueryutils.c: 
30238         * gst/gstqueryutils.h: New files, implement 3 methods for each
30239         query type: parse_query, parse_response, and set. Probably need an
30240         allocator as well.
30241
30242         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30243
30244         * gst/elements/gstfilesink.c (gst_filesink_query2):
30245         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30246         query_types, and formats methods.
30247
30248         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30249         (gst_pad_set_query2_function): New functions.
30250         (gst_real_pad_init): Set query2_default as the default query2
30251         function. Basically just dispatches to internally linked pads.
30252
30253         Needs review!
30254         
30255         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30256         without using the atomic operations. Only one thread can possibly
30257         be accessing the data at this point. Changed so as to avoid
30258         gst_atomic operations.
30259
30260 2005-05-06  Wim Taymans  <wim@fluendo.com>
30261
30262         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30263         Also set caps if we use the fallback buffer alloc.
30264
30265 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30266
30267         * docs/gst/Makefile.am:
30268         * docs/gst/gstreamer-docs.sgml:
30269         * docs/gst/gstreamer-sections.txt:
30270         * docs/gst/tmpl/gstatomic.sgml:
30271         * docs/gst/tmpl/gstmemchunk.sgml:
30272         * testsuite/elements/struct_i386.h:
30273         * win32/GStreamer.vcproj:
30274         * win32/Makefile:
30275           Purge GstAtomic stuff from docs and win32 makefiles as well
30276
30277 2005-05-06  Wim Taymans  <wim@fluendo.com>
30278
30279         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30280         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30281         * gst/gstpad.c: (gst_pad_peer_get_caps):
30282         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30283         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30284         (gst_queue_src_activate), (gst_queue_change_state):
30285         * gst/gstqueue.h:
30286         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30287         (intersect_caps_func):
30288         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30289         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30290         Some fixes for the peer_get_caps() change.
30291
30292 2005-05-06  Wim Taymans  <wim@fluendo.com>
30293
30294         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30295         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30296         (gst_basesink_activate):
30297         Actually do something with error codes returned from the push
30298         functions.
30299
30300 2005-05-06  Wim Taymans  <wim@fluendo.com>
30301
30302         * docs/design/part-element-sink.txt:
30303         * docs/design/part-element-source.txt:
30304         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30305         (gst_basesink_event), (gst_basesink_activate):
30306         * gst/base/gstbasesink.h:
30307         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30308         (gst_basesrc_activate):
30309         * gst/base/gstbasesrc.h:
30310         * gst/gstelement.c: (gst_element_pads_activate):
30311         Some more documentation.
30312         Fixed scheduling decision in _pads_activate().
30313
30314 2005-05-05  Andy Wingo  <wingo@pobox.com>
30315
30316         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30317         the test suite.
30318
30319 2005-05-05  Wim Taymans  <wim@fluendo.com>
30320
30321         * gst/base/Makefile.am:
30322         * gst/base/gstbasesink.h:
30323         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30324         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30325         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30326         (gst_collectpads_class_init), (gst_collectpads_init),
30327         (gst_collectpads_finalize), (gst_collectpads_new),
30328         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30329         (find_pad), (gst_collectpads_remove_pad),
30330         (gst_collectpads_is_active), (gst_collectpads_collect),
30331         (gst_collectpads_collect_range), (gst_collectpads_start),
30332         (gst_collectpads_stop), (gst_collectpads_peek),
30333         (gst_collectpads_pop), (gst_collectpads_available),
30334         (gst_collectpads_read), (gst_collectpads_flush),
30335         (gst_collectpads_chain):
30336         * gst/base/gstcollectpads.h:
30337         * gst/elements/Makefile.am:
30338         * gst/elements/gstelements.c:
30339         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30340         (gst_fakesink_get_times), (gst_fakesink_event),
30341         (gst_fakesink_preroll), (gst_fakesink_render):
30342         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30343         (gst_filesink_init), (gst_filesink_set_location),
30344         (gst_filesink_open_file), (gst_filesink_close_file),
30345         (gst_filesink_pad_query), (gst_filesink_event),
30346         (gst_filesink_render), (gst_filesink_change_state):
30347         * gst/elements/gstfilesink.h:
30348         Added object to help in making collect pad based elements.
30349         Ported filesink.
30350         Make event function in sink baseclass return gboolean.
30351
30352 2005-05-05  Wim Taymans  <wim@fluendo.com>
30353
30354         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30355         (gst_bin_get_by_name):
30356         * gst/gstbuffer.h:
30357         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30358         (gst_clock_finalize):
30359         * gst/gstdata.c: (gst_data_replace):
30360         * gst/gstdata.h:
30361         * gst/gstelement.c: (gst_element_request_pad),
30362         (gst_element_pads_activate):
30363         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30364         (gst_object_unref):
30365         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30366         (gst_pad_set_checkgetrange_function),
30367         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30368         (gst_pad_check_pull_range), (gst_pad_pull_range),
30369         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30370         (gst_pad_pause_task), (gst_pad_stop_task):
30371         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30372         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30373         Fix name lookup in GstBin.
30374         Added _data_replace() function and _buffer_replace()
30375         Use finalize method to clean up clock.
30376         Fix refcounting on request pads.
30377         Fix pad schedule mode error.
30378         Some more object refcounting debug info,
30379
30380
30381 2005-05-04  Andy Wingo <wingo@pobox.com>
30382
30383         * check/Makefile.am:
30384         * docs/gst/tmpl/gstatomic.sgml:
30385         * docs/gst/tmpl/gstplugin.sgml:
30386         * gst/base/gstbasesink.c: (gst_basesink_activate):
30387         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30388         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30389         (gst_basesrc_query), (gst_basesrc_set_property),
30390         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30391         (gst_basesrc_activate):
30392         * gst/base/gstbasesrc.h:
30393         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30394         (gst_base_transform_src_activate):
30395         * gst/elements/gstelements.c:
30396         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30397         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30398         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30399         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30400         (gst_type_find_element_checkgetrange),
30401         (gst_type_find_element_activate):
30402         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30403         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30404         (gst_caps_load_thyself):
30405         * gst/gstelement.c: (gst_element_pads_activate),
30406         (gst_element_save_thyself), (gst_element_restore_thyself):
30407         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30408         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30409         * gst/gstpad.h:
30410         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30411         (gst_xml_parse_file), (gst_xml_parse_memory),
30412         (gst_xml_get_element), (gst_xml_make_element):
30413         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30414         (_file_index_id_save_xml), (gst_file_index_commit):
30415         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30416         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30417         (load_paths):
30418         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30419         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30420         * tools/gst-complete.c: (main):
30421         * tools/gst-compprep.c: (main):
30422         * tools/gst-inspect.c: (print_element_properties_info):
30423         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30424         * tools/gst-xmlinspect.c: (print_element_properties):
30425         GCC 4 fixen.
30426         
30427 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30428
30429         * gst/gstplugin.c: (gst_plugin_check_module),
30430         (gst_plugin_check_file), (gst_plugin_load_file):
30431             apply patch from #172526 to make register work on MacOSX
30432
30433 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30434
30435         * docs/gst/tmpl/gstconfig.sgml:
30436         * gst/gstconfig.h.in:
30437           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30438         * testsuite/debug/printf_extension.c: (main):
30439           Do not use GST_PTR_FORMAT on pointers to types with
30440           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30441         * testsuite/elements/property.h:
30442           use correct printf format
30443
30444 2005-05-02  Wim Taymans  <wim@fluendo.com>
30445
30446         * docs/design/draft-push-pull.txt:
30447         * docs/design/draft-query.txt:
30448         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30449         (gst_basesrc_start):
30450         Added draft for new query API.
30451         Added draft for better selecting scheduling methods.
30452         Make basesrc ignore length if the subclass does not support
30453         it.
30454
30455 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30456
30457         * gst/Makefile.am:
30458           possible fixes for automake-1.5 - _LIBADD is reserved
30459
30460 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30461
30462         * docs/faq/Makefile.am:
30463         * docs/manual/Makefile.am:
30464         * docs/manuals.mak:
30465         * docs/pwg/Makefile.am:
30466         * gst/Makefile.am:
30467           possible fixes for automake-1.5
30468
30469 2005-04-28  Wim Taymans  <wim@fluendo.com>
30470
30471         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30472         (gst_basesink_pad_getcaps), (gst_basesink_init),
30473         (gst_basesink_do_sync):
30474         * gst/gstclock.c: (gst_clock_entry_new):
30475         * gst/gstevent.c: (gst_event_discont_get_value):
30476         * gst/gstpipeline.c: (pipeline_bus_handler),
30477         (gst_pipeline_change_state):
30478         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30479         Better debugging of clocking info.
30480         Allow NULL values when getting discont values.
30481
30482 2005-04-27  Wim Taymans  <wim@fluendo.com>
30483
30484         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30485         * check/gst/gstpad.c: (gst_pad_suite):
30486         Increase timeout for checks.
30487
30488 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30489
30490         * check/Makefile.am:
30491           fix the broken rule for cleanup.  Apparently this rule is
30492           only needed on FC2, so maybe this warrants further autotool
30493           inspection.
30494
30495 2005-04-26  Wim Taymans  <wim@fluendo.com>
30496
30497         * gst/gsttrashstack.h:
30498         Ooohh. a nasty one! After having a failed pop() from the stack,
30499         it's possible that the stack is empty. In that case, don't
30500         follow the NULL pointer.
30501
30502 2005-04-25  Wim Taymans  <wim@fluendo.com>
30503
30504         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30505         (gst_pad_set_checkgetrange_function),
30506         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30507         (gst_pad_check_pull_range), (gst_pad_pull_range),
30508         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30509         (gst_pad_pause_task), (gst_pad_stop_task):
30510         * gst/gstplugin.c: (gst_plugin_load):
30511         * gst/gstplugin.h:
30512         Remove gst_library_load as it does more harm than good with
30513         the new g_module flags.
30514         Revert bogus caps template check in pad linking, pad caps
30515         are important when linking not the template, which is more
30516         general than the current caps.
30517
30518 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30519
30520         * gst/autoplug/.cvsignore:
30521         * gst/autoplug/Makefile.am:
30522         * gst/autoplug/gstsearchfuncs.c:
30523         * gst/autoplug/gstsearchfuncs.h:
30524         * gst/autoplug/gstspider.c:
30525         * gst/autoplug/gstspider.h:
30526         * gst/autoplug/gstspideridentity.c:
30527         * gst/autoplug/gstspideridentity.h:
30528         * gst/autoplug/spidertest.c:
30529           Die, spider, die.
30530
30531 2005-04-25  Wim Taymans  <wim@fluendo.com>
30532
30533         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30534         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30535         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30536         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30537         * gst/gstpad.h:
30538         Added stubs for unimplemented functions. 
30539
30540 2005-04-24  David Schleef  <ds@schleef.org>
30541
30542         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30543         please fix.
30544
30545 2005-04-24  David Schleef  <ds@schleef.org>
30546
30547         Convert everything from GstAtomicInt to g_atomic_int_*, and
30548         remove gstatomic.
30549         * gst/Makefile.am:
30550         * gst/gstatomic.c:
30551         * gst/gstatomic.h:
30552         * gst/gstatomic_impl.h:
30553         * gst/gstbuffer.c:
30554         * gst/gstcaps.c:
30555         * gst/gstcaps.h:
30556         * gst/gstclock.c:
30557         * gst/gstclock.h:
30558         * gst/gstdata.c:
30559         * gst/gstdata.h:
30560         * gst/gstdata_private.h:
30561         * gst/gstevent.c:
30562         * gst/gstinfo.c:
30563         * gst/gstinfo.h:
30564         * gst/gstmessage.c:
30565         * gst/gstobject.c:
30566         * gst/gstobject.h:
30567         * gst/gststructure.c:
30568         * gst/gststructure.h:
30569         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30570         * gst/gstutils.h:
30571
30572 2005-04-24  David Schleef  <ds@schleef.org>
30573
30574         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30575         make the regressions tests work.  Remove some code that is no
30576         longer true.
30577         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30578         Disable warning for pads without templates.
30579
30580 2005-04-24  David Schleef  <ds@schleef.org>
30581
30582         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30583         functions that handle filtered links.
30584         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30585         removed functions.
30586         * gst/gstutils.c: Fix/remove utility functions that handle
30587         filtered caps.
30588         * gst/gstutils.h:
30589         * gst/gstvalue.c: Add serialization/deserialization of caps
30590         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30591         requires fixing so that the filter caps notation creates
30592         a capsfilter element and sets the filter_caps property.  I
30593         think everyone probably wants to keep the shorthand notation.
30594         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30595         * docs/gst/tmpl/gstpad.sgml:
30596
30597         * gst/elements/gstelements.c: Register capsfilter element.
30598         * gst/Makefile.am: fix spacing
30599         * docs/random/ds/0.9-suggested-changes: random
30600
30601 2005-04-23  David Schleef  <ds@schleef.org>
30602
30603         * gst/elements/Makefile.am:
30604         * gst/elements/gstcapsfilter.c: New element that acts like an
30605         identity, but filters caps.  Will eventually replace filtered
30606         caps in pad linking.
30607         * gst/gstutils.c: (gst_element_create_all_pads): New function
30608         to create all the ALWAYS pads that are registered with an
30609         element class.  This functionality should eventually be
30610         merged in with GstElement initialization.
30611         * gst/gstutils.h:
30612         * testsuite/trigger/README: part of trigger test code that should
30613         have been checked in a long time ago.
30614
30615 2005-04-23  David Schleef  <ds@schleef.org>
30616
30617         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30618         needed with new versions of libtool (nobody will confirm this),
30619         and hard to carry around.
30620         * gst/autoplug/Makefile.am:
30621         * gst/base/Makefile.am:
30622         * gst/elements/Makefile.am:
30623         * gst/indexers/Makefile.am:
30624         * gst/schedulers/Makefile.am:
30625         * libs/gst/bytestream/Makefile.am:
30626         * libs/gst/control/Makefile.am:
30627         * libs/gst/dataprotocol/Makefile.am:
30628         * libs/gst/getbits/Makefile.am:
30629
30630 2005-04-21  Wim Taymans  <wim@fluendo.com>
30631
30632         * docs/design/draft-push-pull.txt:
30633         * docs/design/part-MT-refcounting.txt:
30634         * docs/design/part-TODO.txt:
30635         * docs/design/part-caps.txt:
30636         * docs/design/part-events.txt:
30637         * docs/design/part-gstbus.txt:
30638         * docs/design/part-gstpipeline.txt:
30639         * docs/design/part-messages.txt:
30640         * docs/design/part-push-pull.txt:
30641         * docs/design/part-query.txt:
30642         Some more docs.
30643
30644 2005-04-21  Wim Taymans  <wim@fluendo.com>
30645
30646         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30647         (gst_message_new), (gst_message_new_error),
30648         (gst_message_new_warning), (gst_message_new_tag),
30649         (gst_message_new_state_changed), (gst_message_new_application),
30650         (gst_message_get_structure):
30651         * gst/gstmessage.h:
30652         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30653         (gst_structure_copy_conditional):
30654         Use parent refcount in GstMessage to ensure GstStructure
30655         consistency.
30656         Cleaned up headers a bit.
30657         
30658
30659 2005-04-20  Wim Taymans  <wim@fluendo.com>
30660
30661         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30662         (gst_basesink_pad_getcaps), (gst_basesink_init),
30663         (gst_basesink_chain_unlocked):
30664         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30665         (gst_type_find_helper):
30666         * gst/elements/gsttypefindelement.c:
30667         (gst_type_find_element_have_type), (gst_type_find_element_init),
30668         (stop_typefinding), (gst_type_find_element_handle_event),
30669         (find_suggest), (gst_type_find_element_chain),
30670         (gst_type_find_element_checkgetrange),
30671         (gst_type_find_element_getrange), (do_typefind),
30672         (gst_type_find_element_activate):
30673         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30674         (gst_buffer_default_free), (gst_buffer_default_copy),
30675         (gst_buffer_set_caps):
30676         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30677         (gst_caps_replace):
30678         * gst/gstmessage.c: (gst_message_new),
30679         (gst_message_new_state_changed):
30680         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30681         (gst_pad_set_checkgetrange_function),
30682         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30683         (gst_pad_set_caps), (gst_pad_check_pull_range),
30684         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30685         * gst/gstpad.h:
30686         * gst/gsttypefind.c: (gst_type_find_register):
30687         Make gst_caps_replace() work like other _replace() functions.
30688         Use _caps_replace() where possible.
30689         Make sure _message_new() initialises its field.
30690         Add gst_static_pad_template_get_caps()
30691
30692
30693 2005-04-18  Andy Wingo  <wingo@pobox.com>
30694
30695         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30696         on the peer, not the pad. I think that was a typo. Pass an extra
30697         arg to see if random access is possible. Activate the pads as
30698         PULL_RANGE if possible.
30699
30700         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30701
30702         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30703         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30704         to PROP_....
30705
30706 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30707
30708         * docs/faq/using.xml:
30709           Add note on gstreamer-properties (#154996).
30710
30711 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30712
30713         * docs/random/bbb/optional-properties:
30714           Some analysis on optional properties.
30715
30716 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30717
30718         * docs/gst/tmpl/gstelementfactory.sgml:
30719         * gst/gstelement.h:
30720         * gst/gstelementfactory.c: (gst_element_factory_init),
30721         (gst_element_factory_cleanup), (gst_element_register),
30722         (__gst_element_factory_add_static_pad_template),
30723         (gst_element_factory_get_static_pad_templates),
30724         (gst_element_factory_can_src_caps),
30725         (gst_element_factory_can_sink_caps):
30726         * gst/registries/Makefile.am:
30727         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30728         (gst_xml_registry_class_init), (gst_xml_registry_init),
30729         (gst_xml_registry_new), (gst_xml_registry_set_property),
30730         (gst_xml_registry_get_property), (get_time), (make_dir),
30731         (gst_xml_registry_get_perms_func),
30732         (plugin_times_older_than_recurse), (plugin_times_older_than),
30733         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30734         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30735         (add_to_char_array), (read_string), (read_uint), (read_enum),
30736         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30737         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30738         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30739         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30740         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30741         (gst_xml_registry_rebuild):
30742         * gst/registries/gstlibxmlregistry.h:
30743         * tools/gst-compprep.c: (main):
30744         * tools/gst-inspect.c: (print_pad_templates_info):
30745         * tools/gst-xmlinspect.c: (print_element_info):
30746           Use libxml2 for registry parsing, use staticpadtemplates in
30747           elementfactories. Makes gst_init() +/- 10x faster.
30748
30749 2005-04-12  Wim Taymans  <wim@fluendo.com>
30750
30751         * gst/base/Makefile.am:
30752         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30753         (gst_basesink_pad_getcaps), (gst_basesink_init),
30754         (gst_basesink_event), (gst_basesink_change_state):
30755         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30756         (gst_basesrc_init), (gst_basesrc_query),
30757         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30758         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30759         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30760         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30761         (gst_basesrc_stop), (gst_basesrc_activate),
30762         (gst_basesrc_change_state):
30763         * gst/base/gsttypefindhelper.c: (helper_find_peek),
30764         (helper_find_suggest), (gst_type_find_helper):
30765         * gst/base/gsttypefindhelper.h:
30766         * gst/elements/Makefile.am:
30767         * gst/elements/gstelements.c:
30768         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30769         (gst_fakesink_get_times), (gst_fakesink_event),
30770         (gst_fakesink_preroll), (gst_fakesink_render):
30771         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30772         (gst_fakesrc_init), (gst_fakesrc_event_handler),
30773         (gst_fakesrc_get_property), (gst_fakesrc_create),
30774         (gst_fakesrc_start), (gst_fakesrc_stop):
30775         * gst/elements/gstfakesrc.h:
30776         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30777         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30778         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30779         (gst_filesrc_create_read), (gst_filesrc_create),
30780         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30781         (gst_filesrc_start):
30782         * gst/elements/gsttypefindelement.c:
30783         (gst_type_find_element_have_type), (gst_type_find_element_init),
30784         (start_typefinding), (stop_typefinding), (push_buffer_store),
30785         (gst_type_find_element_handle_event),
30786         (gst_type_find_element_chain),
30787         (gst_type_find_element_checkgetrange),
30788         (gst_type_find_element_getrange), (do_typefind),
30789         (gst_type_find_element_activate),
30790         (gst_type_find_element_change_state):
30791         * gst/elements/gsttypefindelement.h:
30792         * gst/gstpipeline.c: (pipeline_bus_handler):
30793         Added typefind helper.
30794         Small preroll fix in the base sink.
30795         Disable typefind code in basesrc.
30796         Crude port of typefindelement.
30797         Fakesrc cleanups.
30798
30799
30800 2005-04-11  Wim Taymans  <wim@fluendo.com>
30801
30802         * check/gst/gstbus.c: (gstbus_suite):
30803         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30804         * check/gstcheck.h:
30805           Fix up the timeout so that the test does not fail.
30806
30807 2005-04-06  Wim Taymans  <wim@fluendo.com>
30808
30809         * gst/base/README:
30810         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30811         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30812         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30813         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30814         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30815         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30816         (gst_basesrc_stop), (gst_basesrc_activate),
30817         (gst_basesrc_change_state), (basesrc_find_peek),
30818         (basesrc_find_suggest), (gst_basesrc_type_find):
30819         * gst/base/gstbasesrc.h:
30820         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30821         (gst_filesrc_class_init), (gst_filesrc_init),
30822         (gst_filesrc_finalize), (gst_filesrc_set_location),
30823         (gst_filesrc_set_property), (gst_filesrc_get_property),
30824         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30825         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30826         (gst_filesrc_create_read), (gst_filesrc_create),
30827         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30828         * gst/elements/gstfilesrc.h:
30829         * gst/gstelement.c: (gst_element_get_state_func),
30830         (gst_element_lost_state), (gst_element_pads_activate):
30831         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30832         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30833         (gst_pad_pull_range):
30834         * gst/gstpad.h:
30835         More work on the generic source base class, implement seeking,
30836         query.
30837         Make filesrc extend the base source class.
30838         Added gst_pad_set_checkgetrange_function to GstPad.
30839
30840 2005-04-06  Andy Wingo  <wingo@pobox.com>
30841
30842         * pkgconfig/gstreamer-base.pc.in:
30843         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30844
30845         * pkgconfig/Makefile.am:
30846         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30847
30848 2005-04-04  Wim Taymans  <wim@fluendo.com>
30849
30850         * gst/base/Makefile.am:
30851         * gst/base/README:
30852         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30853         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30854         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30855         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30856         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30857         (gst_basesrc_base_init), (gst_basesrc_class_init),
30858         (gst_basesrc_init), (gst_basesrc_get_formats),
30859         (gst_basesrc_get_query_types), (gst_basesrc_query),
30860         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30861         (gst_basesrc_set_property), (gst_basesrc_get_property),
30862         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30863         (gst_basesrc_loop), (gst_basesrc_activate),
30864         (gst_basesrc_change_state):
30865         * gst/base/gstbasesrc.h:
30866         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30867         (gst_fakesrc_class_init), (gst_fakesrc_init),
30868         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30869         (gst_fakesrc_get_property), (gst_fakesrc_create):
30870         * gst/elements/gstfakesrc.h:
30871         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30872         (gst_filesrc_open_file), (gst_filesrc_loop),
30873         (gst_filesrc_activate), (filesrc_find_peek),
30874         (gst_filesrc_type_find):
30875         Made base source class, make fakesrc extend it.
30876         Add comments to basesink class.
30877         Some filesrc cleanup.
30878
30879 2005-03-31  David Schleef  <ds@schleef.org>
30880
30881         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30882         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30883         expected to link against libgstreamer.
30884         * gst/base/Makefile.am: link against libgstreamer
30885         * gst/elements/Makefile.am: same
30886
30887 2005-03-31  Andy Wingo  <wingo@pobox.com>
30888
30889         * tests/instantiate/Makefile.am:
30890         * tests/instantiate/caps.c: Add test to test speed of caps copy
30891         and free.
30892
30893         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30894         GMemChunk to be fair.
30895
30896         * gst/gsttrashstack.h: Remove warning about using the fallback
30897         trash stack implementation, it's still faster than malloc.
30898
30899 2005-03-30  Andy Wingo  <wingo@pobox.com>
30900
30901         * tests/complexity.c: Add a copyright.
30902
30903 2005-03-31  Wim Taymans  <wim@fluendo.com>
30904
30905         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30906         (gst_base_transform_class_init), (gst_base_transform_init),
30907         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30908         (gst_base_transform_get_property),
30909         (gst_base_transform_sink_activate),
30910         (gst_base_transform_src_activate),
30911         (gst_base_transform_change_state):
30912         * gst/base/gstbasetransform.h:
30913         * gst/elements/gstidentity.c: (gst_identity_class_init),
30914         (gst_identity_event), (gst_identity_check_perfect),
30915         (gst_identity_transform), (gst_identity_start),
30916         (gst_identity_stop):
30917         Added start/stop methods to transform base class so subclasses 
30918         don't need to deal with state changes even.
30919
30920 2005-03-31  Wim Taymans  <wim@fluendo.com>
30921
30922         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30923         (gst_event_new_discontinuous), (gst_event_discont_get_value):
30924         * gst/gstevent.h:
30925         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30926         (gst_pad_pull_range):
30927         Added rate to the discont event to prepare for variable speed
30928         and reverse playback.
30929
30930 2005-03-29  David Schleef  <ds@schleef.org>
30931
30932         * configure.ac:
30933         * testsuite/trigger/Makefile.am:
30934         * testsuite/trigger/trigger.c: A little example program to show
30935         how trigger-based elements can work.
30936
30937 2005-03-29  Wim Taymans  <wim@fluendo.com>
30938
30939         * gst/base/Makefile.am:
30940         * gst/base/README:
30941         * gst/base/gstbasesink.c: (gst_basesink_get_type),
30942         (gst_basesink_base_init), (gst_basesink_class_init),
30943         (gst_basesink_pad_getcaps), (gst_basesink_init),
30944         (gst_basesink_activate), (gst_basesink_change_state):
30945         * gst/base/gstbasesink.h:
30946         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30947         (gst_base_transform_base_init), (gst_base_transform_finalize),
30948         (gst_base_transform_class_init), (gst_base_transform_init),
30949         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30950         (gst_base_transform_event), (gst_base_transform_getrange),
30951         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30952         (gst_base_transform_set_property),
30953         (gst_base_transform_get_property),
30954         (gst_base_transform_sink_activate),
30955         (gst_base_transform_src_activate),
30956         (gst_base_transform_change_state):
30957         * gst/base/gstbasetransform.h:
30958         * gst/elements/gstidentity.c: (gst_identity_finalize),
30959         (gst_identity_class_init), (gst_identity_init),
30960         (gst_identity_event), (gst_identity_check_perfect),
30961         (gst_identity_transform), (gst_identity_set_property),
30962         (gst_identity_get_property), (gst_identity_change_state):
30963         * gst/elements/gstidentity.h:
30964         * gst/gstelement.c: (gst_element_get_state_func),
30965         (gst_element_lost_state), (gst_element_pads_activate):
30966         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30967         (gst_pad_check_pull_range), (gst_pad_pull_range):
30968         * gst/gstpad.h:
30969         Simplify pad activation.
30970         Added function to check if pull_range can be performed.
30971         Error out when pulling inactive or flushing pads.
30972         Removed const from refcounted types as it does not make sense.
30973         Simplify pad templates in basesink
30974         Added base class for simple 1-to-1 transforms.
30975         Make identity subclass the base transform.
30976
30977 2005-03-29  Andy Wingo  <wingo@pobox.com>
30978
30979         * docs/libs/gstreamer-libs-overrides.txt: 
30980         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30981         really don't understand what's going on, but like whatever. I want
30982         green buildbot!
30983
30984         * docs/gst/Makefile.am:
30985         * docs/libs/Makefile.am: Dist the overrides files.
30986
30987         * check/Makefile.am (clean-local): Remove .libs directories.
30988
30989         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30990         elements to EXTRA_DIST, so po/ files are happy.
30991
30992         * po/POTFILES.in: Er, remove it here.
30993
30994         * po/POTFILES: Remove gstspider.c.
30995
30996         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30997
30998         * docs/libs/gstreamer-libs-docs.sgml: 
30999         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31000         bytestream.
31001
31002         * tests/complexity.c (main): Set the length of the preroll queue
31003         on the sinks to prevent a lockup.
31004
31005         * libs/gst/dataprotocol/Makefile.am: 
31006         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31007         the same as the one in check/gst-libs/gdp.c.
31008
31009         * po/, docs/gst/: Commit automatic changes to docs and po files.
31010
31011         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31012         the versioned libgstbase.
31013
31014         * check/Makefile.am: Depend on an unversioned gst-register, seems
31015         to make autoconf happier.
31016
31017         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31018
31019 2005-03-28  Wim Taymans  <wim@fluendo.com>
31020
31021         * configure.ac:
31022         * docs/design/part-gstelement.txt:
31023         * docs/design/part-negotiation.txt:
31024         * docs/design/part-preroll.txt:
31025         * docs/design/part-scheduling.txt:
31026         * docs/design/part-states.txt:
31027         * gst/Makefile.am:
31028         * gst/base/Makefile.am:
31029         * gst/base/README:
31030         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31031         (gst_basesink_base_init), (gst_basesink_class_init),
31032         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31033         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31034         (gst_basesink_set_pad_functions),
31035         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31036         (gst_basesink_set_property), (gst_basesink_get_property),
31037         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31038         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31039         (gst_basesink_preroll_queue_push),
31040         (gst_basesink_preroll_queue_empty),
31041         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31042         (gst_basesink_event), (gst_basesink_get_times),
31043         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31044         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31045         (gst_basesink_loop), (gst_basesink_activate),
31046         (gst_basesink_change_state):
31047         * gst/base/gstbasesink.h:
31048         * gst/elements/Makefile.am:
31049         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31050         (gst_fakesink_class_init), (gst_fakesink_init),
31051         (gst_fakesink_set_property), (gst_fakesink_get_property),
31052         (gst_fakesink_get_times), (gst_fakesink_event),
31053         (gst_fakesink_preroll), (gst_fakesink_render),
31054         (gst_fakesink_change_state):
31055         * gst/elements/gstfakesink.h:
31056         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31057         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31058         * gst/gstelement.c: (gst_element_add_pad),
31059         (gst_element_get_state_func), (gst_element_abort_state),
31060         (gst_element_commit_state), (gst_element_lost_state),
31061         (gst_element_set_state), (gst_element_pads_activate):
31062         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31063         * gst/gstpipeline.c: (gst_pipeline_send_event),
31064         (gst_pipeline_change_state):
31065         Added state change code.
31066         Added/updated docs.
31067         Added sink base class, make fakesink extend the base class.
31068         Small cleanups in GstPipeline.
31069
31070 2005-03-26  David Schleef  <ds@schleef.org>
31071
31072         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31073         is broken and should be implemented in a different library.
31074         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31075         * gst/gst.h: remove gstcpu.h
31076         * gst/gstcpu.c: remove
31077         * gst/gstcpu.h: remove
31078         * gst/Makefile.am.future: Remove this file.  It's ancient.
31079
31080 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31081
31082         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31083         (gst_bin_send_event):
31084           Add default event/set_manager handlers. The set_manager handler
31085           takes care that the manager is distributed over kids that were
31086           already in the bin before the manager was set. The event handler
31087           is a utility virtual function that sends the event over all sinks,
31088           so that gst_element_send_event (bin, event); has the expected
31089           behaviour.
31090         * gst/gstpad.c: (gst_pad_event_default):
31091           Re-install default event handling for discontinuities, so that
31092           seeking works without requiring hacks in applications or extra
31093           code in sinks.
31094         * gst/gstpipeline.c: (gst_pipeline_class_init),
31095         (gst_pipeline_send_event):
31096           Half hack, half utility: set a pipeline to PAUSED for seek events,
31097           since that is the only way we can guarantee a/v sync. Means that
31098           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31099           and it "just works".
31100
31101 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31102
31103         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31104           Lock/unlock mismatch.
31105
31106 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31107
31108         * docs/faq/gst-uninstalled:
31109           add gst-plugins-base
31110         * docs/gst/Makefile.am:
31111           don't error out until docs are fixed
31112         * docs/gst/gstreamer.types:
31113           remove thread
31114
31115 2005-03-22  Wim Taymans  <wim@fluendo.com>
31116
31117         * check/Makefile.am:
31118         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31119         * gst/gststructure.c: (gst_structure_set_valist),
31120         (gst_structure_copy_conditional):
31121         Activated more tests.
31122         Added message test.
31123         Added G_TYPE_POINTER to GstStructure.
31124         
31125
31126 2005-03-22  Wim Taymans  <wim@fluendo.com>
31127
31128         * docs/design/part-TODO.txt:
31129         * docs/design/part-events.txt:
31130         * docs/design/part-gstbin.txt:
31131         * docs/design/part-gstbus.txt:
31132         * docs/design/part-gstpipeline.txt:
31133         * docs/design/part-messages.txt:
31134         * gst/gstbus.c:
31135         * gst/gstmessage.c:
31136         Docs updates
31137
31138 2005-03-21  Wim Taymans  <wim@fluendo.com>
31139
31140         * gst/gstbus.c: (gst_bus_post):
31141         Fix copy-and-paste error.
31142
31143 2005-03-21  Wim Taymans  <wim@fluendo.com>
31144
31145         * check/Makefile.am:
31146         * gst/Makefile.am:
31147         * gst/elements/Makefile.am:
31148         * gst/elements/gstelements.c:
31149         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31150         (gst_fakesink_event), (gst_fakesink_chain):
31151         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31152         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31153         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31154         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31155         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31156         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31157         (gst_fakesrc_loop), (gst_fakesrc_activate),
31158         (gst_fakesrc_change_state):
31159         * gst/elements/gstfakesrc.h:
31160         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31161         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31162         (gst_filesrc_open_file), (gst_filesrc_loop),
31163         (gst_filesrc_activate), (gst_filesrc_change_state),
31164         (filesrc_find_peek), (filesrc_find_suggest),
31165         (gst_filesrc_type_find):
31166         * gst/elements/gstidentity.c: (gst_identity_finalize),
31167         (gst_identity_class_init), (gst_identity_init),
31168         (gst_identity_proxy_getcaps), (identity_queue_push),
31169         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31170         (gst_identity_getrange), (gst_identity_chain),
31171         (gst_identity_sink_loop), (gst_identity_src_loop),
31172         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31173         (gst_identity_set_property), (gst_identity_get_property),
31174         (gst_identity_change_state):
31175         * gst/elements/gstidentity.h:
31176         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31177         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31178         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31179         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31180         (gst_tee_sink_activate):
31181         * gst/elements/gsttee.h:
31182         * gst/gst.c: (gst_register_core_elements), (init_post):
31183         * gst/gst.h:
31184         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31185         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31186         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31187         (gst_bin_change_state):
31188         * gst/gstbin.h:
31189         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31190         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31191         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31192         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31193         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31194         (bus_watch_callback), (bus_watch_destroy),
31195         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31196         (poll_timeout), (gst_bus_poll):
31197         * gst/gstbus.h:
31198         * gst/gstcaps.h:
31199         * gst/gstdata.h:
31200         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31201         (gst_element_post_message), (gst_element_message_full),
31202         (gst_element_get_state_func), (gst_element_get_state),
31203         (gst_element_abort_state), (gst_element_commit_state),
31204         (gst_element_lost_state), (gst_element_set_state),
31205         (gst_element_pads_activate), (gst_element_change_state),
31206         (gst_element_dispose), (gst_element_set_manager_func),
31207         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31208         (gst_element_set_manager), (gst_element_get_manager),
31209         (gst_element_set_bus), (gst_element_get_bus),
31210         (gst_element_set_scheduler), (gst_element_get_scheduler):
31211         * gst/gstelement.h:
31212         * gst/gstevent.c: (gst_event_new_segment_seek),
31213         (gst_event_new_flush):
31214         * gst/gstevent.h:
31215         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31216         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31217         (gst_message_new_eos), (gst_message_new_error),
31218         (gst_message_new_warning), (gst_message_new_tag),
31219         (gst_message_new_state_changed), (gst_message_new_application),
31220         (gst_message_get_structure), (gst_message_parse_tag),
31221         (gst_message_parse_state_changed), (gst_message_parse_error),
31222         (gst_message_parse_warning):
31223         * gst/gstmessage.h:
31224         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31225         (gst_real_pad_set_property), (gst_pad_set_active),
31226         (gst_pad_is_active), (gst_pad_set_blocked_async),
31227         (gst_pad_set_blocked), (gst_pad_is_blocked),
31228         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31229         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31230         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31231         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31232         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31233         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31234         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31235         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31236         (gst_pad_set_caps), (gst_pad_configure_sink),
31237         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31238         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31239         (gst_real_pad_dispose), (gst_real_pad_finalize),
31240         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31241         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31242         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31243         * gst/gstpad.h:
31244         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31245         (pipeline_bus_handler), (gst_pipeline_change_state),
31246         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31247         * gst/gstpipeline.h:
31248         * gst/gstprobe.h:
31249         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31250         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31251         (gst_queue_link_src), (gst_queue_bufferalloc),
31252         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31253         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31254         (gst_queue_loop), (gst_queue_handle_src_event),
31255         (gst_queue_handle_src_query), (gst_queue_src_activate),
31256         (gst_queue_change_state):
31257         * gst/gstqueue.h:
31258         * gst/gstscheduler.c: (gst_scheduler_init),
31259         (gst_scheduler_dispose), (gst_scheduler_create_task),
31260         (gst_scheduler_factory_create):
31261         * gst/gstscheduler.h:
31262         * gst/gststructure.c: (gst_structure_get_type),
31263         (gst_structure_copy_conditional):
31264         * gst/gststructure.h:
31265         * gst/gsttaginterface.h:
31266         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31267         (gst_task_init), (gst_task_dispose), (gst_task_create),
31268         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31269         (gst_task_pause):
31270         * gst/gsttask.h:
31271         * gst/gstthread.c:
31272         * gst/gstthread.h:
31273         * gst/gsttypes.h:
31274         * gst/schedulers/Makefile.am:
31275         * gst/schedulers/cothreads_compat.h:
31276         * gst/schedulers/entryscheduler.c:
31277         * gst/schedulers/faircothreads.c:
31278         * gst/schedulers/faircothreads.h:
31279         * gst/schedulers/fairscheduler.c:
31280         * gst/schedulers/gstbasicscheduler.c:
31281         * gst/schedulers/gstoptimalscheduler.c:
31282         * gst/schedulers/gthread-cothreads.h:
31283         * gst/schedulers/threadscheduler.c:
31284         (gst_thread_scheduler_task_get_type),
31285         (gst_thread_scheduler_task_class_init),
31286         (gst_thread_scheduler_task_init),
31287         (gst_thread_scheduler_task_start),
31288         (gst_thread_scheduler_task_stop),
31289         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31290         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31291         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31292         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31293         (plugin_init):
31294         * libs/gst/Makefile.am:
31295         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31296         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31297         (gst_file_pad_parent_set):
31298         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31299         (gst_dp_event_from_packet):
31300         * tests/complexity.c: (main):
31301         * tests/mass_elements.c: (main):
31302         * testsuite/states/locked.c: (message_received), (main):
31303         * testsuite/states/parent.c: (main):
31304         * tools/gst-inspect.c: (print_element_flag_info),
31305         (print_implementation_info), (print_pad_info):
31306         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31307         (main):
31308         * tools/gst-md5sum.c: (event_loop), (main):
31309         * tools/gst-typefind.c: (main):
31310         * tools/gst-xmlinspect.c: (print_element_info):
31311         Next big merge.
31312         Added GstBus for mainloop integration.
31313         Added GstMessage for sending notifications on the bus.
31314         Added GstTask as an abstraction for pipeline entry points.
31315         Removed GstThread.
31316         Removed Schedulers.
31317         Simplified GstQueue for multithreaded core.
31318         Made _link threadsafe, removed old capsnego.
31319         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31320         Added pad blocking functions.
31321         Reworked scheduling functions in GstPad to prepare for
31322         scheduling updates soon.
31323         Moved events out of data stream.
31324         Simplified GstEvent types.
31325         Added return values to push/pull.
31326         Removed clocking from GstElement.
31327         Added prototypes for state change function for next merge.
31328         Removed iterate from bins and state change management.
31329         Fixed some elements, disabled others for now.
31330         Fixed -inspect and -launch.
31331         Added check for GstBus.
31332
31333 2005-03-10  Wim Taymans  <wim@fluendo.com>
31334
31335         * docs/design/part-MT-refcounting.txt:
31336         * docs/design/part-clocks.txt:
31337         * docs/design/part-gstelement.txt:
31338         * docs/design/part-gstobject.txt:
31339         * docs/design/part-standards.txt:
31340         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31341         (gst_bin_remove_func), (gst_bin_remove):
31342         * gst/gstbin.h:
31343         * gst/gstbuffer.c:
31344         * gst/gstcaps.h:
31345         * testsuite/clock/clock1.c: (main):
31346         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31347         (main):
31348         * testsuite/dlopen/loadgst.c: (do_test):
31349         * testsuite/refcounting/bin.c: (add_remove_test1),
31350         (add_remove_test2), (main):
31351         * testsuite/refcounting/element.c: (main):
31352         * testsuite/refcounting/element_pad.c: (main):
31353         * testsuite/refcounting/pad.c: (main):
31354         * tools/gst-launch.c: (sigint_handler_sighandler):
31355         * tools/gst-typefind.c: (main):
31356         Doc updates.
31357         Added doc about clock.
31358         removed gst_bin_iterate_recurse_up(), marked methods
31359         for removal.
31360         Fix more testsuites.
31361
31362 2005-03-09  Wim Taymans  <wim@fluendo.com>
31363
31364         * gst/gstpad.c: (gst_pad_get_direction),
31365         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31366         (gst_pad_collect_valist):
31367         * testsuite/bins/interface.c: (main):
31368         * testsuite/caps/audioscale.c: (test_caps):
31369         * testsuite/caps/caps.c: (test1), (test2), (test3):
31370         * testsuite/caps/deserialize.c: (main):
31371         * testsuite/caps/enumcaps.c: (main):
31372         * testsuite/caps/filtercaps.c: (main):
31373         * testsuite/caps/intersect2.c: (main):
31374         * testsuite/caps/random.c: (main):
31375         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31376         * testsuite/caps/sets.c: (check_caps):
31377         * testsuite/caps/simplify.c: (check_caps), (main):
31378         * testsuite/caps/subtract.c: (check_caps):
31379         Fix _pad_get_direction wrt ghostpads.
31380         Fix caps testsuite.
31381
31382 2005-03-09  Wim Taymans  <wim@fluendo.com>
31383
31384         * check/Makefile.am:
31385         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31386         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31387         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31388         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31389         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31390         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31391         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31392         (bin_element_is_sink), (gst_bin_iterate_sinks),
31393         (gst_bin_iterate_all_by_interface):
31394         * gst/gstbin.h:
31395         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31396         (gst_element_change_state), (gst_element_dispose),
31397         (gst_element_finalize), (gst_element_set_loop_function):
31398         * gst/gstelement.h:
31399         * gst/gstiterator.c: (find_custom_fold_func):
31400         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31401         (gst_pad_collectv), (gst_pad_collect_valist),
31402         (gst_pad_template_new):
31403         * gst/gstpipeline.c: (gst_pipeline_class_init),
31404         (gst_pipeline_dispose), (gst_pipeline_set_property),
31405         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31406         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31407         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31408         * gst/gstutils.h:
31409         * gst/schedulers/entryscheduler.c:
31410         * gst/schedulers/gstbasicscheduler.c:
31411         (gst_basic_scheduler_cothreaded_chain),
31412         (gst_basic_scheduler_chain_add_element):
31413         * testsuite/bins/interface.c: (main):
31414         Added GstBin test.
31415         Added GstSystemClock test.
31416         Implemented clock distribution code in GstBin.
31417         Implemented iterate sinks method for future use.
31418         Rearranged gstelement.h
31419         Fix GstIterator comparison bug.
31420         Moved some code to GstPipeline, mostly clocking related.
31421
31422 2005-03-09  Wim Taymans  <wim@fluendo.com>
31423
31424         * configure.ac:
31425         * gst/gst_private.h:
31426         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31427         (gst_bin_remove_func), (gst_bin_remove),
31428         (gst_bin_get_by_name_recurse_up):
31429         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31430         (gst_clock_id_compare_func), (gst_clock_id_wait),
31431         (gst_clock_id_wait_async), (gst_clock_init),
31432         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31433         * gst/gstelement.h:
31434         * gst/gstinfo.c: (_gst_debug_init):
31435         * gst/gstobject.h:
31436         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31437         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31438         * gst/gstpad.h:
31439         Bump version number, we're now 0.9.0
31440         Add future debugging category.
31441         Fix NULL _unref() in _get_by_name_recurse_up
31442         Rearrange gstpad.h.
31443         Update some docs.
31444
31445 2005-03-08  Wim Taymans  <wim@fluendo.com>
31446
31447         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31448         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31449         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31450         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31451         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31452         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31453         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31454         * gst/elements/gstidentity.c: (gst_identity_class_init):
31455         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31456         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31457         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31458         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31459         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31460         (gst_tee_link):
31461         * gst/gstelement.c: (gst_element_class_init),
31462         (gst_element_base_class_init), (gst_element_init),
31463         (gst_element_get_random_pad), (gst_element_wait_state_change),
31464         (gst_element_change_state), (gst_element_dispose),
31465         (gst_element_finalize), (gst_element_set_loop_function):
31466         * gst/gstelement.h:
31467         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31468         * gst/gstthread.c: (gst_thread_class_init),
31469         (gst_thread_release_children_locks), (gst_thread_change_state):
31470         * gst/schedulers/gstbasicscheduler.c:
31471         (gst_basic_scheduler_loopfunc_wrapper),
31472         (gst_basic_scheduler_chain_wrapper),
31473         (gst_basic_scheduler_src_wrapper),
31474         (gst_basic_scheduler_remove_element):
31475         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31476         Remove threadsafe properties. Fix elements because GObject
31477         complains when installing a property before declaring a
31478         set/get_property handler.
31479         Rearrange gstelement.h file, use STATE macros for state locks.
31480         Free mutexes in the finalize method instead of dispose.
31481
31482 2005-03-08  Wim Taymans  <wim@fluendo.com>
31483
31484         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31485         * gst/gstthread.c: (gst_thread_release_children_locks):
31486         Added parentage check.
31487         Fix build og GstThread again.
31488
31489 2005-03-08  Wim Taymans  <wim@fluendo.com>
31490
31491         * docs/design/part-MT-refcounting.txt:
31492         * docs/design/part-conventions.txt:
31493         * docs/design/part-gstobject.txt:
31494         * docs/design/part-relations.txt:
31495         * docs/design/part-standards.txt:
31496         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31497         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31498         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31499         (gst_bin_iterate_all_by_interface):
31500         * gst/gstbuffer.h:
31501         * gst/gstclock.h:
31502         * gst/gstelement.c: (gst_element_class_init),
31503         (gst_element_change_state), (gst_element_set_loop_function):
31504         * gst/gstelement.h:
31505         * gst/gstiterator.c:
31506         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31507         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31508         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31509         (gst_object_set_parent), (gst_object_unparent),
31510         (gst_object_check_uniqueness):
31511         * gst/gstobject.h:
31512         Docs updates, clean up some headers.
31513
31514 2005-03-07  Wim Taymans  <wim@fluendo.com>
31515
31516         * check/.cvsignore:
31517         * check/Makefile.am:
31518         * check/gst-libs/.cvsignore:
31519         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31520         * check/gst/.cvsignore:
31521         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31522         (START_TEST), (gstbus_suite), (main):
31523         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31524         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31525         (gst_data_suite), (main):
31526         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31527         (add_fold_func), (gstiterator_suite), (main):
31528         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31529         (thread_name_object), (thread_name_object_default),
31530         (gst_object_name_compare), (gst_object_suite), (main):
31531         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31532         (gst_pad_suite), (main):
31533         * check/gstcheck.c: (gst_check_log_message_func),
31534         (gst_check_log_critical_func), (gst_check_init):
31535         * check/gstcheck.h:
31536         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31537         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31538         Added checks.
31539
31540 2005-03-07  Wim Taymans  <wim@fluendo.com>
31541
31542         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31543         (gst_list_iterator_next), (gst_list_iterator_resync),
31544         (gst_list_iterator_free), (gst_iterator_new_list),
31545         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31546         (gst_iterator_free), (gst_iterator_push), (filter_next),
31547         (filter_resync), (filter_uninit), (filter_free),
31548         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31549         (gst_iterator_foreach), (find_custom_fold_func),
31550         (gst_iterator_find_custom):
31551         * gst/gstiterator.h:
31552         Added missing files.
31553
31554 2005-03-07  Wim Taymans  <wim@fluendo.com>
31555
31556         * Makefile.am:
31557         * configure.ac:
31558         * docs/design/part-MT-refcounting.txt:
31559         * docs/design/part-conventions.txt:
31560         * docs/design/part-gstobject.txt:
31561         * docs/design/part-relations.txt:
31562         * examples/mixer/mixer.c: (main):
31563         * examples/thread/thread.c: (eos), (main):
31564         * gst/Makefile.am:
31565         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31566         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31567         (gst_spider_plug_from_srcpad):
31568         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31569         (gst_spider_identity_change_state),
31570         (gst_spider_identity_sink_loop_type_finding):
31571         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31572         * gst/elements/gstidentity.c: (gst_identity_init):
31573         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31574         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31575         * gst/elements/gsttypefindelement.c: (free_entry):
31576         * gst/gst.c:
31577         * gst/gst.h:
31578         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31579         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31580         (gst_bin_set_index), (gst_bin_set_element_sched),
31581         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31582         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31583         (gst_bin_iterate_elements), (iterate_child_recurse),
31584         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31585         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31586         (compare_interface), (gst_bin_get_by_interface),
31587         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31588         * gst/gstbin.h:
31589         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31590         (gst_buffer_default_free), (gst_buffer_default_copy),
31591         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31592         (gst_buffer_create_sub):
31593         * gst/gstbuffer.h:
31594         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31595         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31596         (gst_caps_unref), (gst_static_caps_get),
31597         (gst_caps_remove_and_get_structure), (gst_caps_append),
31598         (gst_caps_append_structure), (gst_caps_remove_structure),
31599         (gst_caps_copy_nth), (gst_caps_set_simple),
31600         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31601         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31602         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31603         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31604         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31605         (gst_caps_structure_figure_out_union),
31606         (gst_caps_switch_structures), (gst_caps_do_simplify),
31607         (gst_caps_replace), (gst_caps_from_string),
31608         (gst_caps_copy_conditional):
31609         * gst/gstcaps.h:
31610         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31611         (_gst_clock_id_free), (gst_clock_id_unref),
31612         (gst_clock_id_compare_func), (gst_clock_id_wait),
31613         (gst_clock_id_wait_async), (gst_clock_class_init),
31614         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31615         (gst_clock_get_time), (gst_clock_set_time_adjust),
31616         (gst_clock_set_property), (gst_clock_get_property):
31617         * gst/gstclock.h:
31618         * gst/gstcompat.h:
31619         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31620         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31621         * gst/gstdata.h:
31622         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31623         (gst_element_requires_clock), (gst_element_provides_clock),
31624         (gst_element_set_clock), (gst_element_clock_wait),
31625         (gst_element_wait), (gst_element_set_time_delay),
31626         (gst_element_is_indexable), (gst_element_add_pad),
31627         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31628         (pad_compare_name), (gst_element_get_static_pad),
31629         (gst_element_request_pad), (gst_element_get_request_pad),
31630         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31631         (gst_element_class_get_pad_template_list),
31632         (gst_element_class_get_pad_template), (gst_element_error_func),
31633         (gst_element_get_random_pad), (gst_element_get_event_masks),
31634         (gst_element_send_event), (gst_element_seek),
31635         (gst_element_get_query_types), (gst_element_query),
31636         (gst_element_get_formats), (gst_element_convert),
31637         (gst_element_is_locked_state), (gst_element_set_locked_state),
31638         (gst_element_sync_state_with_parent), (gst_element_change_state),
31639         (gst_element_finalize), (gst_element_yield),
31640         (gst_element_interrupt), (gst_element_set_scheduler),
31641         (gst_element_get_scheduler), (gst_element_set_loop_function):
31642         * gst/gstelement.h:
31643         * gst/gstevent.h:
31644         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31645         (gst_format_get_by_nick), (gst_format_get_details),
31646         (gst_format_iterate_definitions):
31647         * gst/gstformat.h:
31648         * gst/gstindex.c: (gst_index_gtype_resolver):
31649         * gst/gstinfo.c:
31650         * gst/gstinfo.h:
31651         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31652         (gst_mem_chunk_free):
31653         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31654         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31655         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31656         (gst_object_dispatch_properties_changed),
31657         (gst_object_set_name_default), (gst_object_set_name),
31658         (gst_object_get_name), (gst_object_set_name_prefix),
31659         (gst_object_get_name_prefix), (gst_object_set_parent),
31660         (gst_object_get_parent), (gst_object_unparent),
31661         (gst_object_check_uniqueness), (gst_object_save_thyself),
31662         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31663         (gst_object_set_property), (gst_object_get_property),
31664         (gst_object_get_path_string):
31665         * gst/gstobject.h:
31666         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31667         (gst_real_pad_init), (gst_real_pad_get_property),
31668         (gst_pad_custom_new), (gst_pad_get_direction),
31669         (gst_pad_set_active), (gst_pad_is_active),
31670         (gst_pad_set_event_function), (gst_pad_is_linked),
31671         (gst_pad_link_free), (gst_pad_link_intersect),
31672         (gst_pad_link_fixate), (gst_pad_set_caps),
31673         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31674         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31675         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31676         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31677         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31678         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31679         (gst_pad_realize), (gst_pad_get_allowed_caps),
31680         (gst_real_pad_dispose), (gst_real_pad_finalize),
31681         (gst_pad_collectv), (gst_pad_collect_valist),
31682         (gst_pad_template_dispose), (gst_pad_template_new),
31683         (gst_pad_get_internal_links):
31684         * gst/gstpad.h:
31685         * gst/gstpipeline.c: (gst_pipeline_dispose),
31686         (gst_pipeline_change_state):
31687         * gst/gstpipeline.h:
31688         * gst/gstplugin.c:
31689         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31690         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31691         * gst/gstpluginfeature.h:
31692         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31693         * gst/gstquery.c: (_gst_query_type_initialize),
31694         (gst_query_type_register), (gst_query_type_get_by_nick),
31695         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31696         * gst/gstquery.h:
31697         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31698         * gst/gstscheduler.c: (gst_scheduler_add_element),
31699         (gst_scheduler_factory_create):
31700         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31701         (gst_structure_free), (gst_structure_set_name),
31702         (gst_structure_id_set_value), (gst_structure_set_value),
31703         (gst_structure_set_valist), (gst_structure_remove_field),
31704         (gst_structure_remove_fields),
31705         (gst_structure_remove_fields_valist),
31706         (gst_structure_remove_all_fields), (gst_structure_foreach),
31707         (gst_structure_map_in_place),
31708         (gst_caps_structure_fixate_field_nearest_int),
31709         (gst_caps_structure_fixate_field_nearest_double):
31710         * gst/gststructure.h:
31711         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31712         (gst_system_clock_init), (gst_system_clock_dispose),
31713         (gst_system_clock_async_thread),
31714         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31715         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31716         * gst/gstsystemclock.h:
31717         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31718         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31719         * gst/gsttaginterface.c:
31720         * gst/gstthread.c: (gst_thread_dispose),
31721         (gst_thread_release_children_locks), (gst_thread_change_state),
31722         (gst_thread_main_loop):
31723         * gst/gsttrashstack.h:
31724         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31725         * gst/gsttypes.h:
31726         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31727         (gst_element_request_pad), (gst_element_get_pad_from_template),
31728         (gst_element_request_compatible_pad),
31729         (gst_element_get_compatible_pad_filtered),
31730         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31731         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31732         (gst_element_link_many), (gst_element_link),
31733         (gst_element_link_pads), (gst_element_unlink_pads),
31734         (gst_element_unlink_many), (gst_element_unlink),
31735         (gst_pad_can_link_filtered), (gst_pad_can_link),
31736         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31737         (gst_object_default_error), (gst_bin_add_many),
31738         (gst_bin_remove_many), (gst_element_populate_std_props),
31739         (gst_element_class_install_std_props), (gst_buffer_merge),
31740         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31741         (link_fold_func), (gst_pad_proxy_setcaps):
31742         * gst/gstutils.h:
31743         * gst/gstvalue.c: (gst_value_deserialize_string):
31744         * gst/parse/grammar.y:
31745         * gst/schedulers/gstbasicscheduler.c:
31746         (gst_basic_scheduler_cothreaded_chain),
31747         (gst_basic_scheduler_chain_recursive_add),
31748         (gst_basic_scheduler_pad_link):
31749         * gst/schedulers/gstoptimalscheduler.c:
31750         (get_group_schedule_function),
31751         (gst_opt_scheduler_state_transition),
31752         (gst_opt_scheduler_add_element), (element_get_reachables_func):
31753         * libs/gst/bytestream/bytestream.c:
31754         * libs/gst/dataprotocol/dataprotocol.c:
31755         (gst_dp_header_from_buffer):
31756         * po/nb.po:
31757         * po/ru.po:
31758         * tests/threadstate/threadstate2.c: (eos):
31759         * tools/gst-compprep.c: (main):
31760         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31761         (print_pad_info), (print_children_info):
31762         * tools/gst-launch.c: (idle_func), (main):
31763         * tools/gst-md5sum.c: (idle_func), (main):
31764         * tools/gst-xmlinspect.c: (print_element_info):
31765         First THREADED backport attempt, focusing on adding locks and
31766         making sure the API is threadsafe. Needs more work. More docs
31767         follow this week.
31768
31769 2005-02-24  Andy Wingo  <wingo@pobox.com>
31770
31771         * tests/bench-complexity.scm:
31772         * tests/complexity.gnuplot: New files, good for running complexity
31773         benchmarks.
31774
31775         * tests/Makefile.am:
31776         * tests/complexity.c: New test, sets up N elements, at each level
31777         teeing into M streams per element. Eeeenteresting.
31778
31779         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31780         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31781         running bench-mass_elements.scm.
31782
31783         * tests/bench-mass_elements.scm: New script, runs mass_elements
31784         for various numbers of identities, outputting the results to a
31785         file. Requires guile 1.6. Just for testing.
31786
31787 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
31788
31789         * gst/schedulers/fairscheduler.c:
31790           compile with debug disabled
31791
31792 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
31793
31794         * configure.ac:
31795           hunting season on 0.9 is now OPEN