gst/gstvalue.c: Reorganize some more, be more conservative with the GST_TYPE_ARRAY...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
4         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
5         being fixed and inline the trivial check.
6
7 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
8
9         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
10         (gst_caps_merge_structure), (gst_caps_get_structure),
11         (gst_caps_copy_nth), (gst_caps_set_simple),
12         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
13         (gst_caps_is_equal_fixed), (gst_caps_intersect),
14         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
15         (gst_caps_to_string):
16         Callgrind micro optimisations.
17         Avoid array bounds checks and force inline of trivial function.
18
19         * gst/gstobject.c: (gst_object_set_name_default):
20         -1 is equivalent to letting glib to the strlen but then there is more
21         room for optimisations and it's not our fault.
22
23         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
24         no need to clear the array, we're cool.
25
26         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
27         The most common _is_fixed() check is done on fundamental glib base
28         types so we check this first instead of doing a huge amount of
29         useless GST_TYPE_ARRAY calls.
30
31 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
32
33         * gst/gstevent.h:
34         Add a SKIP seek flag for use with advanced trickmodes.
35         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
36
37 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
38
39         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
40         No need to memset, we can clear the value ourselves.
41
42         * gst/gstvalue.c: (gst_type_is_fixed),
43         (gst_value_get_compare_func):
44         Some optimisations from a few callgrind sessions:
45         When checking if a type is fixed, check for trivial fundamental types
46         first before checking types for which we need to get the type followed
47         by the heavy duty type checks, this reduces the amount of
48         g_type_fundamental() calls a lot.
49         When getting the compare function, first check for our registered types.
50         If that fails, do the heavy duty g_type_is_a() checks, reduces the
51         amount of g_type_is_a() considerably.
52
53 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
54
55         * docs/design/part-TODO.txt:
56         Mumble something about removing GstXML.
57
58 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
59
60         * gst/gstbin.c: (gst_bin_handle_message_func):
61         Get the seqnum before we dispose the message.
62
63 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
64
65         * docs/design/part-TODO.txt:
66         Refer to the framestepping document.
67
68 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
69
70         * gst/gstbin.c: (bin_handle_async_start),
71         (gst_bin_handle_message_func), (gst_bin_query):
72         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
73         (gst_base_sink_event), (gst_base_sink_change_state):
74         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
75         (gst_base_src_loop), (gst_base_src_change_state):
76         Copy seqnums from events to messages so that they can all be related
77         back to eachother.
78
79 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
80
81         * tools/gst-launch.c: (event_loop):
82         Print the message seqnums.
83
84 2008-11-04  Andy Wingo  <wingo@pobox.com>
85
86         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
87
88 2008-11-04  Andy Wingo  <wingo@pobox.com>
89
90         Add sequence numbers to events and messages. See #559250.
91
92         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
93         API: New functions.
94
95         * gst/gstevent.h:
96         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
97         events with a new sequence number, and copy it when copying.
98         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
99         an event's sequence number.
100
101         * gst/gstmessage.h:
102         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
103         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
104         so with messages.
105
106         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
107
108 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
109
110         * docs/manual/advanced-position.xml:
111         * docs/manual/basics-bins.xml:
112         * docs/manual/basics-bus.xml:
113         * docs/manual/basics-pads.xml:
114         * docs/manual/intro-gstreamer.xml:
115         * docs/manual/intro-preface.xml:
116         Some Application Development Manual fixes thanks to
117         Andrew Feren. Fixes #558459.
118
119 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
120
121         * gst/gstregistrybinary.c:
122           Don't bother with the GTimer if we don't output the results.
123
124 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
125
126         Patch by: David Schleef  <ds@schleef.org>
127
128         * libs/gst/net/Makefile.am:
129         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
130
131 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
132
133         * gst/gstregistrybinary.c:
134           Oh my, studip, stupid me. Remove double stat() call.
135
136 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
137
138         * gst/gstpreset.c:
139           Use g_unlink instead of unlink.
140
141         * gst/gststructure.c:
142           Use glib type.
143
144         * gst/gstutils.c:
145           Add a FIXME:.
146
147         * gst/gsttaglist.c:
148         * gst/gsttypefind.c:
149         * gst/gstvalue.c:
150           Formatting & whitespaces.
151
152 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
153
154         * plugins/elements/gstidentity.c:
155           Doc typo. Use return value of parent_class->event.
156   
157         * plugins/elements/gsttypefindelement.c:
158           Chain up at the end for consistency.
159   
160 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
161
162         * docs/Makefile.am:
163         * docs/gst/gstreamer-docs.sgml:
164         * docs/gst/gstreamer-sections.txt:
165         * docs/gst/running.xml:
166         * docs/libs/gstreamer-libs-docs.sgml:
167           Change to xinclude based build - its faster and easier to maintain.
168
169 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
170
171         * gst/gstregistrybinary.c:
172         * gst/gstregistryxml.c:
173           Use g_unlink() as none of these are directories.
174
175 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
176
177         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
178         Some more comments.
179
180 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
181
182         * libs/gst/base/gstbasetransform.c:
183         (gst_base_transform_find_transform), (gst_base_transform_getrange):
184         If we have a fixate function, call it even if we already have fixed caps
185         because the subclass might add some caps. Makes audioconvert add a
186         default channel layout.
187
188 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
189
190         * libs/gst/base/gstbasetransform.c:
191         (gst_base_transform_prepare_output_buffer),
192         (gst_base_transform_getrange):
193         Clear the output buffer variable.
194         Cleanups to the error path in the getrange function.
195         Fixes #557649.
196
197 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
198
199         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
200         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
201         Use gst_buffer_try_new_and_alloc() and handle errors instead of
202         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
203         be allocated.
204
205 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
206
207         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
208         Set the last_stop to a more meaningful position when configuring the
209         segment. ie. the start/stop of the segment or clipped against the
210         updated segment boundaries.
211
212         * tests/check/gst/gstsegment.c: (GST_START_TEST):
213         Add some unit tests for the last_stop.
214
215 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
216
217         * libs/gst/base/gstbytereader.c:
218         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
219         copies of them.
220
221 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
222
223         * docs/gst/gstreamer-sections.txt:
224         * gst/gstutils.h:
225         API: Move float endianness conversion macros from libgstfloatcast
226         to core as it's useful in general, even in core. Fixes bug #555196.
227         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
228         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
229         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
230
231         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
232         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
233         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
234         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
235
236 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
237
238         * docs/libs/gstreamer-libs-sections.txt:
239         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
240         (gst_byte_reader_peek_data):
241         * libs/gst/base/gstbytereader.h:
242         * win32/common/libgstbase.def:
243         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
244         to get a pointer to the data at the current position and have
245         a guaranteed size.
246
247 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
248
249         * configure.ac:
250         Fix a bug in the output of the configure script summary
251         when --gst-disable-registry is supplied
252
253 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
254
255         * libs/gst/base/gstbitreader.c:
256         * libs/gst/base/gstbytereader.c:
257         Fix the names of 2 functions in the docs strings.
258
259 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
260
261         * libs/gst/base/gstbasetransform.c:
262         (gst_base_transform_prepare_output_buffer),
263         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
264         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
265         refcount problems as seen in banshee and maybe also in farsight2.
266         Remove atomic int now that we need to take the lock anyways.
267
268 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
269
270         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
271         (gst_base_sink_default_prepare_seek_segment),
272         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
273         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
274         (gst_base_sink_query):
275         Implement more seeking in pull mode.
276         Use pad convert functions to convert position to the requested format.
277         Fix position/duration reporting in pull mode.
278         Implement position and duration reporting in other formats than time.
279
280         * libs/gst/base/gstbasesink.h:
281         Add member to keep track of when the segment is playing.
282
283 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
284
285         * gst/gstpad.c: (gst_pad_configure_src):
286         When we use gst_pad_alloc_buffer() without wanting to set the caps we
287         also don't need to check if the caps are compatible because the caller
288         presumably is going to perform its own custom checks. Fixes some cases
289         where basetransform elements would error out when it was not needed.
290
291 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
292
293         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
294         Update comment.
295
296         * libs/gst/base/gstbasetransform.c:
297         (gst_base_transform_handle_buffer),
298         (gst_base_transform_reconfigure):
299         Add some debug info.
300
301         * win32/common/libgstbase.def:
302         Add new method.
303
304 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
305
306         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
307           Remove duplicated assignment and log a message in failure case.
308
309 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
310
311         Patch by: Dig Ge <dig.ge.cn at gmail com>
312
313         * tests/examples/helloworld/helloworld.c: (main):
314           Fix copy'n'paste bug in hello world example (#556900).
315
316 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
317
318         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
319         (gst_base_sink_query):
320         Query the total number of bytes when activating the pad in pull mode.
321         Implement duration query in pull mode by using the installed pad convert
322         function to convert from bytes to the requested format.
323
324 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
325
326         * docs/libs/gstreamer-libs-sections.txt:
327         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
328         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
329         (gst_base_sink_event), (gst_base_sink_perform_seek),
330         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
331         (gst_base_sink_send_event), (gst_base_sink_change_state):
332         * libs/gst/base/gstbasesink.h:
333         Add method to commit the state in subclasses.
334         Refactor the flush_start and flush_stop code because we need it for
335         flushing while seeking too.
336         Implement the beginnings of seeking in pull mode.
337         Use the segment last_stop field for the pulling offset.
338         Fix the pause method in pull mode.
339         Configure the segment to BYTES for pull mode.
340         API: GstBaseSink::gst_base_sink_do_preroll()
341
342 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
343
344         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
345         Update some docs.
346
347 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
348
349         * gst/gstquark.c: (_priv_gst_quarks_initialize):
350           Fix printf format warning.
351
352 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
353
354         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
355         Fix flow aggregation of tee. Error out immediately for all flow returns
356         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
357         and return OK if at least one pad is linked.
358
359         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
360         and otherwise returned the flow return of the last pad, which is wrong.
361         
362         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
363         (GST_START_TEST), (tee_suite):
364         Add unit tests for the flow aggregation.
365
366 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
367
368         * docs/design/part-TODO.txt:
369         Remove item from the todo list because it was fixed with the latency
370         state change rewrites.
371
372         * docs/design/part-seeking.txt:
373         * docs/design/part-segments.txt:
374         Update some docs.
375
376         * gst/gstevent.c: (gst_event_new_new_segment_full),
377         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
378         (gst_event_parse_buffer_size), (gst_event_new_qos),
379         (gst_event_parse_qos), (gst_event_new_seek),
380         (gst_event_parse_seek), (gst_event_new_latency),
381         (gst_event_parse_latency):
382         Use quarks to construct and parse events.
383
384         * gst/gstquark.c: (_priv_gst_quarks_initialize):
385         * gst/gstquark.h:
386         Add some more quarks to the table.
387         Emit a warning when the quark tables are not in sync.
388
389         * tests/check/gst/gstbus.c: (GST_START_TEST):
390         Add an assert.
391
392 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
393
394         * plugins/elements/Makefile.am:
395         * plugins/indexers/Makefile.am:
396           Don't install static libs for plugins. Fixes #550851 for core.
397
398 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
399
400         * gst/gstbus.c: (gst_bus_source_finalize),
401         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
402         (gst_bus_enable_sync_message_emission),
403         (gst_bus_disable_sync_message_emission),
404         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
405         Fix deadlock, g_source_get_id() cannot be called in finalize.
406         Keep track of the watch source by keeping a pointer to the source object
407         instead.
408         Use the bus lock to protect access to the pointer to the current
409         watch source.
410
411 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
412
413         Base on Patch by: Olivier Crete <tester at tester dot ca>
414
415         * gst/gstbus.c: (gst_bus_source_finalize),
416         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
417         Only allow one bus watch to be set at a time. This is necessary
418         because the dispatcher pops the message from the bus and the second
419         watcher will then get NULL or the next message (and the first won't
420         get this next message then, etc). If more than one "watcher" is
421         required signal watches should be used. Fixes bug #526044.
422
423 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
424
425         * tools/gst-launch.c:
426         Change the printing of the 'buffering...' output to avoid putting
427         a \r in a translateable string (flagged by the TP).
428
429 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
430
431         * gst/gstxml.c:
432         Clarify that the save_thyself() and restore_thyself() virtual
433         functions of GstObject need to be overriden, not
434         gst_object_(save|restore)_thyself() which is impossible.
435         Fixes bug #555700.
436
437 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
438
439         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
440         Revert a patch from 21 months ago that broke caps negotiation in pull
441         mode. Basically, having a buffer pass over a pad will trigger the
442         setcaps function when caps change, just like in push mode.
443
444 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
445
446         * docs/design/part-negotiation.txt:
447         Update the docs some more.
448
449         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
450         If we pull a buffer with non-trivial caps, suggest those caps with the
451         max probability.
452
453 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
454
455         * docs/design/part-TODO.txt:
456         Add another limitation of pad-blocking with segment seeks not pushing
457         EOS events.
458
459 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
460
461         * win32/common/libgstbase.def:
462         * win32/common/libgstreamer.def:
463         Add new symbols to the win32 defs files
464
465 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
466
467         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
468         (gst_bin_handle_message_func):
469         The message src can be NULL, don't try to print the object names in that
470         case.
471
472         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
473         Add some more debug info.
474
475         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
476         (GST_START_TEST):
477         Add some debug.
478         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
479         scheduling modes.
480
481 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
482
483         * docs/design/part-negotiation.txt:
484         Small doc update.
485
486         * docs/libs/gstreamer-libs-sections.txt:
487         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
488         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
489         (gst_base_sink_init), (gst_base_sink_set_blocksize),
490         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
491         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
492         (gst_base_sink_loop), (gst_base_sink_pad_activate),
493         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
494         (gst_base_sink_change_state):
495         * libs/gst/base/gstbasesink.h:
496         Add blocksize property and methods to control the amount of data
497         to pull.
498         Negotiate first before activating upstream in pull mode so that they can
499         negotiate themselves.
500         When we operate in pull mode, we only accept the caps that we
501         negotiated.
502         Make the sink go ASYNC to PAUSED, like all other sinks.
503         API: GstBaseSink::gst_base_sink_set_blocksize()
504         API: GstBaseSink::gst_base_sink_get_blocksize()
505         API: GstBaseSink::blocksize
506
507         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
508         (gst_base_src_set_live), (gst_base_src_is_live),
509         (gst_base_src_set_format), (gst_base_src_query_latency),
510         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
511         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
512         (gst_base_src_set_property), (gst_base_src_get_property):
513         * libs/gst/base/gstbasesrc.h:
514         Add typechecking in public API functions.
515         Add methods to control the blocksize in subclasses.
516         API: GstBaseSrc::gst_base_src_set_blocksize()
517         API: GstBaseSrc::gst_base_src_get_blocksize()
518
519 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
520
521         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
522         (buffer_probe), (event_probe), (GST_START_TEST):
523         We now see 3 events go through our pad, since basesink now sends
524         upstream latency events.
525
526 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
527
528         * gst/gstpipeline.c: (gst_pipeline_change_state):
529         Release the object lock before trying to flush the bus.
530
531 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
532
533         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
534         Forward LATENCY events upstreams so that elements know about the total
535         pipeline latency. Fixes #555307.
536
537 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
538
539         * plugins/elements/gstqueue.c:
540         Allow through queries when we don't know how
541         to adjust them (not TIME or BYTES), as otherwise it's
542         not possible to query the current position in order
543         to seek in other formats at all.
544
545 2008-10-08  Andy Wingo  <wingo@pobox.com>
546
547         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
548
549 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
550
551         * gst/gstghostpad.c:
552         * gst/gstghostpad.h:
553         Unbreak -good build, private is a reserved c++ keyword.
554
555 2008-10-08  Andy Wingo  <wingo@pobox.com>
556
557         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
558         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
559         removal: re-add GST_GHOST_PAD_CAST to the header.
560
561         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
562         (GstGhostPadClass): Publically expose these structures so as to
563         allow easy subclassing from C. Hide the member data behind a
564         private opaque data pointer.
565
566         * gst/gstghostpad.c: Adapt to store instance data in the type
567         instance's private data region, not in the public struct.
568
569 2008-10-08  Andy Wingo  <wingo@pobox.com>
570
571         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
572         template via g_object_get(), be sure to unref it.
573
574         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
575
576 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
577
578         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
579         If we can't get a cache file don't try to save something to it.
580         Dereferencing NULL pointers usually isn't a good idea.
581
582 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
583
584         * tests/check/Makefile.am:
585         * tests/check/gst/gstabi.c:
586         * tests/check/gst/struct_sparc.h:
587         * tests/check/libs/libsabi.c:
588         * tests/check/libs/struct_sparc.h:
589         Add Sparc ABI checks
590
591         * tests/check/gst/gstvalue.c: (GST_START_TEST):
592         Cast signed integer to unsigned to avoid a compiler warning.
593
594 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
595
596         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
597         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
598         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
599         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
600         (gst_byte_reader_peek_int24_be):
601         Use new GST_READ_UINT24_(LE|BE) macros.
602
603 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
604
605         * docs/gst/gstreamer-sections.txt:
606         * gst/gstutils.h:
607         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
608         as it's too easy to break the ISO C strict aliasing rules with simple
609         casts to the corresponding type and this would introduce hard to debug
610         bugs. Fixes bug #545714.
611
612         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
613
614 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
615
616         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
617         * gst/gstghostpad.c: (gst_ghost_pad_construct):
618           Add 'Since' bits to gtk-doc chunks for new API.
619
620 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
621
622         * docs/gst/gstreamer-sections.txt:
623         Fix documentation
624
625 2008-10-06  Andy Wingo  <wingo@pobox.com>
626
627         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
628         that will be called on the malloc_data to free it. Basically a way
629         to avoid subclassing when all you need is a different free
630         function, i.e. free() instead of g_free().
631
632         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
633         calling the free function.
634         (gst_buffer_init): Initialize the free function to g_free.
635
636 2008-10-06  Andy Wingo  <wingo@pobox.com>
637
638         * gst/gstghostpad.h:
639         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
640         finishes the initialization of ghost pad. Useful for language
641         bindings and subclassers of GstGhostPad. Fixes #539108.
642         (gst_ghost_pad_new_full): Use the new constructor.
643
644 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
645
646         Base on Patch by: Olivier Crete <tester at tester dot ca>
647
648         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
649         (gst_bin_remove_func), (update_degree),
650         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
651         Keep track of pads that are being linked/unlinked and resync the state
652         changes.
653
654         * gst/gstpad.c: (gst_pad_get_direction),
655         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
656         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
657         (gst_pad_link_prepare), (gst_pad_link),
658         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
659         (gst_pad_check_pull_range), (gst_pad_get_range),
660         (gst_pad_pull_range):
661         Some code cleanups, use macros to check pad direction.
662         Don't need to take the lock on the pad direction.
663         Post structure change when pads are linked/unlinked.
664         Change some checks into _return_if_fail().
665
666         * tests/check/gst/gstbin.c:
667         (test_link_structure_change_state_changed_sync_cb),
668         (GST_START_TEST), (gst_bin_suite):
669         Add testcase for pad link/unlinke resync during a state change.
670         Fixes #510354.
671
672 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
673
674         * docs/gst/gstreamer-sections.txt:
675         * gst/gstmessage.c: (gst_message_new_structure_change),
676         (gst_message_parse_structure_change):
677         * gst/gstmessage.h:
678         Implement STRUCTURE_CHANGED messages. These messages will be used to
679         signal the parent bin of link/unlink operations that could require a
680         resync when doing a state change. See ##510354.
681         API: gst_message_new_structure_change()
682         API: gst_message_parse_structure_change()
683
684 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
685
686         * gst/gstquark.c:
687         * gst/gstquark.h:
688         Add some more quarks for new message. See #510354.
689
690 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
691
692         * docs/libs/gstreamer-libs-docs.sgml:
693         * docs/libs/gstreamer-libs-sections.txt:
694         * libs/gst/base/Makefile.am:
695         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
696         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
697         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
698         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
699         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
700         (gst_bit_reader_skip_to_byte):
701         * libs/gst/base/gstbitreader.h:
702         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
703         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
704         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
705         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
706         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
707         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
708         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
709         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
710         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
711         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
712         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
713         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
714         * libs/gst/base/gstbytereader.h:
715         * tests/check/Makefile.am:
716         * tests/check/libs/bitreader.c: (GST_START_TEST),
717         (gst_bit_reader_suite):
718         * tests/check/libs/bytereader.c: (GST_START_TEST),
719         (gst_byte_reader_suite):
720         API: Add bit reader and byte reader classes, including documentation
721         and an extensive unit test suite. Fixes bug #553554.
722
723 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
724
725         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
726         (gst_base_sink_query):
727         Improve position reporting while flushing and other intermediate state
728         changes. Fixes #553874.
729
730 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
731
732         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
733
734         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
735         Original patch by : Simon Descaries
736         Fix small refount leak in caps compatibility check.
737         Fixes #551676.
738
739 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
740
741         * docs/pwg/advanced-request.xml:
742           Fix 0.8 api usage in example. Fixes #554561
743
744         * docs/pwg/appendix-porting.xml:
745           Change 0.9 to 0.10 here.
746
747 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
748
749         * docs/manual/basics-data.xml:
750           Change "event-event interaction" to "element-element interaction".
751           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
752           updates.
753
754 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
755
756         * configure.ac:
757         Back to development -> 0.10.21.1
758
759 === release 0.10.21 ===
760
761 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
762
763         * configure.ac:
764           releasing 0.10.21, "Take These Things From Me"
765
766 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
767
768         * configure.ac:
769         0.10.20.4 pre-release
770
771 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
772
773         * libs/gst/base/gstbasetransform.c:
774         * plugins/elements/gstcapsfilter.c:
775         * tests/check/Makefile.am:
776         * tests/check/elements/.cvsignore:
777         * tests/check/elements/capsfilter.c:
778         Fix assertion in basetransform when the subclass chooses not to
779         allocate a buffer in prepare_buffer(), and make capsfilter error out
780         cleanly if requested to apply caps that don't completely specify the
781         buffer. Fixes #551509
782
783 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
784
785         * libs/gst/base/gstbasetransform.c:
786         (gst_base_transform_prepare_output_buffer):
787         Take new caps ref because our old one might have been gone when the
788         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
789
790 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
791
792         * configure.ac:
793           Do not probe availability of check unit test library when cross
794           compiling, as test would not work anyway. Also cleanup verbose output
795           of the check test. Fixes #551952.
796
797 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
798
799         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
800
801         * gst/gstelement.c: (gst_element_sync_state_with_parent):
802         Avoid leaking the parent ref when we fail changing the state of the
803         element using gst_element_sync_state_with_parent(). Fixes #551978.
804
805 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
806
807         * docs/manual/intro-motivation.xml::
808           Remove some bits that no longer apply, update others (#551642).
809
810 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
811
812         * configure.ac:
813         0.10.20.2 pre-release
814
815         * po/LINGUAS:
816         * po/id.po:
817         * po/pt_BR.po:
818
819         New translations.
820
821 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
822
823         * win32/common/config.h.in:
824           Add GST_DATADIR, hard-code cpu to x86.
825
826         * win32/common/libgstreamer.def:
827           Spaces to tabs.
828
829 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
830
831         * gst/gsttaglist.h:
832           Fix Since: markers for new geo tags.
833
834 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
835
836         * gst/gsttaglist.h:
837           Fix actual tag name define after renaming from altitude to elevation.
838
839 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
840
841         * gst/gstpad.c: (add_unref_pad_to_list),
842         (gst_pad_get_internal_links_default):
843         Add fallback when calling the deprecated function on an element that
844         implements the new internal_link handler.
845
846 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
847
848         * docs/gst/gstreamer-sections.txt:
849         * gst/gsttaglist.c:
850         * gst/gsttaglist.h:
851           Add new tags for geo location and clarify purpose of existing location
852           tag. Fixes #481169
853
854 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
855
856         Patch by: Olivier Crete <tester at tester dot ca>
857
858         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
859         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
860         Use thread-safe internal links iterator. Fixes #549504.
861
862 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
863
864         Based on patch by: Olivier Crete <tester at tester dot ca>
865
866         * docs/gst/gstreamer-sections.txt:
867         * win32/common/libgstreamer.def:
868         * gst/gstpad.c: (gst_pad_init),
869         (gst_pad_set_iterate_internal_links_function),
870         (int_link_iter_data_free), (iterate_pad),
871         (gst_pad_iterate_internal_links_default),
872         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
873         * gst/gstpad.h:
874         Add threadsafe replacement functions for getting internal links of an
875         element. Deprecate the old internal links functions.
876         API:GstPad::gst_pad_set_iterate_internal_links_function()
877         API:GstPad::GstPadIterIntLinkFunction
878         API:GstPad::gst_pad_iterate_internal_links()
879         API:GstPad::gst_pad_iterate_internal_links_default()
880
881         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
882         (gst_proxy_pad_init):
883         Implement threadsafe internal links.
884
885         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
886         Unit test for internal links on tee. See #549504.
887
888 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
889
890         * tests/check/Makefile.am:
891         libs/transform1 test requires libs/test_transform.c
892
893 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
894
895         * gst/gstpad.c: (gst_pad_get_internal_links_default):
896         Die evil deadlock, die !
897
898 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
899
900         * gst/gstutils.c: (gst_element_get_compatible_pad):
901         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
902         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
903         Fix all leaks due to the bug in gst_pad_template_new() by which it does
904         not steal the refcount of the given caps as stated.
905
906         REVERT THIS COMMIT ONCE FIXED !
907         REVERT THIS COMMIT ONCE FIXED !
908         REVERT THIS COMMIT ONCE FIXED !
909         REVERT THIS COMMIT ONCE FIXED !
910         REVERT THIS COMMIT ONCE FIXED !
911         REVERT THIS COMMIT ONCE FIXED !
912
913 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
914
915         * gst/gstiterator.c:
916         * gst/gstiterator.h:
917         After 3 years it's about time to revise the documentation of the
918         iterator objects.
919
920 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
921
922         * gst/gstpad.c: (gst_pad_get_internal_links_default):
923         Make the internal links function less thread-unsafe and add some
924         comments, dunno why.
925
926 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
927
928         * gst/gst_private.h:
929           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
930           build with --disable-gst-debug.
931
932 2008-08-28  David Schleef  <ds@schleef.org>
933
934         * gst/gstpadtemplate.c: Revert last change, since it breaks
935           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
936           but shouldn't be enabled until we've released fixed versions
937           of -good and -ffmpeg.
938
939 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
940
941         * gst/gstobject.c:
942           Put the gst_object_get_name() back in.
943
944 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
945
946         * gst/gstpadtemplate.c:
947           The old behaviour was that gst_pad_template_new() takes ownership of
948           the caps. As we now call g_object_new() which calls g_object_set() and
949           which copies the caps, we have to unref them to not leak them. Fixes
950           make valgrid for me.
951
952 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
953
954         * gst/gsturi.c:
955           Don't segfault on input like "tel:+1-123-555-1234".
956
957 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
958
959         * gst/gstobject.c:
960           Due to popular request also include ObjectType in
961           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
962
963 2008-08-26  David Schleef  <ds@schleef.org>
964
965         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
966           src_val must be positive, because that's not a requirement.
967           This causes problems with converting negative granulepos
968           values for Dirac.
969         * gst/gstquery.c: Same, gst_query_new_convert().
970
971 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
972
973         * gst/gstclock.c: (gst_clock_add_observation):
974         Add some more debugging to the clock slaving code.
975
976         * win32/common/libgstbase.def:
977         Add new basetransform method.
978
979 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
980
981         * gst/gstbin.c: (gst_bin_element_set_state):
982         Take the (recursive) state lock between getting the locked state of an
983         element and changing the element state. This allows the application to
984         lock an element's state and then change its state without races.
985
986 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
987
988         * gst/gstbin.c: (gst_bin_element_set_state):
989         When an element is in the locked state we still want to update the
990         base_time of the element.
991
992 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
993
994         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
995         Use the result from gst_pad_set_caps() instead of assuming the element
996         always accepted the caps computed by the default negotiate function.
997
998 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
999
1000         * docs/libs/gstreamer-libs-sections.txt:
1001         * libs/gst/base/gstbasetransform.c:
1002         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1003         (gst_base_transform_chain), (gst_base_transform_suggest),
1004         (gst_base_transform_reconfigure):
1005         * libs/gst/base/gstbasetransform.h:
1006         Implement method for reconfiguring basetransform.
1007         API: GstBaseTransform::gst_base_transform_reconfigure()
1008
1009 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1010
1011         patch by: Murray Cumming <murrayc@murrayc.com>
1012
1013         * gst/gstutils.c:
1014           Mention that this is just like gst_buffer_merge() but with extra
1015           unreffing for C coders. Advise language bindings not to wrap it.
1016           Fixes Bug #533856.
1017           
1018           Also fix file comment.
1019
1020 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1021
1022         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1023
1024         * plugins/elements/gstfakesink.c:
1025         * plugins/elements/gstfakesrc.c:
1026           Call super::event() when not handling it. Fixes #544855.
1027
1028 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1029
1030         Patch by: Alessandro Decina <alessandro@nnva.org>
1031         * plugins/elements/gstfilesrc.c:
1032           Use 64 bit variants of stat functions on win32, to enable support
1033           of large files there.
1034           Fixes #547277.
1035
1036 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1037
1038         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1039         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1040         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1041         (gst_base_sink_get_position), (gst_base_sink_change_state):
1042         Improve position reporting in the flushing state.
1043         Also report the position when we are not yet prerolled but we
1044         have a newsegment event. Fixes #543444.
1045         Improve the pull-based negotiation code.
1046
1047         * tests/check/elements/fakesink.c: (GST_START_TEST),
1048         (fakesink_suite):
1049         Add testcase for position reporting while flushing in PAUSED and
1050         PLAYING.
1051
1052         * tests/check/generic/sinks.c: (GST_START_TEST):
1053         Update unit-test, we can now query the position as soon as we receive a
1054         NEWSEGMENT event.
1055
1056 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1057
1058         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1059
1060         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1061         When the subclass event handler releases the PREROLL_LOCK, we could be
1062         in the flushing state and we have to ignore the event. Fixes #548394.
1063
1064 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1065
1066         * tools/gst-launch.1.in:
1067           Document GST_REGISTRY_UPDATE environment variable.
1068
1069 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1070
1071         * libs/gst/base/gstbasetransform.c:
1072         (gst_base_transform_prepare_output_buffer):
1073         If the element is configured in passthrough mode but the
1074         prepare_output_buffer gave us a new output buffer, discard that buffer
1075         and reuse the input buffer.
1076
1077 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1078
1079         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1080
1081         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1082         (gst_tee_request_new_pad), (gst_tee_release_pad),
1083         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1084         * plugins/elements/gsttee.h:
1085         Protect pad_alloc with a new lock so that we can be sure that nothing is
1086         performing a pad_alloc when removing the pad. Fixes #547835.
1087
1088         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1089         (buffer_alloc_harness_teardown), (app_thread_func),
1090         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1091         Added testcase for shutdown race.
1092
1093 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1094
1095         * gst/gstpad.h:
1096         Add doc
1097
1098 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1099
1100         * libs/gst/base/gstbasetransform.c:
1101         (gst_base_transform_prepare_output_buffer),
1102         (gst_base_transform_buffer_alloc):
1103         Go over the buffer_alloc function again and make sure we always end up
1104         allocating a buffer.
1105         Add some more docs.
1106         Avoid doing pad alloc when we have a pending suggestion because we
1107         cannot yet deal with changing caps in that case. Fixes #547728
1108
1109 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1110
1111         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1112
1113         * docs/manual/advanced-clocks.xml:
1114         * docs/manual/clocks.png:
1115         * docs/manual/diagrams-clocks.svg:
1116           Add one more image showing different times together with a describing
1117           paragraph. Fixes #547729.
1118
1119 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1120
1121         * win32/common/libgstbase.def:
1122         Add new method.
1123
1124 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1125
1126         * libs/gst/base/gstbasetransform.c:
1127         (gst_base_transform_transform_caps),
1128         (gst_base_transform_prepare_output_buffer),
1129         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1130         Don't overwrite the outsize when calculating the expected size of a new
1131         buffer because we still need it in case we cannot process the new
1132         buffer.
1133         When converting the size of the new buffer to an upstream size, actually
1134         use the expected size of the buffer, not some other random value.
1135         Use an atomic int to signal that a new upstream caps suggestion is
1136         available.
1137         When we can convert the current buffer to a new format, check if the
1138         buffer size is of the expected size and allocate a new buffer of the
1139         expected size when this is not the case. Fixes #546883.
1140
1141         * tests/check/libs/transform1.c: (GST_START_TEST):
1142         remove ifdeffed code from the unit test.
1143
1144 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1145
1146         * pkgconfig/gstreamer-uninstalled.pc.in:
1147         * pkgconfig/gstreamer.pc.in:
1148           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1149           called gstcontroller-0.10.
1150
1151 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1152
1153         * gst/gstchildproxy.h:
1154         * gst/gstpreset.h:
1155           Remove double interface from doc-string.        
1156
1157 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1158
1159         * libs/gst/base/gstbasesrc.c:
1160         * libs/gst/base/gstbasetransform.c:
1161           Fix headings in docs and gtk-doc warnings.
1162
1163 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1164
1165         * gst/gstregistrybinary.c:
1166           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1167           libc.
1168           Fixes #544776.
1169
1170 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1171
1172         * libs/gst/base/gstbasetransform.c:
1173         (gst_base_transform_buffer_alloc):
1174         Fix a "may be used unitialized" warning.
1175
1176 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1177
1178         * docs/gst/gstreamer-sections.txt:
1179         * gst/gstpreset.h:
1180           Document preset-iface vmethods.
1181
1182 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1183
1184         * docs/manual/advanced-interfaces.xml:
1185           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1186           only used to discover devices.
1187
1188 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1189
1190         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1191
1192         * gst/gst.c: (init_pre):
1193         Make sure gettext returns translations in UTF-8 encoding rather
1194         than in the current locale encoding (#546822).
1195
1196 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1197
1198         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1199         Fix subset test.
1200
1201         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1202         Improve unit test subset tests and add a testcase for the subset failure
1203         cases.
1204
1205         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1206         Improve subtraction unit test.
1207
1208 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1209
1210         * plugins/elements/gsttee.c:
1211           Unlock, instead of locking again.
1212
1213 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1214
1215         * gst/gstpad.h:
1216         Clarify the docs a bit more.
1217
1218 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1219
1220         * tests/examples/metadata/read-metadata.c:
1221           Don't leak old taglist.
1222
1223 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1224
1225         Patch by: Olivier Crete <tester at tester dot ca>
1226
1227         * gst/gststructure.c:
1228         (gst_structure_fixate_field_nearest_fraction):
1229         Avoid overflows in fixation code when dealing with MAXINT values, which
1230         v4l2src seems to do.
1231         Fixes #546328.
1232
1233         * tests/check/gst/gststructure.c: (GST_START_TEST):
1234         Make a unit test to check the fix. 
1235
1236 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1237
1238         * plugins/elements/gstcapsfilter.c: (copy_func),
1239         (gst_capsfilter_set_property):
1240         Use new caps suggestion feature of basetransform to request a caps
1241         negotiation upstream.
1242
1243 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1244
1245         * docs/libs/gstreamer-libs-sections.txt:
1246         Add new function:
1247         API: GstBaseTransform::gst_base_transform_suggest()
1248
1249         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1250         (gst_base_transform_init), (gst_base_transform_transform_caps),
1251         (gst_base_transform_transform_size),
1252         (gst_base_transform_configure_caps),
1253         (gst_base_transform_can_transform),
1254         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1255         (gst_base_transform_prepare_output_buffer),
1256         (gst_base_transform_buffer_alloc),
1257         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1258         (gst_base_transform_chain), (gst_base_transform_activate),
1259         (gst_base_transform_set_passthrough),
1260         (gst_base_transform_is_passthrough),
1261         (gst_base_transform_set_in_place),
1262         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1263         (gst_base_transform_set_qos_enabled),
1264         (gst_base_transform_is_qos_enabled),
1265         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1266         (gst_base_transform_reconfigure):
1267         * libs/gst/base/gstbasetransform.h:
1268         Rewrite of basetransform to perform negotiation outside of the
1269         buffer_alloc functions.  Fixes #545853.
1270
1271         * tests/check/libs/transform1.c: (GST_START_TEST),
1272         (buffer_alloc_ct2):
1273         Update unit test.
1274
1275 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1276
1277         * tests/check/gst/gstpreset.c:
1278           Only run preset tests when $HOME is writable. Preliminary fix for
1279           #545433.
1280
1281 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1282
1283         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1284         (gst_bin_change_state_func), (bin_handle_async_done),
1285         (gst_bin_handle_message_func):
1286         Fix race for bins that simulate ASYNC state changes by inserting
1287         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1288         pending ASYNC messages even when the bin does not have ASYNC children.
1289         We note detect this behaviour because we will receive an ASYNC message
1290         that is originating from the bin itself. 
1291         Fixes races with decodebin2 state changes.
1292
1293         * tests/check/gst/gstbin.c: (GST_START_TEST):
1294         Add some more debug.
1295
1296 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1297
1298         * gst/gsttaglist.c: (_gst_tag_initialize):
1299           Fix typo.
1300
1301 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1302
1303         * gst/gsttaglist.c:
1304           Argh. actually save the text before committing. Now adds
1305           gst_tag_merge_strings_with_comma() to gst_tag_register().
1306
1307 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1308
1309         * gst/gsttaglist.c:
1310         * gst/gsttaglist.h:
1311           Do as tim pointed out and actually register the new tag. Also improve
1312           te docs and use gst_tag_merge_strings_with_comma() method to allow
1313           retriving all keywords merged in one list.
1314
1315 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1316
1317         * configure.ac:
1318         * docs/gst/gstreamer.types:
1319           Revert 'accidential' change of the configure option removal. We still
1320           need to generate the types file in configure --disable-load-save.
1321
1322 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1323
1324         * docs/gst/gstreamer-sections.txt:
1325         * gst/gsttaglist.h:
1326           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1327
1328 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1329
1330         * gst/gstpadtemplate.c:
1331           (gst_pad_template_class_init), (gst_static_pad_template_get),
1332           (gst_pad_template_new), (gst_pad_template_pad_created),
1333           (gst_pad_template_set_property), (gst_pad_template_get_property):
1334           Add "name-template", "direction", "presence" and "caps" properties,
1335           so that gst_pad_template_new() is just a thin wrapper around
1336           g_object_new(), which is better for bindings. (Fixes: #539772)
1337
1338 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1339
1340         * gst/gsturi.c:
1341           Be more liberal in what URIs we accept.
1342           Do not unescape bits of the URI for no apparent reason before passing to
1343           the element. Fixes #545352.
1344
1345 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1346
1347         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1348
1349         * gst/gst.c:
1350         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1351
1352 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1353
1354         * configure.ac:
1355         * docs/gst/gstreamer-sections.txt:
1356         * docs/gst/gstreamer.types:
1357         * docs/gst/gstreamer.types.in:
1358         * gst/Makefile.am:
1359         * gst/gst.c:
1360         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1361         * gst/gstconfig.h.in:
1362         * gst/gstelement.c: (gst_element_get_index):
1363         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1364         (gst_registry_binary_load_feature),
1365         (gst_registry_binary_read_cache):
1366         * gst/gstregistryxml.c: (load_feature),
1367         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1368         * plugins/Makefile.am:
1369         * tools/gst-indent:
1370         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1371         (print_plugin_features), (print_element_features):
1372         * tools/gst-xmlinspect.c: (print_event_masks),
1373         (print_element_info):
1374         * win32/common/gstconfig.h:
1375         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1376
1377         Disabling the indexers and URI handler code will only reduce the
1378         required amount of memory by a very small amount but on the other hand
1379         requires much more maintaince work. Apart from that many places of
1380         code are broken when disabling them.
1381
1382         Disabling the enum types doesn't reduce the required amount of memory
1383         by more than a few bytes and makes it hard to fix bugs like #539772,
1384         i.e. use the enums as GObject properties.
1385
1386 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1387
1388         * docs/design/part-TODO.txt:
1389         Add some thoughts and problems with upstream renegotiation.
1390
1391 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1392
1393         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1394         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1395         Remove silly redundant debug.
1396         Add some more debug info.
1397         Clarify the docs regarding new caps received from pad_alloc.
1398
1399 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1400
1401         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1402         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1403         Make setting the caps more threadsafe.
1404
1405 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1406
1407         * docs/design/part-element-transform.txt:
1408         Update docs.
1409
1410 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1411
1412         * plugins/elements/gstqueue.c: (gst_queue_init),
1413         (gst_queue_acceptcaps):
1414         Add and use a custom acceptcaps function instead of falling back to the
1415         potentially less optimized default implementation.
1416
1417 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1418
1419         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1420           Only sanity-check the buffer size if requested_caps == buffer_caps
1421           (ie. don't take pad caps into account, they're not relevant here)
1422
1423 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1424
1425         * plugins/elements/gsttee.c:
1426         * plugins/elements/gsttee.h:
1427           Reverting as not everything is clear yet. Needs some general design
1428           work.
1429
1430 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1431
1432         * ChangeLog:
1433           ChangeLog surgery for tee commit.
1434
1435 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1436
1437         * docs/gst/gstreamer-sections.txt:
1438           Cleanup section-file.
1439
1440 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1441
1442         * plugins/elements/gsttee.c:
1443         * plugins/elements/gsttee.h:
1444           Relay tag events in tee. Fixes parts of #474016.
1445           Downgrades 3 reoccurring debugs to log.
1446
1447 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1448
1449         * configure.ac:
1450         * libs/gst/Makefile.am:
1451           Build the net library if we have winsock2.
1452
1453 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1454
1455         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1456
1457         * docs/manual/advanced-threads.xml:
1458         * docs/manual/diagrams-pipelines.svg:
1459         * docs/manual/hello-world.png:
1460         * docs/manual/linked-elements.png:
1461         * docs/manual/mime-world.png:
1462         * docs/manual/queue.png:
1463         * docs/manual/thread-buffering.png:
1464         * docs/manual/thread-synchronizing.png:
1465           Replace one diagram with two separate ones and updates others.
1466           Fixes #542401.
1467
1468 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1469
1470         * gst/gstelement.h:
1471         Fix link in documentation.
1472
1473 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1474
1475         * gst/gstmessage.c:
1476         Fix confusing documentation.
1477
1478 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1479
1480         * libs/gst/base/gstbasesrc.h:
1481         revert the changes to the header file for the ABI.
1482
1483 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1484
1485         * libs/gst/base/gstbasesrc.c:
1486         * libs/gst/base/gstbasesrc.h:
1487         Don't cache the seekable status.
1488         Fixes bug #544174
1489
1490 2008-07-24  Rene Stadler  <mail@renestadler.de>
1491
1492         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1493         code to close the pipeline graph.  This prevents the program from
1494         printing internal data flow errors.
1495
1496 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1497
1498         * docs/manual/basics-bus.xml:
1499         Correct typo. Fixes bug #544320.
1500
1501 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1502
1503         * configure.ac:
1504           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1505           Add check (taken from -base) for winsock, adds WIN32_LIBS
1506         * gst/Makefile.am:
1507           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1508           winsock.
1509           Define GST_EXPORTS when building libgstreamer (only used on win32)
1510         * gst/gst_private.h:
1511         * gst/gstinfo.h:
1512           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1513           for symbols that we need to export in both these files.
1514         * gst/gstpoll.c:
1515           Include gst_private.h higher up to avoid some compile problems on win32.
1516
1517 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1518
1519         * gst/gstvalue.c:
1520         Fix typos.
1521
1522 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1523
1524         * gst/gstcaps.c:
1525         Previous commit was wrong NULL caps does not exist
1526         and indicate an error, so also add a FIXME to
1527         gst_caps_is_equal where NULL caps are accepted.
1528
1529 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1530
1531         * gst/gstcaps.c:
1532         Allow passing of NULL to gst_caps_union
1533
1534 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1535
1536         * gst/gstghostpad.c:
1537         Add in doc that gst_ghost_pad_set_target can accept
1538         NULL to clear target
1539
1540 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1541
1542         * gst/gstplugin.c:
1543         * gst/gstregistry.c:
1544           GstRegistryPool doesn't exist; don't refer to it in docs.
1545           Don't refer to functions that don't exist in docs, it's
1546           unhelpful.
1547
1548 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1549
1550         * gst/gst.c:
1551         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1552
1553 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1554
1555         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1556
1557         * docs/pwg/building-testapp.xml:
1558         Don't use an undeclared variable in the example program.
1559         Fixes bug #542573.
1560
1561 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1562
1563         * gst/gstdebugutils.c:
1564           Squeeze ghost-pad links and remove <> from classname labels to save
1565           more horizontal space.
1566
1567 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1568
1569         * gst/gstdebugutils.c:
1570           Give request and sometimes pads a different shpe style. Condense the
1571           graphs a little more.
1572
1573 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1574
1575         * configure.ac:
1576           Don't require flex and bison if the parser is disabled.
1577
1578 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1579
1580         * libs/gst/controller/gstinterpolationcontrolsource.c:
1581         (_list_find_sorted_custom):
1582         Don't use declarations after statements.
1583
1584 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1585
1586         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1587         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1588         of the the child-added / -removed signals as GstChildProxy
1589         only supports GstObjects.
1590
1591 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1592
1593         * gst/gstdebugutils.c:
1594         Fix memleak
1595
1596 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1597
1598         Patch by: Alessandro Decina <alessandro at nnva dot org>
1599
1600         * gst/gstpoll.c:
1601         Fix "ignored return value" compiler warning with newer glibc.
1602
1603 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1604
1605         * gst/gstchildproxy.c:
1606         Fix copy&paste error in gst_child_proxy_removed() documentation.
1607
1608 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1609
1610         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1611           Print error debug message if plugin description fields that should
1612           be set are NULL.
1613
1614         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1615           Don't crash if the string to serialise is NULL (it really should
1616           not be, but apparently this used to work with the xml registry ...).
1617
1618 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1619
1620         * tools/gst-plot-timeline.py:
1621         Fix parsing of log messages
1622
1623 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1624
1625         * win32/common/libgstbase.def::
1626           Sort alphabetically so make check-exports doesn't barf.
1627
1628 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1629
1630         * gst/gstevent.c:
1631           Use gst_format_get_name() to improve debug output.
1632
1633         * gst/gstpreset.c:
1634           Remove #ifdef'ed code. Add TODO comment.
1635
1636         * gst/gstsegment.c:
1637           Add debug output to ease spotting format != segment.format assertions.
1638
1639 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1640
1641         * tests/check/libs/gdp.c: (gst_dp_suite):
1642         Also enable the GDP unit test again on PPC now that the bug
1643         is fixed.
1644
1645 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1646
1647         * libs/gst/dataprotocol/dataprotocol.c:
1648         Don't write to the same region of memory as a uint64 and uint16
1649         as this breaks strict aliasing rules and apparantly breaks on PPC
1650         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1651
1652 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1653
1654         * libs/gst/controller/gstinterpolationcontrolsource.c:
1655           Optimize list handling. Use own find function. Exploit that fact that
1656           the list is sorted. Also pass back the node before, so that we can
1657           insert quickly. Have a fast path for append.
1658
1659 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1660
1661         * docs/design/draft-framestep.txt:
1662         * docs/design/part-negotiation.txt:
1663           Fix two typos.
1664
1665 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1666
1667         * configure.ac:
1668           Show configuration sumary after configure run. Based on patch by
1669           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1670
1671 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1672
1673         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1674
1675         * docs/manual/advanced-autoplugging.xml:
1676         * docs/manual/advanced-threads.xml:
1677         * docs/manual/basics-bins.xml:
1678         * docs/manual/basics-elements.xml:
1679         * docs/manual/basics-helloworld.xml:
1680         * docs/manual/basics-pads.xml:
1681           Add scale factor for pdf output.
1682
1683         * docs/manual/intro-basics.xml:
1684           Switched sections "pads" and "bins" and added a pipeline diagram.
1685
1686         * docs/manual/intro-gstreamer.xml:
1687           Added more info on gstreamer.
1688
1689         * docs/manual/intro-motivation.xml:
1690           Commented out the whole section "current problem", which sounds
1691           historical and somehow osolete; it could be turned in a positive
1692           way and reused to improve the design principles.
1693
1694         * docs/manual/intro-preface.xml:
1695           - Update URLs to library.gnome.org. 
1696           - Do not mention GTK+ in preliminary reading (irrelevant). 
1697           - Mention Plugin Writer's Manual and further reading only in the
1698             previous section.
1699           - Added a list of most relevant GObject/glib topics.
1700
1701         * docs/manual/Makefile.am:
1702         * docs/manual/bin-element-ghost.fig:
1703         * docs/manual/bin-element-ghost.png:
1704         * docs/manual/bin-element-noghost.fig:
1705         * docs/manual/bin-element-noghost.png:
1706         * docs/manual/bin-element.fig:
1707         * docs/manual/bin-element.png:
1708         * docs/manual/filter-element-multi.fig:
1709         * docs/manual/filter-element-multi.png:
1710         * docs/manual/filter-element.fig:
1711         * docs/manual/filter-element.png:
1712         * docs/manual/gstreamer-overview.png:
1713         * docs/manual/hello-world.fig:
1714         * docs/manual/hello-world.png:
1715         * docs/manual/linked-elements.fig:
1716         * docs/manual/linked-elements.png:
1717         * docs/manual/mime-world.fig:
1718         * docs/manual/mime-world.png:
1719         * docs/manual/queue.fig:
1720         * docs/manual/queue.png:
1721         * docs/manual/simple-player.png:
1722         * docs/manual/sink-element.fig:
1723         * docs/manual/sink-element.png:
1724         * docs/manual/src-element.fig:
1725         * docs/manual/src-element.png:
1726         * docs/manual/diagrams-general.svg:
1727         * docs/manual/diagrams-pipelines.svg:
1728           Removed .fig, added .png counterpart.
1729           
1730           Fixes: #539137
1731
1732 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1733
1734         * plugins/elements/gstmultiqueue.c:
1735         * plugins/elements/gstmultiqueue.h:
1736         revert extra-size-buffers stuff, caused some race conditions
1737         and extra-size-buffers is not used anymore. Docs needs some updates
1738
1739 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1740
1741         * win32/common/config.h:
1742         * win32/common/gstenumtypes.c:
1743         * win32/common/gstenumtypes.h:
1744         * win32/common/gstversion.h:
1745           Update win32 files.
1746
1747 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1748
1749         * gst/gstdebugutils.h: (GstDebugGraphDetails),
1750           (GST_DEBUG_BIN_TO_DOT_FILE):
1751           Add missing Since' markers to gtk-doc blurbs.
1752
1753 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
1754
1755         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1756         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1757         (set_caps_1), (set_caps_ct1), (transform_ct1),
1758         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1759         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1760         (transform_size_ct2), (buffer_alloc_ct2):
1761         Add some more tests with switching caps in buffer_alloc.
1762
1763 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1764
1765         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1766         (gst_test_trans_class_init), (result_sink_chain),
1767         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1768         (gst_test_trans_push), (gst_test_trans_pop):
1769         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1770         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1771         (set_caps_1), (set_caps_ct1), (transform_ct1),
1772         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1773         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1774         (transform_size_ct2), (buffer_alloc_ct2),
1775         (gst_basetransform_suite):
1776         More tests, prepare for tests with switching caps in buffer_alloc.
1777
1778 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1779
1780         * plugins/elements/gstmultiqueue.c:
1781         * plugins/elements/gstmultiqueue.h:
1782         Fix dead-lock in underrun_cb
1783
1784 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1785
1786         * docs/design/part-states.txt:
1787         Fix device open/close docs.
1788
1789 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1790
1791         * ChangeLog:
1792           Mention bugnumber for last commit.
1793
1794 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1795
1796         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1797
1798         * docs/manual/manual.xml:
1799         - Reorganised the previous "introduction" bundle into Foreword,
1800         Introduction, and About GStreamer. The two first are <preface>
1801         docbook elements. The later is the first part of the book.
1802         - added intro-gstreamer.xml (content partially from
1803         intro-preface.xml)
1804         - moved appendix-win32.xml into appendix-integration.xml
1805
1806         * docs/manual/intro-preface.xml: gstreamer section moved...
1807         * docs/manual/intro-gstreamer.xml: ...here. new file.
1808
1809         * docs/manual/appendix-win32.xml: removed file. Content moved...
1810         * docs/manual/appendix-integration.xml: ...here.
1811         
1812         * docs/manual/highlevel-components.xml: section about GstEditor moved...
1813         * docs/manual/appendix-checklist.xml: ...here.
1814         
1815         Fixes: 538764
1816
1817 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1818
1819         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1820
1821         * docs/manual/basics-helloworld.xml:
1822         * docs/manual/hello-world.fig:
1823           - Explicitely include glib.h.
1824           - Do not use global variables.
1825           - Use g_printerr() instead of g_print().
1826           - Minor formating/renaming to increase readibility.
1827           - Renamed new_pad() to on_pad_added()
1828           - Improved explenatory comments.
1829           - renamed ogg parser to ogg demuxer
1830           - Use "autoaudiosink" instead of "alsasink".
1831           Fixes: #538619
1832
1833 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1834
1835         * ChangeLog:
1836           Remove cvs conflict marker.
1837
1838 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1839
1840         * docs/README:
1841           Document that for plgin-docs we extraxt he short-desc from the element
1842           details.
1843
1844         * docs/design/part-states.txt:
1845           Tell that devices should be closed in PAUSED -> READY.
1846
1847         * docs/manual/README:
1848           Document how tests in the manual are handled.
1849
1850         * docs/manuals.mak:
1851           Typo in comment.
1852
1853 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1854
1855         * gst/gstbin.c: (bin_query_latency_fold):
1856         Only care about latency min and max when the sink is actually a live
1857         sink.
1858
1859 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1860
1861         * docs/design/part-block.txt:
1862         Fix typo.
1863
1864         * docs/design/part-element-transform.txt:
1865         Add notes about why transform needs to know input/output sizes.
1866         Add some issues that need to be solved.
1867         Add some more use cases.
1868
1869         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1870         (gst_test_trans_class_init), (result_sink_chain),
1871         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1872         (gst_test_trans_push), (gst_test_trans_pop):
1873         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1874         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1875         (set_caps_1), (set_caps_ct1), (transform_ct1),
1876         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1877         (gst_basetransform_suite):
1878         Add suport for different pad templates and buffer-alloc.
1879         Add more checks for caps and buffer-alloc.
1880         Add checks for proxy buffer alloc.
1881         Add unit test for copy transform.
1882
1883 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1884
1885         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1886
1887         * docs/manual/appendix-integration.xml:
1888         * docs/manual/appendix-licensing.xml:
1889         * docs/manual/basics-elements.xml:
1890         * docs/manual/basics-helloworld.xml:
1891         * docs/manual/basics-pads.xml:
1892         * docs/manual/highlevel-components.xml:
1893         * docs/manual/highlevel-xml.xml:
1894         * docs/manual/intro-basics.xml:
1895         * docs/manual/intro-preface.xml:
1896           Typo and formatting fixes (#538594).
1897
1898 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1899
1900         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1901         Fix some memory leaks and uses of object instances that we don't
1902         actually own.
1903
1904 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1905
1906         * plugins/elements/gstmultiqueue.c:
1907         Add functionality to extra-size-buffers property.
1908
1909 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1910
1911         * plugins/elements/gstmultiqueue.c:
1912         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1913         activate the pads if they are added in STATE_NULL.
1914
1915 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1916
1917         * docs/libs/gstreamer-libs-sections.txt:
1918         Add new API to doc
1919         * libs/gst/check/gstcheck.c:
1920         * libs/gst/check/gstcheck.h:
1921         API: gst_check_teardown_pad_by_name
1922
1923 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1924
1925         * libs/gst/check/gstcheck.c:
1926         * libs/gst/check/gstcheck.h:
1927         Also setup request pads and allow setup pads by name (#537812)
1928         API: gst_check_setup_src_pad_by_name
1929         API: gst_check_setup_sink_pad_by_name
1930
1931 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1932
1933         * tests/check/gst/gstbuffer.c:
1934         * tests/check/pipelines/parse-launch.c:
1935           Use HAVE_VALGRIND_H some more.
1936
1937 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1938
1939         * scripts/cvs-update.sh:
1940           Pass arguments to make.
1941           Run autoregen.sh if Makefile is not there.
1942
1943 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1944
1945         * configure.ac:
1946         * gst/gstinfo.c:
1947           Don't assume that <valgrind/valgrind.h> exists just because
1948           the binary is there.
1949
1950 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1951
1952         * tests/check/Makefile.am:
1953         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1954         (gst_test_trans_class_init), (gst_test_trans_init),
1955         (gst_test_trans_set_data), (result_sink_chain),
1956         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1957         (gst_test_trans_pop):
1958         * tests/check/libs/transform1.c: (GST_START_TEST),
1959         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1960         Add some test basetransform element and the beginnings of various
1961         unit tests for it.
1962
1963 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1964
1965         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1966         Increase code readability.
1967         Don't try to compare buffer offsets when ther are invalid.
1968
1969 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
1970
1971         * docs/design/Makefile.am:
1972           Dist some more design docs.
1973
1974         * docs/random/moving-plugins:
1975           Small addition: good plugins mustn't have functional code
1976           within assertion macros.
1977
1978 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1979
1980         * docs/design/draft-framestep.txt:
1981         Some ideas about a framestep API
1982
1983         * docs/design/part-element-transform.txt:
1984         Start design and use cases for basetransform in order to get it
1985         fixed soon.
1986
1987 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
1988
1989         * gst/gsttaglist.h:
1990           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1991           be in UTF-8 encoding.
1992
1993 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
1994
1995         * gst/gstbus.c:
1996           Make it known that gst_bus_poll() is pure evil (fixes #538810).
1997
1998 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
1999
2000         * plugins/elements/gstcapsfilter.c:
2001         * plugins/elements/gstfakesink.c:
2002         * plugins/elements/gstfakesrc.c:
2003         * plugins/elements/gstfdsink.c:
2004         * plugins/elements/gstfdsrc.c:
2005         * plugins/elements/gstfilesink.c:
2006         * plugins/elements/gstfilesrc.c:
2007         * plugins/elements/gstidentity.c:
2008         * plugins/elements/gstmultiqueue.c:
2009         * plugins/elements/gstqueue.c:
2010         * plugins/elements/gsttee.c:
2011         * plugins/elements/gsttypefindelement.c:
2012           Remove short_description. Add basic docs for gsttypefindelement.
2013           Simplify markup for fakesrc/fdsrc.
2014
2015 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2016
2017         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2018         Added Since doc.
2019
2020 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2021
2022         Patch by: Joel Larsson <tilljoel at gmail dot com>
2023
2024         * docs/plugins/gstreamer-plugins.args:
2025         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2026         (gst_fd_src_init), (gst_fd_src_update_fd),
2027         (gst_fd_src_set_property), (gst_fd_src_get_property),
2028         (gst_fd_src_create):
2029         * plugins/elements/gstfdsrc.h:
2030         Add timeout property like udpsrc. Fixes #538628.
2031         Add some more docs and example pipelines.
2032
2033 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2034
2035         * docs/libs/gstreamer-libs-sections.txt:
2036         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2037         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2038         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2039         (gst_base_sink_do_sync):
2040         * libs/gst/base/gstbasesink.h:
2041         * win32/common/libgstbase.def:
2042         Add method to allow sinks to specify additional delay between the sync
2043         times and the actual rendering of the data.
2044         API: gst_base_sink_set_render_delay()
2045         API: gst_base_sink_get_render_delay()
2046
2047 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2048
2049         * configure.ac:
2050         Bump version number back to dev -> 0.10.20.1
2051
2052 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2053
2054         * docs/gst/gstreamer-sections.txt:
2055         * gst/gsttaglist.c: (_gst_tag_initialize):
2056         * gst/gsttaglist.h:
2057         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2058         Fixes bug #538568.
2059
2060 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2061
2062         * libs/gst/controller/gstcontroller.c:
2063           Revert one change, that make ret value possible uninitialized.
2064
2065 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2066
2067         * libs/gst/controller/gstcontroller.c:
2068           Use freeze/thaw notify to sync notify emission a bit (its also more
2069           efficient). Move debug output to LOG (is called a lot in a loop).
2070           Always unset g_values if the have been initialized.
2071
2072 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2073
2074         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2075         (gst_base_sink_wait_eos), (gst_base_sink_event):
2076         If we have not seen a buffer before EOS, use the segment values to
2077         report the current position instead of invalid positions.
2078
2079 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2080
2081         * docs/plugins/tmpl/.cvsignore:
2082         * tests/check/gst/.cvsignore:
2083           Ignore more.
2084
2085 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2086
2087         * libs/gst/controller/gstinterpolation.c:
2088         * libs/gst/controller/gstinterpolationcontrolsource.c:
2089         * tests/check/libs/controller.c:
2090           Rewrite handling of default values. Fix overflow with unsigned types
2091           in linear interpolation. Remove now obsolete _first_value() function.
2092           Add more tests. Fixes #538201.
2093
2094 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2095
2096         * libs/gst/base/gstbasetransform.c:
2097         (gst_base_transform_class_init), (gst_base_transform_init),
2098         (gst_base_transform_transform_caps),
2099         (gst_base_transform_prepare_output_buffer):
2100         Add debug info.
2101         When a buffer is writable, its metadata is also writable so we don't
2102         need to subbuffer (which then makes the buffer not-writable anymore).
2103
2104 === release 0.10.20 ===
2105
2106 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2107
2108         * configure.ac:
2109           releasing 0.10.20, "You Crazy Diamond"
2110
2111 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2112
2113         * configure.ac:
2114         0.10.19.3 pre-release
2115
2116 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2117
2118         * configure.ac:
2119         * gst/gstpreset.c:
2120         Rename DATADIR to GST_DATADIR to avoid build problems
2121         on win32. Patch By: David Schleef <ds@schleef.org>
2122         Fixes: #536857
2123
2124 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2125
2126         * configure.ac:
2127         Explicitely link with -ldl if dladdr() is found there. Before it was
2128         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2129         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2130
2131 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2132
2133         * gst/gsterror.c: (_gst_stream_errors_init):
2134           Fix typo (spotted by Fabricio Godoy, #536723).
2135
2136 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2137
2138         * configure.ac:
2139         0.10.19.2 pre-release
2140
2141 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2142
2143         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2144         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2145         Add some debug.
2146         Make sure we don't generate invalid QoS messages.
2147
2148 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2149
2150         * gst/gstevent.c: (gst_event_new_qos):
2151         Add some assert and docs for invalid input to the qos function.
2152
2153 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2154
2155         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2156         (gst_base_sink_get_position):
2157         The reported position must always be smaller than the last seen
2158         timestamps (or timestamp + duration for reverse).
2159
2160 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2161
2162         Patch by: Rob Bradford <rob at robster dot org dot uk>
2163
2164         * gst/gstregistry.c: (gst_registry_scan_path_level):
2165         Don't recurse into .debug directories as some distros install
2166         the debugging symbols next to the plugins in .debug directories
2167         and dlopen() crashes on them sometimes. Fixes bug #508070.
2168
2169         Add FIXME for 0.11 to not recurse into directories at all because
2170         it's very inconsistent to the behaviour of other PATH environment
2171         variables.
2172
2173 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2174
2175         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2176         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2177         Fix position query range checks in reverse playback.
2178
2179 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2180
2181         * gst/gstelement.c:
2182         * gst/gstelement.h:
2183         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2184         clear of the reference to the resulting pad must be released later
2185         or not, resulting in possible leaks. Fixes bug #533865.
2186
2187 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2188
2189         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2190
2191         * gst/gstelementfactory.c:
2192         Small doc fix. Fixes #535285.
2193
2194 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2195
2196         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2197
2198         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2199         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2200         (gst_base_src_loop), (gst_base_src_set_flushing),
2201         (gst_base_src_change_state):
2202         Make sending an EOS event to the basesrc non-blocking even if the
2203         implementation does blocking waits in the create function. This is done
2204         by unlocking the create function when EOS is sent.
2205         Fixes #535218.
2206
2207 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2208
2209         * tools/gst-inspect.c: (print_element_properties_info):
2210         If possible print the element type of GValueArray properties.
2211
2212 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2213
2214         * gst/gstiterator.c:
2215         Remove an unused field from the private GstListIterator struct.
2216
2217 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2218
2219         * libs/gst/controller/gstcontroller.c:
2220           Add parameter guards.
2221
2222 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2223
2224         * tests/check/gst/gstpipeline.c:
2225           Revert test change and add comment why it should not work.
2226
2227 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2228
2229         * tests/check/gst/gstpipeline.c:
2230           Extending the test a little to verify that we also get the NULL state-
2231           change message.
2232
2233 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2234
2235         * gst/gstpreset.c: (gst_preset_default_get_meta),
2236           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2237           (gst_preset_load_preset), (gst_preset_save_preset),
2238           (gst_preset_rename_preset), (gst_preset_delete_preset),
2239           (gst_preset_set_meta):
2240           Add Since: markers to docs blurbs.
2241
2242         * win32/common/libgstreamer.def:
2243           Add recently-added API.
2244
2245 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2246
2247         Patch by: Stefan Kost  <ensonic@users.sf.net>
2248
2249         * configure.ac:
2250         Add DATADIR for storing presets.
2251
2252         * docs/gst/gstreamer-docs.sgml:
2253         * docs/gst/gstreamer-sections.txt:
2254         * docs/gst/gstreamer.types.in:
2255         Add GstPreset to docs.
2256
2257         * gst/Makefile.am:
2258         * gst/gst.h:
2259         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2260         (preset_open_and_parse_header), (preset_parse_version),
2261         (preset_merge), (preset_get_keyfile),
2262         (gst_preset_default_get_preset_names),
2263         (gst_preset_default_get_property_names),
2264         (gst_preset_default_load_preset),
2265         (gst_preset_default_save_presets_file),
2266         (gst_preset_default_save_preset),
2267         (gst_preset_default_rename_preset),
2268         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2269         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2270         (gst_preset_default_reset), (gst_preset_get_preset_names),
2271         (gst_preset_get_property_names), (gst_preset_load_preset),
2272         (gst_preset_save_preset), (gst_preset_rename_preset),
2273         (gst_preset_delete_preset), (gst_preset_set_meta),
2274         (gst_preset_get_meta), (gst_preset_class_init),
2275         (gst_preset_base_init), (gst_preset_get_type):
2276         * gst/gstpreset.h:
2277         Add GstPreset to core. Fixes #396779
2278
2279         * tests/check/Makefile.am:
2280         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2281         (gst_preset_test_set_property), (gst_preset_test_class_init),
2282         (gst_preset_test_base_init), (gst_preset_test_get_type),
2283         (gst_preset_test_plugin_init), (GST_START_TEST),
2284         (remove_preset_file), (test_setup), (test_teardown),
2285         (gst_preset_suite):
2286         Add GstPreset unit tests.
2287
2288 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2289
2290         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2291         The default event function on a sinkpad should return TRUE when
2292         there are no internal links but should collect the return values from
2293         the internal links otherwise.
2294
2295 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2296
2297         * plugins/elements/gsttypefindelement.c:
2298         (gst_type_find_element_src_event),
2299         (gst_type_find_element_handle_event):
2300         Use faster and safer _pad_push_event().
2301
2302 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2303
2304         * docs/gst/gstreamer-sections.txt:
2305         * gst/gstutils.c: (element_find_unlinked_pad),
2306           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2307         * gst/gstutils.h:
2308           API: add gst_bin_find_unlinked_pad()
2309           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2310
2311 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2312
2313         * gst/gstclock.c:
2314         * gst/gstclock.h:
2315         * gst/gsttask.c:
2316         * gst/gsttask.h:
2317         Fixed a bunch of typos.
2318
2319 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2320
2321         * gst/gstpad.h:
2322         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2323           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2324           (gst_parse_bin_from_description_full):
2325         * gst/gstutils.h:
2326           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2327
2328 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2329
2330         * docs/pwg/advanced-tagging.xml:
2331           Small docs update, can't be bothered to rewrite the nonsensical
2332           examples right now.
2333
2334 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2335
2336         * gst/gstevent.h:
2337           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2338
2339 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2340
2341         * gst/parse/grammar.y:
2342           Remove unneeded casts.
2343
2344 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2345
2346         * gst/parse/grammar.y:
2347         * tests/check/pipelines/parse-launch.c:
2348           Get all missing elements from a parse launch string if possible
2349           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2350
2351 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2352
2353         * tests/check/Makefile.am:
2354         * tests/check/pipelines/parse-launch.c:
2355           Add some unit tests for the new gst_parse_launch*_full() API.
2356           (Exposes a previously-existing memory leak in the error code
2357           path, so adding to VALGRIND_TO_FIX for now).
2358
2359 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2360
2361         * docs/gst/gstreamer-sections.txt:
2362         * gst/gst.c: (init_post):
2363         * gst/gst_private.h: (_GstParseContext):
2364         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2365           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2366           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2367           (gst_parse_launch_full):
2368         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2369           (GstParseFlags), (GstParseContext):
2370         * gst/gstutils.c: (gst_parse_bin_from_description),
2371           (gst_parse_bin_from_description_full):
2372         * gst/gstutils.h:
2373         * gst/parse/grammar.y:
2374         * gst/parse/types.h:
2375         * win32/common/libgstreamer.def:
2376           Add new gst_parse_*_full API (#528178):
2377           API: gst_parse_launch_full()
2378           API: gst_parse_launchv_full()
2379           API: gst_parse_bin_from_description_full()
2380           API: gst_parse_context_new()
2381           API: gst_parse_context_free()
2382           API: gst_parse_context_get_missing_elements()
2383
2384 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2385
2386         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2387
2388         * docs/faq/gst-uninstalled:
2389           Also support ffmpeg in gst-uninstalled.
2390
2391 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2392
2393         * configure.ac:
2394         After discussion on IRC use the binary registry as default
2395         but allow to disable it with --disable-binary-registry.
2396
2397         * win32/common/libgstreamer.def:
2398         Add the two new symbols for the binary registry.
2399
2400 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2401
2402         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2403         * gst/gstutils.c: (gst_parse_bin_from_description):
2404         * gst/parse/grammar.y: (graph):
2405           More guards against bad input; typo fix; some minor clean-ups.
2406
2407 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2408
2409         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2410
2411         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2412         If nothing else can be used, use the last buffer's start time as
2413         the segment's last stop. Fixes bug #534258.
2414
2415 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2416
2417         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2418           Move size sanity check to the right place: downstream may return
2419           a buffer with a smaller size if the buffer caps are different than
2420           the requested ones, as may happen when doing reverse negotiation.
2421
2422 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2423
2424         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2425         (gst_file_sink_render):
2426         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2427         (gst_file_src_start):
2428         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2429         use it yet.
2430
2431 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2432
2433         * gst/gstpad.c: (gst_pad_load_and_link):
2434         * gst/gstutils.c: (gst_element_link_pads),
2435         (gst_element_unlink_pads):
2436         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2437         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2438         (gst_check_teardown_sink_pad),
2439         (gst_check_element_push_buffer_list):
2440         * tests/check/elements/fakesink.c: (GST_START_TEST):
2441         * tests/check/elements/filesink.c:
2442         * tests/check/elements/filesrc.c: (GST_START_TEST):
2443         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2444         (mq_sinkpad_to_srcpad):
2445         * tests/check/elements/tee.c: (GST_START_TEST):
2446         * tests/check/generic/sinks.c: (GST_START_TEST):
2447         * tests/check/gst/gstbin.c: (GST_START_TEST):
2448         * tests/check/gst/gstevent.c: (GST_START_TEST):
2449         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2450         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2451         * tests/check/gst/gstquery.c: (GST_START_TEST):
2452         * tests/check/gst/gstutils.c: (GST_START_TEST):
2453         * tests/check/libs/basesrc.c: (GST_START_TEST):
2454         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2455         (gst_parse_test_element_change_state):
2456         Don't use gst_element_get_pad().
2457
2458 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2459
2460         * docs/Makefile.am:
2461         Fix installing plugin documentation when gtk-doc is disabled.
2462
2463 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2464
2465         * docs/manual/advanced-autoplugging.xml:
2466         * docs/manual/basics-helloworld.xml:
2467         * docs/manual/basics-pads.xml:
2468         * docs/manual/highlevel-components.xml:
2469         Avoid using a bad function in the example code.
2470
2471 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2472
2473         * gst/gstclock.c: (gst_clock_set_calibration):
2474         Fix debug of the new clock rate.
2475
2476 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2477
2478         * win32/common/libgstbase.def:
2479         Add gst_base_sink_wait_clock() to the exported symbols.
2480
2481 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2482
2483         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2484
2485         * libs/gst/base/gstbasetransform.c:
2486         (gst_base_transform_sink_event):
2487         Unref events that the GstBaseTransform::event vfunc didn't want to
2488         have forwarded by the base class. Closes a leak in identity.
2489         Fixes bug #446763.
2490
2491 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2492
2493         * docs/libs/gstreamer-libs-sections.txt:
2494         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2495         * libs/gst/base/gstbasesink.h:
2496         Expose a method that was previously used internally to synchronize
2497         against the clock because it can be useful for subclasses too.
2498         API: GstBaseSink::gst_base_sink_wait_clock()
2499
2500 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2501
2502         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2503           Add sanity check to make sure we don't get smaller buffers
2504           than requested (and fallback to normal buffer alloc if we do).
2505
2506 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2507
2508         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2509         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2510         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2511         Refactor adjusting the running_time with latency and offset into a
2512         separate method.
2513         When doing clipping, we still want to use the subclass get_times method,
2514         just in case the DURATION or TIMESTAMP are not set.
2515
2516 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2517
2518         * docs/gst/gstreamer-sections.txt:
2519         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2520         * gst/gsttypefind.h:
2521         * win32/common/libgstreamer.def:
2522           API: add gst_type_find_suggest_simple(), #533740.
2523
2524 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2525
2526         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2527           Use right error code when typefinding fails, so we can use
2528           the default (translated) error messages.
2529
2530 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2531
2532         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2533         (gst_base_src_start):
2534         When the subclass did not set caps on outgoing buffers, configure the
2535         caps we negotiated on the source pad.
2536         When the typefind helper does not find caps, error out properly instead
2537         of doing things with NULL caps.
2538
2539 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2540
2541         * gst/gsttypefind.h:
2542           Tabs to spaces, oh yes!
2543
2544 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2545
2546         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2547           Add David's and Benjamin's tests for array intersection to the
2548           unit test suite (#147931).
2549
2550 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2551
2552         * gst/gstevent.c:
2553           Document that gst_event_new_tag() and gst_event_new_navigation()
2554           take ownership of the taglist/structure passed to them. (#533635).
2555
2556 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2557
2558         * docs/Makefile.am:
2559         Don't descend into the plugins dir if plugin docs building
2560         is disabled.
2561
2562         * docs/README:
2563         Add a note about the new type:GTypeName syntax for the plugin
2564         documentation .types file.
2565
2566 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2567
2568         * gst/gstmessage.c: (gst_message_new_error),
2569         (gst_message_new_warning), (gst_message_new_info):
2570         * gst/gstmessage.h:
2571         Mark the debug string parameters as const. Fixes bug #533490.
2572
2573 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2574
2575         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2576         Sort buffer cache list by end offsets. This makes sure that we don't
2577         stop to search for a cached buffer that contains the requested data
2578         too early.
2579         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2580         more efficient. Fixes bug #459862.
2581
2582 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2583
2584         * gst/gstinfo.c:
2585           Explain why we copy the list.
2586
2587         * gst/gstpipeline.c:
2588           Improve docs.
2589
2590         * gst/gstutils.c:
2591           Add one debug-log statement to help tracing probelms with linking pads.
2592
2593 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2594
2595         * tests/check/gst/gstinfo.c:
2596         Add a test for removing the default log handler. Seems to fail under
2597         windows.
2598
2599 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2600
2601         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2602         Release pad lock before calling out to avoid a possible deadlock.
2603
2604 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2605
2606         * gst/parse/grammar.y:
2607         Remove unneeded value unset.
2608
2609         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2610         Add unit test for de/serialization of caps.
2611
2612 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2613
2614         * plugins/elements/gstfakesink.c:
2615         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2616         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2617         (gst_fake_src_class_init):
2618         Use custom marshalers that take GstMiniObject as first parameter.
2619         Using OBJECT as parameter while a GstMiniObject is given will lead
2620         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2621
2622 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2623
2624         * plugins/elements/gsttypefindelement.c:
2625         (gst_type_find_element_handle_event),
2626         (gst_type_find_element_send_cached_events),
2627         (gst_type_find_element_change_state):
2628         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2629         immediately.
2630
2631 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2632
2633         * plugins/elements/gsttypefindelement.c:
2634         (gst_type_find_handle_src_query), (stop_typefinding),
2635         (gst_type_find_element_handle_event),
2636         (gst_type_find_element_send_cached_events),
2637         (gst_type_find_element_change_state):
2638         Forward FLUSH_START events immediately and clean up instead of
2639         caching them.
2640
2641 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2642
2643         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2644
2645         * libs/gst/base/gstbasetransform.c:
2646         (gst_base_transform_buffer_alloc):
2647         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2648         fall back to default negotiation in the chain function if the caps
2649         are different from what was requested. Fixes bug #526768.
2650
2651 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2652
2653         * gst/gstsegment.c:
2654         * tests/check/gst/gstsegment.c:
2655           No, let's not use g_slice_{dup|copy} here, since they only exist
2656           since GLib 2.14 and we still depend only on >= 2.12. Also add
2657           unit test for gst_segment_copy().
2658
2659 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2660
2661         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2662           Try to fix 'dereferencing type-punned pointer will break strict
2663           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2664           changed the default GType typedef from gulong to gsize at some point,
2665           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2666           g_once_* functions all take a gsize * though, so work around the type
2667           mismatch for C++ by doing everything in gsize and casting to GType
2668           later.
2669
2670 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2671
2672         * plugins/elements/gstmultiqueue.c:
2673         Add documentation for the signals to push our core plugin docs
2674         coverage back up to 100%.
2675
2676 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2677
2678         * gst/gstinfo.h (GST_FUNCTION):
2679           Reverted GST_FUNCTION to the old version as we don't want the
2680           full signature in C++ code. Also added support for MSVC.
2681
2682 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2683
2684         * gst/gstutils.h:
2685         Intern the type name string, similar to what G_DEFINE_TYPE does.
2686
2687 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2688
2689         * gst/gstutils.h:
2690         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2691
2692 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2693
2694         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2695
2696         * libs/gst/base/gstbasetransform.c:
2697         (gst_base_transform_buffer_alloc):
2698         Don't passthrough buffer allocation too easily if the caps change.
2699         This breaks when working in passthrough mode and upstream changes
2700         it's caps. Fixes bug #526768.
2701
2702 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2703
2704         * gst/gstinfo.c (gst_debug_log_valist):
2705           Improved the __FILE__ part of debug output for MSVC.
2706
2707 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2708
2709         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2710           Declaration after statement fix for compilers like MSVC.
2711
2712 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2713
2714         * win32/common/config.h.in:
2715           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2716           use the real thing than having "???" unconditionally.
2717
2718 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2719
2720         * gst/gstinfo.h (GST_FUNCTION):
2721           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2722
2723 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2724
2725         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2726         Small code cleanup.
2727
2728         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2729         (gst_base_sink_set_flushing):
2730         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2731         Fix some comments.
2732
2733 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2734
2735         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2736         (gst_fake_src_init), (gst_fake_src_set_property),
2737         (gst_fake_src_get_property), (gst_fake_src_start):
2738         * plugins/elements/gstfakesrc.h:
2739         Added format property to control the format of the newsegment events.
2740         API: GstFakeSrc:format
2741
2742 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2743
2744         * win32/common/libgstreamer.def:
2745         Add gst_pad_has_name() to the exported symbols.
2746
2747 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2748
2749         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2750         * libs/gst/base/gstbasetransform.c:
2751         (gst_base_transform_prepare_output_buffer):
2752         Don't allow negative sizes when allocating new buffers.
2753         Fixes bug #461253.
2754
2755 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2756
2757         Patch by: Sjoerd Simons <sjoerd at luon net>
2758
2759         * gst/gstbus.c: (gst_bus_source_dispatch):
2760           Don't print a warning if the queue is empty when we try to pop
2761           here. That could happen if another thread or callback set the
2762           bus to flushing between the source's check/prepare and the
2763           dispatch being called (#531538).
2764
2765 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2766
2767         * plugins/elements/gstmultiqueue.c:
2768           Small docs fix.
2769         
2770 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
2771
2772         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2773         Add unit test for deserializing uint64s and check some really large
2774         numbers in the int64 test.
2775
2776 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2777
2778         * tools/gst-inspect.c: (n_print), (print_hierarchy),
2779         (print_interfaces), (print_element_properties_info),
2780         (print_signal_info):
2781         Use "%s" as format string instead of printing strings directly.
2782
2783 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2784
2785         * gst/gstclock.c: (gst_clock_set_calibration):
2786         Make some checks actually useful.
2787
2788         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2789         Remove some unused code. Unsigned integers tend to be >= 0.
2790
2791 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2792
2793         * gst/gstminiobject.c: (gst_value_get_mini_object):
2794           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2795           function was not in the unscheduled 0.10.19 release.
2796
2797 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2798
2799         * gst/gstregistry.c: (gst_registry_scan_path_level):
2800           Only print one log message per non-plugin file.
2801
2802 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2803
2804         * gst/gstinfo.c: (gst_debug_log_default):
2805           Fix alignment of debug log columns on 64-bit.
2806
2807 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2808
2809         * docs/libs/Makefile.am:
2810         * docs/libs/gstreamer-libs-sections.txt:
2811           Ignore private controller headers for docs.
2812
2813 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
2814
2815         * libs/gst/controller/gstcontrollerprivate.h:
2816         * libs/gst/controller/gsthelper.c:
2817         * libs/gst/controller/gstinterpolation.c:
2818         * libs/gst/controller/gstinterpolationcontrolsource.c:
2819         (gst_interpolation_control_source_set_interpolation_mode):
2820         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2821         * libs/gst/controller/lib.c:
2822         Move some private declarations into private headers.
2823
2824 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
2825
2826         * gst/gstdebugutils.c: (debug_dump_element_pad):
2827         Remove some code that is unused after Stefan's refactoring and uses
2828         uninitialized variables now, resulting in a compiler warning.
2829
2830 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2831
2832         * gst/gstregistry.c: (gst_registry_scan_path_level):
2833           Run g_str_has_suffix() only on the file name, not the
2834           entire file path.
2835
2836 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
2837
2838         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2839           Since we're not called only from the chain function any longer,
2840           we can't assume that there's always data in the queue, so move
2841           the is_full check to the beginning of the loop (otherwise we'd
2842           hit the assert when changing the limit properties while the
2843           queue is empty or not running yet).
2844           Also, only set a discont if items were actually removed from
2845           the queue.
2846
2847         * tests/check/elements/queue.c: (test_leaky_downstream):
2848           Test case for the above.
2849
2850 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2851
2852         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2853
2854         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2855         (gst_queue_chain), (queue_capacity_change),
2856         (gst_queue_set_property):
2857         When changing thr max capacity of a leaky queue, immediatly drop buffers
2858         instead of waiting for a push on the sinkpad. Fixes #530637.
2859
2860 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
2861
2862         * gst/gstdebugutils.c:
2863           Refactor code and fix handling of ghostpads and their proxypads.
2864
2865 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2866
2867         * docs/gst/gstreamer-sections.txt:
2868         * gst/gstevent.c: (gst_event_has_name):
2869         * gst/gstevent.h:
2870         * tests/check/gst/gstevent.c: (GST_START_TEST):
2871         Add method to conveniently check the name of a custom event with
2872         gst_event_has_name().
2873         Reformat the event docs so that related methods are put together instead
2874         of the default alphabetical sort.
2875         Update unit test with new method.
2876         API: GstEvent::gst_event_has_name()
2877
2878 2008-04-28  Michael Smith <msmith@songbirdnest.com>
2879
2880         * libs/gst/check/Makefile.am:
2881           Don't add an explicit link to libgstreamer-0.10.la; it's already
2882           included in GST_OBJ_LIBS.
2883
2884 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
2885
2886         * gst/gst.c:
2887         Register GstClock type from a type-safe context. Fixes bug #530317.
2888
2889 2008-04-25  Michael Smith <msmith@songbirdnest.com>
2890
2891         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2892         * tools/gst-run.c:
2893           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2894
2895 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2896
2897         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2898         (gst_bin_dispose):
2899         Use the GLib stuff to create a private structure.
2900         Add some locking around some dispose methods to make them a little
2901         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2902
2903 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
2904
2905         * libs/gst/base/gstbasesink.h:
2906         * libs/gst/base/gstbasesrc.h:
2907         * libs/gst/base/gstbasetransform.h:
2908         * libs/gst/base/gstcollectpads.h:
2909           Fix doc typos and unify caps a bit.
2910
2911 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
2912
2913         * tools/gst-launch.1.in:
2914           Forgot to also add the envvar docs here.
2915
2916 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
2917
2918         * gst/gst.c: (init_post), (gst_deinit):
2919         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2920           (test_concurrent_create), (gst_pipeline_suite):
2921           Ref some more classes in gst_init() to work around thread-safety
2922           issues in pre-2.16 GLibs, and add basic unit test.
2923
2924 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2925
2926         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2927         (gst_base_sink_send_event):
2928         Rearrange the latency query code. We always want to do the upstream
2929         query, even if we are not live so that the upstream elements can get the
2930         latency results too. If we fail doing the query and we are live, we
2931         return TRUE afterwards.
2932
2933 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2934
2935         patch by: Jason Zhao <e3423c@motorola.com>
2936
2937         * docs/gst/running.xml:
2938         * gst/gst.c:
2939           Enable/disable scan_and_update_registry() based on commandline switch
2940           or environment variable. Fixes #520468.
2941           
2942         * ChangeLog:
2943           Fix typo in my previous commit.
2944
2945 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2946
2947         * gst/gstregistrybinary.c:
2948           Add a warning if we hit unhandled factories when saving.
2949           More debug logging detail, but move to LOG category.
2950
2951 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2952
2953         * gst/gstregistry.c:
2954           Tell the *truth* when improving the documentation.
2955
2956 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
2957
2958         * gst/gstelementfactory.c: (gst_element_factory_make):
2959         Unref the factory after it was used the last time, not before.
2960
2961         * gst/gstindexfactory.c: (gst_index_factory_make):
2962         Improve debugging a bit and don't leak a ref to the index factory with
2963         each call.
2964
2965 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2966
2967         * gst/gstregistry.c:
2968           Improve the documentation.
2969
2970 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2971
2972         * gst/gstsegment.c:
2973           The glib macro seems to be borked. Use g_slice_copy directly and cast
2974           in the hope that this fixes the warning on 64bit.
2975
2976 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2977
2978         * gst/gstsegment.c:
2979           Document the new function. Use g_slice_dup() (no need for
2980           gst_segment_init()).    
2981
2982 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2983
2984         * docs/gst/gstreamer-sections.txt:
2985           Move GParamSepc macros to standart section.
2986   
2987         * gst/gstbin.c:
2988           Dn't document _get_type - its in private section in docs anyway and
2989           this doc-blob was incomplete.
2990
2991         * gst/gstclock.h:
2992           Fix wrong symbol names in docs.
2993
2994         * gst/gstmacros.h:
2995           Add once doc sentence.
2996
2997         * tests/check/gst/.cvsignore:
2998           Ignore more.
2999
3000 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3001
3002         * docs/gst/Makefile.am:
3003           And remove those libs here.
3004
3005 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3006
3007         * docs/libs/Makefile.am:
3008           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3009
3010 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3011
3012         Patch by: Olivier Crete <tester at tester dot ca>
3013
3014         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3015         Add the min-threshold to the min latency if possible. Fixes #529148.
3016
3017 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3018
3019         * docs/gst/gstreamer.types.in:
3020           Stupid editor, I removed that line as it should go in yet.
3021
3022 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3023
3024         * docs/gst/gstreamer.types.in:
3025         * docs/libs/gstreamer-libs.types:
3026           Remove library types fro core docs and have them in libs docs.
3027           Reformat and cleanup. Add comment for miniobject types.
3028
3029 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3030
3031         * gst/gsturi.c: (gst_uri_get_protocol):
3032           Fix leak: g_strdown operates on the string in place, while
3033           g_ascii_strdown() returns a newly-allocated string.
3034
3035 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3036
3037         * tools/gst-inspect.c: (print_uri_handler_info),
3038         (print_element_info):
3039         Print the URI protocols and the URI type supported by the element.
3040
3041 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3042
3043         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3044         Use g_value_take_string() instead of the deprecated
3045         g_value_set_string_take_ownership().
3046
3047 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3048
3049         * gst/gstregistrybinary.c: (_gst_crc32):
3050         Return the old CRC instead of 0 if we give a NULL buffer
3051         or a buffer with a length of 0.
3052
3053 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3054
3055         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3056         (gst_uri_get_protocol), (gst_uri_has_protocol),
3057         (gst_uri_construct), (gst_uri_handler_set_uri):
3058         A valid URI scheme can also include '+', '-' and '.' additional
3059         to alphanumeric characters as per RFC 3986 Section 3.1.
3060
3061         Handle URI schemes case insensitive in all places and convert
3062         to lower-case when constructing an URI or setting an URI with
3063         the GstURIHandler interface. Fixes bug #528868.
3064         All elements can still assume (as before) that they will
3065         get passed URIs with a lower-case URI scheme by the GstURIHandler
3066         interface.
3067
3068 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3069
3070         * gst/gstcaps.c: (gst_static_caps_get):
3071         * gst/gstclock.c: (gst_clock_entry_new):
3072           Don't use g_atomic_set_int where it's not needed.
3073
3074 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3075
3076         * gst/gstvalue.c: (gst_value_deserialize_caps):
3077         * gst/parse/grammar.y:
3078         Fix 2 caps leaks.
3079
3080 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3081
3082         * gst/gstutils.c: (gst_atomic_int_set):
3083         Use g_atomic_int_set() here too instead of assignment +
3084         g_atomic_int_get().
3085
3086 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3087         
3088         * gst/gstutils.c:
3089         * gst/gstutils.h:
3090         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3091         now that we depend on new enough GLib.
3092
3093         * gst/gstcaps.c: (gst_static_caps_get):
3094         * gst/gstclock.c: (gst_clock_entry_new):
3095         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3096         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3097         (gst_debug_category_set_threshold):
3098         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3099         (gst_base_sink_set_qos_enabled):
3100         * libs/gst/net/gstnettimeprovider.c:
3101         (gst_net_time_provider_set_property):
3102         Use g_atomic_int_set() instead of gst_atomic_int_set().
3103
3104 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3105
3106         * gst/gstquery.c:
3107           Also use G_GINT64_CONSTANT for the queries.
3108
3109 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3110
3111         * gst/gstmessage.c:
3112           Use G_GINT64_CONSTANT in varargs function.
3113
3114 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3115
3116         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3117         Initialize the registry magic with zeroes.
3118
3119 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3120
3121         * gst/gstregistrybinary.c: (_gst_crc32),
3122         (gst_registry_binary_write),
3123         (gst_registry_binary_initialize_magic),
3124         (gst_registry_binary_write_cache),
3125         (gst_registry_binary_check_magic),
3126         (gst_registry_binary_read_cache):
3127         * gst/gstregistrybinary.h:
3128         Add crc32 checksum to the binary registry file and check this before
3129         accepting a registry file.
3130
3131         Also free the data list when writing to the registry file fails.
3132
3133 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3134
3135         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3136         (gst_registry_binary_load_feature),
3137         (gst_registry_binary_load_plugin):
3138         If an element supports the Uri interface, returns a valid pointer
3139         to the supported URI protocols but this pointer contains nothing
3140         don't try to save that as it will corrupt the registry.
3141
3142         Don't unref the plugin if we added it to the registry already but
3143         fail to load a feature as gst_registry_add_plugin() takes ownership
3144         of the plugin.
3145
3146         Improve debugging a bit.
3147
3148 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3149
3150         * gst/gsttaglist.h:
3151           Clarify some tag item docs after discussion on irc.
3152
3153 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3154
3155         * docs/gst/gstreamer-docs.sgml:
3156           Remove commented out plugins (they have their own docs). Update
3157           comments.
3158
3159 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3160
3161         * docs/gst/gstreamer-docs.sgml:
3162         * docs/gst/gstreamer-sections.txt:
3163         * gst/gstparamspecs.c:
3164         * gst/gstparamspecs.h:
3165           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3166           docs to own section.
3167
3168         * gst/gstvalue.c:
3169           This now only documents GValue.
3170           
3171         * docs/libs/gstreamer-libs-sections.txt:
3172         * libs/gst/controller/gstcontroller.h:
3173           Remove GST_PARAM_CONTROLLABLE.
3174
3175 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3176
3177         * docs/README:
3178           Correct file path. Tell about how to use -overrides.txt.
3179         * docs/design/draft-tagreading.txt:
3180           Small design update.
3181
3182 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3183
3184         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3185         (gst_registry_binary_load_plugin):
3186         Fix a typo in a debug message and revert change from yesterday as
3187         gst_registry_add_plugin() will only fail if something is really wrong
3188         already and we can't survive it anyway.
3189
3190 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3191
3192         * gst/gst.c: (init_post), (gst_deinit):
3193           Pre-register GstGError GType from a thread-safe context
3194           (fixes #527967); unref enum type classes in deinit.
3195
3196 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3197
3198         Patch by: Rene Stadler <mail at renestadler de>
3199
3200         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3201           Merging an empty list with another list in KEEP_ALL mode should
3202           yield an empty list as result and not the second list (#512578).
3203
3204         * tests/check/gst/gsttagsetter.c:
3205           Add unit test for tag merge modes and the aforementioned bug.
3206
3207 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3208
3209         Patch by: Rene Stadler <mail at renestadler de>
3210
3211         * gst/gsttaglist.h:
3212           Fix description to match the order in the table (#512577).
3213   
3214 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3215
3216         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3217
3218         * libs/gst/net/gstnettimepacket.h:
3219         * docs/libs/gstreamer-libs-sections.txt:
3220           Define socklen_t as int if it's not defined yet. Fixes compilation
3221           with MSVC6 and other versions where socklen_t is not defined in
3222           the windows headers (#518022).
3223
3224 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3225
3226         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3227         If gst_registry_add_plugin() fails our reference to the plugin is
3228         invalid so don't try to use it anymore and instead error out.
3229
3230 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3231
3232         * tools/gst-xmlinspect.c: (print_element_info), (main):
3233           De-cruft a bit. If no argument is specified, print all elements in
3234           XML syntax rather than a freestyle list of elements like gst-inspect.
3235           Also, don't print XML header chunk unless we actually have something
3236           to print (ie. don't print it before an error message); print error
3237           message to stderr not stdout. Remove support for printing plugin
3238           info (it would just output something freestyle along the lines of
3239           gst-inspect so far), which fixes #514507. Also add license header.
3240
3241 2008-04-11  Julien Moutte  <julien@fluendo.com>
3242
3243         Mac OS X love...
3244         * configure.ac: Merge platform specific defines, introduce a new
3245         define on OS X to remember that forking when updating registry is
3246         unsafe.
3247         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3248         module.
3249         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3250         is defined.
3251         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3252         condition that leads to absolutely no plugins being registered on
3253         OS X.
3254
3255 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3256
3257         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3258
3259         * gst/gstutils.c: (gst_pad_add_data_probe),
3260           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3261           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3262           (gst_pad_add_buffer_probe_full):
3263         * gst/gstutils.h:
3264         * docs/gst/gstreamer-sections.txt:
3265         * win32/common/libgstreamer.def:
3266           Add gst_pad_add_*_probe_full() functions with a notify callback that
3267           lets the caller free the data it passes to the probe functions. This
3268           is useful for bindings such as gst-python or gstreamermm (#526814).
3269           API: gst_pad_add_data_probe_full
3270           API: gst_pad_add_buffer_probe_full
3271           API: gst_pad_add_event_probe_full
3272
3273         * tests/check/gst/gstutils.c:
3274           Add minimal unit test to make sure freeing the data actually works
3275           as expected.
3276
3277         * tests/benchmarks/.cvsignore:
3278           Random cvsignore addendum.
3279
3280 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3281
3282         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3283           (GST_DEBUG_BIN_TO_DOT_FILE):
3284           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3285           to it in the docs (since these are macros the types of the arguments
3286           won't be shown in the docs otherwise).
3287
3288 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3289
3290         * gst/gstpad.c:
3291           Do not abort on out of memory for pad_alloc_buffer.
3292
3293 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3294
3295         * libs/gst/check/gstcheck.c:
3296           Remove blank line between symbol name ad parameters to fix gtkdoc
3297           warning.
3298
3299 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3300
3301         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3302
3303         * docs/gst/gstreamer-sections.txt:
3304         * gst/gstsegment.c:
3305         * gst/gstsegment.h:
3306         * win32/common/libgstreamer.def:
3307           Expose gst_segment_copy() to make things easier for the c++ bindings.
3308           Fixes #518932.
3309           API: gst_segment_copy()
3310
3311 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3312
3313         * gst/gst.c: (gst_init_get_option_group), (init_post):
3314           Fix const position; ref GType classes for enum types to work
3315           around thread-safety issues in GLib versions < 2.16.
3316
3317 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3318
3319         * docs/design/part-buffering.txt:
3320         Fix some typos and set the estimated total for push mode to -1.
3321
3322         * gst/gstquery.c: (gst_query_new_buffering):
3323         Set buffering-left to 0 as we're not buffering by default.
3324
3325         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3326         Implement BUFFERING query.
3327
3328 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3329
3330         Based on patch by: Milosz Derezynski <internalerror gmail com>
3331
3332         * gst/gsterror.c: (_gst_stream_errors_init):
3333         * gst/gsterror.h:
3334           Add two new error codes for encrypted content. Fixes #524659.
3335           API: GST_STREAM_ERROR_DECRYPT
3336           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3337
3338 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3339
3340         * gst/gstquery.h:
3341           Fix typo.
3342
3343         * win32/common/libgstreamer.def:
3344           Add new functions.
3345
3346 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3347
3348         * plugins/elements/gstidentity.c: (gst_identity_event),
3349         (gst_identity_start):
3350         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3351         event after processing some data. Fixes bug #526042.
3352
3353 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3354
3355         * docs/gst/gstreamer-sections.txt:
3356         * gst/gstquery.c: (gst_query_parse_latency),
3357         (gst_query_set_buffering_percent),
3358         (gst_query_parse_buffering_percent),
3359         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3360         * gst/gstquery.h:
3361         Rename _avail -> _range
3362         API: gst_query_set_buffering_range
3363         API: gst_query_parse_buffering_range
3364
3365 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3366
3367         * docs/design/part-buffering.txt:
3368         * gst/gstquark.c:
3369         * gst/gstquark.h:
3370         * gst/gstquery.c: (gst_query_parse_latency),
3371         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3372         (gst_query_parse_buffering_percent):
3373         * gst/gstquery.h:
3374         Add busy field and quark for the buffering query so that the app can
3375         only use the query to see if buffering is in progress.
3376
3377 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3378
3379         * docs/gst/gstreamer-sections.txt:
3380         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3381         (gst_message_parse_buffering_stats):
3382         * gst/gstmessage.h:
3383         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3384         (gst_query_parse_latency), (gst_query_new_buffering),
3385         (gst_query_set_buffering_percent),
3386         (gst_query_parse_buffering_percent),
3387         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3388         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3389         * gst/gstquery.h:
3390         Reorder the message docs and headers for clarity.
3391         Add aditional buffering stats API for messages.
3392         Add buffering query.
3393         Convert some leftover queries to use GstQuark.
3394         API: gst_message_set_buffering_stats
3395         API: gst_message_parse_buffering_stats
3396         API: GST_QUERY_BUFFERING
3397         API: GstBufferingMode
3398         API: gst_query_new_buffering
3399         API: gst_query_set_buffering_percent
3400         API: gst_query_parse_buffering_percent
3401         API: gst_query_set_buffering_stats
3402         API: gst_query_parse_buffering_stats
3403
3404 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3405
3406         * gst/gstmessage.c: (gst_message_new_error),
3407         (gst_message_new_warning), (gst_message_new_info),
3408         (gst_message_new_buffering), (gst_message_new_state_changed),
3409         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3410         (gst_message_new_new_clock), (gst_message_new_segment_start),
3411         (gst_message_new_segment_done), (gst_message_new_duration),
3412         (gst_message_new_async_start), (gst_message_parse_buffering),
3413         (gst_message_parse_state_changed),
3414         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3415         (gst_message_parse_new_clock), (gst_message_parse_error),
3416         (gst_message_parse_warning), (gst_message_parse_info),
3417         (gst_message_parse_segment_start),
3418         (gst_message_parse_segment_done), (gst_message_parse_duration),
3419         (gst_message_parse_async_start):
3420         Use GstQuark for messages.
3421
3422 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3423
3424         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3425         * gst/gstquark.h:
3426         Add some more quarks needed for messages and queries.
3427
3428 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3429
3430         * docs/design/part-buffering.txt:
3431         Remove the "none" buffering mode, STREAM is a good default.
3432         Move estimated-time to the avail query, that's when it will be needed.
3433         Other small typo fixes and updates.
3434
3435 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3436
3437         * gst/gstindex.c: (gst_index_resolver_get_type):
3438           Don't put descriptions into the nick field of a GEnumValue: it's not
3439           meant for that and some language bindings rely on the nick field to
3440           construct constants and the like. Fixes #526705.
3441
3442 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3443
3444         * NEWS:
3445         * RELEASE:
3446         * gstreamer.doap:
3447           Merge other changes from 0.10.19 release branch.
3448
3449 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3450
3451         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3452
3453         * configure.ac:
3454         Actually build dlls when cross-compiling with mingw32.
3455         Fixes bug #526247.
3456
3457 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3458
3459         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3460
3461         * gst/gstpoll.c:
3462         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3463
3464 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3465
3466         * docs/design/draft-latency.txt:
3467         Fix typo.
3468
3469         * docs/design/part-buffering.txt:
3470         Update design docs with more buffering ideas.
3471
3472 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3473
3474         * configure.ac:
3475           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3476
3477 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3478
3479         * configure.ac:
3480           Revert part that belongs to the preset patch.
3481
3482 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3483
3484         * configure.ac:
3485           Add qoutes to the define. Fixes # 525961.
3486
3487 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3488
3489         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3490         (gst_file_index_load), (gst_file_index_add_id),
3491         (gst_file_index_get_assoc_entry):
3492         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3493         (gst_mem_index_free_id), (gst_mem_index_add_id),
3494         (gst_mem_index_index_format):
3495         Use GSlice when possible.
3496
3497 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3498
3499         * libs/gst/controller/gstinterpolationcontrolsource.c:
3500         (gst_control_point_free),
3501         (gst_interpolation_control_source_set_internal):
3502         Use GSlice for allocating the control points.
3503
3504 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3505
3506         * plugins/elements/gsttypefindelement.c:
3507         (gst_type_find_element_class_init),
3508         (gst_type_find_element_set_property),
3509         (gst_type_find_element_get_property),
3510         (gst_type_find_element_activate):
3511         * plugins/elements/gsttypefindelement.h:
3512         Cleanup properties.
3513         Fix pad leak when peer query fails.
3514         We can still typefind when the peer returns -1.
3515         Add property to force caps and bypass typefinding. This will be used in
3516         uridecodebin.
3517         API::force-caps
3518
3519 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3520
3521         * configure.ac:
3522         Require GLib 2.12.
3523
3524         * gst/glib-compat-private.h:
3525         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3526         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3527         Unconditionally use GSlice for allocation.
3528
3529         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3530         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3531         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3532         (gst_structure_free):
3533         Use GSlice for allocation.
3534
3535 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3536
3537         * gst/parse/Makefile.am:
3538         * gst/parse/grammar.tab.pre.c:
3539         * gst/parse/grammar.tab.pre.h:
3540         * gst/parse/lex._gst_parse_yy.pre.c:
3541         Require a new enough flex and bison and remove the parser hacks to use
3542         a pre-regenerated version.
3543
3544 2008-04-01  Julien Moutte  <julien@fluendo.com>
3545
3546         patch by: Jason Zhao <E3423C@motorola.com>
3547
3548         * configure.ac: Add a configure switch to disable option parsing
3549         in gst_init.
3550         Fixes #522882.
3551
3552 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3553
3554         * configure.ac:
3555         * gst/gstregistry.c:
3556           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3557           and handle this case.
3558
3559         * gst/gst.c:
3560           Add a comment here describing, why we stat each plugin and not try to
3561           be smart.
3562
3563 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3564
3565         * libs/gst/base/gstbasetransform.c:
3566         (gst_base_transform_prepare_output_buffer):
3567         Also unset the GAP flag on buffers if we're working inplace but
3568         the element is not GAP-aware.
3569
3570         Mark a comment as FIXME 0.11.
3571
3572 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3573
3574         * gst/gst.c:
3575           Fix type in log message and add one to ease seeing how long registry
3576           cache verification takes.
3577
3578         * gst/gstregistry.c:
3579           Only test plugin filenames against G_MODULE_SUFFIX.
3580
3581 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3582
3583         * gst/gstdebugutils.c:
3584           Improve handling ghost/proxy pads.
3585
3586 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3587
3588         * docs/gst/gstreamer-sections.txt:
3589         * gst/gstpad.c:
3590         * gst/gstpad.h:
3591           Expose macro to docs and fix link to it.
3592
3593 2008-03-27  Michael Smith <msmith@fluendo.com>
3594
3595         * libs/gst/dataprotocol/dataprotocol.c:
3596         (gst_dp_packet_from_event_1_0):
3597           When calculating GDP body CRC, use the correct pointer. 
3598           Fixes part of #522401.
3599
3600 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3601
3602         Patch by: Mark Nauwelaerts <manauw at skynet be>
3603
3604         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3605         (gst_identity_init), (gst_identity_prepare_output_buffer):
3606         Identity is not always a passthrough element, it can modify the buffer
3607         timestamps when it has a datarate and operates in single-segment mode.
3608         We therefore make it an in_place filter with a custom buffer prepare
3609         function that conditionally makes the input buffer metadata writable
3610         when needed.  Fixes #523985.
3611
3612 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3613
3614         Patch by: Mark Nauwelaerts <manauw at skynet be>
3615
3616         * gst/gstclock.h:
3617         * libs/gst/base/gstbasesrc.h:
3618         * libs/gst/base/gstbasetransform.c:
3619         * libs/gst/check/gstcheck.c:
3620         Small documentation fixes. Fixes #523978.
3621
3622 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3623
3624         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3625         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3626         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3627
3628 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3629
3630         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3631         (single_queue_underrun_cb):
3632         When trying to make room in the queue, bump the max allowed buffers
3633         bigger than the current amount of buffers in the queue. this fixes some
3634         nasty deadlocks in multiqueue when dynamically changing the limits of
3635         the queue.
3636
3637 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3638
3639         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3640
3641         * gst/gstcaps.c: (gst_caps_set_simple),
3642         (gst_caps_set_simple_valist), (gst_caps_intersect):
3643         * gst/gstcaps.h:
3644         Constify the field gchar * params in set_simple and friends.
3645         Fixes #522326.
3646
3647 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3648
3649         * gst/gstvalue.c: (gst_value_transform_object_string):
3650         Transform a GstObject to a more meaningfull string that includes the
3651         object type in addition to its name.
3652
3653 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3654
3655         * ChangeLog:
3656           ChangeLog surgery to add bugnumber to commit.
3657
3658 2008-03-23  Rene Stadler  <mail@renestadler.de>
3659
3660         * libs/gst/base/gstbasetransform.c:
3661         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3662
3663 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3664
3665         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3666         Rename constant everywhere and don't forget one occurence.
3667
3668 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3669
3670         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3671         Align memory to the pointer size even if the architecture allows
3672         unaligned memory access. Unaligned memory access usually comes with
3673         performance penality.
3674
3675 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3676
3677         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3678         (gst_registry_binary_check_magic),
3679         (gst_registry_binary_load_pad_template),
3680         (gst_registry_binary_load_feature),
3681         (gst_registry_binary_load_plugin):
3682         Align memory to the pointer size instead of always 32 bit. Fixes
3683         unaligned memory accesses on ia64 and friends.
3684
3685         * gst/gstregistrybinary.h:
3686         Bump binary registry format version for this as it changes the
3687         format on those architectures that don't have unaligned access
3688         and 64 bit pointers.
3689
3690 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3691
3692         * docs/pwg/advanced-dparams.xml:
3693         * docs/pwg/building-props.xml:
3694         * docs/pwg/other-source.xml:
3695         * gst/glib-compat.h:
3696         * gst/gstbin.c: (gst_bin_class_init):
3697         * gst/gstclock.c: (gst_clock_class_init):
3698         * gst/gstindex.c: (gst_index_class_init):
3699         * gst/gstobject.c: (gst_object_class_init):
3700         * gst/gstpad.c: (gst_pad_class_init):
3701         * gst/gstpipeline.c: (gst_pipeline_class_init):
3702         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3703         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3704         * libs/gst/base/gstbasetransform.c:
3705         (gst_base_transform_class_init):
3706         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3707         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3708         (_gst_check_fault_handler_sighandler),
3709         (_gst_check_fault_handler_setup), (gst_check_init):
3710         * libs/gst/controller/gstcontroller.c:
3711         (_gst_controller_class_init):
3712         * libs/gst/controller/gstlfocontrolsource.c:
3713         (gst_lfo_control_source_class_init):
3714         * libs/gst/net/gstnetclientclock.c:
3715         (gst_net_client_clock_class_init):
3716         * libs/gst/net/gstnettimeprovider.c:
3717         (gst_net_time_provider_class_init):
3718         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3719         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3720         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3721         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3722         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3723         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3724         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3725         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3726         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3727         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3728         * plugins/elements/gsttee.c: (gst_tee_class_init):
3729         * plugins/elements/gsttypefindelement.c:
3730         (gst_type_find_element_class_init):
3731         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3732         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3733         use it everywhere for GParamSpecs that use static strings (i.e. all).
3734         This gives us less memory usage, fewer allocations and thus less
3735         memory defragmentation. Fixes bug #523806.
3736
3737 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3738
3739         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3740         (gst_param_spec_mini_object):
3741         * gst/gstminiobject.h:
3742         * win32/common/libgstreamer.def:
3743         * docs/gst/gstreamer-sections.txt:
3744         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3745         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3746         GstParamSpecMiniObject into a public header for this.
3747
3748         This make GstMiniObject a bit more consistent with GObject and makes
3749         it possible to extend the param specs.
3750
3751         gst_value_dup_mini_object is mainly useful for set_property methods.
3752
3753         Fixes bug #523798.
3754
3755         * tools/gst-inspect.c: (print_element_properties_info):
3756         Print something useful for GstMiniObject properties and not just
3757         "unknown type".
3758
3759 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3760
3761         * docs/gst/gstreamer-sections.txt:
3762         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3763         (gst_registry_binary_check_magic):
3764         * gst/gstregistrybinary.h:
3765         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3766         and add it to the (private part) of the docs to fix the build.
3767
3768 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3769
3770         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3771         (gst_registry_binary_check_magic),
3772         (gst_registry_binary_read_cache):
3773         * gst/gstregistrybinary.h:
3774         Don't use GST_MAJORMINOR for the binary registry version. Instead
3775         hardcode a value that must be changed whenever the format changes
3776         in an incompatible way.
3777         Also don't GST_ERROR when there is a version mismatch, just
3778         regenerate the registry silently.
3779
3780 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
3781
3782         * configure.ac:
3783         Back to development - 0.10.18.1
3784
3785 === release 0.10.18 ===
3786
3787 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
3788
3789         * configure.ac:
3790           releasing 0.10.18, "So far away"
3791
3792 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
3793
3794         * configure.ac:
3795         * win32/common/config.h:
3796         0.10.17.4 pre-release
3797
3798 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
3799
3800         Patch by: Ole André Vadla Ravnås
3801             <ole dot andre dot ravnas at tandberg dot com>
3802
3803         * docs/gst/gstreamer-sections.txt:
3804         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3805         (gst_poll_update_winsock_event_mask),
3806         (gst_poll_prepare_winsock_active_sets),
3807         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3808         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3809         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3810         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3811         (gst_poll_check_ctrl_commands), (gst_poll_wait):
3812         * gst/gstpoll.h:
3813         * win32/common/libgstreamer.def:
3814         Add new function gst_poll_fd_ignored() for improved Windows
3815         compatibility.
3816         Various minor fixes and cleanups. See #520808.
3817
3818 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
3819
3820         * gst/gstindex.c: (gst_index_entry_free):
3821         * gst/gstindex.h:
3822           Don't free key strings which we don't own. Fixes crash in
3823           gst_index_entry_free() (#522741).
3824
3825         * tests/check/Makefile.am:
3826         * tests/check/gst/.cvsignore:
3827         * tests/check/gst/gstindex.c: (test_index_entries),
3828           (gst_index_suite), (gst_index):
3829           Add unit test for the above.
3830
3831 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
3832
3833         * win32/common/libgstreamer.def:
3834         Remove symbols that were removed recently. Fixes bug #521740.
3835
3836 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
3837
3838         * configure.ac:
3839         * win32/common/config.h:
3840         0.10.17.3 pre-release
3841
3842 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3843
3844         Patch by: Ole André Vadla Ravnås
3845             <ole dot andre dot ravnas at tandberg dot com>
3846
3847         * docs/gst/gstreamer-sections.txt:
3848         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3849         (gst_poll_update_winsock_event_mask), (gst_poll_new),
3850         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3851         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3852         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3853         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3854         (gst_poll_fd_can_write), (gst_poll_wait),
3855         (gst_poll_set_controllable), (gst_poll_restart),
3856         (gst_poll_set_flushing):
3857         * gst/gstpoll.h:
3858         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3859         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3860         (gst_net_time_provider_new):
3861         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3862         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3863         * tests/benchmarks/gstpollstress.c: (main):
3864         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3865         Remove GstPollMode from the API, it does not make sense to let the
3866         application control this.
3867         Add support for Win32.
3868         Fix the testsuite. Fixes #520671.
3869
3870 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
3871
3872         Patch by: Ole André Vadla Ravnås
3873             <ole dot andre dot ravnas at tandberg dot com>
3874
3875         * gst/gstregistrybinary.c:
3876         Include io.h for write() and close() when building with MSVC. Fixes
3877         bug #520877.
3878
3879 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
3880
3881         * configure.ac:
3882         * gst/gst_private.h:
3883         * gst/gstconfig.h.in:
3884         * gst/gstregistry.h:
3885         * gst/gstregistrybinary.c:
3886         * win32/common/gstconfig.h:
3887           Move registry backend API to private headers where we can. Add
3888           fixme-0.11 comments for the others. Add stubs for the xml backend when
3889           using the binary to ensure they functions exists (they should not be
3890           used though). Fixes #520756.
3891
3892 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
3893
3894         * configure.ac:
3895         * win32/common/config.h:
3896         0.10.17.2 prelease
3897
3898 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
3899
3900         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3901         (gst_registry_binary_read_cache):
3902         * gst/gstregistryxml.c: (gst_registry_save):
3903         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3904         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3905         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3906         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3907         Switch to using portabl gsize/gssize instead of size_t/ssize_t
3908         Fixes #520152
3909
3910 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
3911
3912         * gst/gstminiobject.c:
3913         Import gst_private.h before any other header that might include other
3914         glib headers. This fixes the build on windows using native compilers.
3915
3916 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3917
3918         * win32/common/gstconfig.h:
3919           Add here too, just for completeness.
3920
3921 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3922
3923         * configure.ac:
3924         * gst/gstconfig.h.in:
3925         * gst/gstregistry.h:
3926           Fix broken use of config.h-defined preprocessor directive in a public
3927           header file. Add a corresponding define to gstconfig.h, since we can't
3928           really remove those function declarations from the header file now
3929           (or can we? and why are they there in the first place?).
3930
3931 2008-03-03  Andy Wingo  <wingo@pobox.com>
3932
3933         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3934         the new warning.
3935
3936         * gst/gststructure.c (gst_structure_from_string): Warn if
3937         structure_from_string didn't consume the whole string, but the
3938         caller did not provide an end pointer.
3939
3940 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
3941
3942         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3943
3944         * gst/gstregistryxml.c: (read_string), (load_feature):
3945           Strings allocated by libxml2 should be freed with xmlFree(), not
3946           with g_free(). Fixes issues on windows in certain contexts (#519698).
3947
3948 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
3949
3950         * gst/gstinterface.c: (gst_element_implements_interface):
3951           Don't crash if the element supports the interface queried, but does
3952           not implement GstImplementsInterface. Fixes #519584.
3953
3954         * tests/check/Makefile.am:
3955         * tests/check/gst/.cvsignore:
3956         * tests/check/gst/gstinterface.c:
3957           Add unit test for the above.
3958
3959 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3960
3961         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3962         Small doc update.
3963
3964 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3965
3966         * gst/gstsegment.c: (gst_segment_set_seek),
3967         (gst_segment_to_stream_time):
3968         Improve some comment.
3969         Update variables where it makes more sense.
3970
3971 2008-02-29  Rene Stadler  <mail@renestadler.de>
3972
3973         * gst/gsturi.c: (gst_uri_handler_get_protocols):
3974         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
3975         URIHandlers implemented using language bindings.
3976
3977 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
3978
3979         * gst/gstelementfactory.h:
3980         * tests/check/elements/fakesink.c:
3981         * tests/check/elements/fakesrc.c: (setup_fakesrc):
3982         * tests/check/elements/fdsrc.c: (setup_fdsrc):
3983         * tests/check/elements/filesink.c: (setup_filesink):
3984         * tests/check/elements/filesrc.c: (setup_filesrc):
3985         * tests/check/elements/identity.c: (setup_identity):
3986         * tests/check/elements/tee.c:
3987         * tests/check/generic/sinks.c:
3988         * tests/check/generic/states.c: (setup), (teardown):
3989         * tests/check/gst/gst.c:
3990         * tests/check/gst/gstabi.c:
3991         * tests/check/gst/gstbin.c:
3992         * tests/check/gst/gstbus.c: (pull_messages):
3993         * tests/check/gst/gstcaps.c:
3994         * tests/check/gst/gstelement.c:
3995         * tests/check/gst/gstevent.c:
3996         * tests/check/gst/gstghostpad.c:
3997         * tests/check/gst/gstiterator.c:
3998         * tests/check/gst/gstmessage.c:
3999         * tests/check/gst/gstminiobject.c: (my_foo_init):
4000         * tests/check/gst/gstobject.c: (thread_name_object),
4001         (gst_object_suite):
4002         * tests/check/gst/gstpad.c:
4003         * tests/check/gst/gstplugin.c:
4004         * tests/check/gst/gstpoll.c:
4005         * tests/check/gst/gstquery.c:
4006         * tests/check/gst/gstsegment.c:
4007         * tests/check/gst/gststructure.c:
4008         * tests/check/gst/gstsystemclock.c:
4009         * tests/check/gst/gsttask.c:
4010         * tests/check/gst/gstutils.c:
4011         * tests/check/gst/gstvalue.c:
4012         * tests/check/gst/struct_hppa.h:
4013         * tests/check/gst/struct_i386.h:
4014         * tests/check/gst/struct_ppc32.h:
4015         * tests/check/gst/struct_ppc64.h:
4016         * tests/check/gst/struct_x86_64.h:
4017         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4018         * tests/check/libs/basesrc.c:
4019         * tests/check/libs/controller.c: (GST_START_TEST):
4020         * tests/check/libs/gdp.c:
4021         * tests/check/libs/gstnetclientclock.c:
4022         * tests/check/libs/gstnettimeprovider.c:
4023         * tests/check/libs/libsabi.c:
4024         * tests/check/libs/struct_hppa.h:
4025         * tests/check/libs/struct_i386.h:
4026         * tests/check/libs/struct_ppc32.h:
4027         * tests/check/libs/struct_ppc64.h:
4028         * tests/check/libs/struct_x86_64.h:
4029         * tests/check/pipelines/cleanup.c:
4030         * tests/check/pipelines/simple-launch-lines.c:
4031         * tests/check/pipelines/stress.c:
4032         And correct even more valid sparse warnings.
4033
4034         * win32/common/libgstreamer.def:
4035         Add gst_poll_fd_init to the list of symbols.
4036
4037 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4038
4039         * gst/gstconfig.h.in:
4040         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4041         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4042         (gst_check_log_critical_func), (gst_check_drop_buffers),
4043         (gst_check_element_push_buffer_list):
4044         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4045         (gst_controller_get_type):
4046         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4047         (gst_object_get_controller), (gst_object_get_control_source):
4048         * libs/gst/controller/gstinterpolationcontrolsource.c:
4049         (gst_interpolation_control_source_new):
4050         * libs/gst/controller/gstlfocontrolsource.c:
4051         (gst_lfo_control_source_new):
4052         * libs/gst/dataprotocol/dataprotocol.c:
4053         (gst_dp_event_from_packet_0_2):
4054         * plugins/elements/gstfdsrc.c:
4055         * plugins/elements/gstmultiqueue.c:
4056         * plugins/elements/gsttee.c:
4057         * plugins/elements/gsttypefindelement.c:
4058         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4059         (gst_file_index_add_association):
4060         * plugins/indexers/gstmemindex.c:
4061         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4062         * tests/check/elements/queue.c: (setup_queue):
4063         * tests/check/gst/gstpipeline.c:
4064         * tests/check/libs/collectpads.c: (setup), (teardown),
4065         (gst_collect_pads_suite):
4066         * tests/examples/adapter/adapter_test.c:
4067         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4068         * tests/examples/xml/createxml.c:
4069         * tests/examples/xml/runxml.c:
4070         * tools/gst-inspect.c:
4071         * tools/gst-run.c:
4072         Correct all relevant warnings found by the sparse semantic code
4073         analyzer. This include marking several symbols static, using
4074         NULL instead of 0 for pointers, not using variable sized arrays
4075         on the stack, moving variable declarations to the beginning of
4076         a block and using "foo (void)" instead of "foo ()" for declarations.
4077
4078 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4079
4080         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4081         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4082         Don't reset GstPollFDs, this is not necessary at all.
4083
4084         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4085         (delayed_restart), (delayed_control):
4086         Use GST_POLL_FD_INIT.
4087
4088 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4089
4090         * gst/gstpoll.c: (gst_poll_fd_init):
4091         * gst/gstpoll.h:
4092         Added Since tags.
4093
4094         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4095         Use some more init macros.
4096
4097 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4098
4099         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4100         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4101         Use init macros and functions.
4102
4103 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4104
4105         * docs/gst/gstreamer-sections.txt:
4106         * gst/gstpoll.c: (gst_poll_fd_init):
4107         * gst/gstpoll.h:
4108         Add INIT macro and _init method for initializing the GstPollFD.
4109
4110 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4111
4112         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4113         (gst_fd_sink_update_fd):
4114         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4115         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4116         (delayed_restart), (delayed_control):
4117         Initialize some uninitialized variables as spotted by valgrind.
4118
4119 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4120
4121         * tests/benchmarks/Makefile.am:
4122         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4123         (main):
4124         Add poll stress test.
4125
4126 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4127
4128         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4129
4130         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4131         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4132         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4133         * plugins/elements/gstfdsink.h:
4134         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4135         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4136         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4137         (gst_fd_src_uri_set_uri):
4138         * plugins/elements/gstfdsrc.h:
4139         Port to GstPoll. See #505417.
4140
4141 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4142
4143         * win32/common/libgstreamer.def:
4144         Add new gst_poll_ symbols to win32 defs.
4145
4146 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4147
4148         * docs/libs/gstreamer-libs-sections.txt:
4149         * libs/gst/net/gstnetclientclock.c:
4150         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4151         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4152         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4153         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4154         * libs/gst/net/gstnetclientclock.h:
4155         * libs/gst/net/gstnettimeprovider.c:
4156         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4157         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4158         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4159         (gst_net_time_provider_new):
4160         * libs/gst/net/gstnettimeprovider.h:
4161         Use a private stuct to not break ABI.
4162
4163 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4164
4165         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4166
4167         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4168         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4169         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4170         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4171         * libs/gst/net/gstnetclientclock.h:
4172         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4173         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4174         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4175         (gst_net_time_provider_new):
4176         * libs/gst/net/gstnettimeprovider.h:
4177         Massive code removal and cleanups because of GstPoll.
4178         Fixes #505417.
4179
4180 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4181
4182         * configure.ac:
4183         Add checks for poll, ppoll and pselect.
4184
4185         * docs/gst/gstreamer-docs.sgml:
4186         * docs/gst/gstreamer-sections.txt:
4187         Add docs for GstPoll.
4188
4189         * gst/Makefile.am:
4190         * gst/gst.h:
4191         * gst/gstpoll.c: (find_index), (selectable_fds),
4192         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4193         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4194         (gst_poll_set_mode), (gst_poll_get_mode),
4195         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4196         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4197         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4198         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4199         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4200         (gst_poll_fd_can_write), (gst_poll_wait),
4201         (gst_poll_set_controllable), (gst_poll_restart),
4202         (gst_poll_set_flushing):
4203         * gst/gstpoll.h:
4204         Add generic poll abstraction. We ideally don't want to have this in core
4205         here but in glib intead...
4206         This code will be used in various network elements and ultimately for
4207         the nanosecond precision monotonic clock (that's why it's here in core).
4208         It'll allow us to implement cancelable socket operations for windows too.
4209
4210         * tests/check/Makefile.am:
4211         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4212         (delayed_stop), (delayed_restart), (delayed_flush),
4213         (delayed_control), (gst_poll_suite):
4214         Add GstPoll unit test.
4215
4216 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4217
4218         * gst/gstfilter.c:
4219           Improve documentation of gst_filter_run(). Fixes #518627.
4220
4221 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4222
4223         * docs/README:
4224           Add a few lines about the new 'check-inspected-versions' target.
4225
4226 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4227
4228         * tests/check/gst/gstevent.c:
4229           Add qos to the event test. Rename tcase/tsuite; is not only about
4230           custom events.
4231
4232 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4233
4234         * plugins/elements/gstqueue.c:
4235           Ensure that buffer metadata is writeable, before modifying. Spotted by
4236           Mike.
4237
4238 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4239
4240         * plugins/elements/gstqueue.c:
4241         * plugins/elements/gstqueue.h:
4242           When dropping buffers in leaky modes, mark next buffers we sent as
4243           DISCONT.
4244
4245 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4246
4247         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4248           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4249
4250 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4251
4252         * plugins/elements/Makefile.am:
4253         * plugins/elements/gstbufferstore.c:
4254         * plugins/elements/gstbufferstore.h:
4255         * plugins/elements/gsttypefindelement.h:
4256           Remove GstBufferStore, no idea why we were still building it.
4257           It's not used anywhere and superseded by GstAdapter.
4258
4259         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4260           (gst_file_src_create_mmap):
4261         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4262           Printf format fixes for 64-bit integers.
4263
4264 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4265
4266         * configure.ac:
4267         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4268         We're not in 0.8 times anymore.
4269
4270 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4271
4272         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4273         (gst_check_element_push_buffer_list):
4274         * libs/gst/check/gstcheck.h:
4275         Make the declaration in the header for
4276         gst_check_element_push_buffer_list match the implementation.
4277
4278         Fix up spelling, grammar and wording of the documentation in a few
4279         places, and add the Since keyword to new API functions.
4280         Use g_list_delete_link instead of g_list_remove in
4281         gst_check_drop_buffers, since it's immeasurably more efficient.
4282
4283         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4284         Use new gst_check_drop_buffers function where appropriate.
4285
4286         * win32/common/libgstbase.def:
4287         * win32/common/libgstreamer.def:
4288         Add new symbols gst_collect_pads_take_buffer, 
4289         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4290         exports
4291
4292         Changelog surgery to add API keyword to new gst_check API.
4293
4294 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4295
4296         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4297         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4298         Update pre-generated flex files with flex 2.3.34.
4299
4300 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4301
4302         * gst/gstminiobject.c:
4303           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4304           friendly to subclasses and not require them to know all internals
4305           of their parent class.
4306
4307 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4308
4309         * docs/libs/gstreamer-libs-sections.txt:
4310         * libs/gst/base/gstcollectpads.c:
4311         * libs/gst/base/gstcollectpads.h:
4312           Add sub-buffer functions to collectpads. Fixes #516187.
4313           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4314
4315 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4316
4317         * gst/gstbuffer.c:
4318           Copy selected buffer-flags when creating subbuffers.
4319           Fixes #516395.
4320
4321 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4322
4323         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4324         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4325         * gst/gstmessage.c: (gst_message_class_init),
4326         (gst_message_finalize):
4327         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4328         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4329         (gst_mmap_buffer_finalize):
4330         Properly chain up finalize functions to the parent class.
4331
4332 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4333
4334         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4335
4336         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4337         (gst_index_set_resolver_full):
4338         * gst/gstindex.h:
4339         Add new function with option to dispose of user_data in resolver.
4340         Actually call the dispose function when finalizing the object and not
4341         just when changing the resolver/filter.
4342         API: GstIndex::gst_index_set_resolver_full()
4343
4344         * docs/gst/gstreamer-sections.txt:
4345         Add new function to docs. Fixes #515469.
4346
4347 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4348
4349         * gst/gstindex.c: (gst_index_finalize):
4350         Chain up finalize to the parent class. Fixes leaking the GstObject
4351         name and other things.
4352
4353 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4354
4355         * configure.ac:
4356         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4357         pre-releases or releases.
4358
4359         * docs/faq/gst-uninstalled:
4360         Add gst-plugins-gl
4361
4362         * docs/random/release:
4363         Change one of the steps - we only upload core & base to Gnome FTP
4364
4365 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4366
4367         * gst/gstconfig.h.in:
4368           Add 'id' for example.
4369
4370         * gst/gstpad.c:
4371         * gst/gstutils.c:
4372         * plugins/elements/gstfdsink.c:
4373           Link to signals. Doc and comment fixes.
4374
4375 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4376
4377         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4378         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4379           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4380           unused and unimplemented; finally, it is plugin features, not
4381           plugins, that have ranks.
4382           
4383 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4384
4385         * gst/gstpluginfeature.h:
4386           Clarify GstRank range docs.
4387
4388 2008-02-05  David Schleef  <ds@schleef.org>
4389
4390         * gst/gst.c: Add a separate gst_deinitialized that prevents
4391           gst_init() from being called after gst_deinit().  Fixes #509559
4392
4393 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4394
4395         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4396         (gst_bin_class_init):
4397         * gst/gstelement.c: (gst_element_base_class_init),
4398         (gst_element_class_add_pad_template):
4399         * gst/gstpadtemplate.c: (gst_pad_template_init):
4400         * gst/gstpipeline.c: (gst_pipeline_get_type),
4401         (gst_pipeline_base_init), (gst_pipeline_class_init):
4402         * libs/gst/base/gstbasesink.c:
4403         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4404         (gst_base_src_base_init), (gst_base_src_class_init):
4405         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4406         (gst_capsfilter_class_init):
4407         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4408         (gst_fake_sink_class_init):
4409         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4410         (gst_fake_src_class_init):
4411         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4412         (gst_fd_sink_class_init):
4413         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4414         (gst_fd_src_class_init):
4415         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4416         (gst_file_sink_class_init):
4417         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4418         (gst_file_src_class_init):
4419         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4420         (gst_identity_class_init):
4421         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4422         (gst_multi_queue_class_init):
4423         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4424         (gst_queue_class_init):
4425         * plugins/elements/gsttee.c: (gst_tee_base_init),
4426         (gst_tee_class_init):
4427         * plugins/elements/gsttypefindelement.c:
4428         (gst_type_find_element_base_init),
4429         (gst_type_find_element_class_init):
4430         * tests/check/gst/gstelement.c: (gst_element_suite):
4431         Revert previous changes to the behaviour of GstPadTemplates, etc
4432         and the possiblity to call them in class_init as it breaks too
4433         many elements. Reopens bug #491501.
4434
4435         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4436         several places.
4437
4438 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4439
4440         * tools/gst-launch.c:
4441         Dump one graph per pipeline state-change and state change name
4442         (if GST_DEBUG_DUMP_DOT_DIR is set).
4443
4444 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4445
4446         * gst/gstpad.c:
4447         * tests/check/gst/gstpad.c:
4448         Be sure that we have a new copy of the caps and not
4449         reffed caps from a template
4450
4451 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4452
4453         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4454         * gst/gstpipeline.c: (gst_pipeline_get_type),
4455         (gst_pipeline_class_init):
4456         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4457         (gst_base_sink_class_init):
4458         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4459         (gst_base_src_class_init):
4460         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4461         (gst_base_transform_class_init):
4462         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4463         (gst_collect_pads_class_init):
4464         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4465         * libs/gst/net/gstnettimeprovider.c:
4466         (gst_net_time_provider_base_init),
4467         (gst_net_time_provider_class_init):
4468         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4469         (gst_capsfilter_class_init):
4470         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4471         (gst_fake_sink_class_init):
4472         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4473         (gst_fake_src_class_init):
4474         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4475         (gst_fd_sink_class_init):
4476         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4477         (gst_fd_src_class_init):
4478         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4479         (gst_file_sink_class_init):
4480         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4481         (gst_file_src_class_init):
4482         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4483         (gst_identity_class_init):
4484         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4485         (gst_multi_queue_class_init):
4486         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4487         (gst_queue_class_init):
4488         * plugins/elements/gsttee.c: (gst_tee_base_init),
4489         (gst_tee_class_init):
4490         * plugins/elements/gsttypefindelement.c:
4491         (gst_type_find_element_base_init),
4492         (gst_type_find_element_class_init):
4493         Don't use base_init where not absolutely necessary. For example it's
4494         not necessary anymore for adding pad templates or setting element
4495         details.
4496
4497         Leave empty base_init functions in several places as GST_BOILERPLATE
4498         still defines and uses them.
4499
4500 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4501
4502         * gst/gstelement.c: (gst_element_base_class_init),
4503         (gst_element_class_add_pad_template):
4504         * gst/gstpadtemplate.c:
4505         Make it possible (and recommended) to set element details and add
4506         pad templates in the class_init functions by copying the details/pad
4507         templates in GstElement's base_init.
4508
4509         Also make it possible to replace existing pad templates by adding
4510         a new one with the same name. This was done in a hackish fashion
4511         in same elements before already.
4512
4513         Don't reference pad templates that are added a second time. A
4514         new pad template has a refcount of one and is not floating anymore
4515         and to be owned by the element's class. Make this more explicit by
4516         mentioning it in the docs of gst_element_class_add_pad_template().
4517
4518         These changes are backwards compatible. Fixes bug #491501.
4519
4520         * tests/check/gst/gstelement.c:
4521         Add unit test for setting element details, adding pad templates and
4522         replacing them in a subclass.
4523
4524 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4525
4526         * tools/gst-inspect.c: (print_interfaces),
4527         (print_element_properties_info), (print_pad_info),
4528         (print_signal_info), (print_element_info):
4529         Fix a few memory leaks.
4530
4531 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4532
4533         * docs/libs/gstreamer-libs-sections.txt:
4534         * libs/gst/check/gstcheck.c:
4535         * libs/gst/check/gstcheck.h:
4536         Add more functions for unit testing: gst_check_drop_buffers,
4537         gst_check_caps_equal, gst_check_element_push_buffer_list,
4538         gst_check_element_push_buffer
4539         API: gst_check_drop_buffers
4540         API: gst_check_caps_equal
4541         API: gst_check_element_push_buffer_list
4542         API: gst_check_element_push_buffer
4543
4544 2008-02-01  Julien Moutte  <julien@fluendo.com>
4545
4546         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4547         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4548         (gst_index_finalize), (gst_index_entry_free),
4549         (gst_index_add_association): Fix memory leaks.
4550         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4551         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4552         (gst_mem_index_free_format), (gst_mem_index_free_id),
4553         (gst_mem_index_finalize): Fix memory leaks.
4554         * win32/common/config.h: Updated to CVS HEAD.
4555
4556 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4557
4558         * docs/README:
4559           Some more details about how the plugin docs works.
4560
4561         * docs/plugins/gstreamer-plugins-sections.txt:
4562           Whitespace cleanup.
4563
4564 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4565
4566         * gst/parse/grammar.tab.pre.c:
4567         * gst/parse/grammar.tab.pre.h:
4568         * gst/parse/grammar.y:
4569         * gst/parse/lex._gst_parse_yy.pre.c:
4570           Add delayed set-property. This allows to set properties on dynamicaly
4571           created objects (pads in videomxer). Fixes #509391.
4572
4573 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4574
4575         * gst/gstutils.c:
4576         Check if caps are not NULL (fix bug #510194)
4577
4578 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4579
4580         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4581         (gst_base_sink_get_position_paused):
4582         Add fixme regarding EOS in pull mode.
4583         Fix position reporting in PAUSED for negative rates.
4584
4585 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4586
4587         * gst/gstminiobject.c: (gst_mini_object_replace):
4588         When replacing a miniobject, do a quick equality check first so that we
4589         can avoid a ref/unref pair.
4590
4591 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4592
4593         * docs/design/part-synchronisation.txt:
4594         Update some docs.
4595
4596         * docs/plugins/Makefile.am:
4597         * docs/plugins/gstreamer-plugins-docs.sgml:
4598         * docs/plugins/gstreamer-plugins-sections.txt:
4599         * plugins/elements/gstmultiqueue.c:
4600         Add multiqueue to the docs.
4601
4602 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4603
4604         * configure.ac:
4605           Back to CVS
4606
4607 === release 0.10.17 ===
4608
4609 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4610
4611         * configure.ac:
4612           releasing 0.10.17, "Due Negligence"
4613
4614 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4615
4616         * gst/gstutils.c:
4617         Revert caps != NULL check temporarily for 0.10.17 release.
4618
4619 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4620
4621         * gst/gstutils.c:
4622         Check if caps are not NULL (fix bug #510194)
4623
4624 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4625
4626         * gst/gstutils.c:
4627         Fix compilation on systems that have posix timers but no
4628         monotonic clock.
4629         Fixes: #512715
4630         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4631         dot net>
4632
4633 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4634
4635         * tools/gst-inspect.c:
4636         Revert previous commit in preparation for an impromptu 0.10.17 release
4637
4638 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4639
4640         * tools/gst-inspect.c: (print_interfaces),
4641         (print_element_properties_info), (print_pad_info),
4642         (print_signal_info), (print_element_info):
4643         Fix a few memory leaks.
4644
4645 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4646
4647         * configure.ac:
4648         Back to CVS
4649
4650 === release 0.10.16 ===
4651
4652 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4653
4654         * configure.ac:
4655           releasing 0.10.16, "Special Dispensation"
4656
4657 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4658
4659         * configure.ac:
4660           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4661           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4662           not fail when trying to crosscompile on OpenEmbedded (#511750).
4663
4664 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4665
4666         * docs/manuals.mak:
4667         Use $(MAKE) instead of make to fix the build if GNU make is
4668         called different. Fixes bug #510747.
4669
4670 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4671
4672         * gst/gstplugin.c: (_gst_plugin_initialize):
4673           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4674           again, which I broke two commits ago when changing the API
4675           of gst_plugin_register_static(): the g_list_foreach() in
4676           _gst_plugin_register_static still assumed the old function
4677           signature and would therefore fail (re-fixes #510187).
4678
4679         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4680           (_gst_plugin_register_static), (gst_plugin_register_static):
4681           Revert the (technically correct) change to call g_thread_init() from
4682           the pre-main() constructor. This will break programs which call
4683           g_thread_init() without an if (!g_thread_supported()) guard in their
4684           main function. We could just blame it on GLib or the application, but
4685           it's probably best to just avoid this altogether and simply not use
4686           any GLib functions here and use plain old malloc() with a simple
4687           array to store the plugins to register later when gst_init() is
4688           finally called (re-fixes #510187).
4689
4690         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4691           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4692           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4693           (GST_START_TEST), (gst_plugin_suite):
4694           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4695           works.
4696
4697 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4698
4699         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4700           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4701           This makes gtk-doc complain, but results in slightly better
4702           compiler errors. The old _gst_plugin_register_static() is
4703           still guarded, so there'll be a compiler warning about that
4704           instead. Fixes #510187 too.
4705
4706 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4707
4708         * gst/gst.c: (init_post):
4709         * gst/gstplugin.c: (_gst_plugin_register_static),
4710           (gst_plugin_register_static), (_gst_plugin_initialize):
4711         * gst/gstplugin.h: (GstPluginFilter):
4712           Change API of gst_plugin_register_static() to not take
4713           a GstPluginDesc, but rather just take all the arguments
4714           in a GstPluginDesc directly. This is more intuitive and
4715           avoids certain mistakes when porting code from
4716           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4717           Fixes #510187.
4718
4719         * tests/check/gst/gstplugin.c:
4720           Fix up for changed API.
4721
4722 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4723
4724         * docs/faq/legal.xml:
4725           Update FAQ, Totem actually has an exception these days.
4726
4727 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4728
4729         * win32/common/libgstreamer.def:
4730         Add new API declarations
4731
4732 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4733
4734         * gst/gstminiobject.c:
4735           Spelling fixes for the API docs.
4736
4737 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4738
4739         * libs/gst/base/gstbasetransform.c:
4740           Fix long property description for QoS.
4741
4742 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4743
4744         * gst/gst.c:
4745         _gst_trace_on is already provided by gsttrace.h, no need to declare
4746         it ourselves.
4747
4748         * docs/libs/gstreamer-libs-sections.txt:
4749         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4750         and remove strange tcase_add_test which is outputting a warning.
4751
4752         * libs/gst/check/gstcheck.c:
4753         * libs/gst/check/gstcheck.h:
4754         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4755         and define them in gstcheck.c instead of having every .c file whcih
4756         includes gstcheck.h be defining its own copy and relying on symbol
4757         interposing to marry them all, which doesn't work on Solaris.
4758
4759         * tests/check/elements/identity.c: (GST_START_TEST):
4760         Don't define 'buffers' locally, it comes from libgstcheck.
4761
4762         * tests/check/generic/sinks.c: (send_buffer):
4763         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4764
4765         * tests/check/gst/gststructure.c: (GST_START_TEST):
4766         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4767         * tests/check/gst/gstutils.c: (GST_START_TEST):
4768         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4769         Add a bunch of casts to make various constants fit the types
4770         they're being assigned to.
4771
4772 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
4773
4774         * gst/gstchildproxy.c:
4775           Improve docs and add some ideas for making this more general-purpose.
4776
4777 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4778
4779         * gst/gst_private.h: (GST_CAT_TYPES):
4780           Add GST_CAT_TYPES, for consistency, and so that the other
4781           debug categories don't make fun of it. Spotted by Saur on IRC.
4782
4783 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4784
4785         * gst/parse/Makefile.am:
4786           Move types.h from EXTRA_DIST to noinst_HEADERS.
4787
4788 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4789
4790         * autogen.sh:
4791           Add -Wno-portability to the automake parameters to stop warnings
4792           about GNU make extensions being used. We require GNU make in almost
4793           every Makefile anyway.
4794
4795         * configure.ac:
4796           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4797           at the same time is required for per target flags.
4798
4799 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4800
4801         * gst/gstmacros.h:
4802           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4803           __GNUC__ is defined before using it.
4804
4805 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4806
4807         * docs/gst/gstreamer-sections.txt:
4808         * gst/gst.c: (init_post):
4809         * gst/gstplugin.c: (_gst_plugin_register_static),
4810           (gst_plugin_register_static), (_gst_plugin_initialize),
4811           (gst_plugin_register_func):
4812         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4813           API: add gst_plugin_register_static() and deprecate
4814           GST_PLUGIN_DEFINE_STATIC, since it's not portable
4815           (#498924).
4816           Also, in _gst_plugin_register_static(), make sure to call
4817           g_thread_init() before calling GLib functions such as
4818           g_list_append() if we're not initialised yet, since that
4819           may lead to random crashes with older GSlice/GLib versions.
4820
4821         * tests/check/gst/gstplugin.c:
4822           Adapt unit test to above changes.
4823
4824 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4825
4826         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4827         * gst/gstcaps.c: (gst_caps_to_string):
4828         * gst/gststructure.c: (GST_ASCII_IS_STRING),
4829           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4830           Yet another gratuitous GString micro-optimisation: add a (private)
4831           function that serialises a structure appending to an existing
4832           GString, so that when we serialise caps we don't need to alloc+free
4833           a throwaway GString for each structure (each of which also entailing
4834           multiple reallocs on the way); also use g_string_sized_new() in
4835           various places with an approximate string length to avoid reallocs
4836           within GString. See #500143.
4837
4838 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4839
4840         * gst/gststructure.c: (gst_structure_id_set_value):
4841           Always check UTF-8 conformance of structure strings and not only
4842           if the debugging system is enabled; reasoning: the behaviour of
4843           the actual code shouldn't really change depending on whether the
4844           debugging system is enabled or not (#508291).
4845
4846 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
4847
4848         * Makefile.am:
4849           Remove old coverage target in favour of "make lcov".
4850
4851 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4852
4853         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4854         (gst_base_src_loop):
4855         The start segment for reverse playback goes from start to last_stop.
4856
4857 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4858
4859         Patch by: Peter Kjellerstedt <pkj axis com>
4860
4861         * gst/gstclock.h:
4862         Cast the results from the timeval/spec_to_time macros to what the
4863         docs say it casts to, a GstClockTime. fixes #508175.
4864
4865 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4866
4867         * gst/gstbuffer.c:
4868         Update some comments.
4869
4870         * tools/gst-inspect.c: (print_element_properties_info):
4871         Improve printing of flags.
4872
4873 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4874
4875         * libs/gst/base/gstbasetransform.c:
4876           (gst_base_transform_transform_size):
4877           Print element name with g_warning() if there's a problem
4878           with the unit size.
4879
4880 2008-01-07  David Schleef  <ds@schleef.org>
4881
4882         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4883
4884         * libs/gst/controller/gstcontroller.h:
4885         * libs/gst/controller/gstcontrolsource.h:
4886         * libs/gst/controller/gstinterpolationcontrolsource.h:
4887         * libs/gst/controller/gstlfocontrolsource.h:
4888         * libs/gst/dataprotocol/dataprotocol.h:
4889           Fix empty prototypes.  Fixes bug #507957.
4890
4891 2008-01-07  David Schleef  <ds@schleef.org>
4892
4893         * docs/faq/dependencies.xml: Fix typo.
4894
4895 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4896
4897         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4898         (gst_base_src_loop):
4899         Don't update the last_stop position in do_seek, that's the position we
4900         did a seek to.
4901         Read backwards when we have a negative rate.
4902
4903         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4904         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4905         (filesrc_suite):
4906         Add check for reverse reading.
4907
4908 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
4909
4910         Patch by: Alexis Ballier <aballier at gentoo org>
4911
4912         * tests/check/gst/gstabi.c:
4913         * tests/check/gst/struct_ppc64.h:
4914         * tests/check/libs/libsabi.c:
4915         * tests/check/libs/struct_ppc64.h:
4916           Decide which header to include based on the userland ABI target
4917           and not the kernel/cpu. Fix up structure sizes of ppc64 header
4918           for 64-bit userland (#503590).  Might need something similar for
4919           x86 too.
4920
4921 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4922
4923         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4924           Log the reason why fopen fails in addition to the fact that it failed.
4925           
4926 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
4927
4928         * gst/parse/parse.l:
4929         Use "%option never-interactive" to prevent useless calls to isatty()
4930         on every input when parsing. Also use "%option noinput" to not define
4931         the static input/yyinput functions which we don't use anyway. This
4932         removes a compiler warning with gcc 4.3 and saves some bytes in the
4933         library.
4934         
4935         * gst/parse/lex._gst_parse_yy.pre.c:
4936         Regenerated for the above change.
4937
4938 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
4939
4940         * gst/gstpad.c: (fixate_value):
4941         Don't crash when trying to fixate and empty list.
4942         Fixes #506643.
4943
4944 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
4945
4946         * docs/faq/gst-uninstalled:
4947         Clarify the comments to make the usage of this script and what it
4948         does easier to understand.
4949
4950 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4951
4952         * tools/gst-plot-timeline.py:
4953         Add more options to gst-plot-timeline
4954
4955 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
4956
4957         * docs/design/part-synchronisation.txt:
4958         Some more info on how the stream_time in GstBaseSink is done.
4959
4960 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
4961
4962         * tests/check/generic/sinks.c: (gst_sinks_suite):
4963           Put back the tcase_set_timeout(), apparently it's needed after
4964           all; fix it up in a way that makes things work with valgrind too.
4965
4966 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4967
4968         * gst/gstdebugutils.c:
4969           Add warning when failed to open file for writing.
4970
4971 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
4972
4973         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
4974
4975         * gst/gstvalue.c: (gst_value_is_fixed):
4976           Optimisation: bail out of the loop as early as possible (#500143).
4977
4978 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
4979
4980         * gst/gstcaps.c: (gst_caps_to_string):
4981         * gst/gstinfo.c: (gst_debug_construct_term_color):
4982         * gst/gstparse.c: (gst_parse_launchv):
4983         * gst/gstutils.c: (gst_util_dump_mem):
4984         * gst/gstvalue.c: (gst_value_serialize_any_list),
4985           (gst_value_transform_any_list_string):
4986           Bunch of gratuitous nano-optimisations.
4987
4988 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
4989
4990         * tests/check/generic/sinks.c: (async_done_func),
4991           (async_done_eos_func):
4992           Fix leak in unit test (bus sync handler must unref the message
4993           if it returns GST_BUS_DROP). Don't fiddle with the default test
4994           timeout, this is smaller than the current preconfigured value
4995           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
4996           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
4997
4998 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4999
5000         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5001
5002         * configure.ac:
5003         Check for stdio_ext.h for the filesink changes.
5004
5005         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5006         (gst_file_sink_class_init), (gst_file_sink_init),
5007         (gst_file_sink_dispose), (gst_file_sink_set_property),
5008         (gst_file_sink_get_property), (gst_file_sink_open_file),
5009         (gst_file_sink_close_file):
5010         * plugins/elements/gstfilesink.h:
5011         Add two properties to control the buffering mode and size.
5012         API: GstFileSink::buffer-mode
5013         API: GstFileSink::buffer-size
5014         Fixes #500150.
5015
5016 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5017
5018         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5019         Add some more docs to explain why a FIXME was wrongly added. 
5020
5021 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5022
5023         * gst/gstobject.c:
5024           Fix typo in the gst_object_{ref,unref} documentation.
5025
5026 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5027
5028         * tests/check/libs/controller.c:
5029         * tests/check/libs/typefindhelper.c:
5030         * tests/check/pipelines/parse-launch.c:
5031           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5032           going to be deprecated (see #498924).
5033
5034 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5035
5036         * gst/gsttypefind.c: (gst_type_find_register):
5037           Make gst_type_find_register work for static typefind functions,
5038           ie. allow passing plugin == NULL (prerequisite for #498924).
5039
5040         * gst/gstelementfactory.c: (gst_element_register):
5041           Small docs addition.
5042
5043 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5044
5045         * gst/gstpad.c: (gst_pad_dispose):
5046         Really unlink the peer pad instead of setting the peer pointer to NULL
5047         when we dispose the pad.
5048         This correctly calls the unlink functions and makes sure that the peer
5049         does not have a handle to invalid memory. See #504671.
5050
5051         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5052         Add testsuite for above case.
5053
5054 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5055
5056         Patch by: Peter Kjellerstedt <pkj axis com>
5057
5058         * libs/gst/check/gstcheck.h:
5059           Fix detection of the check version we're compiling against (would
5060           otherwise break if check goes v0.10.0); correctly report the
5061           name of the failed test again in case of failure, instead of
5062           just 'tf' (fixes #504499).
5063
5064 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5065
5066         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5067         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5068         (gst_base_src_loop), (gst_base_src_set_flushing),
5069         (gst_base_src_change_state):
5070         Allow sending EOS to the source to make it send out an EOS event from
5071         the streaming thread.
5072         Update docs and deprecate the old NULL/READY shutdown method.
5073
5074         * tests/check/libs/basesrc.c: (GST_START_TEST),
5075         (gst_basesrc_suite):
5076         Add unit test for controlled shutdown.
5077
5078 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5079
5080         * docs/design/part-synchronisation.txt:
5081         Small updates.
5082
5083         * gst/gstsegment.c: (gst_segment_set_seek),
5084         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5085         (gst_segment_to_running_time):
5086         The seek format can be different from the segment format when the start
5087         and stop values are not to be updated, when we only do a rate change for
5088         example.
5089
5090         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5091         (gst_segment_suite):
5092         Add a testcase for the rate-only seeks, checking that the format is
5093         correctly ignored when start and stop are not updated.
5094
5095 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5096
5097         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5098
5099         * win32/vs8/grammar.vcproj:
5100         * win32/vs8/libgstcontroller.vcproj:
5101         * win32/vs8/libgstreamer.vcproj:
5102         Fix compilation with VS8 and include some missing files.
5103
5104 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5105
5106         * gst/gsttaglist.c:
5107           Small docs addition: mention that the strings returned by
5108           gst_tag_list_get_string*() are in UTF-8 encoding.
5109
5110 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5111
5112         * Makefile.am:
5113           The check-exports stuff moved to common/win32.mak, so include that.
5114
5115 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5116
5117         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5118         (gst_base_src_perform_seek), (gst_base_src_get_range),
5119         (gst_base_src_set_playing), (gst_base_src_change_state):
5120         Make _wait_playing() not check any variables so that we can call this
5121         function from subclasses. Move the checks elsewhere similar to
5122         _wait_preroll() in basesink.
5123         Add some debugging.
5124         Only signal the LIVE cond when we are going back to PLAYING.
5125
5126 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5127
5128         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5129           Use g_remove() and g_rename(). Check result of g_rename(), and
5130           don't leak the open file descriptor if we error out when writing.
5131
5132         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5133           Must check the return value of close() after writing out the new
5134           registry file.  Sometimes write problems such as out-of-diskspace
5135           are only reported when the file is closed and not already during
5136           the write.  This may have caused partial/broken registry files in
5137           some rare circumstances. Should fix #503675.
5138
5139 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5140
5141         * docs/gst/.cvsignore:
5142         * docs/libs/.cvsignore:
5143         * docs/plugins/.cvsignore:
5144         Ignore files generated by new common/* modifications
5145
5146 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5147
5148         * win32/common/libgstbase.def:
5149           Yes, you can also have a <TAB> if you want.
5150
5151 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5152
5153         * win32/common/libgstbase.def:
5154           Add new basetransform API to win export file.
5155
5156 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5157
5158         * tests/check/gst/gstbin.c:
5159           Adjust the test to the refcount change two days ago.
5160
5161 2007-12-14  David Schleef  <ds@schleef.org>
5162
5163         * docs/faq/getting.xml: Fix typo.
5164
5165 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5166
5167         * docs/libs/gstreamer-libs-sections.txt:
5168         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5169           (gst_base_transform_prepare_output_buffer),
5170           (gst_base_transform_set_gap_aware):
5171         * libs/gst/base/gstbasetransform.h:
5172           API: Add gst_base_transform_set_gap_aware() to control whether
5173           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5174           get buffers with this flag at all. Fixes #503231.
5175
5176 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5177
5178         * libs/gst/base/gstbasesink.c:
5179         * libs/gst/base/gstbasesrc.c:
5180         * libs/gst/base/gstbasetransform.c:
5181           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5182           thread. Correct log message in gstbasesrc.c.
5183
5184 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5185
5186         * gst/gstutils.c: (element_find_unconnected_pad):
5187           Fix possible compiler warning (#503417).
5188
5189 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5190
5191         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5192           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5193
5194 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5195
5196         * tools/gst-inspect.c: (print_element_properties_info):
5197           Add support for GstFraction properties.
5198
5199 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5200
5201         * Makefile.am:
5202           Add check-exports target and run it as part of 'make check'
5203           (see #499140 and #493983).
5204
5205         * gst/gst_private.h:
5206         * gst/gstelementfactory.h:
5207         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5208         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5209           (_priv_gst_in_valgrind):
5210         * gst/gstinfo.h: (GstLogFunction):
5211         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5212           (gst_type_find_register):
5213         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5214           (gst_type_find_factory_get_type):
5215         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5216           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5217           (gst_controller_new_valist), (gst_controller_new_list),
5218           (_gst_controller_dispose), (_gst_controller_class_init):
5219         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5220         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5221           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5222           (gst_object_get_controller), (gst_object_set_controller),
5223           (gst_object_suggest_next_sync), (gst_object_sync_values),
5224           (gst_object_set_control_source), (gst_object_get_control_source),
5225           (gst_object_get_value_arrays), (gst_object_get_value_array),
5226           (gst_object_get_control_rate), (gst_object_set_control_rate):
5227         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5228         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5229           Make some functions that should be static static; rename some
5230           private symbols so that they don't get exported; add some FIXME
5231           comments so we can move accidentally exported functions into
5232           our private section in 0.11.
5233
5234         * win32/common/libgstreamer.def:
5235           Add gst_utils_get_timestamp().
5236
5237 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5238
5239         * gst/gstvalue.c:
5240         * gst/gstvalue.h:
5241           Add more missing "Since:" tags to docs.
5242
5243 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5244
5245         * gst/gstutils.c:
5246           Add mising "Since:" to docs.
5247
5248 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5249
5250         * gst/gstplugin.c:
5251           Include "glib-compat-private.h" to fix the build on system with
5252           glib < 2.10. Fixes #503131.
5253
5254 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5255
5256         * gst/gstutils.c:
5257         * gst/gstutils.h:
5258           Actually its not PURE as it gets the time from elsewhere.
5259
5260 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5261
5262         * docs/gst/gstreamer-sections.txt:
5263         * gst/gstclock.h:
5264         * gst/gstdebugutils.c:
5265         * gst/gstinfo.c:
5266         * gst/gstutils.c:
5267         * gst/gstutils.h:
5268         * libs/gst/base/gstbasesink.c:
5269         * tools/gst-launch.c:
5270           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5271           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5272           Thanks Tim for spotting.
5273           API: gst_util_get_timestamp
5274
5275 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5276
5277         * configure.ac:
5278           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5279
5280 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5281
5282         * gst/gststructure.c: (gst_structure_validate_name),
5283           (gst_structure_new_valist), (gst_structure_parse_value),
5284           (gst_structure_from_string):
5285           Don't crash in _from_string() if the structure name is not valid
5286           (fixes #501560).  Allow structure names to start with a number
5287           again (this apparently broke the ubuntu codec installer).
5288
5289         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5290           (GST_START_TEST):
5291           Add unit test for the crash; update unit tests for new behaviour.
5292
5293 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5294
5295         * gst/gstutils.c:
5296         Clarify gst_element_get_compatible_pad() documentation.
5297         Fixes #500919.
5298
5299 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5300
5301         * tests/check/Makefile.am:
5302           Don't forget to dist {gst,libs}/struct_hppa.h.
5303
5304 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5305
5306         * libs/gst/base/gstbasesink.c:
5307           Use new API to get elapsed time.
5308
5309 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5310
5311         * gst/gstdebugutils.c:
5312         * gst/gstinfo.c:
5313           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5314
5315         * tools/gst-launch.c:
5316           Use new API to get elapsed time.
5317
5318 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5319
5320         * docs/gst/gstreamer-sections.txt:
5321         * gst/gstclock.h:
5322         * gst/gstdebugutils.c:
5323         * gst/gstinfo.c:
5324           Rename new API + ChangeLog surgery to remove old name from last entry..
5325
5326 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5327
5328         * docs/gst/gstreamer-sections.txt:
5329         * gst/gstclock.h:
5330         * gst/gstdebugutils.c:
5331         * gst/gstinfo.c:
5332           Now hide the different clock stuff behind a macro.
5333
5334 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5335
5336         * configure.ac:
5337         * gst/gstdebugutils.c:
5338         * gst/gstinfo.c:
5339           Apply the posix-timer check from #361155. Conditionally use the posix
5340           timer for logging. This gives better timestamp precission, less
5341           overhead and no ntp jitter.
5342
5343 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5344
5345         * gst/gstminiobject.c: (gst_mini_object_get_type),
5346         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5347         (gst_mini_object_finalize), (gst_mini_object_copy),
5348         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5349         (gst_mini_object_replace), (param_mini_object_validate),
5350         (gst_param_spec_mini_object_get_type):
5351         Some cleanup and checking against invalid function parameters.
5352
5353 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5354
5355         * docs/gst/gstreamer-sections.txt:
5356         * gst/gstclock.h:
5357         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5358         (gst_systemclock_suite):
5359         Start merging in the easy bits of #361155, the monotonic clock patch.
5360         This one adds a few handy macros with docs and a testsuite.
5361
5362 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5363
5364         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5365         Be a bit smarter when seeking, like, don't try to do a seek when it's
5366         not needed. This avoids errors when the file is not seekable.
5367         Fixes #499771.
5368
5369 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5370
5371         * docs/gst/gstreamer-docs.sgml:
5372         * docs/gst/gstreamer-sections.txt:
5373         * docs/gst/gstreamer.types.in:
5374         * gst/Makefile.am:
5375         * gst/gst.h:
5376         * gst/gstpreset.c:
5377         * gst/gstpreset.h:
5378         * plugins/elements/gstqueue.c:
5379           Due to popular request remove preset interface again. :-(.
5380
5381 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5382
5383         * tools/gst-inspect.c:
5384           Print 'default value' for enums and flags too.
5385
5386 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5387
5388         * docs/random/ensonic/profiling.txt:
5389           More ideas.
5390
5391         * gst/gstbin.c:
5392           Fix typo and give better log output.
5393
5394         * gst/gstdebugutils.c:
5395         * gst/gstdebugutils.h:
5396           More ideas, make graphs a bit smaller and fix param name in macro.
5397
5398 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5399
5400         * gst/gstpreset.c:
5401           Try harder to use the return value from fgets().
5402
5403 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5404
5405         * gst/gstpreset.c:
5406           For theses two fgets we handle the error below.
5407
5408 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5409
5410         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5411         Only send upstream events upstream. Fixes #498746.
5412
5413 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5414
5415         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5416
5417         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5418         (gst_identity_init), (gst_identity_transform_ip),
5419         (gst_identity_set_property), (gst_identity_get_property):
5420         * plugins/elements/gstidentity.h:
5421         Add property to disable handoff signal emission. Fixes #498694.
5422         API: GstIdentity::signal-handoffs
5423
5424 2007-11-21  Julien Moutte  <julien@fluendo.com>
5425
5426         * docs/faq/gst-uninstalled: Yet another missing library for the
5427         uninstalled script (fft)
5428
5429 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5430
5431         * docs/faq/developing.xml:
5432         Add a question about how to submit new translations.
5433
5434         * docs/random/release:
5435         Update the contact email address for the Translation Project
5436
5437         * plugins/elements/gstfdsrc.c:
5438         The parent_class for fdsrc is pushsrc, not GstElement.
5439
5440 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5441
5442         * gst/gstpreset.c:
5443           Plug a leak and fix saving.
5444
5445 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5446
5447         * docs/gst/gstreamer-sections.txt:
5448         Add new gst_preset__get_property_names() function to the docs
5449         to fix the build.
5450
5451 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5452
5453         * gst/gstpreset.c:
5454         * gst/gstpreset.h:
5455           Change _get_preset_names API to return a strv with copies. Add
5456           _get_property_names to allow implementations to filter and provide
5457           good default implementation.
5458
5459 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5460
5461         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5462         script (sdp).
5463
5464 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5465
5466         * gst/gstpreset.c:
5467           More cleanups, docs, and TODOs from comments that now slowly come in.
5468
5469 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5470
5471         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5472         search path.
5473
5474 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5475
5476         * gst/gstpreset.c:
5477           Fix bogus warning and make the property type specific code more
5478           similar.
5479
5480 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5481
5482         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5483         it build on OS X.
5484
5485 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5486
5487         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5488         (gst_bin_add_func), (gst_bin_remove_func),
5489         (gst_bin_change_state_func), (gst_bin_continue_func):
5490         Change email, cleanups add some more debug and comments.
5491         Also set bus and clock on new elements when the pipeline was in error.
5492
5493 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5494
5495         * gst/gstbin.c:
5496         * gst/gstdebugutils.c:
5497           Fix build with --disable-gst-debug. Fixes #497859.
5498           Spotted by Sameer Naik.
5499
5500 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5501
5502         * gst/gstevent.c:
5503           Little documentation improvment.
5504
5505         * gst/gstpreset.c:
5506           More TODO cleanups. Remove c++ comments.
5507
5508         * libs/gst/controller/gstcontroller.c:
5509           Add TODO and use quark from static string.
5510
5511         * tests/check/gst/gstmessage.c:
5512         * tests/check/gst/gststructure.c:
5513           Use quark from static string.
5514
5515 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5516
5517         * gst/gstpreset.c:
5518           Add some comments and TODOs.
5519
5520         * gst/gstpreset.h:
5521           Add padding for future changes.
5522
5523         * plugins/elements/gstqueue.c:
5524           Implement the iface.    
5525
5526 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5527
5528         * docs/gst/gstreamer-docs.sgml:
5529         * docs/gst/gstreamer-sections.txt:
5530         * docs/gst/gstreamer.types.in:
5531         * gst/Makefile.am:
5532         * gst/gst.h:
5533         * gst/gstpreset.c:
5534         * gst/gstpreset.h:
5535           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5536
5537 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5538
5539         * configure.ac:
5540
5541         Back to CVS
5542
5543 === release 0.10.15 ===
5544
5545 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5546
5547         * configure.ac:
5548           releasing 0.10.15, "October"
5549
5550 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5551
5552         * win32/vs6/libgstreamer.dsp:
5553         Convert line endings back to DOS.
5554
5555 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5556
5557         * docs/design/draft-tagreading.txt:
5558         * docs/random/ensonic/profiling.txt:
5559         Update fast tagreading draft and performance profiling ideas.
5560
5561 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5562
5563         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5564         Don't hold the object lock when unreffing a buffer because it could
5565         cause a deadlock when the finalize function wants to grab the object
5566         lock too. Fixes #495133.
5567
5568 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5569
5570         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5571         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5572         Also accumulate time correctly when doing reverse playback. Fixes
5573         #488201,
5574         When converting to running and stream time, use default values for
5575         start/stop/time/accum when comparing different formats. Fixes #494245.
5576
5577         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5578         Do running/stream time in TIME format.
5579
5580         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5581         (gst_segment_suite):
5582         2 new unit tests for segment accumulation.
5583
5584 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5585
5586         * gst/gst.c: (init_pre):
5587         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5588           (_gst_debug_bin_to_dot_file):
5589           Move getenv() back into gst_init, so everyone can live happily
5590           ever after. Make sure the symbol isn't exported though.
5591
5592 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5593
5594         Patch by: Sebastien Moutte  <sebastien moutte net>
5595
5596         * win32/common/gstenumtypes.c:
5597         * win32/common/gstenumtypes.h:
5598           Update enum types.
5599
5600         * win32/vs6/libgstreamer.dsp:
5601           Update vs6 project files (#494343).
5602
5603 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5604
5605         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5606         (gst_base_src_perform_seek), (gst_base_src_default_event),
5607         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5608         (gst_base_src_activate_pull):
5609         Unify flushing code, remove some old unlock code that is no longer used.
5610         Take the streaming lock when seeking to avoid races. Fixes #492729.
5611         Added some more comments.
5612
5613 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5614
5615         * gst/gst.c: (_gst_disable_segtrap):
5616           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5617           we can use gst_segtrap_is_enabled() there now that we have that API.
5618           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5619           to do the getenv here (and export the variable).
5620
5621         * gst/gstdebugutils.c: (debug_dump_element),
5622           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5623           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5624
5625         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5626           (gst_debug_log_default):
5627           Rename _gst_info_start_time to priv_gst_info_start_time so it
5628           doesn't get exported (was never in any header).
5629
5630         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5631           (gst_plugin_loading_mutex):
5632           Make static mutex gst_plugin_loading_mutex really static (was never
5633           in any header), and use gst_segtrap_is_enabled() instead of
5634           _gst_disable_segtrap.
5635
5636         * gst/gsttrace.c: (_gst_trace_default):
5637           Make local _gst_trace_default static (was never in any header).
5638
5639 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5640
5641         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5642
5643         * win32/common/libgstbase.def:
5644         * win32/common/libgstcontroller.def:
5645         * win32/common/libgstdataprotocol.def:
5646         * win32/common/libgstnet.def:
5647         * win32/common/libgstreamer.def:
5648           Add more missing symbols, remove some duplicates, and sort
5649           as the 'sort' command sorts it (partially fixes #493983).
5650
5651 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5652
5653         * gst/gstelement.c: (gst_element_set_state_func):
5654         Only change the state cookie if a different state was set on the
5655         element. See #492729.
5656
5657 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5658
5659         * gst/gstvalue.c:
5660           Remove unused and uninitialised type variables that were still
5661           exported for some reason (they were never in any header files
5662           though).
5663
5664 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5665
5666         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5667         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5668         (gst_base_sink_event), (gst_base_sink_get_position_last),
5669         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5670         (gst_base_sink_change_state):
5671         Don't try to report a 0 position when we don't know, return -1 and FALSE
5672         instead. This mostly happens when we are prerolling.
5673         Make sure we can report the right position before we post the ASYNC_DONE
5674         message so that a message handler can query position without races.
5675
5676         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5677         (async_done_handoff), (async_done_func), (send_buffer),
5678         (async_done_eos_func), (gst_sinks_suite):
5679         Add two tests for the above.
5680
5681 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5682
5683         * MAINTAINERS:
5684         Update with new email address.
5685
5686         * docs/design/part-TODO.txt:
5687         Add some more info about future pad-block and negotiation changes.
5688
5689         * docs/design/part-buffering.txt:
5690         Add some ideas about buffering reporting.
5691
5692 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5693
5694         * tests/check/gst/gstobject.c:
5695         Disable silly racy test that always fails on this combination of CPU
5696         and kernel.
5697
5698 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5699
5700         Patch by: Murray Cumming  <murrayc@murrayc.com>
5701
5702         * gst/gstobject.c:
5703           Corrected the registration of the parent-set and parent-unset
5704           signals: The parameter is a GstObject, not a GObject (#493134).
5705
5706 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5707
5708         * gst/gst_private.h:
5709         * gst/gstbuffer.h:
5710         * gst/gstevent.h:
5711         * gst/gstformat.h:
5712         * gst/gstmessage.h:
5713         * gst/gstplugin.h:
5714         * gst/gstquery.h:
5715         * gst/gsttaglist.h:
5716         * gst/gstvalue.h:
5717           Move declaration of private _gst_foo_initialize() functions into
5718           our private header file where they should have been all along.
5719
5720 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5721
5722         * docs/plugins/gstreamer-plugins-sections.txt:
5723         * gst/gstdebugutils.h:
5724         * gst/gstxml.h:
5725         * plugins/elements/gstqueue.c:
5726           gtk-doc fixes; trailing-comma-in-enum fix.
5727
5728 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5729
5730         * gst/gst.c: (gst_deinit):
5731           Clean up on deinit (not the external ones though, doesn't seem to be
5732           needed for some reason).
5733
5734 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5735
5736         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5737           Remove __declspec(dllimport) for MSVC that was copied over into core
5738           from a plugin, obviously without ever having been tested (note the
5739           single underscore in _declspec in the initial commit), and that doesn't
5740           really make sense.  See #492077.
5741
5742 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5743
5744         * gst/gst.c: (init_post):
5745         * gst/gstevent.c: (_gst_event_initialize):
5746         * gst/gstquery.c: (_gst_query_initialize):
5747         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5748           g_type_class_ref() other types as well, see #349410 and #64764.
5749
5750         * gst/gstbuffer.c: (_gst_buffer_initialize):
5751         * gst/gstmessage.c: (_gst_message_initialize):
5752           Simplify existing g_type_class_ref().
5753
5754 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5755
5756         * gst/gstformat.c: (_gst_format_initialize):
5757           g_type_class_ref() our GstFormat type to make sure we avoid the
5758           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5759           bug #64764. Should fix intermittent tee unit test failures (#474823).
5760
5761 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5762
5763         * tests/check/elements/tee.c: (test_num_buffers):
5764           Simplify, simplify, simplify - or not.  Rewrite unit test
5765           not to use gst_parse_launch(); allow N sub-streams. Increasing
5766           the number of sub-streams seems to reproduce #474823 more easily.
5767
5768 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5769
5770         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5771
5772         * gst/gsttrace.c:
5773         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5774         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5775         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5776           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5777           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5778           so use _pipe() directly (#492077).
5779
5780         * win32/common/dirent.c: (_treaddir):
5781           Add a couple of casts to make it build without warnings with MSVC.
5782
5783         * win32/common/libgstreamer.def:
5784           Add some more symbols that need to be exported.
5785
5786 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5787
5788         * tests/examples/metadata/read-metadata.c: (message_loop):
5789           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5790           arriving in a second or third tag message are added to
5791           the tag list as well.
5792
5793 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
5794
5795         * libs/gst/base/gstbasesrc.c:
5796           Its "Since:" and not "@Since:". And remove an superflous cast.
5797
5798 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
5799
5800         * docs/libs/gstreamer-libs-sections.txt:
5801         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5802         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5803         (gst_base_sink_get_property), (gst_base_sink_render_object),
5804         (gst_base_sink_preroll_object),
5805         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5806         (gst_base_sink_change_state):
5807         * libs/gst/base/gstbasesink.h:
5808         Add a new last-buffer property that contains the last buffer used in
5809         basesink for preroll or rendering. useful for making snapshots.
5810         API: gst_base_sink_get_last_buffer()
5811         API: GstBaseSink::last-buffer
5812
5813 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5814
5815         * docs/gst/running.xml:
5816         * gst/gst.c:
5817         * gst/gstdebugutils.c:
5818         * gst/gstdebugutils.h:
5819         * tools/gst-launch.c:
5820           Improve bin graph dumping, by using the envvar to specify a path.
5821           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5822
5823 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
5824
5825         * plugins/elements/gsttypefindelement.c:
5826           (gst_type_find_element_handle_event),
5827           (gst_type_find_element_activate):
5828           Post special error message if we can't determine the type of a stream
5829           because it's empty.
5830
5831 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5832
5833         * docs/gst/running.xml:
5834         * gst/gstdebugutils.c:
5835           Document new env-var. Add one log-line after dumpng a graph.
5836
5837 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5838
5839         * configure.ac:
5840           Ugly hack to put the (recently removed and non-portable, apparently)
5841           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5842           GNU ld, because without that 'make check' fails miserably on my debian
5843           stable box.  Someone with more knowledge of linker intricacies and
5844           portability issues than me fix this properly please.
5845
5846 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
5847
5848         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5849         Reset last seen position after flushing so that we don't report the old
5850         position anymore.
5851
5852 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5853
5854         * gst/gstelementfactory.c: (gst_element_register):
5855         * gst/gsturi.h:
5856         Patch from Alessandro Decina adding get_type_full and
5857         get_protocols_full private vfuncs to the URIHandler interface
5858         to allow bindings to support creating URI handlers. 
5859         Partially fixes: #339279
5860         API: GstURIHandlerInterface::get_type_full
5861         API: GstURIHandlerInterface::get_protocols_full
5862
5863 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5864
5865         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5866         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5867         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5868         Make it so that pads are considered linked until a buffer is pushed
5869         and discovered otherwise. This avoids problems with decodebin2 hanging
5870         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5871         case.
5872
5873         Make sure we lock the multiqueue when updating the max-size properties.
5874         
5875         Fix a crash on Solaris in a debug statement in get_request_pad that
5876         passes a NULL string to GST_DEBUG. 
5877
5878         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5879         (run_output_order_test):
5880         Fix the test to allow the first buffer on not-linked pads to come out
5881         of sequence while multiqueue discovers that they are not-linked.
5882
5883 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5884
5885         * configure.ac:
5886         * libs/gst/check/Makefile.am:
5887         Use a custom export symbol regex for libgstcheck, as it needs
5888         to export symbols that don't match the standard GStreamer gst_*
5889         pattern, and  --export-dynamic is not portable (only works on 
5890         GNU ld)
5891
5892         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5893         (gst_check_setup_sink_pad):
5894         Make sure to pass a message parameter to the fail_* macros.
5895
5896         * tests/check/gst/gstinfo.c: (GST_START_TEST):
5897         Fix some compiler warnings.
5898
5899 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
5900
5901         * tests/check/gst/gststructure.c: (test_to_string):
5902           Disable test that checks that white spaces are not allowed
5903           in structure names or field names, since we need to
5904           support that for now for backwards compatibility reasons.
5905
5906 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
5907
5908         * docs/gst/gstreamer-sections.txt:
5909         * gst/gsttaglist.c:
5910         * gst/gsttaglist.h:
5911           API: add GST_TAG_ARTIST_SORTNAME
5912           API: add GST_TAG_ALBUM_SORTNAME
5913           API: add GST_TAG_TITLE_SORTNAME
5914           Add tag variants for sorting (#414539).
5915
5916 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
5917
5918         * gst/gststructure.c:
5919           Also allow white space for names so we don't break
5920           backwards compatibility.
5921
5922 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
5923
5924         * docs/design/part-TODO.txt:
5925         * docs/design/part-segments.txt:
5926         * docs/design/part-streams.txt:
5927         Small updates.
5928
5929 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
5930
5931         * docs/gst/gstreamer-sections.txt:
5932          Fixed documentation from my previous commit (added new API add
5933          gst_value_set_structure(), add gst_value_get_structure() and
5934          GST_VALUE_HOLDS_STRUCTURE).
5935
5936 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
5937
5938         * gst/gstdebugutils.c:
5939           Reflow code to fix uninitialized variable warning.
5940
5941 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
5942
5943         * gst/gstcaps.c: (gst_caps_to_string),
5944         (gst_caps_from_string_inplace):
5945         * gst/gststructure.c: (gst_structure_get_abbrs),
5946         (gst_structure_to_string), (gst_structure_from_string):
5947         * gst/gstvalue.c: (gst_value_set_structure),
5948         (gst_value_get_structure), (gst_value_serialize_structure),
5949         (gst_value_deserialize_structure), (_gst_value_initialize):
5950         * gst/gstvalue.h:
5951         * tests/check/gst/gststructure.c: (GST_START_TEST),
5952         (gst_structure_suite):
5953         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5954          Added GstStructure to gst_value_table and its related functions.
5955          Changed gst_structure_to_string to print ';' in the end.
5956          Changed gst_caps_to_string to not print ';' beteween its
5957          fields (structures) anymore and remove the lastes ';' from latest
5958          structure. Now it is possible to have nested structures.
5959          In addition, backward compatibilty is assured by accepting '\0' as
5960          end delimiter. Fixes: #487969.
5961          API: add gst_value_set_structure()
5962          API: add gst_value_get_structure()
5963          API: add GST_VALUE_HOLDS_STRUCTURE
5964
5965 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
5966
5967         * gst/gstbus.c:
5968           When no GSource callback has been set up, tell developer
5969           to use a function that actually exists.
5970
5971 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
5972
5973         * docs/gst/gstreamer-sections.txt:
5974         * gst/Makefile.am:
5975         * gst/gst.c:
5976         * gst/gst.h:
5977         * gst/gstdebugutils.c:
5978         * gst/gstdebugutils.h:
5979         * gst/gstinfo.c:
5980         * gst/gstinfo.h:
5981         * tools/gst-launch.c:
5982           Allow dumping pipelines as dot graphs. Fixes #456573.
5983
5984 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5985
5986         * gst/gststructure.c:
5987           Allow '+' as well, it can be part of media or mime types
5988           such as image/svg+xml.
5989
5990 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5991
5992         * docs/gst/gstreamer-sections.txt:
5993         * gst/gstbus.c:
5994         * gst/gstbus.h:
5995           API: add gst_bus_pop_filtered
5996           API: add gst_bus_timed_pop_filtered
5997           Two new functions for waiting for specific message types on the
5998           bus for a specified amount of time without iterating any main
5999           loops or main contexts.
6000
6001         * tests/check/gst/gstbus.c:
6002           Some tests for the new functions.
6003
6004 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6005
6006         * docs/libs/gstreamer-libs-sections.txt:
6007           Make gtk-doc ignore stuff it should ignore.
6008
6009 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6010
6011         * libs/gst/check/gstcheck.c:
6012         * libs/gst/check/gstcheck.h:
6013           Allow runtime selection of unit tests to run via the GST_CHECKS
6014           environment variable (test case function names, comma-separated).
6015
6016 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6017
6018         * gst/gststructure.c:
6019         * tests/check/gst/gststructure.c:
6020           Revert serialisation change and constrain structure-names after
6021           consensus on irc. Update api documentation to reflect the change.
6022
6023 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6024
6025         * gst/gststructure.c:
6026           Improve serialization and fix tests.
6027
6028         * tests/check/gst/gststructure.c:
6029           Add another test that covers why I actually did the previous structure
6030           change.
6031
6032 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6033
6034         * tools/gst-inspect.c: (print_element_info):
6035         Don't crash when inspecting an element.
6036
6037 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6038
6039         * tests/check/gst/gststructure.c:
6040           Add unit test for escaping of structure name when serialising
6041           and deserialising to/from strings.
6042
6043 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6044
6045         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6046         (gst_single_queue_new):
6047         * plugins/elements/gstqueue.c: (gst_queue_init),
6048         (gst_queue_push_one):
6049         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6050         upstream is tricked into thinking it can suggest a format downstream
6051         while downstream does not support that format. The real problem is that
6052         core calls acceptcaps when pushing a buffer with new caps, for which we
6053         do a little workaround by setting the caps on the srcpad ourselves
6054         before pushing the buffer (until this is figured out). Fixes #486758.
6055
6056 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6057
6058         * gst/gststructure.c:
6059         * gst/gstvalue.c:
6060           Add some more comments and debug output. Quote structure name to fix
6061           deserialisation of some strings.
6062
6063 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6064
6065         * gst/gstbuffer.h:
6066           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6067           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6068
6069 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6070
6071         * tools/gst-inspect.c:
6072           Save approx. 400 1 byte allocs when printing. Use API to acces element
6073           details.
6074
6075         * tools/gst-run.c:
6076           Avoid a strdup.
6077
6078         * tools/gst-xmlinspect.c:
6079           Use API to acces element details.
6080
6081 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6082
6083         * gst/gstinfo.c:
6084           Fix some spelling errors.
6085
6086 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6087
6088         * gst/gstbin.c: (bin_handle_async_done):
6089         Correctly set the next state if all of our async children commited their
6090         state. This makes sure we can actually cancel the state change in
6091         progress. Fixes a regression in Rhythmbox when seeking.
6092
6093 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6094
6095         * gst/gstbin.c:
6096           Don't shadow local variable.
6097
6098         * gst/gstinfo.c:
6099           Don't shadow global function name.
6100
6101 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6102
6103         * gst/gstelementfactory.c:
6104         * gst/gstpluginfeature.c:
6105         * gst/gstpluginfeature.h:
6106         * gst/gstregistrybinary.c:
6107         * gst/gstregistryxml.c:
6108         * gst/gsttypefind.c:
6109           Use already-interned string for the private GstPluginFeature
6110           plugin_name field.
6111
6112 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6113
6114         * docs/libs/gstreamer-libs-sections.txt:
6115           Add new API to docs; fixes the build.
6116
6117 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6118         
6119         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6120
6121         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6122         (gst_base_sink_event):
6123         * libs/gst/base/gstbasesink.h:
6124         Add function to wait for EOS, subclasses can use this to correctly wait
6125         for devices to drain before performing the EOS logic. Fixes #485343.
6126         API: gst_base_sink_wait_eos()
6127
6128 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6129
6130         * gst/gstplugin.h:
6131           Cast description string constants in GST_PLUGIN_DEFINE macros
6132           to a (gchar*) to make C++ code using these macros compile
6133           without warning with g++-4.2 (see #462737).  Even if slightly
6134           ugly, this seems preferable to putting the description strings
6135           into the GLib quark table or making the structure member a
6136           const gchar * and doing casts in core code that allocs and
6137           frees these strings, or requiring a cast in the C++ code.
6138
6139 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6140
6141         * gst/gstinfo.h:
6142           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6143           to print the entire class/function signature into the log
6144           file for C++ code.  This only affects C++ code, for C code
6145           everything remains the same.
6146
6147 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6148
6149         * gst/gstbin.c: (remove_from_queue):
6150         Work around a problem with pipelines containing (semi)loops until a
6151         proper, more complicated solution is ready. See #475455.
6152
6153 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6154
6155         * gst/gstplugin.c:
6156         * gst/gstplugin.h:
6157         * gst/gstregistrybinary.c:
6158         * gst/gstregistryxml.c:
6159           Put more strings into the GLib quark table. No need to keep
6160           a hundred-something copies of identical version strings,
6161           license strings, package name strings and package origin
6162           strings around. 
6163
6164 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6165
6166         * docs/manual/advanced-dataaccess.xml:
6167           Don't imply that it's okay to unconditionally change
6168           buffer data or buffer metadata in a pad probe callback,
6169           and a bunch of other comments. Fixes #430031.
6170
6171 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6172
6173         * win32/common/gstenumtypes.c:
6174         * win32/common/gstenumtypes.h:
6175         * win32/common/gstversion.h:
6176           Update generated files.
6177
6178 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6179
6180         * docs/manual/advanced-autoplugging.xml:
6181           Prefix section with broken code with a warning (see #342432).
6182
6183 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6184
6185         * docs/manual/appendix-integration.xml:
6186         * docs/manual/basics-init.xml:
6187           Call g_thread_init() before g_option_context_new() to
6188           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6189
6190 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6191
6192         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6193         (gst_base_sink_queue_object_unlocked),
6194         (gst_base_sink_queue_object), (gst_base_sink_event),
6195         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6196         When we received EOS and are waiting for when to post the EOS message,
6197         our state is prerolled and we should not return ASYNC.
6198         Reorganize some code paths to implement this behavior.
6199
6200         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6201         (gst_sinks_suite):
6202         Add unit test to verify above EOS fix.
6203
6204 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6205
6206         * plugins/elements/gsttypefindelement.c:
6207         (gst_type_find_element_have_type), (gst_type_find_element_init),
6208         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6209         Move detecting the input caps of the sinkpad to the setcaps function.
6210         This allows us to update the output caps when we receive new input caps
6211         instead of always using the first detected caps.
6212
6213 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6214
6215         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6216         (gst_base_sink_get_position):
6217         Don't try to preroll non-async elements after a flush.
6218         Subtract latency form clock times when reporting position.
6219
6220 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6221
6222         * gst/gstpad.c: (gst_pad_pause_task):
6223         * gst/gstutils.c:
6224         Small comment and documentation update.
6225
6226 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6227
6228         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6229         (gst_base_src_set_live), (gst_base_src_is_live),
6230         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6231         (gst_base_src_default_event), (gst_base_src_wait),
6232         (gst_base_src_do_sync), (gst_base_src_get_range),
6233         (gst_base_src_pad_get_range), (gst_base_src_loop),
6234         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6235         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6236         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6237         (gst_base_src_change_state):
6238         Rework the locking of basesrc in a similar fashion to basesink. We
6239         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6240         us to handle live sources and semi live ones much better.
6241         Simplify flushing.
6242         Fix unlocking when seeking, shutting down and pausing in live sources.
6243
6244 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6245
6246         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6247         Fix compilation again.
6248
6249 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6250
6251         * gst/gstelement.c:
6252           Use meaningful categories for the logs to clean the default one.
6253
6254 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6255
6256         * tests/check/pipelines/cleanup.c:
6257           Print message name and not just number.
6258
6259 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6260
6261         * docs/design/draft-tagreading.txt:
6262           Add some more thoughts.
6263
6264 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6265
6266         * tests/check/pipelines/simple-launch-lines.c:
6267           Print message name and not just number.
6268
6269 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6270
6271         * libs/gst/base/gsttypefindhelper.c:
6272           Speedup typefinding. This is work in progress (see #459862).
6273
6274 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6275
6276         * gst/gstplugin.c:
6277           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6278           Spotted by Josep Torra Valles <josep@fluendo.com>.
6279
6280 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6281
6282         * gst/gstclock.h:
6283           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6284           field has moved to GstObject.
6285
6286 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6287
6288         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6289         (gst_base_src_get_range), (gst_base_src_change_state):
6290         Call unlock for live sources so that they can't get stuck in _create and
6291         produce a buffer before they are set back to PLAYING.
6292
6293 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6294
6295         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6296         (gst_queue_locked_dequeue):
6297         Comment the segment-related code... in the PROPER function.
6298         See #482147 and my commit from yesterday.
6299
6300 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6301
6302         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6303         Also initialize the counter that calculates the first timestamp on a
6304         buffer correctly for non-live sources.
6305
6306 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6307
6308         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6309         Disable code that's breaking the current-time-level reporting.
6310         See #482147
6311
6312 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6313
6314         * docs/gst/gstreamer-sections.txt:
6315         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6316         as they shouldn't show up. Fixes the docs build.
6317
6318 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6319         
6320         * gst/gstinfo.h:
6321         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6322         Define M_PI which is used in files which are including gstinfo.h. 
6323         VS6 includes doesn't define it.
6324         * win32/common/libgstbase.def:
6325         * win32/common/libgstcontroller.def:
6326         * win32/common/libgstreamer.def:
6327         Add new exported functions and variables.
6328         * win32/vs6/libgstcontroller.dsp:
6329         * win32/vs6/libgstreamer.dsp:
6330         Update the list of files to build.
6331         
6332 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6333
6334         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6335
6336         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6337         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6338         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6339         Improve debugging. Fixes #480858.
6340
6341 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6342
6343         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6344
6345         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6346         First patch of code cleanups, use the macros and right arguments in the
6347         macros to signal and lock the queue. See #480858.
6348
6349 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6350
6351         * gst/gstbus.c: (poll_func):
6352         Improve debugging when dealing with _poll().
6353
6354 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6355
6356         * gst/gstregistryxml.c:
6357           Fix memory leak I introduced a few days ago.
6358
6359 2007-09-26  Michael Smith <msmith@fluendo.com>
6360
6361         * gst/gstbuffer.c: (gst_buffer_finalize):
6362           Make it once again possible to free GstBuffers in the default
6363           build.
6364           The poisoning scribbles on parts of the miniobject we need in
6365           order to free it.
6366           Fixes #480341
6367
6368 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6369
6370         * docs/gst/gstreamer-sections.txt:
6371         * gst/gsttaglist.c:
6372         * gst/gsttaglist.h:
6373         API: add GST_TAG_COMPOSER, fixes #459809.
6374
6375 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6376
6377         * gst/gstplugin.c:
6378         * gst/gstplugin.h:
6379         Add the 3-clause BSD license and the MIT/X11 license to the license
6380         list. Fixes #479784.
6381
6382 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6383
6384         * docs/faq/getting.xml:
6385           Add Q+A about different GStreamer versions (#364056).
6386
6387 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6388
6389         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6390         (gst_base_sink_event), (gst_base_sink_change_state):
6391         Return correct gboolean from query function.
6392
6393 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6394
6395         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6396         (gst_base_sink_event), (gst_base_sink_query),
6397         (gst_base_sink_change_state):
6398         Simplify latency query.
6399         When not synchronizing, we can report latency without querying the peer
6400         element.
6401
6402 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6403
6404         * gst/gstobject.h:
6405         * gst/gstvalue.c:
6406         Fix small typos in the docs.
6407
6408 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6409
6410         * docs/design/draft-latency.txt:
6411         * docs/design/draft-push-pull.txt:
6412         * docs/design/draft-tagreading.txt:
6413         * docs/design/part-MT-refcounting.txt:
6414         * docs/design/part-activation.txt:
6415         * docs/design/part-block.txt:
6416         * docs/design/part-element-source.txt:
6417         * docs/design/part-events.txt:
6418         * docs/design/part-gstbin.txt:
6419         * docs/design/part-gstelement.txt:
6420         * docs/design/part-gstobject.txt:
6421         * docs/design/part-gstpipeline.txt:
6422         * docs/design/part-messages.txt:
6423         * docs/design/part-preroll.txt:
6424         * docs/design/part-push-pull.txt:
6425         * docs/design/part-qos.txt:
6426         * docs/design/part-query.txt:
6427         * docs/design/part-scheduling.txt:
6428         * docs/design/part-seeking.txt:
6429         * docs/design/part-segments.txt:
6430         * docs/design/part-states.txt:
6431         Documentation updates and typo fixes.
6432
6433 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6434
6435         * plugins/elements/gstfakesink.c:
6436           Add some debug text to error message to indicate that
6437           we errored out on request.
6438
6439         * tools/gst-launch.c:
6440           When the state change to PLAYING fails, check for an
6441           error message on the bus and print it.
6442
6443 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6444
6445         translated by: Jorge González González <aloriel@gmail.com>
6446
6447         * po/LINGUAS:
6448         * po/es.po:
6449           Added Spanish translation.
6450
6451 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6452
6453         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6454         Fix printf arguments.
6455
6456 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6457
6458         * tests/check/generic/states.c:
6459           Improved state change unit test.
6460
6461 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6462
6463         * gst/gstbin.h:
6464           Move priv to the right place.
6465
6466         * gst/gstsystemclock.c:
6467           Add FIXME: and improve log.
6468
6469         * tests/check/Makefile.am:
6470         * tests/examples/manual/Makefile.am:
6471           Work with all types of registries.
6472
6473 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6474
6475         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6476         Don't unref the event after pushing it. Fixes #478401.
6477
6478 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6479
6480         * .cvsignore:
6481         * tests/examples/manual/.cvsignore:
6482           Ignore registries in any format.
6483
6484 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6485
6486         * gst/glib-compat-private.h:
6487           Add compatibility macro for g_intern_string() for
6488           GLib-2.8 (any reason we can't just bump the
6489           requirement to at least 2.10?)
6490
6491         * gst/gstpadtemplate.h:
6492         * gst/gstelementfactory.c:
6493         * gst/gstregistryxml.c:
6494         * gst/gstregistrybinary.c:
6495           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6496           up the internal code accordingly.  This shouldn't be a problem, since
6497           there is no reason external code could ever assume the string in such
6498           a structure is dynamically allocated unless it did that itself;  the
6499           use of g_strdup() is private to element factories.  The new code also
6500           saves some memory by putting pad template name strings into the GLib
6501           quark table instead of allocating them dynamically.
6502           Declaring this field constant fixes warnings with g++-4.2 when using
6503           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6504
6505 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6506
6507         * gst/gstelementfactory.c:
6508           Release static caps. Fixes #475723.
6509
6510 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6511
6512         * gst/gstinfo.c:
6513         * gst/gstinfo.h:
6514           Make some internal API take const gchar * instead of just
6515           gchar * to avoid compiler warnings with g++-4.2.2 when
6516           passing string constants (partially fixes #478092).
6517
6518 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6519
6520         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6521         A latency query fails when one of the sinks fail.
6522
6523         * gst/gstelement.c: (gst_element_set_base_time):
6524         Improve debugging.
6525
6526 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6527
6528         * gst/gstbin.c: (gst_bin_continue_func):
6529         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6530         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6531         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6532
6533         Fix minor compilation warnings shown with Forte.
6534
6535 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6536
6537         * plugins/elements/gstqueue.c: (apply_buffer),
6538         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6539         Measure queue level based on the diff between head and tail timestamps
6540         even when pushing the first buffer.
6541
6542 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6543
6544         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6545         (gst_base_sink_event), (gst_base_sink_change_state):
6546         Sinks that don't preroll can always be queried for the latency.
6547         Don't post ASYNC start when we are not async.
6548
6549 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6550
6551         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6552         (gst_queue_handle_sink_event), (gst_queue_chain),
6553         (gst_queue_push_one), (gst_queue_handle_src_query),
6554         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6555         * plugins/elements/gstqueue.h:
6556         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6557         push more buffers but allow pushing of EOS and NEWSEGMENT.
6558         Add some more debug info here and there. Fixes #476514.
6559
6560 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6561
6562         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6563         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6564         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6565         (gst_base_sink_set_flushing), (gst_base_sink_query),
6566         (gst_base_sink_change_state):
6567         Latency query is allowed after we are prerolled. Introduce a new flag
6568         for this and stop abusing other variables.
6569
6570 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6571
6572         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6573         Push OOB events downstream when we get them in send_event. This allows
6574         the application to insert events in the pipeline.
6575         Add some more comments.
6576
6577 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6578
6579         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6580         (do_bin_latency), (gst_bin_change_state_func):
6581         * gst/gstpipeline.c: (gst_pipeline_change_state):
6582         Move latency query from GstPipeline to GstBin so that we can also
6583         use it when async-handling is enabled on bins.
6584
6585 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6586
6587         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6588         (gst_base_src_do_sync), (gst_base_src_change_state):
6589         Update docs.
6590         Clean up the timestamping and syncing code for pseudo live sources.
6591
6592 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6593
6594         Patch by: Steve Fink  <sphink gmail com>
6595
6596         * docs/manual/appendix-checklist.xml:
6597           Mention less -R switch in the section about debug output (#474055).
6598
6599 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6600
6601         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6602         Queue can latency to the pipeline up to the configured max size in time.
6603         Report this fact in the latency query.
6604
6605 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6606
6607         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6608
6609         * libs/gst/controller/gstinterpolation.c:
6610         * libs/gst/controller/gstlfocontrolsource.c:
6611         Use gst_guint64_to_gdouble() when converting from a uint64 or
6612         GstClockTime to double to fix the build on win32. Fixes #474371.
6613
6614 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6615
6616         * gst/gstbuffer.c: (gst_buffer_finalize):
6617         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6618         When finalizing a buffer the complete struct is filled with 0xff,
6619         thus making a use of the buffer after the final unref impossible.
6620
6621 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6622
6623         * tests/check/libs/controller.c: (GST_START_TEST):
6624         Use fail_unless_equals_int(a, b) instead of
6625         fail_unless_equals (a == b) to get better output on failures.
6626
6627 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6628
6629         * tests/check/gst/gsturi.c:
6630           Also check for the other file URI variant on win32.
6631
6632 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6633
6634         * gst/gsturi.c: (gst_uri_get_location):
6635           If there's no hostname, we want to return 'c:/foo/bar.txt'
6636           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6637
6638         * tests/check/gst/gsturi.c:
6639           Unit test for the above and a few more things.
6640
6641 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6642
6643         * docs/design/part-live-source.txt:
6644         Add docs on how live sources should timestamp.
6645
6646         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6647         Add some more debug info.
6648         For subclasses that are live and like to sync, add aditional startup
6649         latency to sync time and timestamps so that we timstamp according to the
6650         design doc.
6651
6652 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6653
6654         * gst/gstbuffer.c:
6655           Also do a g_type_class_ref() for the subbuffer type in
6656           the init function.
6657
6658 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6659
6660         * docs/gst/gstreamer-sections.txt:
6661         * gst/gstpad.c: (gst_pad_peer_query):
6662         * gst/gstpad.h:
6663         Add function to perform a query on the peer of a pad.
6664         API: gst_pad_peer_query()
6665
6666 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6667
6668         * tests/check/gst/gstsystemclock.c:
6669           Cleanup the test a little (use gst-logging and not g_message). Improve
6670           test to check if a wait reached the target.
6671
6672 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6673
6674         * docs/libs/gstreamer-libs-sections.txt:
6675           Add new API to docs and fix the build.
6676
6677 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6678
6679         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6680         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6681         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6682         (gst_base_src_get_property), (gst_base_src_do_sync):
6683         * libs/gst/base/gstbasesrc.h:
6684         Add property to make the basesrc timestamp buffers based on the current
6685         running time.
6686         API: GstBaseSrc::do-timestamp
6687         API: gst_base_src_set_do_timestamp()
6688         API: gst_base_src_get_do_timestamp()
6689
6690 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6691
6692         * docs/random/release:
6693           Really make sure translations are up-to-date before
6694           a release (#465010).
6695
6696 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6697
6698         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6699         Always destroy the timer, also in error cases.
6700
6701 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6702
6703         * docs/manual/highlevel-xml.xml:
6704         Fix XML example code. Fixes #472714.
6705
6706 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6707
6708         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6709         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6710         (gst_base_sink_query):
6711         Protect eos and have_preroll with the OBJECT lock so we don't need to
6712         take the PREROLL lock when querying the latency. Fixes #473846.
6713
6714 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6715
6716         * gst/gstelement.c:
6717           Give some log-messages a category.
6718
6719 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6720
6721         * gst/gststructure.c:
6722         (gst_structure_fixate_field_nearest_fraction):
6723         Fix fraction list fixation code. Take the fraction with the smallest
6724         difference with the target instead of the first one in the list.
6725
6726         * tests/check/gst/gststructure.c: (GST_START_TEST),
6727         (gst_structure_suite):
6728         Added test to verify correct fraction list fixation behaviour.
6729
6730 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6731
6732         * win32/common/libgstreamer.def:
6733           Export gst_bus_add_signal_watch too.
6734
6735 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6736
6737         * docs/libs/gstreamer-libs-sections.txt:
6738         Add new methods to docs.
6739
6740         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6741         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6742         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6743         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6744         * libs/gst/base/gstbasesink.h:
6745         Add ts-offset property to fine-tune the synchronisation.
6746         API: GstBaseSink::ts-offset property
6747         API: gst_base_sink_set_ts_offset()
6748         API: gst_base_sink_get_ts_offset()
6749
6750 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
6751
6752         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6753         (gst_base_sink_init), (gst_base_sink_set_sync),
6754         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6755         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6756         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6757         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6758         (gst_base_sink_get_property), (gst_base_sink_change_state):
6759         * libs/gst/base/gstbasesink.h:
6760         Add async property to instruct the sink never to inform the parent about
6761         ASYNC state changes, update docs.
6762         Check argument with g_return_* for the public functions.
6763         API: GstBaseSink::async property
6764         API: gst_base_sink_set_async_enabled()
6765         API: gst_base_sink_is_async_enabled()
6766
6767 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
6768
6769         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6770         Improve debugging.
6771
6772         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6773         (gst_base_src_default_query), (gst_base_src_wait),
6774         (gst_base_src_do_sync), (gst_base_src_change_state):
6775         Rearrange some code so that we can add support for measuring the 
6776         startup latency.
6777
6778 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
6779
6780         * docs/random/ensonic/dynlink.txt:
6781           More thoughs on this.
6782
6783         * plugins/elements/gstcapsfilter.c:
6784           Add bugzilla ticket number to FIXME comment.
6785
6786 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
6787
6788         * docs/design/part-TODO.txt:
6789         * docs/design/part-block.txt:
6790         Update some docs.
6791
6792 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6793
6794         * gst/Makefile.am:
6795           Revert patch which uses $(gst_headers) instead of $^ because it
6796           breaks make dist.
6797
6798 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6799
6800         * tests/check/gst/gstbin.c: (GST_START_TEST):
6801           Fix leaks in the new unit test.
6802
6803 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
6804
6805         * gst/gst.c:
6806           Don't use GST_INFO before the debug system is actually initialised
6807           (shouldn't do any harm, but won't print anything either, so we can
6808           just as well remove it).
6809
6810         * gst/gstinfo.h:
6811           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6812           compilers that don't support variadic macros (such as MSVC), should
6813           check for debug_level <= __gst_debug_min as well, since that's the
6814           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6815           inline helper functions. Should improve performance a bit, but also
6816           makes sure uses of GST_INFO et.al are ignored if the debugging
6817           system isn't initialised yet (instead of printing an assertion
6818           failure).
6819
6820 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
6821
6822         patch by: David Nečas <yeti@physics.muni.cz>
6823
6824         * gst/Makefile.am:
6825           Replace some non portable makefile constructs.
6826
6827 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
6828
6829         * common/gtk-doc-plugins.mak:
6830           Grrrrr. Don't remove the types file on make clean.
6831
6832 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
6833
6834         * tools/gst-launch.1.in:
6835         Add colorspace to example pipeline. Fixes #458274.
6836
6837 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
6838
6839         * docs/random/release:
6840           The release manager should run 'make download-po' before making a
6841           release to make sure translations are up-to-date.
6842
6843         * po/LINGUAS:
6844         * po/be.po:
6845         * po/pl.po:
6846         * po/rw.po:
6847           Add some new translations.
6848
6849 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
6850
6851         * tools/gst-launch.c: (event_loop), (main):
6852         Don´t try to do any state management when a live pipeline posts
6853         buffering messages.
6854         Also make the buffering string translatable.
6855
6856 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6857
6858         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6859         (bin_handle_async_start), (gst_bin_handle_message_func):
6860         Improve debugging.
6861         When adding elements, insert messages into the bus of the newly added
6862         element and make sure the element is the source of the message. This
6863         allows the parent bin to intercept the message and do the
6864         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6865         messages to the app (which is not allowed).
6866         Update some docs.
6867
6868         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6869         Fix testsuite so that is does not work around messages that should not
6870         have been posted in the first place.
6871
6872 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6873
6874         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6875         (update_degree), (gst_bin_sort_iterator_next):
6876         Fix annoying bug in the sorted iterator where a sink that is not really
6877         a sink (when it has downstream links) screwed up the iterator.
6878
6879         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6880         Unit test to verify the fix.
6881
6882 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6883
6884         * gst/gstmessage.h:
6885         Add some more docs for the messages.
6886
6887         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6888         (gst_base_sink_query):
6889         Add some more debugging.
6890
6891         * tools/gst-launch.c: (event_loop):
6892         When interrupting, don't try to set pipeline to PAUSED twice.
6893
6894 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
6895
6896         
6897         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6898         (bin_handle_async_start), (gst_bin_handle_message_func):
6899         Move ASYNC_START message posting to where it belongs, similar to
6900         async_done. 
6901         Don't post ASYNC_START when we are in error. 
6902         Post ASYNC_START when we added an async element to a bin.
6903
6904 2007-08-14  Julien MOUTTE  <julien@moutte.net>
6905
6906         * gst/gstindex.c: (gst_index_add_association): Fix index entry
6907         generation from vargs. Fixes #466595.
6908
6909 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
6910
6911         * gst/gstbin.c: (gst_bin_element_set_state):
6912         Always change the state of a NO_PREROLL element even if it has ASYNC
6913         elements inside (in case of a bin).
6914
6915         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6916         Unit test for this case.
6917
6918 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
6919
6920         * libs/gst/check/gstbufferstraw.c:
6921         * libs/gst/check/gstcheck.h:
6922         * libs/gst/controller/gstcontroller.c:
6923         * libs/gst/controller/gstcontrolsource.h:
6924         * libs/gst/controller/gstlfocontrolsource.h:
6925         * plugins/elements/gstcapsfilter.h:
6926         * plugins/elements/gstfdsink.h:
6927         * plugins/elements/gstfdsrc.h:
6928           Add more missing docs.
6929
6930 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6931
6932         * gst/gststructure.c:
6933         Add Since tag to docs.
6934
6935 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6936
6937         * docs/gst/gstreamer-sections.txt:
6938         * gst/gststructure.c: (gst_structure_get_uint):
6939         * gst/gststructure.h:
6940         Add function to get uint from a structure.
6941         API: gst_structure_get_uint()
6942
6943 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6944
6945         * gst/gstcaps.c: (gst_caps_set_simple_valist),
6946         (gst_caps_intersect):
6947         Fix proper check for simple caps.
6948
6949 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
6950
6951         * docs/gst/Makefile.am:
6952         * docs/libs/Makefile.am:
6953           Remove cruft and do some cleanups.
6954
6955         * docs/gst/gstreamer-docs.sgml:
6956         * docs/libs/gstreamer-libs-docs.sgml:
6957           Prepare for comming gtkdoc features (rebase against online docs).
6958
6959 2007-08-10  Michael Smith <msmith@fluendo.com>
6960
6961         * docs/gst/gstreamer-sections.txt:
6962           Add gst_registry_add_path to docs.
6963
6964 2007-08-10  Michael Smith <msmith@fluendo.com>
6965
6966         * gst/gstregistry.h:
6967           Add gst_registry_add_path, which was missing from this header.
6968
6969 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6970
6971         * libs/gst/controller/gstlfocontrolsource.c:
6972           Printf format fix.
6973
6974 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6975
6976         * libs/gst/base/gstbasesink.c:
6977           Don't send an async_start message during downwards state change if 
6978           target state is less than READY
6979
6980 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6981
6982         translated by: Gabor Kelemen <kelemeng@gnome.hu>
6983
6984         * po/LINGUAS:
6985         * po/hu.po:
6986           Added Hungarian translation.
6987
6988 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6989
6990         * po/fi.po:
6991         * po/it.po:
6992         * po/nl.po:
6993         * po/sv.po:
6994         * po/uk.po:
6995           Updated translations.
6996
6997 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
6998
6999         * libs/gst/controller/Makefile.am:
7000         Dist gstlfocontrolsourceprivate.h
7001
7002 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7003
7004         * docs/libs/gstreamer-libs.types:
7005         Don't register the enum type gst_lfo_waveform_get_type() in the
7006         .types file - only GObject derived types belong.
7007
7008 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7009
7010         Patch by: <arenevier at fdn dot fr>
7011
7012         * gst/gstbuffer.h:
7013         Remove comma from last element in enum to avoid compile errors when
7014         using -pendantic. Fixes #464366.
7015
7016 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7017
7018         * docs/design/part-TODO.txt:
7019         Add some more TODO items
7020
7021         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7022         Improve debugging.
7023
7024         * gst/gstcaps.c: (gst_caps_intersect):
7025         Optimize trivial intersection case between identical caps pointers.
7026
7027         * gst/gstelement.c: (gst_element_continue_state),
7028         (gst_element_set_state_func):
7029         * gst/gstpad.c:
7030         Fix spelling and grammar mistakes.
7031
7032 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7033
7034         * po/POTFILES.in:
7035         * po/POTFILES.skip:
7036           Update POTFILES. Fixes #461599.
7037
7038 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7039
7040         * gst/gst.c:
7041         Fix confusing typo in debug output.
7042
7043 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7044
7045         reviewed by: Stefan Kost <ensonic@users.sf.net>
7046
7047         * libs/gst/controller/Makefile.am:
7048         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7049         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7050         (gst_lfo_control_source_new),
7051         (gst_lfo_control_source_set_waveform),
7052         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7053         (gst_lfo_control_source_finalize),
7054         (gst_lfo_control_source_dispose),
7055         (gst_lfo_control_source_set_property),
7056         (gst_lfo_control_source_get_property),
7057         (gst_lfo_control_source_class_init):
7058         * libs/gst/controller/gstlfocontrolsource.h:
7059         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7060         API: Add GstLFOControlSource, a control source that gives values
7061         for specific timestamps based on several periodic waveforms.
7062         Fixes #459717.
7063
7064         * tests/check/libs/controller.c: (GST_START_TEST),
7065         (gst_controller_suite):
7066         * docs/libs/gstreamer-libs-docs.sgml:
7067         * docs/libs/gstreamer-libs-sections.txt:
7068         * docs/libs/gstreamer-libs.types:
7069         Add documentation and unit tests for GstLFOControlSource.
7070
7071 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7072
7073         * configure.ac:
7074         Back to CVS
7075
7076 === release 0.10.14 ===
7077
7078 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7079
7080         * configure.ac:
7081           releasing 0.10.14, "Breathing Vacuum"
7082
7083 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7084
7085         * gst/gstelement.c: (gst_element_class_set_details_simple):
7086         * gst/gstelement.h:
7087           Make strings passed to gst_element_class_set_details_simple()
7088           constant, as they should be (#462752).
7089
7090 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7091
7092         * gst/gstbin.c: (gst_bin_change_state_func),
7093         (bin_handle_async_done), (gst_bin_handle_message_func):
7094         Don't forget about the fact that some element went ASYNC even after a
7095         resync. This makes us post the ASYNC_DONE message correctly.
7096         Fixes #462558.
7097
7098 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7099
7100         * gst/gstregistry.c: (gst_registry_add_feature):
7101         When replacing an existing feature in the registry, make sure to
7102         continue holding a reference until we've replaced the name string
7103         within our feature hash table. Make sure to use g_hash_table_replace
7104         instead of g_hash_table_insert to ensure the new name string is used
7105         as a key instead of the old one that we're about to free.
7106         Fixes: #462085
7107
7108 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7109
7110         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7111         (gst_plugin_feature_set_name):
7112         Revert patch from #459466 until after the release and we can work
7113         out exactly what the problem is (if any).
7114
7115 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7116
7117         * docs/gst/gstreamer-sections.txt:
7118         * gst/gsttaglist.c:
7119         * gst/gsttaglist.h:
7120           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7121
7122 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7123
7124         * docs/libs/Makefile.am:
7125         Include our build-prefix libs and includes before the generic ones to
7126         avoid linking against the installed libs when we want the build-tree
7127         ones.
7128
7129 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7130
7131         Patch by: Steve Fink  <sphink gmail com>
7132
7133         * docs/pwg/building-testapp.xml:
7134           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7135           if people try to build or install the example from the plugin
7136           template against a GStreamer from package using the configure
7137           defaults.
7138
7139 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7140
7141         Patch by: Steve Fink  <sphink gmail com>
7142
7143         * tools/gst-inspect.1.in:
7144           Document --print-all and --print-plugin-auto-install-info command
7145           line options in man page.
7146
7147 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7148
7149         * docs/gst/gstreamer-sections.txt:
7150         Add docs for new api function.
7151
7152 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7153
7154         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7155         * gst/gstelementfactory.h:
7156         API: gst_element_factory_has_interface()
7157         Added method to check if an element factory implements a named
7158         interface.
7159
7160 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7161
7162         * configure.ac:
7163         * docs/gst/gstreamer.types.in:
7164           Another conditional doc check.
7165
7166         * gst/gstmessage.c:
7167         * gst/gstparamspecs.h:
7168         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7169         * gst/gstvalue.c:
7170         * gst/gstxml.h:
7171           API-doc fixes.
7172
7173 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7174
7175         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7176         (gst_registry_binary_load_feature),
7177         (gst_registry_binary_load_plugin),
7178         (gst_registry_binary_read_cache):
7179           Print error just once and with additional info.
7180
7181 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7182
7183         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7184         (helper_find_suggest), (helper_find_get_length),
7185         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7186         (gst_type_find_helper_for_buffer):
7187           Cleanup the typefindhelper code and add private doc comments.
7188
7189 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7190
7191         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7192         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7193         Fix capsfilter for cases where the caps set on capsfilter will provide
7194         additional information.
7195         Fixes #449197
7196
7197 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7198
7199         * gst/gsttypefindfactory.c:
7200           Fix docs that recommened wrong function to use.
7201
7202 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7203
7204         * tools/gst-inspect.c: (print_plugin_features):
7205           Also give media-type for typefinders in element output.
7206
7207 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7208
7209         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7210         (gst_registry_remove_features_for_plugin_unlocked),
7211         (gst_registry_add_feature), (gst_registry_remove_feature),
7212         (gst_registry_lookup_feature_locked):
7213         * gst/gstregistry.h:
7214           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7215           Fixes #459501.
7216
7217 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7218
7219         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7220         (gst_plugin_feature_set_name):
7221           Avoid double memory usage for pluginfeature names. Fixes #459466.
7222
7223 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7224
7225         * gst/gstpad.h:
7226           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7227           driving the pipeline may need to explicitly check for NOT_LINKED as
7228           well, since IS_FATAL doesn't cover that.
7229
7230 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7231
7232         * docs/pwg/advanced-types.xml:
7233           Fix typo and duplicate entry in video formats list.
7234
7235 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7236
7237         * libs/gst/controller/gstinterpolation.c:
7238         Also round to the nearest int when using cubic interpolation.
7239
7240 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7241
7242         * libs/gst/controller/gstinterpolation.c:
7243         When linearly interpolating integer types, round to the nearest int
7244         by adding 0.5. Don't do it for float/double types.
7245         Fixes the failing controller test on my machine, which is somehow
7246         rounding differently than on the buildbots.
7247
7248 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7249
7250         * tools/gst-plot-timeline.py:
7251           Better log parsing (categories can have -). Adjust text vs. lines, so
7252           that they span the same y-range.        
7253
7254 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7255
7256         * docs/random/ensonic/audiobaseclasses.txt:
7257         * docs/random/ensonic/dynlink.txt:
7258         * docs/random/ensonic/profiling.txt:
7259           Save my thoughts.
7260
7261         * docs/random/moving-plugins:
7262           Add note to use g_assert type macros.
7263
7264 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7265
7266         * configure.ac:
7267         * libs/gst/check/Makefile.am:
7268           Add libm check as we use in for plugins.
7269
7270 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7271
7272         * gst/gstbin.c: (gst_bin_continue_func):
7273         Check that the state_cookie hasn't changed since the continue_func
7274         was scheduled. Avoids problems where the state changes back to
7275         something it shouldn't be because it was changed in the meantime.
7276
7277 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7278
7279         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7280         (gst_registry_binary_save_string),
7281         (gst_registry_binary_save_pad_template),
7282         (gst_registry_binary_save_feature),
7283         (gst_registry_binary_save_plugin),
7284         (gst_registry_binary_load_feature),
7285         (gst_registry_binary_load_plugin),
7286         (gst_registry_binary_read_cache):
7287           Fix memory leak. Be less verbose in the log.
7288
7289 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7290
7291         * tests/check/elements/.cvsignore:
7292         Add file to cvsignore as commanded.
7293
7294 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7295
7296         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7297         (mq_dummypad_event), (run_output_order_test):
7298         Use a GStaticMutex to protect all cases where libcheck
7299         fail_if/fail_unless macros might be called from multiple threads
7300         simultaneously to avoid errors like:
7301           "check_pack.c:107: :-1081725400:Bad message type arg"
7302
7303 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7304
7305         * tests/check/pipelines/stress.c: (GST_START_TEST):
7306         Make sure we set the pipeline back to the NULL state before
7307         dropping our final reference.
7308
7309 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7310
7311         * tests/check/elements/tee.c: (GST_START_TEST):
7312         Make the tee stress-test a little less stressful so it doesn't just
7313         time out on slow-machines, and remove a small race when it's starting 
7314         up by adding a get_state() call.
7315
7316 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7317
7318         * gst/gst.c:
7319           Avoid reading registry twice on startup. Fixes #457322.
7320
7321 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7322
7323         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7324         * pkgconfig/gstreamer-check.pc.in:
7325         Substitute the CFLAGS for libcheck into our .pc file too so that
7326         dependent modules will pick it up properly if libcheck is installed
7327         into some other prefix.
7328
7329 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7330
7331         * configure.ac:
7332         Revert the pkg-config check for libcheck, since it pulls in the
7333         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7334         a proper solution, either from the check project, or something else.
7335
7336 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7337
7338         * configure.ac:
7339           Use pkg-config to locate check.
7340
7341 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7342
7343         * gst/gsttaglist.c:
7344           Fix doc syntax.
7345
7346         * gst/gstutils.c:
7347         * gst/gstutils.h:
7348           Add deprecation guards.
7349
7350         * libs/gst/base/gstcollectpads.h:
7351           Don't document object (this is implicitly private).
7352
7353 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7354
7355         * gst/gststructure.c: (gst_structure_parse_value):
7356           When deserialising foo=bar without a type cast, check if it's a
7357           boolean before falling back to a string type, otherwise things like
7358           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7359           because the filtercaps end up having a signed=(string)true field,
7360           which causes problems later when intersection caps.
7361
7362         * tests/check/gst/gststructure.c: (GST_START_TEST):
7363           Add a unit test for this.
7364
7365 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7366
7367         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7368
7369         * libs/gst/controller/Makefile.am:
7370         * libs/gst/controller/gstcontroller.c:
7371         (gst_controlled_property_add_interpolation_control_source),
7372         (gst_controlled_property_new), (gst_controlled_property_free),
7373         (gst_controller_find_controlled_property),
7374         (gst_controller_new_valist), (gst_controller_new_list),
7375         (gst_controller_new), (gst_controller_remove_properties_valist),
7376         (gst_controller_remove_properties_list),
7377         (gst_controller_remove_properties),
7378         (gst_controller_set_property_disabled),
7379         (gst_controller_set_disabled), (gst_controller_set_control_source),
7380         (gst_controller_get_control_source), (gst_controller_get),
7381         (gst_controller_sync_values), (gst_controller_get_value_array),
7382         (_gst_controller_dispose), (gst_controller_get_type),
7383         (gst_controlled_property_set_interpolation_mode),
7384         (gst_controller_set), (gst_controller_set_from_list),
7385         (gst_controller_unset), (gst_controller_unset_all),
7386         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7387         * libs/gst/controller/gstcontroller.h:
7388         * libs/gst/controller/gstcontrollerprivate.h:
7389         * libs/gst/controller/gstcontrolsource.c:
7390         (gst_control_source_class_init), (gst_control_source_init),
7391         (gst_control_source_get_value),
7392         (gst_control_source_get_value_array), (gst_control_source_bind):
7393         * libs/gst/controller/gstcontrolsource.h:
7394         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7395         (gst_object_get_control_source):
7396         * libs/gst/controller/gstinterpolation.c:
7397         (gst_interpolation_control_source_find_control_point_node),
7398         (gst_interpolation_control_source_get_first_value),
7399         (_interpolate_none_get), (interpolate_none_get),
7400         (interpolate_none_get_boolean_value_array),
7401         (interpolate_none_get_enum_value_array),
7402         (interpolate_none_get_string_value_array),
7403         (_interpolate_trigger_get), (interpolate_trigger_get),
7404         (interpolate_trigger_get_boolean_value_array),
7405         (interpolate_trigger_get_enum_value_array),
7406         (interpolate_trigger_get_string_value_array):
7407         * libs/gst/controller/gstinterpolationcontrolsource.c:
7408         (gst_control_point_free), (gst_interpolation_control_source_reset),
7409         (gst_interpolation_control_source_new),
7410         (gst_interpolation_control_source_set_interpolation_mode),
7411         (gst_interpolation_control_source_bind),
7412         (gst_control_point_compare), (gst_control_point_find),
7413         (gst_interpolation_control_source_set_internal),
7414         (gst_interpolation_control_source_set),
7415         (gst_interpolation_control_source_set_from_list),
7416         (gst_interpolation_control_source_unset),
7417         (gst_interpolation_control_source_unset_all),
7418         (gst_interpolation_control_source_get_all),
7419         (gst_interpolation_control_source_get_count),
7420         (gst_interpolation_control_source_init),
7421         (gst_interpolation_control_source_finalize),
7422         (gst_interpolation_control_source_dispose),
7423         (gst_interpolation_control_source_class_init):
7424         * libs/gst/controller/gstinterpolationcontrolsource.h:
7425         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7426         API: Refactor GstController into the core controller which can take
7427         a GstControlSource for providing actual values for timestamps.
7428         Implement a interpolation control source and use this for backward
7429         compatibility, deprecate a bunch of functions that are now handled
7430         by GstControlSource or GstInterpolationControlSource.
7431         Make it possible to disable the controller completely or only for
7432         specific properties. Fixes #450711.
7433         * docs/libs/gstreamer-libs-docs.sgml:
7434         * docs/libs/gstreamer-libs-sections.txt:
7435         * docs/libs/gstreamer-libs.types:
7436         Add new functions and classes to the docs.
7437         * tests/check/libs/controller.c: (GST_START_TEST),
7438         (gst_controller_suite):
7439         * tests/examples/controller/audio-example.c: (main):
7440         Port unit test and example to the new API and add some new
7441         unit tests.
7442
7443 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7444
7445         Patch by: Mark Nauwelaerts <manauw at skynet be>
7446
7447         * plugins/elements/gstmultiqueue.c:
7448         (gst_multi_queue_get_internal_links), (apply_buffer),
7449         (single_queue_overrun_cb), (gst_single_queue_new):
7450         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7451         the pipeline layout can be tracked correctly. Fixes #453732.
7452
7453 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7454
7455         * docs/gst/Makefile.am:
7456         * docs/libs/Makefile.am:
7457         * docs/plugins/Makefile.am:
7458           Simplify --extra-dir as gtkdoc scans recursively.
7459
7460 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7461
7462         * tools/gst-launch.c: (main):
7463         When we got an error, there is no point in waiting for preroll when
7464         shutting down.
7465
7466 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7467
7468         * plugins/elements/gsttee.c: (gst_tee_base_init),
7469         (gst_tee_request_new_pad), (gst_tee_release_pad),
7470         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7471         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7472         (gst_tee_chain):
7473         Be a lot smarter when deciding what srcpad to use for proxying
7474         the buffer_alloc. Also handle pad added/removed when doing so.
7475         Fixes #357959.
7476         Keep track of what pads we already pushed on in case we have pads
7477         added/removed while pushing. Fixes #374639 
7478
7479         * tests/check/Makefile.am:
7480         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7481         (tee_suite):
7482         Added unit test for pad resync.
7483
7484 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7485
7486         * po/nl.po:
7487         * po/sv.po:
7488           Updated translations.
7489
7490 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7491
7492         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7493
7494         * po/LINGUAS:
7495         * po/fi.po:
7496           Added new Finnish translation.
7497
7498 2007-06-28  Wim Taymans  <wim@fluendo.com>
7499
7500         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7501         (single_queue_overrun_cb):
7502         When figuring out when a queue is filled, use our internal time estimate
7503         based on segments, just like check_full does.
7504
7505 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7506
7507         * gst/gstminiobject.c: (gst_mini_object_get_type):
7508           Remove 3 do-nothing methods.
7509
7510 2007-06-27  Wim Taymans  <wim@fluendo.com>
7511
7512         Patch by: Tim Angus <tim at ngus dot net>
7513
7514         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7515         (gst_capsfilter_set_property):
7516         Take a reference instead of a copy when setting "caps".
7517         Fix documentation to clarify this behaviour. Fixes #449414.
7518
7519 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7520
7521         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7522         * gst/gstplugin.c: (gst_plugin_init):
7523         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7524         * gst/gstquery.c: (gst_query_get_type):
7525         * gst/gstregistry.c: (gst_registry_init):
7526         * gst/gsturi.c: (gst_uri_handler_base_init):
7527           Remove empty instance_init() functions to save relocs and lessen the
7528           noise. Remove some of the function prototypes that are doubled by
7529           G_DEFINE_TYPE.
7530           
7531 2007-06-27  Wim Taymans  <wim@fluendo.com>
7532
7533         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7534
7535         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7536         Add peer and direction in the XML serialisation of ghostpads.
7537         Fixes #449226.
7538
7539 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7540
7541         * configure.ac:
7542           Preserve useful information, thanks Tim.
7543
7544 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7545
7546         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7547         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7548         (gst_single_queue_push_one), (gst_multi_queue_loop),
7549         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7550         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7551         (compute_high_id), (gst_single_queue_new):
7552         * plugins/elements/gstmultiqueue.h:
7553         Take the multiqueue lock when updating the fill level so we don't get
7554         confused. 
7555
7556         After applying a buffer or event on the src pad segment, make sure to
7557         call gst_data_queue_limits_changed() to get the data queue to unblock
7558         and check the filled state again.
7559         
7560         Rework the not-linked pad handling so the logic is that not-linked 
7561         pads can push as fast as they like, but only so they never get 
7562         ahead of any linked pads.
7563
7564         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7565         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7566         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7567
7568         Add a test to check that not-linked pads always stay behind
7569         linked pads.
7570
7571         Fixes: #430682
7572
7573 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7574
7575         * docs/random/release:
7576           Some updates to the release procedure.
7577
7578 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7579
7580         * gst/gstelementfactory.c: (__gst_element_details_clear):
7581           Microoptimization that saves stunning 80 bytes.
7582
7583 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7584
7585         * docs/plugins/gstreamer-plugins.args:
7586         * docs/plugins/inspect/plugin-coreelements.xml:
7587         * docs/plugins/inspect/plugin-coreindexers.xml:
7588           Update docs with caps info.
7589
7590 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7591
7592         * po/it.po:
7593           Updated Italian translation.
7594
7595 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7596
7597         * ChangeLog:
7598         * po/vi.po:
7599           Update Vietnamese translations.
7600
7601 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7602
7603         * libs/gst/base/gstbasesink.c:
7604           Remove unused signal enum.
7605
7606 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7607
7608         * docs/gst/gstreamer-sections.txt:
7609         * gst/gstelement.c:
7610         * gst/gstutils.c: (gst_type_register_static_full):
7611         Beef up and include the docs for gst_type_register_static_full and
7612         gst_element_class_set_details_simple and add the API keyword
7613         in the ChangeLog.
7614
7615 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7616
7617         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7618         (update_time_level), (gst_single_queue_push_one),
7619         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7620         (single_queue_overrun_cb), (single_queue_underrun_cb),
7621         (single_queue_check_full):
7622         Fix setting max-* properties after adding queues.
7623         Use IS_FILLED for checking visible items.
7624         Signal overrun if multiple queues overrun.
7625         Add extra debug output.
7626         Patch by: Wim Taymans <wim@fluendo.com>
7627
7628 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7629
7630         * gst/gstelement.c: (gst_element_class_set_details_simple):
7631         * gst/gstelement.h:
7632         * gst/gstutils.c: (gst_type_register_static_full):
7633         * gst/gstutils.h:
7634         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7635         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7636         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7637         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7638         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7639         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7640         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7641         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7642         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7643         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7644         (apply_buffer), (gst_queue_chain):
7645         * plugins/elements/gsttee.c: (gst_tee_base_init):
7646         * plugins/elements/gsttypefindelement.c:
7647         (gst_type_find_element_base_init),
7648         (gst_type_find_element_class_init):
7649           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7650           API: add gst_type_register_static_full
7651           API: add gst_element_class_set_details_simple
7652
7653 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7654
7655         * docs/pwg/advanced-types.xml:
7656           Fix typo in iana.org URI.
7657
7658 2007-06-19  Andy Wingo  <wingo@pobox.com>
7659
7660         * tests/check/pipelines/simple-launch-lines.c
7661         (test_state_change_returns): Enable pull-mode tests now that
7662         basesink has been fixed.
7663
7664         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7665         Changed from gst_base_sink_is_prerolled, reversing the sense of
7666         the return value. Returns FALSE also if the sink is in pull mode,
7667         in which case it needs no preroll.
7668         (gst_base_sink_query, gst_base_sink_change_state): Update for
7669         needs_preroll change.
7670         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7671         chaining up, in which we return SUCCESS directly if we activated
7672         in pull mode instead of ASYNC. Involves countering an async_start
7673         message sent before chaining up; not sure if this is correct, in
7674         an ideal world we only send async-start when activating in push
7675         mode.
7676
7677         * tests/check/pipelines/simple-launch-lines.c
7678         (test_state_change_returns): New test, partially disabled until
7679         basesink is fixed.
7680
7681 2007-06-19  Wim Taymans  <wim@fluendo.com>
7682
7683         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7684         (gst_multi_queue_sink_event):
7685         Fix event leak.
7686
7687 2007-06-19  Wim Taymans  <wim@fluendo.com>
7688
7689         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7690         (gst_bin_change_state_func), (bin_push_state_continue),
7691         (bin_handle_async_start), (bin_handle_async_done),
7692         (gst_bin_handle_message_func):
7693         Move the common code for posting state-change messages into
7694         one function.
7695         Broadcast the state signal after we posted the messages.
7696         Mark the bin as busy when it's doing a state-change.
7697         Make sure async-start/done messages don't interfere with the bin's
7698         state when it's busy.
7699         After the state change, let the bin check which elements completed the
7700         state change while it was busy so that it can update its state.
7701
7702 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7703
7704         * docs/random/release:
7705         Add a note about updating the doap file to the release checklist
7706
7707 2007-06-18  Wim Taymans  <wim@fluendo.com>
7708
7709         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7710         (gst_single_queue_push_one), (gst_multi_queue_chain),
7711         (gst_multi_queue_sink_event):
7712         Make sure we don't reference the buffer/event after we have given away
7713         ownership in the queue.
7714
7715 2007-06-18  Wim Taymans  <wim@fluendo.com>
7716
7717         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7718         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7719         Update queue state _after_ adding the item in the queue because else we
7720         could end up being full without the element added yet.
7721
7722 2007-06-18  Wim Taymans  <wim@fluendo.com>
7723
7724         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7725         (gst_bin_remove_func), (gst_bin_get_state_func),
7726         (gst_bin_element_set_state), (gst_bin_continue_func),
7727         (bin_push_state_continue), (bin_handle_async_start),
7728         (bin_handle_async_done), (gst_bin_handle_message_func):
7729         * gst/gstbin.h:
7730         Immediatly commit the toplevel bin state when receiving an async-done
7731         message. This enables us to avoid spawning a thread to commit the state
7732         in some common cases and it also avoids some races.
7733         Avoid spawning a state thread when adding/removing async elements to a
7734         toplevel bin. Instead we immediatly update the bin state.
7735         Get rid of iterating all the children when getting the state in the bin
7736         because it is now always up-to-date.
7737         Fix bug where locked elements would always return _SUCCESS even it they
7738         returned NO_PREROLL before being locked.
7739         Fix the order of the state_change, async-start/done messages that was
7740         sometimes incorrect.
7741         Mark the state_dirty field as deprecated, we don't need it anymore as we
7742         are always up-to-date.
7743
7744         * gst/gstelement.c: (gst_element_get_state_func),
7745         (gst_element_continue_state):
7746         Small debug inprovements.
7747         Return the previous element state return when nothing is pending instead
7748         of blindly returning SUCCESS.
7749
7750         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7751         (gst_sinks_suite):
7752         Add a whole bunch of new testcases.
7753
7754 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
7755
7756         * po/uk.po:
7757         * po/vi.po:
7758           Update translations.
7759
7760 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
7761
7762         * gst/gstpad.c:
7763         Fix typo in the docs.
7764
7765 2007-06-15  Wim Taymans  <wim@fluendo.com>
7766
7767         * docs/libs/gstreamer-libs-sections.txt:
7768         Add docs for new methods.
7769
7770 2007-06-15  Wim Taymans  <wim@fluendo.com>
7771
7772         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7773         (gst_multi_queue_item_new):
7774         Don't use GSlice because we don't depend on >= 2.10 yet.
7775
7776 2007-06-15  Wim Taymans  <wim@fluendo.com>
7777
7778         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7779         (update_time_level), (apply_segment), (apply_buffer),
7780         (gst_single_queue_push_one), (gst_multi_queue_item_new),
7781         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7782         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7783         (single_queue_underrun_cb), (single_queue_check_full):
7784         Remove debug printf.
7785
7786 2007-06-15  Wim Taymans  <wim@fluendo.com>
7787
7788         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7789         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7790         (gst_data_queue_set_flushing), (gst_data_queue_push),
7791         (gst_data_queue_pop), (gst_data_queue_drop_head),
7792         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7793         * libs/gst/base/gstdataqueue.h:
7794         Various cleanups.
7795         Added methods to get the current levels and to inform the queue that the
7796         'full' limits changed.
7797
7798         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7799         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7800         (gst_single_queue_flush), (update_time_level), (apply_segment),
7801         (apply_buffer), (gst_single_queue_push_one),
7802         (gst_multi_queue_item_steal_object),
7803         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7804         (gst_multi_queue_loop), (gst_multi_queue_chain),
7805         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7806         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7807         (gst_multi_queue_src_query), (single_queue_overrun_cb),
7808         (single_queue_underrun_cb), (single_queue_check_full),
7809         (gst_single_queue_new):
7810         Keep track of time in the queue by measuring the difference between
7811         running_time on input and output. This gives more accurate results and
7812         can compensate for segments correctly.
7813         Make a queue by default only 5 buffers deep. We will now increase the
7814         buffer size depending on the filledness of the other queues.
7815         Factor out commong flush code.
7816         Make sure we don't add additional refcounts to buffers when we can avoid
7817         it.
7818         Propagate GstFlowReturn differently.
7819         Use GSlice for intermediate GstMultiQueueItems.
7820         Keep track of EOS.
7821         Resize queues on over and underruns based on filled level of other
7822         queues.
7823         When checking if the queue is filled, prefer to measure in time if we
7824         can and fall back to bytes when no time is known.
7825
7826         * plugins/elements/gstqueue.c:
7827         Fix return value.
7828
7829 2007-06-15  Wim Taymans  <wim@fluendo.com>
7830
7831         * libs/gst/base/gstbasetransform.c:
7832         (gst_base_transform_sink_event):
7833         Work around the brokenness of the event vmethod in basetransform. Prefer
7834         to return TRUE when the subclass returned FALSE (meaning don't forward
7835         the event). 
7836
7837         * libs/gst/base/gstbasetransform.h:
7838         Clarify the docs.
7839
7840 2007-06-15  Wim Taymans  <wim@fluendo.com>
7841
7842         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7843         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7844         (gst_base_src_default_query), (gst_base_src_get_range),
7845         (gst_base_src_start):
7846         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7847         Improve debugging.
7848
7849 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7850
7851         * docs/pwg/advanced-types.xml:
7852           Added more formats to caps table.
7853
7854 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7855
7856         * tools/gst-launch.c: (main):
7857           Remove crufy code. GOption does not need this workaround.
7858
7859 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7860
7861         * libs/gst/controller/gstcontroller.c:
7862         (gst_controlled_property_set_interpolation_mode):
7863           Fix wrong getter for enums in controller.
7864
7865 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7866
7867         * libs/gst/check/gstcheck.c: (gst_check_init):
7868           Intercept criticals and warnings in the Gst-Phonon log domain, so
7869           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7870           well.
7871         
7872 2007-06-14  Edward Hervey  <edward@fluendo.com>
7873
7874         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7875         Since this file doesn't include "gst.h" it will not go through the
7876         macros that disable GST_LOG if debugging was disabled.
7877
7878 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7879
7880         * libs/gst/check/Makefile.am:
7881         * libs/gst/check/gstcheck.h:
7882         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7883         * pkgconfig/gstreamer-check.pc.in:
7884           Ugly 'fix' for the controller unit test on the p5 bot: in
7885           fail_unless_equals_float() check whether the values are 'almost
7886           equal' by allowing a small absolute error, which should be good
7887           enough for our use cases (normal numbers and values close to 0).
7888           Proper fixage left to floating point arithmetic aficionados.
7889
7890 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7891
7892         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7893         (gst_base_sink_render_object), (gst_base_sink_get_position):
7894           Add two breaks thats where missing.
7895
7896 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7897
7898         * docs/libs/gstreamer-libs-sections.txt:
7899         * libs/gst/check/gstcheck.h:
7900           API: add fail_unless_equals_float() and assert_equals_float().
7901           Add documentation for some of the macros.
7902
7903         * tests/check/libs/controller.c: (GST_START_TEST):
7904           Use newly-added asserts.
7905
7906 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7907
7908         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7909           Show the caps change in the log to help spotting the case of not
7910           exactly matching caps.
7911
7912 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7913
7914         * docs/pwg/building-boiler.xml:
7915           Fix typos, spotted by Thijs Vermeir (#447190).
7916
7917 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
7918
7919         * docs/plugins/tmpl/.cvsignore:
7920         Ignore file to keep the buildbots happy
7921
7922 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
7923
7924         * docs/plugins/Makefile.am:
7925         * docs/plugins/gstreamer-plugins-docs.sgml:
7926         * docs/plugins/gstreamer-plugins-sections.txt:
7927         Pull fdsink into the docs too.
7928
7929 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
7930
7931         * libs/gst/controller/gstinterpolation.c:
7932         Actually use the new functions with min/max checks for the trigger and
7933         none interpolation modes for get() and get_value_array() instead of
7934         just the latter.
7935
7936 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
7937
7938         * libs/gst/controller/gstcontroller.c:
7939         (gst_controlled_property_free):
7940         Unset the minimum and maximum GValues when freeing the corresponding
7941         GstControllerProperty struct.
7942
7943 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
7944
7945         * libs/gst/controller/gstcontroller.c:
7946         (gst_controlled_property_new):
7947         * libs/gst/controller/gstcontrollerprivate.h:
7948         * libs/gst/controller/gstinterpolation.c:
7949         (gst_controlled_property_find_control_point_node),
7950         (interpolate_none_get), (interpolate_none_get_enum_value_array),
7951         (interpolate_none_get_string_value_array),
7952         (interpolate_trigger_get),
7953         (interpolate_trigger_get_enum_value_array),
7954         (interpolate_trigger_get_string_value_array):
7955         Protect against values larger or smaller than the minimum or maximum
7956         allowed value for the property when using values that can be compared.
7957
7958         Optimize trigger interpolator a bit by taking the last requested value
7959         into account instead of always looping through the complete list.
7960
7961         Fix coding style a bit, everywhere else we use "return foo" instead
7962         of "return (foo)".
7963         
7964         * tests/check/libs/controller.c: (GST_START_TEST),
7965         (gst_controller_suite):
7966         Add unit test for the protection against too large or too small
7967         values.
7968
7969 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
7970
7971         * docs/random/slomo/controller.txt:
7972         Add some thoughts about the future of the controller.
7973
7974 2007-06-08  Wim Taymans  <wim@fluendo.com>
7975
7976         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7977         Don't overflow in retimestamping code.
7978
7979 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
7980
7981         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7982         Use gst_util_guint64_to_gdouble for conversions.
7983         * win32/common/libgstreamer.def:
7984         Add new exported functions.
7985
7986 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
7987
7988         * gst/gstutils.c:
7989           Small docs addition.
7990
7991 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
7992
7993         * README:
7994           Remove that test line again.
7995
7996 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
7997
7998         * README:
7999           Test commit mail sending.
8000
8001 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8002
8003         * configure.ac:
8004           Fix typo and test commit mail sending.
8005
8006 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8007
8008         * tests/examples/controller/audio-example.c:
8009           Improve comment and test commit mail sending.
8010
8011 2007-06-07  Wim Taymans  <wim@fluendo.com>
8012
8013         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8014         (gst_bin_remove_func), (gst_bin_element_set_state),
8015         (bin_handle_async_start), (bin_handle_async_done),
8016         (gst_bin_handle_message_func):
8017         Add helper function to find messages.
8018         Generate the async-done messages together with the state change
8019         messages.
8020         Small cleanups in handling toplevel bins.
8021
8022 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8023
8024         * libs/gst/base/gstdataqueue.c:
8025         * libs/gst/base/gstdataqueue.h:
8026         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8027         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8028         (gst_multi_queue_sink_event):
8029         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8030           Fix multiqueue leaking buffers and events when downstream or the
8031           queue are flushing. Make refcounting assumptions explicit and
8032           document them (shouldn't break existing code that uses it other than
8033           maybe leak miniobjects, but that already happens anyway). Add unit
8034           test for the most common flushing case. Fixes #423700.
8035           
8036 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8037
8038         * libs/gst/controller/gstcontroller.c:
8039         Clarify docs: The get_all, get_value_array(s) functions
8040         don't modify the GObject properties.
8041
8042 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8043
8044         * libs/gst/controller/gstcontroller.c:
8045         (gst_controlled_property_set_interpolation_mode),
8046         (gst_controlled_property_prepend_default),
8047         (gst_controlled_property_new), (gst_controller_set_unlocked),
8048         (gst_controller_set), (gst_controller_set_from_list),
8049         (gst_controller_unset), (gst_controller_unset_all):
8050         * libs/gst/controller/gstcontrollerprivate.h:
8051         * libs/gst/controller/gstinterpolation.c:
8052         Factor out the 'set' logic into gst_controller_set_unlocked for the
8053         gst_controller_set and gst_controller_set_from_list functions.
8054
8055         To make life of the interpolators easier always add a control point
8056         at timestamp zero with the default value.
8057
8058         In the linear interpolator make things more obvious by better variable
8059         naming (slope).
8060
8061         Implement cubic interpolation mode (by using a natural cubic spline)
8062         and map the quadratic interpolation mode to this too (as quadratic
8063         doesn't make much sense, see discussion on the list).
8064
8065         * tests/check/libs/controller.c: (GST_START_TEST),
8066         (gst_controller_suite):
8067         Add unit test for the cubic interpolation mode and check everywhere
8068         if the interpolation mode could be set as expected.
8069
8070 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8071
8072         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8073           Don't use GLib-2.10 functions, we still depend on
8074           GLib-how-old-is-it-again-2.8.
8075
8076 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8077
8078         * docs/gst/gstreamer-sections.txt:
8079         * gst/Makefile.am:
8080         * gst/gst.c:
8081         * gst/gst.h:
8082         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8083         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8084         (_gst_param_fraction_values_cmp),
8085         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8086         * gst/gstparamspecs.h:
8087         * gst/gstvalue.c:
8088         * tests/check/Makefile.am:
8089         * tests/check/gst/.cvsignore:
8090         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8091         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8092         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8093         (GST_START_TEST), (gst_param_spec_suite):
8094           API: add GstParamSpecFraction, so elements can have fraction
8095           properties without lots of painful string parsing (#444648).
8096
8097 2007-06-05  Wim Taymans  <wim@fluendo.com>
8098
8099         * gst/gstobject.c: (gst_object_class_init):
8100         Fix signal signature.
8101
8102         * gst/gstsegment.c:
8103         Add small clarification in the api docs.
8104
8105         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8106         States are protected with object lock.
8107
8108 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8109
8110         * AUTHORS:
8111         I should probably be listed as an author by now.
8112
8113         * docs/random/release:
8114         Update the release doc
8115
8116 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8117
8118         * gst/gstvalue.c:
8119           Make docs for gst_value_compare() mention return enums that
8120           actually exist.
8121
8122 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8123
8124         * configure.ac:
8125           Back to CVS
8126
8127 === release 0.10.13 ===
8128
8129 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8130
8131         * configure.ac:
8132           releasing 0.10.13, "With or without you"
8133
8134 2007-05-25  Wim Taymans  <wim@fluendo.com>
8135
8136         * gst/gstbin.c: (bin_handle_async_done):
8137         Make sure that the child bin stops after completing the async state
8138         change so that the parent can continue the state change to PLAYING.
8139         Fixes #441159.
8140
8141 2007-05-25  Wim Taymans  <wim@fluendo.com>
8142
8143         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8144         (unref_data), (gst_collect_pads_remove_pad),
8145         (gst_collect_pads_check_pads):
8146         Use additional refcounting to avoid crashes when dynamically adding and
8147         removing pads. Fixes #420206.
8148
8149 2007-05-24  Wim Taymans  <wim@fluendo.com>
8150
8151         * tools/gst-launch.c: (event_loop):
8152         When buffering goes from a two digit to a single digit number, make sure
8153         to remove the old second digit by writing a blank over it.
8154
8155 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8156
8157         * libs/gst/base/gstdataqueue.c:
8158           Eliminate tabs and trailing comma in enum list; fix some typos.
8159
8160 2007-05-24  Wim Taymans  <wim@fluendo.com>
8161
8162         * tests/check/gst/gstbin.c: (GST_START_TEST):
8163         Allow refcount of 3 and 4 because some state thread might still be busy
8164         with it.
8165
8166 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8167
8168         * plugins/elements/Makefile.am:
8169         * plugins/elements/gstmultiqueue.h:
8170         * plugins/elements/gstqueue.h:
8171           These are not installed headers, no need for padding.
8172
8173 2007-05-24  Wim Taymans  <wim@fluendo.com>
8174
8175         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8176         (gst_bin_continue_func):
8177         Enable latency for next release.
8178         Restore STATE_LOCK around recalc_state that was left out during the
8179         rewrite and could result in racy behaviour when _get_state and
8180         recalc_state are run concurrently. See #440463.
8181
8182 2007-05-23  Wim Taymans  <wim@fluendo.com>
8183
8184         * tests/check/gst/gstsystemclock.c: (store_callback),
8185         (GST_START_TEST):
8186         Improve test_async_order to also work when both timers are already
8187         expired when we get scheduled to check it.
8188
8189 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8190
8191         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8192         (gst_bin_set_property), (gst_bin_get_property),
8193         (gst_bin_remove_func), (gst_bin_handle_message_func):
8194         * gst/gstbin.h:
8195           'private' is a c++ keyword, let's not use that in header files,
8196           otherwise c++ compilers will throw a tantrum.
8197
8198 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8199
8200         * plugins/elements/gstelements.c:
8201         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8202         (gst_file_sink_get_current_offset):
8203         * plugins/indexers/gstindexers.c: (plugin_init):
8204           Use #ifdef for HAVE_XYZ for consistency.
8205
8206         * tests/check/Makefile.am:
8207         * tests/check/elements/.cvsignore:
8208         * tests/check/elements/filesink.c: (setup_filesink),
8209         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8210           Add some unit tests for filesink.
8211
8212 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8213
8214         Patch by: Mark Nauwelaerts <manauw at skynet be>
8215
8216         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8217         (gst_file_sink_query), (gst_file_sink_do_seek),
8218         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8219         * plugins/elements/gstfilesink.h:
8220           Fix position reporting; rename data_written member to current_pos to
8221           reflect its real meaning (fixes #412648).
8222
8223 2007-05-22  Edward Hervey  <edward@fluendo.com>
8224
8225         * docs/gst/gstreamer-sections.txt:
8226         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8227         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8228         (gst_bin_remove_func), (gst_bin_handle_message_func):
8229         * gst/gstbin.h:
8230         Add a property for bins that handle the state change of their childs.
8231         Fixes #435880
8232
8233 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8234
8235         * libs/gst/controller/gstinterpolation.c:
8236         Use an array of the correct type when using _get_value_array with
8237         linear interpolation.
8238
8239 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8240
8241         * gst/gstelement.c (gst_element_requires_clock,
8242           gst_element_provides_clock, gst_element_request_pad,
8243           gst_element_class_set_details, gst_element_class_set_details_simple,
8244           gst_element_default_send_event, gst_element_abort_state,
8245           gst_element_continue_state, gst_element_set_state,
8246           gst_element_set_state_func, iterator_activate_fold_with_resync):
8247         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8248           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8249           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8250           gst_pad_get_range, gst_pad_pull_range):
8251         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8252           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8253           GstPadActivateModeFunction, GstPadChainFunction,
8254           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8255           GstPadFixateCapsFunction, GstPadTemplate):
8256         * gst/gstpipeline.c (gst_pipeline_change_state,
8257           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8258           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8259           gst_pipeline_get_delay):
8260           Whitespace and docs fixes.
8261
8262 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8263
8264         * libs/gst/controller/gstinterpolation.c:
8265         (interpolate_trigger_get_enum_value_array),
8266         (interpolate_trigger_get_string_value_array):
8267         Add support for retrieving value arrays when using the trigger
8268         interpolation mode. 
8269
8270 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8271
8272         * libs/gst/controller/gstcontroller.c:
8273         (gst_controller_get_value_array):
8274         * libs/gst/controller/gstcontroller.h:
8275         Clarify the docs of gst_controller_get_value_array(): The array where
8276         the values should be written to must be allocated as there seems to be
8277         no way to get the size of a random GType. This doesn't change any
8278         behaviour. Also fix some typos all over the place and remove an unused,
8279         commented function that is not necessary as g_object_set() could be
8280         used instead.
8281         * tests/check/libs/controller.c: (GST_START_TEST),
8282         (gst_controller_suite):
8283         Add unit test for gst_controller_get_value_array().
8284
8285 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8286
8287         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8288
8289         Disable part of the gst_buffer_try_new_and_alloc test, because
8290         it can happily succeed on 64-bit systems where there's more address
8291         space available.
8292
8293 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8294
8295         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8296         Add unit test for the improved caps checking from bug #421543.
8297
8298 2007-05-21  Wim Taymans  <wim@fluendo.com>
8299
8300         * docs/design/part-synchronisation.txt:
8301         Small addition.
8302
8303         * gst/gstbin.c: (gst_bin_query):
8304         * plugins/elements/gstqueue.c: (apply_segment):
8305         Improve debugging.
8306
8307         * gst/gstmessage.h:
8308         Improve docs.
8309
8310 2007-05-21  Wim Taymans  <wim@fluendo.com>
8311
8312         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8313         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8314         (gst_pad_configure_src):
8315         Added simple version of improved caps checking. It was previously
8316         assumed that a setcaps function would check the validity of the caps but
8317         people prefer us to check caps against the template automatically. 
8318         Fixes #421543.
8319
8320 2007-05-21  Wim Taymans  <wim@fluendo.com>
8321
8322         * libs/gst/base/gstbasetransform.h:
8323         Fix macro for locking/unlocking the transform lock.
8324
8325 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8326
8327         * docs/plugins/tmpl/.cvsignore:
8328           Ignore more.
8329
8330 2007-05-18  Edward Hervey  <edward@fluendo.com>
8331
8332         * plugins/elements/gstqueue.c: (gst_queue_loop):
8333         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8334         for the subtle art of warning a potentially blocking thread that it
8335         should check the source pad return value, and relay the information
8336         upstream.
8337
8338 2007-05-18  Edward Hervey  <edward@fluendo.com>
8339
8340         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8341         Release the queue lock !
8342
8343 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8344
8345         * docs/libs/gstreamer-libs-sections.txt:
8346         Add the two new controller functions to the appropiate places.
8347
8348 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8349
8350         reviewed by: Stefan Kost <ensonic@users.sf.net>
8351
8352         * libs/gst/controller/gstcontroller.c:
8353         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8354         (_gst_controller_get_property), (_gst_controller_set_property),
8355         (_gst_controller_init), (_gst_controller_class_init):
8356         * libs/gst/controller/gstcontroller.h:
8357         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8358         (gst_object_get_control_rate), (gst_object_set_control_rate):
8359         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8360         Add API that provides sync suggestion timestamps for elements that
8361         call gst_object_sync_values() from which those elements can subdivide
8362         their processing loop to get the best results for the controlled
8363         properties. For now it just suggests last_sync + control_rate as
8364         new timestamp but this will be improved in the future.
8365
8366         While doing that change the control-rate property to a GstClockTime
8367         from guint and change it's meaning from samples to nanoseconds as
8368         the GstController doesn't know anything about sampling rate. Strictly
8369         speaking this breaks ABI but as the control-rate property didn't do
8370         anything in the past and as such couldn't be used this should be no
8371         problem.        
8372
8373 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8374
8375         reviewed by: Stefan Kost <ensonic@users.sf.net>
8376
8377         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8378         (gst_controller_unset_all):
8379         * libs/gst/controller/gstcontrollerprivate.h:
8380         * libs/gst/controller/gstinterpolation.c:
8381         (gst_controlled_property_find_control_point_node):
8382         Save last synced value from the list to continue searching from there
8383         in future syncs. This speeds everything up a bit.
8384         
8385 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8386
8387         reviewed by: Stefan Kost <ensonic@users.sf.net>
8388
8389         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8390         (gst_control_point_find), (gst_controlled_property_new),
8391         (gst_control_point_free), (gst_controlled_property_free),
8392         (gst_controller_set), (gst_controller_set_from_list),
8393         (gst_controller_unset), (gst_controller_unset_all),
8394         (gst_controller_sync_values):
8395         * libs/gst/controller/gstcontroller.h:
8396         * libs/gst/controller/gstcontrollerprivate.h:
8397         * libs/gst/controller/gstinterpolation.c:
8398         (gst_controlled_property_find_control_point_node),
8399         (interpolate_none_get), (interpolate_trigger_get):
8400         Add a new private GstControlPoint struct which "inherits" from
8401         GstTimedValue to allow different interpolators to store internal
8402         values next to each control point. From the outside everything is
8403         still a GstControlPoint so we don't loose binary compatibility.
8404         Also fixup all the GValue handling to not leak GValues or list nodes.
8405         * tests/check/libs/controller.c: (GST_START_TEST):
8406         Free the list nodes and GValues in the controller_misc test.
8407
8408 2007-05-17  Edward Hervey  <edward@fluendo.com>
8409
8410         * gst/gstsegment.c:
8411         Small doc fix.
8412
8413 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8414
8415         * gst/gstplugin.c: (gst_plugin_load_file):
8416           If we fail to load a plugin because of unresolved symbols or missing
8417           libraries and spew a warning to stderr, we may just as well mention
8418           which plugin it was that failed to load.
8419
8420 2007-05-13  David Schleef  <ds@schleef.org>
8421
8422         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8423           handles the case when ENABLE_GTK_DOC is false, and installs
8424           the prebuilt documentation.  So gtk-doc subdirs are 
8425           unconditionally enabled.  Fixes: #349099.
8426
8427 2007-05-13  David Schleef  <ds@schleef.org>
8428
8429         * gst/gstutils.h: Reword some documentation.
8430
8431 2007-05-12  David Schleef  <ds@schleef.org>
8432
8433         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8434           do anything with the passed "module" parameter, so remove it.
8435           Allows removal of additional vestigal code.
8436
8437 2007-05-12  David Schleef  <ds@schleef.org>
8438
8439         * gst/gstplugin.c:
8440           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8441           Switch to using g_stat() because it's more portable.
8442
8443 2007-05-12  David Schleef  <ds@schleef.org>
8444
8445         * gst/gst.c:
8446           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8447           parsing for embedded systems.
8448         * gst/gstelementfactory.c:
8449           Allow gst_element_register() to be called with plugin==NULL.
8450           Did nobody notice that static elements were broken?
8451
8452 2007-05-12  Wim Taymans  <wim@fluendo.com>
8453
8454         * tools/gst-launch.c: (event_loop):
8455         Give more interesting info when buffering starts and stops.
8456         Fix case where buffering starts but we fail to update the buffering flag
8457         because the target state is not PLAYING.
8458
8459 2007-05-12  Wim Taymans  <wim@fluendo.com>
8460
8461         * plugins/elements/gstqueue.c: (gst_queue_init),
8462         (gst_queue_finalize), (update_time_level), (apply_segment),
8463         (apply_buffer), (gst_queue_locked_flush),
8464         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8465         (gst_queue_handle_sink_event), (gst_queue_chain),
8466         (gst_queue_push_one), (gst_queue_loop):
8467         * plugins/elements/gstqueue.h:
8468         Refactor an cleanup queue a bit.
8469         Do better time level calculations that also work when the srcpad is not
8470         yet running.
8471         Remove some unneeded debug lines.
8472
8473         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8474         Added testcase for time level measurement.
8475         Try to make some stuff more racefree.
8476
8477 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8478
8479         * gst/gsturi.c: (gst_element_make_from_uri):
8480           Don't leak plugin feature.
8481
8482         * tests/check/Makefile.am:
8483         * tests/check/gst/.cvsignore:
8484         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8485           Add brain-dead unit test.
8486
8487 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8488
8489         Patch by: Jeroen Wouters <woutersj at gmail com>
8490
8491         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8492           Treat protocol strings in a case-insensitive way (#437563).
8493
8494 2007-05-11  Michael Smith <msmith@fluendo.com>
8495
8496         * gst/gstplugin.c: (gst_plugin_load_file):
8497         * gst/gstregistry.c: (gst_registry_scan_path_level):
8498           Don't print a g_warning for any failure to load a shared object.
8499           Instead, push this down into gstplugin.c, and warn _only_ if we
8500           failed to open the module (i.e. failure to link).
8501           Avoids warnings on normal, working, non-plugin .so files.
8502
8503 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8504
8505         * gst/gstplugin.c (gst_plugin_load_file):
8506         * gst/gstregistry.c (GST_CAT_DEFAULT,
8507           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8508           Print a g_warning if there was an error when loading a plugins during
8509           registry scan. The shuld help beginners starting with gst-plugin
8510           template.
8511
8512 2007-05-10  Wim Taymans  <wim@fluendo.com>
8513
8514         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8515         (update_time_level), (gst_queue_locked_flush),
8516         (gst_queue_handle_sink_event), (gst_queue_chain),
8517         (gst_queue_push_one), (gst_queue_loop):
8518         * plugins/elements/gstqueue.h:
8519         Be smarter when calculating the current amount of data in the queue by
8520         measuring the difference between start and end timestamps (in running
8521         time) inside the queue. Fixes #432876.
8522         API: GstQueue::pushing to notify elements that we are pushing data again
8523         since the running signal is rather broken for this purpose.
8524
8525 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8526
8527         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8528           gst_queue_base_init, gst_queue_init):
8529           use GST_BOILERPLATE
8530
8531 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8532
8533         * win32/common/libgstreamer.def:
8534         Add new exported functions.
8535         * win32/vs6/grammar.dsp:
8536         Use grammar pre-generated files.
8537
8538 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8539
8540         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8541
8542         * gst/Makefile.am:
8543         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8544         * gst/gstparse.h:
8545         * gst/gstutils.c: (gst_parse_bin_from_description):
8546         * gst/gstutils.h:
8547           Maintain API and ABI when --disable-parse is used. Now that
8548           we have an appropriate error code, we can just return NULL and the
8549           appropriate error when gst_parse_launch() is used despite it having
8550           been disabled (#342564).
8551
8552         * tests/check/Makefile.am:
8553         * tests/check/pipelines/.cvsignore:
8554         * tests/check/pipelines/parse-disabled.c:
8555           Make sure these functions exist and return NULL plus a GError when
8556           --disable-parse is used.
8557
8558 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8559
8560         * tests/benchmarks/complexity.c: (main):
8561         * tests/benchmarks/mass-elements.c: (main):
8562           Set a good example and don't leak messages.
8563
8564 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8565
8566         * docs/gst/Makefile.am:
8567         * docs/libs/Makefile.am:
8568           Correct fixxrefs options.
8569
8570         * docs/plugins/Makefile.am:
8571         * docs/plugins/gstreamer-plugins-docs.sgml:
8572         * docs/plugins/gstreamer-plugins-sections.txt:
8573         * plugins/elements/Makefile.am:
8574         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8575         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8576           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8577           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8578           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8579           _GstCapsFilterClass, trans_class):
8580         * plugins/elements/gstelements.c (name, rank, type, _elements):
8581         * plugins/elements/gstidentity.c
8582           (gst_identity_check_imperfect_timestamp,
8583           gst_identity_check_imperfect_offset):
8584           Document capsfilter and add doc-blurb to identity.
8585
8586 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8587
8588         * libs/gst/controller/gstcontroller.c:
8589         (gst_controlled_property_set_interpolation_mode):
8590         * libs/gst/controller/gstinterpolation.c:
8591           Don't crash if someone tries to set an interpolation mode that
8592           is invalid or that isn't supported yet. Fixes #422295.
8593
8594         * tests/check/libs/controller.c: (GST_START_TEST),
8595         (gst_controller_suite):
8596           Add a test case for the above.
8597
8598 2007-05-03  Edward Hervey  <edward@fluendo.com>
8599
8600         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8601         Properly set the last_stop position on GstSegment. This will only happen
8602         if there is a buffer to push out.
8603
8604 2007-05-03  Wim Taymans  <wim@fluendo.com>
8605
8606         * libs/gst/base/gstbasetransform.c:
8607         (gst_base_transform_buffer_alloc):
8608         always_in_place does not mean that the sink and source caps are the
8609         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8610
8611 2007-05-03  Wim Taymans  <wim@fluendo.com>
8612
8613         * docs/libs/gstreamer-libs-sections.txt:
8614         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8615         (gst_base_src_default_query), (gst_base_src_get_range):
8616         * libs/gst/base/gstbasesrc.h:
8617         API: gst_base_src_query_latency(). Added method so that subclasses can
8618         easily get the latency values of the base source class.
8619
8620 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8621
8622         * tools/gst-inspect.c (print_implementation_info):
8623         Remove 0.8 cruft.
8624
8625 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8626
8627         * tools/Makefile.am:
8628         * tools/gst-launch.1.in:
8629           Don't create a customised man page based on the host architecture,
8630           describe the default registry path generically. That way the man
8631           page is the same for all architectures and packagers have one
8632           multilib issue less to deal with. Fixes #434926.
8633
8634 2007-05-02  Wim Taymans  <wim@fluendo.com>
8635
8636         * gst/gstpad.c:
8637         Fix documentation as spotted by rg on IRC. 
8638
8639 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8640
8641         * gst/gstutils.c:
8642           Improve docs for gst_element_{link,unlink}.
8643
8644 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8645
8646         * docs/design/part-events.txt:
8647         * docs/design/part-overview.txt:
8648         * gst/gstevent.c:
8649         * gst/gsturi.c:
8650         * gst/gsturi.h:
8651         * libs/gst/base/gstbasesink.c:
8652           Typo fixes; minor docs addition.
8653
8654 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8655
8656         * docs/gst/gstreamer-sections.txt:
8657         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8658         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8659         * gst/gsturi.h:
8660         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8661         or src that supports a given URI protocol exists.
8662
8663 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8664
8665         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8666         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8667         Set the location to NULL if "file://" is set as URI. Otherwise
8668         some random previous URI would still be set if "file://" is
8669         set on an already used filesink/filesrc.
8670
8671 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8672
8673         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8674         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8675         Special case the "file://" URI as as this is used by some
8676         applications to test with gst_element_make_from_uri if there's
8677         an element that supports the URI protocol.
8678         Also move the g_path_is_absolute() check for the location part
8679         of the URI to also check this for "file://localhost/bla" URIs.
8680
8681 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8682
8683         * docs/gst/gstreamer-sections.txt:
8684         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8685         * gst/gstbuffer.h:
8686         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8687         (gst_buffer_suite):
8688           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8689
8690 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8691
8692         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8693         (gst_registry_binary_load_pad_template),
8694         (gst_registry_binary_load_plugin),
8695         (gst_registry_binary_read_cache):
8696         * gst/gstregistrybinary.h:
8697           Implement no-mmap alternative for registry reading. Do code cleanups.
8698           Add more comments about avoiding strdups for all text data. Comments
8699           welcome.
8700
8701 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8702
8703         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8704           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8705           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8706           Comment structs and reformat to fix the build (that stuff should go
8707           into a priv. header).
8708
8709 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8710
8711         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8712         (gst_registry_binary_load_feature):
8713         * gst/gstregistrybinary.h:
8714           Refactor so that we can implement multiple features. Add support for
8715           TypeFindFactory features.
8716
8717 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8718
8719         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8720
8721         * configure.ac:
8722           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8723
8724 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8725
8726         * gst/gstbin.c: (gst_bin_element_set_state),
8727         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8728         (bin_handle_async_done), (gst_bin_handle_message_func):
8729           Fix build with --gst-disable-gst-debug
8730
8731 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8732
8733         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8734           Make sure streaming has finished before calling the ::stop() vfunc,
8735           since that vfunc might clear state which is being used in the
8736           streaming thread. This fixes a race that caused crashes in
8737           audioresample when shutting down a pipeline (#420106).
8738
8739 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8740
8741         * docs/gst/gstreamer-sections.txt:
8742           That was one byte missing.
8743
8744 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8745
8746         * configure.ac:
8747         * docs/gst/gstreamer-sections.txt:
8748         * gst/Makefile.am:
8749         * gst/gstconfig.h.in:
8750         * gst/gstobject.c: (gst_object_class_init),
8751         (gst_signal_object_class_init):
8752         * gst/gstobject.h:
8753           2nd attempt to have a xml-less build as a joined effort of #413123
8754           and #421480.
8755
8756 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8757
8758         * docs/design/draft-tagreading.txt:
8759           Added open issues/thoughts to draft.
8760
8761 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8762
8763         * gst/parse/grammar.tab.pre.c:
8764         * gst/parse/grammar.tab.pre.h:
8765         * gst/parse/lex._gst_parse_yy.pre.c:
8766         Update the prebuild parser sources.
8767
8768 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8769
8770         * gst/parse/Makefile.am:
8771         And now fix the building of the flex sources. Now everything should
8772         work as expected.
8773
8774 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8775
8776         * gst/parse/Makefile.am:
8777         Now hopefully fix the build failures by setting proper rule
8778         dependencies and moving instead of copying.
8779
8780 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8781
8782         * tests/benchmarks/complexity.gnuplot:
8783         * tests/benchmarks/complexity.scm:
8784         * tests/benchmarks/mass-elements.gnuplot:
8785         * tests/benchmarks/mass-elements.scm:
8786           Total licensification.
8787
8788 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8789
8790         * gst/parse/Makefile.am:
8791           Fix the build by correcting the rule that gave wrong files to flex.
8792
8793 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8794
8795         * tests/benchmarks/complexity.c:
8796         * tests/benchmarks/mass-elements.c:
8797           Change licence to LGPL as granted by Benjamin and Andy.
8798
8799 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8800
8801         * gst/parse/Makefile.am:
8802         Add correct grammar.tab.h dependency if compiling without new enough
8803         flex. Fixes #431150.
8804
8805 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8806
8807         * gst/parse/Makefile.am:
8808         Fix typo and use outdated sources if the flex/bison sources are newer
8809         than the pregenerated ones but flex is too old. Print a warning in
8810         that case. This should fix the build on the build bot.
8811
8812 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8813
8814         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8815         * gst/parse/Makefile.am:
8816         * gst/parse/grammar.y:
8817         * gst/parse/parse.l:
8818         Make the parser reentrant and recursively callable. This requires flex
8819         >= 2.5.31, for older versions pregenerated sources are used as we
8820         can't bump the build dependency. Finally fixes #349180.
8821
8822         * gst/gstparse.c: (gst_parse_launch):
8823         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8824         now anyway.
8825
8826         * docs/gst/Makefile.am:
8827         * docs/gst/Makefile.am:
8828         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8829         (__gst_parse_strfree), (__gst_parse_link_new),
8830         (__gst_parse_link_free), (__gst_parse_chain_new),
8831         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8832         (gst_parse_element_set), (gst_parse_free_link),
8833         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8834         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8835         (_gst_parse_launch):
8836         * gst/parse/grammar.tab.pre.h:
8837         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8838         (yy_get_previous_state), (yy_try_NUL_trans), (input),
8839         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8840         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8841         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8842         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8843         (_gst_parse_yypop_buffer_state),
8844         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8845         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8846         (yy_fatal_error), (_gst_parse_yyget_extra),
8847         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8848         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8849         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8850         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8851         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8852         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8853         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8854         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8855         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8856         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8857         (_gst_parse_yyfree):
8858         If the installed flex version is too old use pre-generated parser
8859         sources. These pre-generated parser sources are always updated when
8860         the actual flex/bison sources change but require everybody who wants
8861         to change something in the parser to have flex >= 2.5.31 installed.
8862
8863 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
8864
8865         * common/m4/gst-gettext.m4:
8866         * gst/gst-i18n-lib.h:
8867           Make --disable-nls to work
8868
8869 2007-04-17  Wim Taymans  <wim@fluendo.com>
8870
8871         * gst/gstconfig.h.in:
8872         Revert previous change that broke the build.
8873
8874 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
8875
8876         * configure.ac:
8877         * gst/Makefile.am:
8878         * gst/gstconfig.h.in:
8879           Drop libxml2 dependency when building with 
8880           --enable-binary-registry --disable-loadsave
8881
8882 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
8883
8884         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8885         (gst_registry_binary_read_cache):
8886         * gst/gstregistrybinary.h:
8887           Remove unnecessary <sys/mman.h> include which broke the win32 build
8888           with MingW; move includes from header file to .c file, even if the
8889           header file isn't installed; use g_strerror() where UTF-8 strings
8890           are expected, such as in GST_DEBUG messages.
8891
8892 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8893
8894         * docs/libs/gstreamer-libs-sections.txt:
8895         Remove bogus addition for API I didn't end up keeping.
8896
8897         * libs/gst/base/gstbasesrc.h:
8898         Mention Since: 0.10.13 in the documentation.
8899
8900         Add the API keyword to the previous ChangeLog entry.
8901
8902 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8903
8904         * docs/libs/gstreamer-libs-sections.txt:
8905         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8906         (gst_base_src_default_prepare_seek_segment),
8907         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8908         * libs/gst/base/gstbasesrc.h:
8909         Allow basesrc derived classes to execute seeks in other formats
8910         by providing a prepare_seek_segment vmethod. Sub-classes can choose
8911         to prepare the GstSegment in any format that their perform_seek method
8912         will be able to understand. The default implementation provides the
8913         old behaviour of attempting to convert the seek offsets to the 
8914         configured native format.
8915
8916         API: basesrc::prepare_seek_segment vmethod.
8917
8918 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8919
8920         * gst/gstelement.c: (gst_element_get_state_func):
8921         Don't output the same debug statement twice.
8922
8923         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8924         (gst_adapter_peek), (gst_adapter_take_buffer):
8925         Optimise the case where we have buffers at the head of the queue that
8926         can be joined quickly (because they're contiguous sub-buffers) by
8927         merging them together rather than copying data out into new memory.
8928
8929         * gst/parse/grammar.y:
8930         * tests/check/pipelines/parse-launch.c:
8931         Fix a leak in an error path for parse_launch, and add a check 
8932         for it to the testsuite.
8933
8934 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8935
8936         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8937           Don't deadlock when releasing a pad - gst_pad_set_active may try
8938           and take the multiqueue lock too.
8939
8940 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
8941
8942         * gst/gsterror.c: (_gst_core_errors_init):
8943         * gst/gsterror.h:
8944           API: add GST_CORE_ERROR_DISABLED (#392804).
8945
8946 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8947
8948         * docs/faq/gst-uninstalled:
8949           don't get empty paths on the PATH variables
8950         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8951           Don't format for the uncommon terminal width of 84 characters.
8952
8953 2007-04-06  Wim Taymans  <wim@fluendo.com>
8954
8955         * gst/gstpipeline.c: (reset_stream_time),
8956         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8957         Only try to select a different pipeline clock when we went back to
8958         PAUSED and not when we merely got flushed.
8959
8960 2007-04-05  Michael Smith  <msmith@fluendo.com>
8961
8962         * tools/gst-launch.1.in:
8963           fractions are better supported in gstreamer than ractions, so
8964           suggest using those.
8965
8966 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8967
8968         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8969
8970         * po/LINGUAS:
8971         * po/da.po:
8972           Added Danish translation.
8973
8974 2007-04-05  Wim Taymans  <wim@fluendo.com>
8975
8976         * libs/gst/base/gstbasesink.c:
8977         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8978         Fix leak caused when refusing newsegment after EOS.
8979
8980         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8981         (gst_fake_sink_init), (gst_fake_sink_set_property),
8982         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8983         (gst_fake_sink_render), (gst_fake_sink_change_state):
8984         * plugins/elements/gstfakesink.h:
8985         Add num-buffers property to make the element generate EOS after a
8986         configurable amount of buffers.
8987         API: fakesink::num-buffers property.
8988
8989         * tests/check/elements/fakesink.c: (GST_START_TEST),
8990         (fakesink_suite):
8991         Fix GstBus leak in test.
8992         Test for fakesink num-buffers.
8993
8994 2007-04-05  Wim Taymans  <wim@fluendo.com>
8995
8996         * libs/gst/base/gstbasesink.c:
8997         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
8998         (gst_base_sink_change_state):
8999         Don't accept anything after an EOS, return UNEXPECTED instead.
9000
9001         * tests/check/elements/fakesink.c: (GST_START_TEST),
9002         (fakesink_suite):
9003         Unit test for new EOS behaviour.
9004
9005 2007-04-05  Wim Taymans  <wim@fluendo.com>
9006
9007         * gst/gstelement.c: (gst_element_get_request_pad):
9008         Make padtemplates also work when they don't contain %s or %d.
9009
9010 2007-04-05  Wim Taymans  <wim@fluendo.com>
9011
9012         * docs/gst/gstreamer-sections.txt:
9013         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9014         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9015         * gst/gstclock.h:
9016         Improve _adjust_unlocked() so that it overflows less.
9017         Add gst_clock_unadjust_unlocked to convert from external time to
9018         internal time based on calibration.
9019         Add some more debug.
9020         API: GstClock::gst_clock_unadjust_unlocked()
9021
9022 2007-04-03  Wim Taymans  <wim@fluendo.com>
9023
9024         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9025
9026         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9027         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9028         when releasing sink pad. Fixes #425400.
9029
9030 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9031
9032         * docs/random/ensonic/dynlink.txt:
9033           More work on proposal for new core api.
9034
9035         * docs/libs/gstreamer-libs-sections.txt:
9036         * libs/gst/base/gstbasetransform.h:
9037           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9038           
9039         * libs/gst/controller/gstcontroller.c:
9040         (on_object_controlled_property_changed),
9041         (gst_controller_sync_values),
9042         (gst_controller_set_interpolation_mode):
9043         * libs/gst/controller/gstcontroller.h:
9044           Less verbose logging add docs for unimplemented parts and correctly
9045           return when using unavailable parts.
9046
9047 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9048
9049         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9050         Move all the debug to the CLOCK category, and associate it with
9051         the clock object.
9052
9053 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9054
9055         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9056         Make take_buffer a bit quicker by removing redundant checks
9057         caused by calling gst_adapter_take.
9058
9059 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9060
9061         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9062           Don't leak GCond.
9063
9064         * tests/check/Makefile.am:
9065         * tests/check/elements/.cvsignore:
9066         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9067         (GST_START_TEST), (multiqueue_suite):
9068           Add some dead simple unit tests for the 'multiqueue' element
9069           (some bits don't work yet and are disabled for now).
9070
9071 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9072
9073         * gst/gstelement.c: (gst_element_get_request_pad),
9074         (gst_element_class_get_request_pad_template):
9075           Make gst_element_get_request_pad() create request pads only for
9076           request pad templates and not for, say, sometimes pad templates.
9077
9078 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9079
9080         * docs/design/draft-klass.txt:
9081           Add example that needs more thinking.
9082         
9083         * docs/design/draft-missing-plugins.txt:
9084           More thoughts about wrapper plugins.
9085         
9086         * docs/random/ensonic/embedded.txt:
9087         * docs/random/ensonic/profiling.txt:
9088           More design work.
9089
9090 2007-03-25  Wim Taymans  <wim@fluendo.com>
9091
9092         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9093         (gst_base_src_loop):
9094         Only push the segment events in the PLAYING state for live sources.
9095
9096 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9097
9098         * gst/gstpipeline.c: (gst_pipeline_change_state):
9099         Modify the clock distribution path in PAUSED->PLAYING so that we 
9100         never attempt to choose a new clock unless we're actually leaving
9101         the PAUSED state for the first time. This prevents choosing a
9102         different clock when the state_change gets called for a 2nd time due
9103         to some element doing an async state change.
9104
9105 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9106
9107         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9108         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9109         (gst_pad_chain_unchecked), (gst_pad_push):
9110         Revert last commit. This needs some more thoughts.
9111
9112 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9113
9114         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9115         (gst_pad_chain_unchecked), (gst_pad_push):
9116         Check in set_caps if the caps are compatible with the pad and remove
9117         two functions that are redundant now. Fixes #421543.
9118
9119 2007-03-22  Wim Taymans  <wim@fluendo.com>
9120
9121         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9122         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9123         Unref some more to make valgrind happy.
9124
9125 2007-03-22  Wim Taymans  <wim@fluendo.com>
9126
9127         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9128         (gst_system_clock_id_wait_jitter),
9129         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9130         Fix anoying regression that survived a few releases. When adding an
9131         async entry while blocking on a sync entry, the sync entry will unblock
9132         but still be busy, so it should continue to wait instead of returning
9133         _BUSY to the app.
9134         Add some comments here and there.
9135
9136         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9137         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9138         Add testcase for this.
9139
9140 2007-03-22  Wim Taymans  <wim@fluendo.com>
9141
9142         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9143         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9144         WRONG_STATE and can silently pause the task. All other cases should
9145         error out.
9146
9147 2007-03-22  Wim Taymans  <wim@fluendo.com>
9148
9149         Patch by: Ville Syrjala <syrjala at sci dot fi>
9150
9151         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9152         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9153         Improve debugging.
9154
9155 2007-03-21  Michael Smith  <msmith@fluendo.com>
9156
9157         * docs/pwg/advanced-types.xml:
9158           Fix some errors in the typefinding docs pointed out on irc.
9159
9160 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9161
9162         * libs/gst/base/gstbasesrc.c:
9163         Clarify FIXME comment in the face of having added unlock_stop()
9164
9165 2007-03-21  Wim Taymans  <wim@fluendo.com>
9166
9167         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9168         Prepare for release where we warn against possible app breakage in the
9169         case of live pipelines along with an env var to enable/disable live
9170         preroll mode (GST_COMPAT=[no-]live-preroll).
9171
9172 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9173
9174         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9175         So we should use correct constants for checking for None offset.
9176
9177 2007-03-20  Wim Taymans  <wim@fluendo.com>
9178
9179         * docs/design/part-block.txt:
9180         Mention the fact that the newly switched element should be set to at
9181         least PAUSED.
9182
9183 2007-03-20  Wim Taymans  <wim@fluendo.com>
9184
9185         * gst/gst.c:
9186         Fix compilation with registry disabled as spotted by Saur.
9187
9188 2007-03-20  Wim Taymans  <wim@fluendo.com>
9189
9190         Patch by: Olivier Crete <tester at tester dot ca>
9191
9192         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9193         Look at the pending state too when syncing the element state to the
9194         parent. Fixes #420133.
9195
9196 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9197
9198         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9199         (gst_base_sink_change_state):
9200         * libs/gst/base/gstbasesink.h:
9201         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9202         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9203         (gst_base_src_deactivate):
9204         * libs/gst/base/gstbasesrc.h:
9205         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9206         for sub-classes to correctly clear any state they set trying to
9207         unlock, such as clearing out unlock commands from a command fd.
9208         API: basesrc::unlock_stop
9209         API: basesink::unlock_stop
9210
9211         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9212         (gst_fd_sink_render), (gst_fd_sink_unlock),
9213         (gst_fd_sink_unlock_stop):
9214         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9215         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9216         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9217
9218         Implement unlock_stop in fdsrc and fdsink.
9219         Implement seeking in fdsrc when a seekable fd is passed, as in
9220         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9221
9222 2007-03-19  Wim Taymans  <wim@fluendo.com>
9223
9224         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9225
9226         * gst/gstelement.c: (gst_element_class_init):
9227         Fix pad-added and pad-removed signal signatures so that the pad type is
9228         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9229
9230 2007-03-19  Wim Taymans  <wim@fluendo.com>
9231
9232         * docs/gst/gstreamer-sections.txt:
9233         Add new element field and method.
9234
9235         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9236         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9237         (gst_bin_recalc_state), (gst_bin_get_state_func),
9238         (gst_bin_element_set_state), (gst_bin_change_state_func),
9239         (gst_bin_continue_func), (bin_bus_handler),
9240         (bin_push_state_continue), (bin_handle_async_start),
9241         (bin_handle_async_done), (gst_bin_handle_message_func):
9242         Make async state changes a bit smarter by using new ASYNC_START and
9243         ASYNC_DONE messages. This reduces the number of times we run the state
9244         recalculation thread.
9245         Don't change state of element with a pending ASYNC_START message.
9246         Deprecate STATE_DIRTY messages.
9247         
9248         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9249         (gst_element_get_state_func), (gst_element_continue_state),
9250         (gst_element_lost_state), (gst_element_set_state_func),
9251         (gst_element_change_state):
9252         * gst/gstelement.h:
9253         Keep the state that was last set by the app in a new element field.
9254         Don't allow state changes when handling an element event.
9255         Post ASYNC_START and ASYNC_DONE messages.
9256         Change lost_state so that we go to PAUSED and wait for the parent to set
9257         us to PLAYING again (so latency calculation can be performed)
9258         Export gst_element_change_state() method so that subclasses can use it.
9259         API: gst_element_change_state()
9260         API: GST_STATE_TARGET
9261
9262         * gst/gstpipeline.c: (gst_pipeline_class_init),
9263         (reset_stream_time), (gst_pipeline_change_state),
9264         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9265         Using the new ASYNC_START message we can reset the base_time when
9266         needed. This can then be used to implement base_time redistribution in
9267         flushing seeks so that we can remove the explicit seek handling.
9268         Perform latency query and configuration when going to PLAYING.
9269
9270         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9271         (gst_base_sink_query), (gst_base_sink_change_state):
9272         Post new ASYNC_START/ASYNC_DONE messages.
9273
9274         * tests/check/generic/sinks.c: (GST_START_TEST):
9275         Fix test because the bin will not set the async element to PLAYING right
9276         away.
9277
9278         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9279         Make the message check a little stronger.
9280         Handle ASYNC messages.
9281
9282         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9283         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9284         Expect ASYNC_DONE messages.
9285
9286 2007-03-19  Wim Taymans  <wim@fluendo.com>
9287
9288         * docs/gst/gstreamer-sections.txt:
9289         * gst/gstmessage.c: (gst_message_new_async_start),
9290         (gst_message_new_async_done), (gst_message_parse_info),
9291         (gst_message_parse_async_start):
9292         * gst/gstmessage.h:
9293         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9294         support.
9295
9296 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9297
9298         * tools/gst-inspect.c:
9299         (print_plugin_automatic_install_info_codecs):
9300           Now that we don't check for the 'Codec' keyword any longer in the
9301           klass, we shouldn't spew a warning if the klass isn't a decoder or
9302           encoder (since it might be a Source/Network, for example).
9303
9304 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9305
9306         * tools/gst-inspect.c:
9307         (print_plugin_automatic_install_info_codecs):
9308           Don't require decoder/demuxer/depayloader elements or
9309           encoder/muxer/paylader elements to have 'Codec' as part of their
9310           factory class string when introspecting a plugin's capabilities.
9311           draft-klass.txt mentions that it might be removed in future, and
9312           flump3dec doesn't have it as part of its class string, so chances
9313           are others might also not have it.
9314
9315 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9316
9317         * po/af.po:
9318         * po/az.po:
9319         * po/bg.po:
9320         * po/ca.po:
9321         * po/cs.po:
9322         * po/de.po:
9323         * po/en_GB.po:
9324         * po/fr.po:
9325         * po/it.po:
9326         * po/nb.po:
9327         * po/nl.po:
9328         * po/ru.po:
9329         * po/sq.po:
9330         * po/sr.po:
9331         * po/sv.po:
9332         * po/tr.po:
9333         * po/uk.po:
9334         * po/vi.po:
9335         * po/zh_CN.po:
9336         * po/zh_TW.po:
9337           Update translations from translation project
9338
9339 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9340
9341         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9342         (gst_child_proxy_set_property):
9343           Invert precondition check to be alike the ones in the mimiced gobject
9344           api.
9345
9346 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9347
9348         * docs/design/draft-tagreading.txt:
9349         * docs/random/ensonic/audiobaseclasses.txt:
9350           Do some Architect work.
9351
9352         * gst/gstobject.c: (gst_object_set_name):
9353           Add a WARNING.
9354
9355         * gst/gstpad.c:
9356           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9357
9358 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9359
9360         * gst/gstsystemclock.c: (gst_system_clock_init),
9361         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9362         Defer starting the async system clock thread until the first async
9363         wait is scheduled. Fixes #414986.
9364
9365 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9366
9367         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9368         (gst_single_queue_free):
9369           Fix small leak (free GstSingleQueue structure too, not only contents).
9370
9371 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9372
9373         * gst/gstbin.c:(gst_bin_add):
9374         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9375         * win32/common/libgstbase.def:
9376         * win32/common/libgstreamer.def:
9377         Add new exported functions.
9378
9379 2007-03-09  Wim Taymans  <wim@fluendo.com>
9380
9381         * docs/plugins/gstreamer-plugins-sections.txt:
9382         Fix GstTee docs.
9383
9384 2007-03-09  Wim Taymans  <wim@fluendo.com>
9385
9386         * docs/gst/gstreamer-sections.txt:
9387         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9388         * gst/gstbuffer.h:
9389         Add metadata copy functions. Fixes #393099.
9390         API: gst_buffer_copy_metadata()
9391
9392         * gst/gstutils.c: (gst_buffer_stamp):
9393         * libs/gst/base/gstbasetransform.c:
9394         (gst_base_transform_prepare_output_buffer):
9395         Use new metadata copy functions.
9396
9397 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9398
9399         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9400         (gst_identity_init), (gst_identity_check_perfect),
9401         (gst_identity_check_imperfect_timestamp),
9402         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9403         (gst_identity_set_property), (gst_identity_get_property):
9404         * plugins/elements/gstidentity.h:
9405         Separate out check-imperfect-timestamp and check-imperfect-offset.
9406         Put back check-perfect as it was to keep compatibility.
9407
9408 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9409
9410         * gst/gstelement.c: (gst_element_dispose):
9411         There's no need to warn if VOID_PENDING is not NONE here, as
9412         long as the state is NULL it's ok, and that's checked immediately
9413         above.
9414
9415 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9416
9417         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9418         Fix check for perfect stream to ignore buffers with -1 
9419         offsets/offset ends when checking data contiguity.
9420
9421 2007-03-08  Wim Taymans  <wim@fluendo.com>
9422
9423         * tools/gst-launch.c: (event_loop):
9424         Print INFO messages.
9425
9426 2007-03-08  Wim Taymans  <wim@fluendo.com>
9427
9428         * libs/gst/base/gstbasetransform.c:
9429         (gst_base_transform_sink_eventfunc),
9430         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9431         (gst_base_transform_activate):
9432         * libs/gst/base/gstbasetransform.h:
9433         Add support for dropping buffers with custom GstFlowReturn.
9434         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9435         buffers or dropped buffers.
9436
9437         * docs/libs/gstreamer-libs-sections.txt:
9438         docs for new custom return code.
9439
9440         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9441         Use drop support in base class to implement drop-probability.
9442
9443 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9444
9445         * gst/gst.c: (load_plugin_func):
9446         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9447         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9448         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9449           Remove newlines at end of debug log strings.
9450
9451 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9452
9453         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9454         Only post bus message at max, once per buffer received.
9455
9456 2007-03-07  Wim Taymans  <wim@fluendo.com>
9457
9458         * docs/design/Makefile.am:
9459         * docs/design/part-synchronisation.txt:
9460         Add doc about synchronisation
9461
9462         * docs/design/draft-latency.txt:
9463         * docs/design/part-TODO.txt:
9464         * docs/design/part-clocks.txt:
9465         * docs/design/part-events.txt:
9466         * docs/design/part-gstbus.txt:
9467         * docs/design/part-gstpipeline.txt:
9468         * docs/design/part-live-source.txt:
9469         * docs/design/part-messages.txt:
9470         * docs/design/part-overview.txt:
9471         * docs/design/part-streams.txt:
9472         * docs/design/part-trickmodes.txt:
9473         Documentation updates.
9474
9475 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9476
9477         * gstreamer.doap:
9478         Update the doap file.
9479
9480 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9481
9482         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9483         Rename non-perfect to imperfect for Mike and for the sanctity of the
9484         language.
9485         Also make sure bus message gets emitted for data-incontiguities.
9486
9487 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9488
9489         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9490         (gst_identity_start):
9491         * plugins/elements/gstidentity.h:
9492         Emit bus message if check-perfect is true and we encounter a
9493         non-perfect stream between 2 consecutive buffers.
9494         Fixes #415394.
9495
9496 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9497
9498         * configure.ac:
9499         Back to CVS
9500
9501 === release 0.10.12 ===
9502
9503 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9504
9505         * configure.ac:
9506           releasing 0.10.12, "Inevitable Demise"
9507
9508 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9509
9510         * configure.ac:
9511          Version 0.10.11.2 (0.10.12 pre-release)
9512          Bump libtool versioning.
9513
9514 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9515
9516         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9517           Log flow-names and not numbers.
9518
9519 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9520
9521         * configure.ac:
9522           Convert to new AG_GST style.
9523
9524 2007-02-28  Wim Taymans  <wim@fluendo.com>
9525
9526         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9527         Don't unref query twice.
9528
9529 2007-02-28  Wim Taymans  <wim@fluendo.com>
9530
9531         * gst/gstvalue.c: (gst_value_transform_object_string),
9532         (_gst_value_initialize):
9533         Implement GstObject -> string transform so we print object names
9534         when serializing GValues containing GstObjects.
9535
9536 2007-02-28  Wim Taymans  <wim@fluendo.com>
9537
9538         * docs/gst/gstreamer-sections.txt:
9539         Add new stuff to docs.
9540
9541 2007-02-28  Wim Taymans  <wim@fluendo.com>
9542
9543         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9544         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9545         (gst_base_sink_change_state):
9546         Improve latency query code.
9547         Don't leak latency events.
9548
9549         * tests/check/gst/gstbin.c: (GST_START_TEST):
9550         Improve debugging.
9551
9552 2007-02-28  Wim Taymans  <wim@fluendo.com>
9553
9554         * gst/gstelement.c: (gst_element_message_full),
9555         (gst_element_get_state_func):
9556         * gst/gstelement.h:
9557         Improve docs a little. Added Since: for new macro.
9558
9559         * gst/gstobject.c: (gst_object_sink):
9560         * gst/gstpipeline.c: (gst_pipeline_change_state),
9561         (gst_pipeline_set_new_stream_time):
9562         * gst/gstpipeline.h:
9563         Improve debugging and docs.
9564
9565         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9566         Improve debugging.
9567
9568 2007-02-28  Wim Taymans  <wim@fluendo.com>
9569
9570         * gst/gstelement.c: (gst_element_message_full),
9571         (gst_element_set_locked_state), (gst_element_get_state_func),
9572         (gst_element_change_state):
9573         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9574         Documentation updates.
9575         Small code cleanups.
9576
9577         * gst/gstmessage.c: (gst_message_new_info),
9578         (gst_message_parse_info):
9579         * gst/gstmessage.h:
9580         API: gst_message_new_info()
9581         API: gst_message_parse_info()
9582         Add INFO message create and parse code.
9583
9584 2007-02-28  Wim Taymans  <wim@fluendo.com>
9585
9586         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9587         (bin_query_latency_done):
9588         Also report the live parameter of a latency query.
9589
9590 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9591
9592         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9593           Copy the current generic/states example from -base and adapt so
9594           we can use the exact same code everywhere.
9595           Check a STATES_IGNORE_ELEMENTS env var which can be used
9596           to ignore certain element factories for this test, which is
9597           what is being done in -base
9598         * tests/check/Makefile.am:
9599           Mention this environment variable.
9600
9601 2007-02-27  Wim Taymans  <wim@fluendo.com>
9602
9603         * docs/gst/gstreamer-sections.txt:
9604         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9605         (gst_bus_timed_pop), (gst_bus_pop):
9606         * gst/gstbus.h:
9607         API: gst_bus_timed_pop()
9608         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9609         message to arrive on the bus.
9610
9611         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9612         (gst_bus_suite):
9613         Two unit tests for new _timed_pop() function.
9614
9615 2007-02-23  Wim Taymans  <wim@fluendo.com>
9616
9617         * gst/gstpipeline.c: (gst_pipeline_change_state),
9618         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9619         Don't ref a NULL clock in _provide_clock_func().
9620         Don't allow an INVALID delay.
9621         Don't try to calculate base_time with an invalid start_time.
9622         Also distribute and notify a NULL clock when it was selected.
9623
9624         * tools/gst-launch.c: (event_loop):
9625         Don't crash when a NULL clock was selected in the pipeline.
9626
9627 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9628
9629         * docs/design/Makefile.am:
9630         * docs/design/draft-missing-plugins.txt:
9631         * docs/random/draft-missing-plugins.txt:
9632           Some small updates: update plugin system identifier prefix
9633           ('gstreamer.net' to 'gstreamer'), mention our new install
9634           API in libgstbaseutils rather than libgimme-codec, add
9635           reference to the online docs.
9636
9637 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9638
9639         * win32/common/config.h:
9640           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9641           use moap cl ci to only check in what is mentioned in the ChangeLog.
9642
9643 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9644
9645         * docs/gst/gstreamer-sections.txt:
9646         * gst/gstelement.h:
9647           Fix up documentation to link to the correct GstGError section.
9648           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9649
9650 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9651
9652         * tools/gst-launch.c: (event_loop):
9653           Make sure that we actually show the important message part of a
9654           warning message.
9655           No need to check if the gerror is not NULL to free; first of all
9656           g_free accepts NULL; and second the default error handler would
9657           segfault if gerror was NULL.
9658
9659 2007-02-21  Wim Taymans  <wim@fluendo.com>
9660
9661         * docs/gst/gstreamer-sections.txt:
9662         Removed docs as well.
9663
9664 2007-02-21  Wim Taymans  <wim@fluendo.com>
9665
9666         * gst/gstmessage.c: (gst_message_parse_duration):
9667         * gst/gstmessage.h:
9668         Remove new messages for release.
9669
9670 2007-02-20  Wim Taymans  <wim@fluendo.com>
9671
9672         * docs/design/part-gstghostpad.txt:
9673         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9674         (gst_ghost_pad_new_full):
9675         Make the ghostpad a parent of the internal pad again for better backward
9676         compatibility. Don't write code that relies on this however.
9677
9678         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9679         (gst_pad_link_check_hierarchy):
9680         Require that parents should be GstElements in the hierarchy check.
9681
9682 2007-02-20  Wim Taymans  <wim@fluendo.com>
9683
9684         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9685         (gst_bin_change_state_func), (bin_query_min_max_init),
9686         (bin_query_latency_fold), (bin_query_latency_done),
9687         (gst_bin_query):
9688         Improve debug info.
9689         Implement latency query.
9690
9691 2007-02-20  Wim Taymans  <wim@fluendo.com>
9692
9693         * docs/design/part-gstghostpad.txt:
9694         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9695         (gst_ghost_pad_internal_do_activate_push),
9696         (gst_ghost_pad_internal_do_activate_pull),
9697         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9698         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9699         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9700         Do not set the internal pad as a parent anymore so we can avoid
9701         hierarchy linking errors when the ghostpad has no parent yet. This also
9702         fixes failed activation because of unlinked internal pads, which in
9703         turn fixes the impossible case where you have to activate a pad before
9704         you can add it to a running element.
9705         Also fix the docs.
9706
9707         * gst/gstpad.c: (pre_activate), (post_activate),
9708         (gst_pad_set_active), (gst_pad_activate_pull),
9709         (gst_pad_activate_push), (gst_pad_check_pull_range):
9710         Add some more debug info.
9711         Mark activation mode in pre_activate so that we don't try to activate in
9712         endless loops. Fixes #385084.
9713
9714 2007-02-19  Wim Taymans  <wim@fluendo.com>
9715
9716         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9717         (gst_base_transform_check_get_range):
9718         Implement a checkgetrange function instead of relying on the default
9719         core behaviour that assumes we can operate in pull mode if we have a
9720         getrange function. First step at fixing #385084.
9721
9722 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9723
9724         * gst/gstchildproxy.h:
9725         * libs/gst/base/gstbasesink.h:
9726         * libs/gst/base/gstbasesrc.h:
9727         * libs/gst/base/gstbasetransform.h:
9728         More docs coverage and some ChangeLog surgery (add missing names)
9729
9730 2007-02-15  Wim Taymans  <wim@fluendo.com>
9731
9732         * docs/design/part-TODO.txt:
9733         * docs/design/part-activation.txt:
9734         * docs/design/part-block.txt:
9735         * docs/design/part-buffering.txt:
9736         * docs/design/part-clocks.txt:
9737         * docs/design/part-element-source.txt:
9738         * docs/design/part-events.txt:
9739         * docs/design/part-gstbin.txt:
9740         * docs/design/part-gstbus.txt:
9741         * docs/design/part-gstpipeline.txt:
9742         * docs/design/part-live-source.txt:
9743         * docs/design/part-messages.txt:
9744         * docs/design/part-overview.txt:
9745         * docs/design/part-qos.txt:
9746         * docs/design/part-query.txt:
9747         * docs/design/part-states.txt:
9748         * docs/design/part-trickmodes.txt:
9749         Some doc updates. Start renaming from stream_time to running_time where
9750         it was used wrongly.
9751
9752 2007-02-15  Wim Taymans  <wim@fluendo.com>
9753
9754         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9755         Answer LATENCY query.
9756
9757 2007-02-15  Wim Taymans  <wim@fluendo.com>
9758
9759         * tests/check/gst/gstevent.c: (event_probe), (test_event),
9760         (GST_START_TEST):
9761         Improve debugging.
9762
9763 2007-02-15  Wim Taymans  <wim@fluendo.com>
9764
9765         * gst/gstpad.c: (gst_pad_get_internal_links_default),
9766         (gst_pad_dispatcher):
9767         Improve debugging of default pad dispatcher and query functions.
9768
9769 2007-02-15  Wim Taymans  <wim@fluendo.com>
9770
9771         * docs/gst/gstreamer-sections.txt:
9772         Remove old unused method.
9773
9774 2007-02-13  Wim Taymans  <wim@fluendo.com>
9775
9776         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9777         Fix check
9778
9779 2007-02-13  Wim Taymans  <wim@fluendo.com>
9780
9781         * docs/design/part-seeking.txt:
9782         Some small update.
9783
9784         * gst/gstsegment.c: (gst_segment_set_seek):
9785         Revert old bogus change that should make seeking work again.
9786
9787 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9788
9789         * docs/random/ensonic/dynlink.txt:
9790         * docs/random/ensonic/interfaces.txt:
9791         * docs/random/ensonic/receipies.txt:
9792           Possible dynamic reconnection api, plus some type fixes the other two
9793           docs.
9794
9795 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
9796
9797         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9798         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9799         Also check for an absolute path following file:// in the filesrc
9800         element. Remove redundant check and call g_path_is_absolute() on the
9801         unescaped location.
9802
9803 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9804
9805         * docs/design/draft-klass.txt:
9806           Add existing category analysis.
9807           
9808         * gst/gstcaps.c:
9809           Fix doc example, framerate is a fraction.
9810
9811 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9812
9813         * configure.ac:
9814         * docs/gst/Makefile.am:
9815         * docs/gst/gstreamer-sections.txt:
9816         * docs/libs/Makefile.am:
9817           Erm, forgot a bunch of --extra-dir.
9818
9819 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9820
9821         * configure.ac:
9822         * docs/gst/Makefile.am:
9823         * docs/libs/Makefile.am:
9824         * docs/plugins/Makefile.am:
9825           Add crossreferences to glib/gobject docs.
9826
9827 2007-02-12  Wim Taymans  <wim@fluendo.com>
9828
9829         * docs/design/draft-latency.txt:
9830         Small update.
9831
9832         * docs/libs/gstreamer-libs-sections.txt:
9833         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9834         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9835         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9836         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9837         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9838         (gst_base_sink_get_position), (gst_base_sink_query),
9839         (gst_base_sink_change_state):
9840         * libs/gst/base/gstbasesink.h:
9841         API: gst_base_sink_query_latency() to let subclasses query the upstream
9842         latency.
9843         API: gst_base_sink_get_latency() to let subclasses query the configured
9844         latency in the sink.
9845         Implement query and set latency.
9846         Update some docs.
9847         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9848         don't continue preroll when we are flushing. Fixes #405284.
9849
9850         * tests/check/pipelines/stress.c: (change_state_timeout),
9851         (quit_timeout), (GST_START_TEST), (stress_suite):
9852         Test for #405284.
9853
9854 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
9855
9856         Patch by: René Stadler <mail at renestadler de>
9857
9858         * docs/gst/gstreamer-sections.txt:
9859         * gst/gsttaglist.c: (_gst_tag_initialize):
9860         * gst/gsttaglist.h:
9861           API: add GST_TAG_REFERENCE_LEVEL (#403597).
9862
9863 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
9864
9865         * docs/libs/Makefile.am:
9866           Fix path to core docs.
9867
9868         * gst/gstbin.c: (gst_bin_get_by_interface),
9869         (gst_bin_iterate_all_by_interface):
9870           Refix docs by also renaming 'interface' to 'iface' in implementation.
9871
9872         * docs/gst/gstreamer-sections.txt:
9873         * gst/gstcaps.c:
9874         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9875         * gst/gstchildproxy.h:
9876         * gst/gstelementfactory.c:
9877         * gst/gstpadtemplate.h:
9878         * libs/gst/controller/gstcontroller.c:
9879         (gst_controlled_property_new):
9880           Document more.
9881
9882 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
9883
9884         * gst/gstbin.h:(gst_bin_get_by_interface),
9885         (gst_bin_iterate_all_by_interface):
9886         Replace interface parameter name by iface as interface is 
9887         a reserved keyword in Visual Studio for C++ projects so it removes
9888         a build error for application developpers using VS.
9889         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9890         Fix a bug on Windows in uri format check. Now the prefix checked
9891         is file:// and next we check if the path after file:// is absolute.
9892         * win32/common/libgstbase.def:
9893         * win32/common/libgstdataprotocol.def:
9894         * win32/common/libgstgstreamer.def:
9895         Add new exported functions.
9896
9897 2007-02-09  Andy Wingo  <wingo@pobox.com>
9898
9899         * tests/check/pipelines/simple-launch-lines.c
9900         (simple_launch_lines_suite, test_tee): Disable tee test until I
9901         have time to fix it :-(
9902
9903         * tests/check/Makefile.am (noinst_HEADERS): 
9904         * tests/check/libs/libsabi.c: 
9905         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9906         * tests/check/gst/gstabi.c: 
9907         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9908
9909         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9910         tests for push and pull tee behavior.
9911
9912         * plugins/elements/gsttee.h: 
9913         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9914         mark as deprecated as well as unimplemented. It was a crack idea.
9915         Add support for tee operating in pull mode, off by default.
9916
9917         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9918         normal-case logs down to LOG, raise errors to WARNING.
9919         (gst_registry_xml_read_cache): Don't log before calling a function
9920         that logs.
9921
9922         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9923         exit (registry finalize).
9924         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9925         DEBUG log when we emit signals that people don't even have the
9926         chance to connect to.
9927         (gst_registry_scan_path_level): Less logging in the normal case.
9928
9929 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
9930
9931         Patch by: Michal Benes <michal dot benes at itonis dot tv>
9932
9933         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9934         Correctly generate EOS for non-seekable files. We don't have a total
9935         length for them and would get an unexpected end of file if we only
9936         special-cased for regular files. (Fixes: #404569)
9937
9938 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
9939
9940         * tests/check/elements/filesrc.c: (GST_START_TEST),
9941         (filesrc_suite):
9942         Add unit test for the GstURIHandler interface in filesrc. This also
9943         tests the newly added file://localhost/foo/bar support.
9944
9945 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
9946
9947         * gst/gstelementfactory.h:
9948           The klass string is not a hierarchy. Add reference to the design doc
9949           for more information and common types.
9950
9951 2007-02-02  Wim Taymans  <wim@fluendo.com>
9952
9953         * gst/gstquery.c: (gst_query_new_latency):
9954         Remove old structure field.
9955
9956 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
9957
9958         * tools/gst-launch.1.in:
9959           Give example for network streaming (#351998)
9960
9961 2007-02-02  Wim Taymans  <wim@fluendo.com>
9962
9963         * docs/gst/gstreamer-sections.txt:
9964         Add docs for new methods.
9965
9966         * gst/gstevent.c: (gst_event_new_latency),
9967         (gst_event_parse_latency):
9968         * gst/gstevent.h:
9969         Add new LATENCY event to configure latency in a pipeline.
9970         API: gst_event_new_latency
9971         API: gst_event_parse_latency
9972
9973         * gst/gstmessage.c: (gst_message_new_buffering),
9974         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9975         (gst_message_new_latency), (gst_message_parse_buffering),
9976         (gst_message_parse_lost_preroll):
9977         * gst/gstmessage.h:
9978         Added messages used in draft-latency.
9979         API: gst_message_new_lost_preroll
9980         API: gst_message_parse_lost_preroll
9981         API: gst_message_new_prerolled
9982         API: gst_message_new_latency
9983
9984         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9985         (gst_query_parse_latency):
9986         * gst/gstquery.h:
9987         Implemented new latency query as in design doc.
9988         API: gst_query_new_latency
9989         API: gst_query_set_latency
9990         API: gst_query_parse_latency
9991
9992 2007-02-02  Wim Taymans  <wim@fluendo.com>
9993
9994         * docs/design/draft-latency.txt:
9995         Slight redesign to allow for dynamic latency adjustments.
9996
9997         * docs/design/part-negotiation.txt:
9998         Fix some typos.
9999
10000 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10001
10002         reviewed by: Wim Taymans <wim@fluendo.com>
10003
10004         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10005         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10006         Allow file://localhost/foo/bar URLs and correctly fail for every other
10007         hostname that one sets. This was gnomevfssrc is linked for those if
10008         installed as it can handle it (#403172)
10009
10010 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10011
10012         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10013
10014         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10015         (unref_data), (gst_collect_pads_add_pad_full):
10016         * libs/gst/base/gstcollectpads.h:
10017         Don't put the previously added destroy notify in the GstCollectData
10018         struct as all it's padding is already used and we don't want to break
10019         ABI. Instead put in the pad's GObject data for now. This should be
10020         cleaned up for 0.11 (#402393).
10021
10022 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10023
10024         reviewed by: Wim Taymans <wim@fluendo.com>
10025
10026         * docs/libs/gstreamer-libs-sections.txt:
10027         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10028         (unref_data), (gst_collect_pads_add_pad),
10029         (gst_collect_pads_add_pad_full):
10030         * libs/gst/base/gstcollectpads.h:
10031         API: Add function to specify a destroy notification for custom
10032         GstCollectData when adding new pads in GstCollectPads (#402393).
10033
10034 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10035
10036         * po/sv.po:
10037           Update Swedish translation (#378255).
10038
10039 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10040
10041         * docs/design/draft-klass.txt:
10042           Fix the previous change, this is a list of categories and not a hierarchy.
10043
10044 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10045
10046         * docs/design/draft-klass.txt:
10047           Add info about how to get a list of used classes.
10048
10049 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10050
10051         * plugins/elements/gsttypefindelement.c:
10052         (gst_type_find_element_chain_do_typefinding),
10053         (gst_type_find_element_change_state):
10054           Don't leak found caps in chain function (no idea why that never
10055           showed up as a leak anywhere).
10056
10057 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10058
10059         * gst/gstplugin.h:
10060           Fix and expand GstPluginDesc API docs.
10061
10062 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10063
10064         * gst/gstcaps.c:
10065         * gst/gstelementfactory.c:
10066         * gst/gstpadtemplate.h:
10067           api doc fixes
10068
10069         * libs/gst/controller/gstcontroller.c:
10070         (gst_controlled_property_new):
10071         * tests/examples/controller/audio-example.c:
10072           comment fixes
10073
10074 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10075
10076         * configure.ac:
10077           comment about refining the xml deps
10078
10079         * docs/manuals.mak:
10080           comments about moving away from jade for docs
10081         
10082         * gst/gst.c:
10083           recommit the ifdefs to use the binary registry
10084         
10085         * gst/gstbin.c: (gst_bin_change_state_func):
10086           this break is obsolete
10087
10088         * gst/gstelementfactory.h:
10089           better GST_ELEMENT_DETAILS docs, add comment about translation
10090
10091         * gst/gstinfo.h:
10092           remove eol slash
10093
10094         * gst/gstobject.c: (gst_signal_object_get_type):
10095           add G_UNLIKELY as usual
10096
10097         * gst/gstpad.c: (gst_pad_event_default):
10098           add fall trhu comment
10099
10100         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10101         (gst_registry_binary_initialize_magic),
10102         (gst_registry_binary_save_string),
10103         (gst_registry_binary_save_pad_template),
10104         (gst_registry_binary_save_feature),
10105         (gst_registry_binary_save_plugin),
10106         (gst_registry_binary_write_cache),
10107         (gst_registry_binary_check_magic),
10108         (gst_registry_binary_load_pad_template),
10109         (gst_registry_binary_load_feature),
10110         (gst_registry_binary_load_plugin),
10111         (gst_registry_binary_read_cache):
10112           comment typo and formatting
10113
10114         * gst/gstutils.c: (gst_element_state_get_name),
10115         (gst_element_state_change_return_get_name):
10116           remove obsolete breaks
10117
10118         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10119           add FIXME 0.11 and remove cpp comment
10120
10121 2007-01-29  Edward Hervey  <edward@fluendo.com>
10122
10123         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10124         Fix print statement in an even more portable way.
10125
10126 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10127
10128         * docs/gst/gstreamer-sections.txt:
10129         * gst/gstutils.h:
10130           API: add GST_ROUND_DOWN_* macros (#401781).
10131
10132 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10133
10134         * docs/gst/gstreamer.types.in:
10135         * gst/gstregistry.c: (gst_registry_class_init):
10136           Document registry signals and make gtk-doc pick them up (#401381).
10137
10138 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10139
10140         * docs/pwg/building-testapp.xml:
10141           Add some audioconverts and audioresample to the pipeline, and some
10142           more comments and error handling.
10143
10144 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10145
10146         * docs/manual/manual.xml:
10147         * docs/pwg/pwg.xml:
10148           Fix typo (#400987).
10149
10150 2007-01-26  Wim Taymans  <wim@fluendo.com>
10151
10152         * gst/gstcaps.c: (gst_static_caps_get):
10153         Init caps flags too.
10154
10155 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10156
10157         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10158
10159         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10160         If not using mmap'ed files try to seek to the end instead of the
10161         start to determine whether we can seek at all. This fixes the case
10162         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10163         seeks for everything afterwards fail. Fixes #400656
10164
10165 2007-01-25  Wim Taymans  <wim@fluendo.com>
10166
10167         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10168         Add some refcount debugging.
10169         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10170         in multiple streaming threads.
10171
10172 2007-01-25  Wim Taymans  <wim@fluendo.com>
10173
10174         Patch by: David Schleef <ds at schleef dot org>
10175
10176         * docs/libs/gstreamer-libs-sections.txt:
10177         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10178         * libs/gst/base/gstadapter.h:
10179         API: gst_adapter_copy() that can reduce the amount of memcpy when
10180         getting data from the adapter. Fixes #388201.
10181
10182 2007-01-25  Edward Hervey  <edward@fluendo.com>
10183
10184         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10185         In print statements, "%x" is for guint. Fixes build on macosx.
10186
10187 2007-01-24  Edward Hervey  <edward@fluendo.com>
10188
10189         * plugins/elements/gstmultiqueue.c:
10190         (gst_multi_queue_loop):
10191         Small fix.
10192         (single_queue_overrun_cb), (single_queue_underrun_cb),
10193         (single_queue_check_full), (gst_single_queue_new):
10194         Implement single queue growth system.
10195         This uses the extra-size properties, and will grow single queues by
10196         that much if one goes full whereas there are others empty. This is
10197         called extra-mode in the code.
10198         When a single queue's levels go back below the initial max-size
10199         limits, it is no longer in extra-mode. This is to ensure we don't
10200         consume too much memory.
10201         Fixes #399875
10202
10203 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10204
10205         * gst/gst.c: (gst_init_get_option_group):
10206           Make warning about late g_thread_init() calls a bit more explicit,
10207           so that it's more obvious to application developers what they need
10208           to do if a user files a bug against their application.
10209
10210 2007-01-22  Edward Hervey  <edward@fluendo.com>
10211
10212         * plugins/elements/gstmultiqueue.c:
10213         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10214         Remove previous hack of unsetting the flushing flag for the source pad
10215         instead of activating it. Instead, fix the source pad activate function
10216         so that it no longer depends on having a parent set or not.
10217
10218 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10219
10220         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10221
10222         * docs/manual/basics-bus.xml:
10223           Fix example code, gst_element_unref() doesn't exist any longer.
10224
10225 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10226
10227         Patch by: Mark Nauwelaerts <manauw at skynet be>
10228
10229         * gst/gstpad.c:
10230           Fix two docs typoes (#399094).
10231
10232 2007-01-19  Edward Hervey  <edward@fluendo.com>
10233
10234         * docs/faq/gst-uninstalled:
10235         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10236         depending on libgstbaseutils can work in uninstalled environment.
10237
10238 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10239
10240         * gst/gsttaglist.h:
10241         * gst/gsttagsetter.c:
10242         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10243         statement for new tag.
10244
10245 2007-01-17  Edward Hervey  <edward@fluendo.com>
10246
10247         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10248         When dynamically creating single queues, activate sinkpad before adding
10249         it.
10250         We should be doing the same thing for the source pad, but we can't
10251         since it would call a method which needs the parent to be set in order
10252         to work propertly. Instead of activating the source pad, we just unset
10253         the flushing flag, which is the minimal requirement for adding a pad
10254         to an element in a state greater than READY.
10255
10256 2007-01-17  Edward Hervey  <edward@fluendo.com>
10257
10258         * docs/faq/gst-uninstalled:
10259         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10260         Mac OS X.
10261
10262 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10263
10264         * tests/check/gst/gstabi.c:
10265         * tests/check/gst/struct_hppa.h:
10266         * tests/check/libs/libsabi.c:
10267         * tests/check/libs/struct_hppa.h:
10268           Add ABI structs for HPPA (see #393796).
10269
10270 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10271
10272         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10273           Actually write ABI structs to the file specified in the GST_ABI
10274           environment variable, as the message we print claims we would.
10275
10276 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10277
10278         * tests/check/gst/gsttask.c:
10279           Fix header comment.
10280
10281 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10282
10283         * gst/gsttaglist.c: (_gst_tag_initialize):
10284           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10285           previous two entries.
10286
10287 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10288
10289         * docs/gst/gstreamer-sections.txt:
10290         * gst/gsttaglist.c: (_gst_tag_initialize):
10291         * gst/gsttaglist.h:
10292           Add tag support for beat-per-minute.
10293
10294 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10295
10296         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10297         (gst_registry_binary_initialize_magic),
10298         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10299         (gst_registry_binary_save_pad_template),
10300         (gst_registry_binary_save_feature),
10301         (gst_registry_binary_save_plugin),
10302         (gst_registry_binary_write_cache),
10303         (gst_registry_binary_check_magic),
10304         (gst_registry_binary_load_pad_template),
10305         (gst_registry_binary_load_feature),
10306         (gst_registry_binary_load_plugin),
10307         (gst_registry_binary_read_cache):
10308         * gst/gstregistrybinary.h:
10309           Use glib types, cleanup comments, impement interfaces and uri-types.
10310
10311 2007-01-13  Andy Wingo  <wingo@pobox.com>
10312
10313         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10314         getrange() to return buffers with other caps, while we fix
10315         demuxers and typefind, or otherwise change part-negotiation.txt.
10316
10317 2007-01-12  Andy Wingo  <wingo@pobox.com>
10318
10319         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10320         Factor start/stop into this private function instead of partially
10321         in activate functions and partially in the change_state function.
10322         Fixes setup before the element has changed from READY->PAUSED, as
10323         is the case in pull-mode pipelines.
10324         (gst_base_transform_sink_activate_push)
10325         (gst_base_transform_src_activate_pull): Refactor to use
10326         gst_base_transform_activate().
10327         (gst_base_transform_change_state): Removed, not needed any more.
10328
10329         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10330         Truncate before fixating.
10331         
10332         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10333         Don't set_caps() if the result of fixating is ANY, as it's not
10334         supported, and not necessary in the case of a link with no
10335         template caps on either side. Fixes tests/check/libs/basesrc in
10336         some pull-mode tests.
10337
10338         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10339         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10340         (gst_base_transform_src_activate_pull): 
10341         Track the activation mode.
10342         (gst_base_transform_setcaps): In pull mode, when activating the
10343         src pad, after activating the sink pad, activate the sink pad's
10344         peer, as discussed in part-negotiation.txt.
10345
10346         * libs/gst/base/gstbasesrc.h: 
10347         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10348         vmethod, as in basesink.
10349
10350         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10351
10352         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10353         mode, first proxy the setcaps to the peer pad.
10354         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10355         new fixate vmethod.
10356         (gst_base_sink_default_activate_pull): Rename from
10357         gst_base_sink_activate_pull.
10358         (gst_base_sink_negotiate_pull): New function, performs negotiation
10359         in pull mode before calling ::activate_pull().
10360         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10361         vmethod instead of the default implementation. I have no idea how
10362         this worked before. Negotiate before calling activate_pull.
10363
10364         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10365         sink pads in pull mode. In addition to being correct, fixes
10366         filesrc ! decodebin ! identity ! fakesink.
10367         (gst_pad_get_range, gst_pad_pull_range): Don't call
10368         gst_pad_set_caps() if the caps changes; instead error out with
10369         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10370
10371 2007-01-12  Andy Wingo  <wingo@pobox.com>
10372
10373         * docs/design/part-negotiation.txt: Update with more policy.
10374
10375 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10376
10377         * libs/gst/check/gstbufferstraw.h:
10378         * libs/gst/check/gstcheck.h:
10379           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10380           belongs.
10381
10382 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10383
10384         * tests/check/Makefile.am:
10385         * tests/check/gst/.cvsignore:
10386         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10387         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10388         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10389         (GST_START_TEST), (gst_tag_setter_suite):
10390           Add minimal unit test for beforementioned GstTagSetter bug.
10391
10392 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10393
10394         Patch by: René Stadler <mail at renestadler dot de>
10395
10396         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10397           gst_tag_list_merge() returns a new list, so it's not the best idea
10398           to ingore its return value. Effectively meant that tags could only
10399           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10400           Also add function guard to require a non-NULL taglist as input (has
10401           always been so due to gst_tag_list_copy(), just making it explicit).
10402
10403 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10404
10405         * docs/random/draft-missing-plugins.txt:
10406           Some additions: mention new API that is supposed to be used at the
10407           various stages; short blob about new gst-inspect introspection
10408           option; mention potential future problem with plugins that have
10409           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10410
10411 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10412
10413         * tools/gst-inspect.c:
10414         (print_plugin_automatic_install_info_codecs),
10415         (print_plugin_automatic_install_info_protocols),
10416         (print_plugin_automatic_install_info), (main):
10417         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10418         introspect plugin files and get machine-parsable output that corresponds
10419         to the last bit of the missing-plugin installer string (small gotcha:
10420         doesn't take into account ranks).
10421
10422 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10423
10424         * configure.ac:
10425         * docs/gst/gstreamer-sections.txt:
10426         * gst/Makefile.am:
10427         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10428         (gst_registry_lookup_locked):
10429         * gst/gstregistry.h:
10430         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10431         (gst_registry_binary_initialize_magic),
10432         (gst_registry_binary_save_string),
10433         (gst_registry_binary_save_pad_template),
10434         (gst_registry_binary_save_feature),
10435         (gst_registry_binary_save_plugin),
10436         (gst_registry_binary_write_cache),
10437         (gst_registry_binary_check_magic),
10438         (gst_registry_binary_load_pad_template),
10439         (gst_registry_binary_load_feature),
10440         (gst_registry_binary_load_plugin),
10441         (gst_registry_binary_read_cache):
10442         * gst/gstregistrybinary.h:
10443         * gst/gstregistryxml.c: (load_feature),
10444         (gst_registry_xml_read_cache):
10445           commit binary registry (disabled by default, see #359653)
10446
10447 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10448
10449         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10450           Fix 'make check' too.
10451
10452 2007-01-10  Andy Wingo  <wingo@pobox.com>
10453
10454         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10455         notes.
10456         
10457         * docs/design/part-negotiation.txt: Update with, um, one way that
10458         pull-mode negotiation might work?
10459
10460         * gst/gstpad.h: 
10461         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10462         that the pad must be a src pad; makes sense to call it the other
10463         way in pull mode, and the logic is symmetric anyway.
10464
10465 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10466
10467         * plugins/elements/gstfilesink.c:
10468           Include <stdio.h> for fseeko().
10469
10470 2007-01-10  Wim Taymans  <wim@fluendo.com>
10471
10472         * gst/gstevent.c:
10473         * gst/gstevent.h:
10474         Reserve LATENCY event.
10475
10476 2007-01-09  Wim Taymans  <wim@fluendo.com>
10477
10478         * docs/design/draft-latency.txt:
10479         Updates.
10480
10481 2007-01-09  Wim Taymans  <wim@fluendo.com>
10482
10483         * docs/design/draft-latency.txt:
10484         Updates.
10485
10486         * gst/gstelement.h:
10487         * gst/gststructure.c:
10488         * gst/gsttrace.c:
10489         Small typo fixes.
10490
10491 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10492
10493         * tests/check/.cvsignore:
10494           Ignore test-registry.xml as well.
10495
10496 2007-01-09  Wim Taymans  <wim@fluendo.com>
10497
10498         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10499         unref data at the end when we are done with the pad.
10500
10501 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10502
10503         * docs/gst/gstreamer-sections.txt:
10504         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10505         (init_post), (gst_deinit), (gst_update_registry):
10506         * gst/gst.h:
10507           API: add gst_update_registry() (#391296).
10508
10509         * tests/check/Makefile.am:
10510         * tests/check/gst/gstregistry.c:
10511         * tests/check/gst/.cvsignore:
10512           Simple unit test for the above.
10513
10514 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10515
10516         * gst/gstregistry.c: (gst_registry_scan_path_level):
10517           Plugin extension on HP-UX is .sl, add that to the list of approved
10518           plugin extensions (see #393796).
10519
10520         * tests/check/gst/gstpad.c: (GST_START_TEST):
10521           ulong => gulong. Fixes compilation with HP-UX compiler.
10522
10523         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10524           Fix compilation if valgrind headers are not available.
10525
10526 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10527
10528         * win32/common/libgstreamer.def: 
10529           Add new exported function.
10530         * win32/vs6/libgstbase.dsp: 
10531           Add gstdataqueue.c to the build.
10532         * win32/vs6/libgstcoreelements.dsp:
10533           Add gstmultiqueue.c to the build.
10534         
10535 2007-01-06  Andy Wingo  <wingo@pobox.com>
10536
10537         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10538         activate_pull(), providing for a way to specialize the process of
10539         spawning a thread to pull on the sink pad. There is a default
10540         implementation.
10541
10542         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10543         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10544         (gst_base_sink_init): Renamed pad activation functions (inserting
10545         "_pad" in their names). Refactor to use the new activate_pull
10546         vmethod, as appropriate.
10547         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10548         default activate_pull function to start a task pulling from the
10549         sink pad, as before.
10550
10551         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10552         on the pads if necessary, as in push()/chain(). Update docs.
10553         Shouldn't affect existing pull() usage as it is currently only
10554         being used on buffers without caps.
10555
10556 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10557
10558         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10559         (init_pre):
10560           Call g_thread_init() first thing in gst_init() / gst_check_init().
10561           When initialisation is done via gst_init_get_option_group() and
10562           GOption parsing, issue a warning if the GLib thread system has not
10563           been initialised yet by the time gst_init_get_option_group() is
10564           called, as it's quite likely other GLib functions such as
10565           g_option_context_new() have been called already then, and
10566           g_thread_init() must be called before any other GLib function. The
10567           application in question must be fixed in that case, since memory
10568           corruption might happen otherwise.
10569           We issue the warning because even if the GLib folks decide to work
10570           around the problem on their end in future, this is still an issue
10571           with all GLib versions >= 2.10.0, so we should warn until we depend
10572           on a GLib version we know to be safe.
10573           Update documentation as well.
10574           Closes bug #391278.
10575
10576 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10577
10578         * tools/gst-inspect.c: (main):
10579         * tools/gst-launch.c: (main):
10580         * tools/gst-typefind.c: (main):
10581         * tools/gst-xmlinspect.c: (main):
10582           Call g_thread_init() really really early, before any other GLib
10583           function (see #342564 and recent discussion on gtk-devel-list).
10584
10585 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10586
10587         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10588
10589         * gst/gst_private.h:
10590         * gst/gstconfig.h.in:
10591         * gst/gstinfo.h:
10592           On win32, all the __declspec stuff for symbol exporting is
10593           apparently only needed with MSVC, but doesn't work with MingW.
10594           Fixes compilation with MingW and #391909.
10595
10596 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10597
10598         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10599           Change some GST_ERROR_OBJECT that aren't really errors to
10600           GST_WARNING_OBJECT in order to reduce terminal spam.
10601
10602 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10603
10604         * tests/check/Makefile.am:
10605           disable test again, as there seem to be still race problems
10606
10607 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10608
10609         * tests/check/Makefile.am:
10610         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10611         (GST_START_TEST), (queue_suite):
10612           enable queue test again, add tests for the leaky behaviour
10613
10614 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10615
10616         * configure.ac:
10617         * tests/examples/Makefile.am:
10618           Compile adapter test/example only if the required headers are
10619           available (fixes #391915).
10620
10621 2007-01-01  David Schleef  <ds@schleef.org>
10622
10623         * gst/gstplugin.c:
10624           Restore the previous signal handler for SIGSEGV instead of
10625           setting to default, since we may have stolen it away from
10626           someone.  (i.e., Mono)
10627
10628 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10629
10630         * docs/random/draft-missing-plugins.txt:
10631           Some small additions and clarifications.
10632
10633 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10634
10635         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10636           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10637           since that can lead to random memory corruptions and crashes
10638           (may or may not be related to #383244, #386711, and #386711).
10639
10640 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10641
10642         * tests/check/.cvsignore:
10643         * tests/check/Makefile.am:
10644           sync .cvsignome and CLEANFILES
10645
10646 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10647
10648         * tests/check/Makefile.am:
10649           fix distcheck
10650
10651 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10652
10653         * docs/design/part-states.txt:
10654           two tiny additional comments
10655         
10656         * gst/gststructure.c:
10657           doc fixing
10658
10659         * tests/check/Makefile.am:
10660         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10661         (GST_START_TEST):
10662           disable test for now, unless it gets fixed
10663
10664 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10665
10666         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10667         (GST_START_TEST):
10668           fix race in underrun test
10669
10670 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10671
10672         * tests/check/elements/.cvsignore:
10673           ignore more
10674
10675         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10676         (GST_START_TEST):
10677           try to narrow test failure
10678
10679 2006-12-21  David Schleef  <ds@schleef.org>
10680
10681         * plugins/elements/gstfakesrc.c:
10682           Use g_random_int_range(), since it produces better random
10683           numbers in a range than almost-correct floating point code.
10684
10685 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10686
10687         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10688         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10689         (gst_check_teardown_sink_pad):
10690           do not automatically (de)activate pads
10691
10692         * tests/check/Makefile.am:
10693         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10694         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10695           add new, yet simple tests for queue
10696
10697         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10698         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10699         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10700         (GST_START_TEST):
10701         * tests/check/elements/identity.c: (cleanup_identity):
10702           consistent pad (de)activation
10703
10704 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10705
10706         Patch by: Sebastian Dröge  <slomo ubuntu com>
10707
10708         * libs/gst/base/gstcollectpads.c:
10709           Fix two doc typos (#387866).
10710
10711 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10712
10713         * docs/manual/advanced-dparams.xml:
10714           Fix typo (g_object_control_properties() doesn't exist).
10715
10716 2006-12-19  Edward Hervey  <edward@fluendo.com>
10717
10718         * gst/gstsegment.c: (gst_segment_set_seek):
10719         Fine tune the cases where the segment start/stop values are really
10720         updated.
10721         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10722         Add tests for the return values of gst_segment_set_seek().
10723
10724 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10725
10726         * gst/gst.c:
10727           Docs typo fix.
10728
10729         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10730         (gst_queue_init):
10731           Fix incorrect documentation and flesh it out a bit more.
10732           Set default values for the max properties on the GParamSpec as well,
10733           so it shows up correctly in gst-inspect.
10734
10735 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10736
10737         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10738           Correct docs of queue, add more detail and crosslink it more.
10739
10740 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10741
10742         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10743           Print additional debug info when the stream isn't perfectly
10744           timestamped; don't try to use invalid durations.
10745
10746 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10747
10748         * docs/design/Makefile.am:
10749           Dist new design docs.
10750
10751 2006-12-16  Wim Taymans  <wim@fluendo.com>
10752
10753         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10754
10755         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10756         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10757         (gst_collect_pads_stop), (gst_collect_pads_event),
10758         (gst_collect_pads_chain):
10759         * libs/gst/base/gstcollectpads.h:
10760         Add refcounting to the collectpads data so we can track when it's safe
10761         to free the data. Fixes #383382.
10762
10763 2006-12-15  Wim Taymans  <wim@fluendo.com>
10764
10765         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10766         (gst_collect_pads_remove_pad):
10767         Automatically activate/deactivate pads when they are added to a
10768         started/stoped collectpads.
10769
10770 2006-12-15  Wim Taymans  <wim@fluendo.com>
10771
10772         * gst/gstelement.c: (gst_element_add_pad):
10773         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10774         * gst/gstpad.c: (gst_pad_init):
10775         Set pads to FLUSHING when they are created. Check, warn and fix when a
10776         demuxer adds an inactive pad to itself when running. Fixes #339326.
10777
10778 2006-12-15  Wim Taymans  <wim@fluendo.com>
10779
10780         * gst/gstelement.c: (gst_element_class_init),
10781         (gst_element_default_send_event), (gst_element_send_event),
10782         (gst_element_default_query), (gst_element_query):
10783         Expose default element send_event and query handling as vmethods that
10784         subclasses can chain up to.
10785
10786 2006-12-15  Wim Taymans  <wim@fluendo.com>
10787
10788         * gst/gstelement.c: (gst_element_set_state_func):
10789         Small documentation fixes.
10790
10791 2006-12-15  Wim Taymans  <wim@fluendo.com>
10792
10793         * docs/design/draft-latency.txt:
10794         Checked in draft for handling latency in pipelines.
10795
10796 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10797
10798         * Makefile.am:
10799         * gstreamer.doap:
10800         * gstreamer.spec.in:
10801           adding .doap file
10802
10803 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
10804
10805         * gst/gst.c: (init_pre), (init_post):
10806           init_pre() and init_post() might be called via our GOptionGroup or
10807           from gst_init(), and we should skip both of them if we've already
10808           been initialised, otherwise we will init some things twice or add
10809           two default log functions.
10810
10811 2006-12-13  Edward Hervey  <edward@fluendo.com>
10812
10813         * docs/manual/basics-bus.xml:
10814         No, gst_main_loop does not exist. Its g_main_loop.
10815         Discovered by somebody who abused the copy-paste technique of coding :)
10816
10817 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
10818
10819         * gst/gstghostpad.c:
10820           Log ghostpad debug stuff to the GST_PADS category as well rather
10821           than just to the default category.
10822
10823 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
10824
10825         * configure.ac:
10826         * gst/gst.c: (init_pre):
10827           Add some basic system details such as OS and architecture
10828           to the debug output if possible, courtesy of uname().
10829
10830 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10831
10832         * docs/gst/running.xml:
10833           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10834           environment variables.
10835
10836 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10837
10838         * tests/check/gst/gstbin.c: (GST_START_TEST):
10839         It is acceptable to have a refcount of 2 or 3 at this point in the
10840         test, because the pipeline might be just posting its state_change
10841         message. The next line then waits for that message to appear using
10842         bus_poll, so that should be fine too.
10843
10844 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10845
10846         * gst/gst.c: (ensure_current_registry_forking):
10847         Ignore EINTR when reading from the child registry pipe.
10848         Explicitly ignore the return value from close, since it makes no
10849         difference.
10850
10851         * gst/gstminiobject.c: (gst_mini_object_ref),
10852         (gst_mini_object_unref):
10853         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10854
10855         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10856         When removing cached plugins, remove their features too, so they're
10857         not visible after they've disappeared.
10858
10859         * gst/gstutils.c: (prepare_link_maybe_ghosting):
10860         In the unlikely case that we are linking pads with no parents, don't
10861         crash trying to get the non-existent parent bin.
10862
10863         * gst/parse/grammar.y:
10864         Output debug in the PIPELINE category
10865
10866 2005-03-08  Wim Taymans  <wim@fluendo.com>
10867
10868         Patch by: René Stadler <mail at renestadler dot de>
10869
10870         * gst/gstclock.c: (gst_clock_new_periodic_id):
10871         Reject invalid clock times for interval of periodic ids.
10872         Fixes ##383506.
10873
10874 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
10875
10876         * gst/gstelementfactory.c: (gst_element_factory_create):
10877         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10878         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10879         * tools/gst-inspect.c: (print_element_info):
10880         Fix refcounting of gst_plugin_feature_load to match the docs. 
10881         Fixes: #380129
10882
10883 2006-12-07  Wim Taymans  <wim@fluendo.com>
10884
10885         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10886         (gst_base_sink_get_position):
10887         Improve debugging of events.
10888
10889 2006-12-07  Wim Taymans  <wim@fluendo.com>
10890
10891         Patch by: René Stadler <mail at renestadler dot de>
10892
10893         * gst/gstclock.c: (gst_clock_id_wait):
10894         Make period ids add the interval to the origial requested time instead
10895         of the possibly updated time which can be wrong when there are multiple
10896         waiters for the same id. Fixes #382592.
10897
10898         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10899         (gst_system_clock_id_wait_jitter_unlocked),
10900         (gst_system_clock_id_wait_jitter):
10901         Fix restart in the async notify thread when an async entry is added to
10902         the front of the list. Fixes #381492. 
10903
10904         * tests/check/gst/gstsystemclock.c: (store_callback),
10905         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10906         Added test for multiple async waits.
10907         Added test for async wait order.
10908
10909 2006-12-07  Wim Taymans  <wim@fluendo.com>
10910
10911         * gst/gstbin.c: (gst_bin_query):
10912         Add some more docs about the POSITION query.
10913
10914 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
10915
10916         * configure.ac:
10917         Bump version nano - back to CVS.
10918
10919 === release 0.10.11 ===
10920
10921 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
10922
10923         * configure.ac:
10924           releasing 0.10.11, "Love never runs on time"
10925
10926 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
10927
10928         * win32/common/libgstbase.def:
10929         * win32/common/libgstreamer.def:
10930         * win32/vs8/libgstbase.vcproj:
10931         * win32/vs8/libgstcoreelements.vcproj:
10932         * win32/vs8/libgstreamer.vcproj:
10933         Fix compilation on win32 under VS8
10934         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10935         Partially fixes #381175
10936
10937 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10938
10939         * gst/gstvalue.c: (gst_value_compare_fraction):
10940         If someone is foolish enough to compare 2 fractions with denominator =
10941         0, return UNORDERED rather than aborting.
10942
10943 2006-11-28  Edward Hervey  <edward@fluendo.com>
10944
10945         * libs/gst/base/Makefile.am:
10946         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10947         (gst_data_queue_base_init), (gst_data_queue_class_init),
10948         (gst_data_queue_init), (gst_data_queue_new),
10949         (gst_data_queue_cleanup), (gst_data_queue_finalize),
10950         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10951         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10952         (gst_data_queue_is_empty), (gst_data_queue_is_full),
10953         (gst_data_queue_set_flushing), (gst_data_queue_push),
10954         (gst_data_queue_pop), (gst_data_queue_drop_head),
10955         (gst_data_queue_set_property), (gst_data_queue_get_property):
10956         * libs/gst/base/gstdataqueue.h:
10957         New GstDataQueue object for threadsafe queueing. Most useful for
10958         elements that need some queueing functionnality.
10959         * docs/libs/gstreamer-libs-docs.sgml:
10960         * docs/libs/gstreamer-libs-sections.txt:
10961         Insert documentation for GstDataQueue
10962         * plugins/elements/Makefile.am:
10963         * plugins/elements/gstelements.c:
10964         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10965         (gst_multi_queue_class_init), (gst_multi_queue_init),
10966         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10967         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10968         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10969         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10970         (gst_multi_queue_loop), (gst_multi_queue_chain),
10971         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10972         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10973         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10974         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10975         (wake_up_next_non_linked), (compute_next_non_linked),
10976         (single_queue_overrun_cb), (single_queue_underrun_cb),
10977         (single_queue_check_full), (gst_single_queue_new):
10978         * plugins/elements/gstmultiqueue.h:
10979         New multiqueue element, using GstDataQueue. Used for queuing multiple
10980         streams.
10981         Closes #344639 and #347785
10982
10983 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
10984
10985         * docs/pwg/advanced-types.xml:
10986           add more missing type details
10987
10988         * tools/gst-run.c: (main):
10989           remove unused variable
10990
10991 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
10992
10993         * docs/libs/Makefile.am:
10994         * docs/libs/gstreamer-libs.types:
10995           add types of base classes to enable gobject specific stuff in the docs
10996
10997         * docs/random/ensonic/embedded.txt:
10998           more ideas about isolating platform specific things
10999
11000 2006-11-20  Wim Taymans  <wim@fluendo.com>
11001
11002         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11003
11004         * libs/gst/check/gstcheck.h:
11005         Fix compilation and running against 0.9.4. Fixes #377332.
11006
11007 2006-11-20  Wim Taymans  <wim@fluendo.com>
11008
11009         * gst/gstsegment.c: (gst_segment_set_seek),
11010         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11011         (gst_segment_to_running_time):
11012         Fix boundary checking in to_running_time() and to_stream_time().
11013         Fixes #377183.
11014
11015         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11016         stream and running time can now be calculated for the complete
11017         clipped segment.
11018
11019 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11020
11021         * gst/gstpad.c: (gst_pad_push_event):
11022           Can't access event structure after giving away ownership of
11023           the event.
11024
11025 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11026
11027         * docs/random/ensonic/embedded.txt:
11028         * docs/random/ensonic/profiling.txt:
11029         * docs/random/ensonic/receipies.txt:
11030           more thinking
11031
11032 2006-11-13  Wim Taymans  <wim@fluendo.com>
11033
11034         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11035
11036         * gst/gstpad.c:
11037         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11038
11039 2006-11-13  Wim Taymans  <wim@fluendo.com>
11040
11041         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11042
11043         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11044         Store new length in segment duration so we don't keep on calling the
11045         potentially expensize get_size() call. Fixes #370865.
11046
11047 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11048
11049         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11050
11051         * win32/common/libgstreamer.def:
11052           Add two missing symbols (#366492).
11053
11054 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11055
11056         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11057         (gst_adapter_take_buffer):
11058         Fix format string to use all its arguments.
11059         Remove useless >= check on a guint
11060
11061 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11062
11063         * tests/examples/adapter/.cvsignore:
11064         Ignore build file as commanded by the build-bot
11065
11066 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11067
11068         * tests/examples/adapter/Makefile.am:
11069         * tests/examples/adapter/adapter_test.c: (run_test_take),
11070         (run_test_take_buffer), (run_tests), (main):
11071
11072         Add new files from the previous commit
11073
11074 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11075
11076         * Makefile.am:
11077         * configure.ac:
11078         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11079         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11080         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11081         * libs/gst/base/gstadapter.h:
11082         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11083         (GST_START_TEST), (gst_adapter_suite):
11084         * tests/examples/Makefile.am:
11085         Do some optimisation work in GstAdapter to avoid copies in more cases.
11086         It could still do slightly better by merging buffers when
11087         gst_buffer_is_span_fast is true, but is already faster. 
11088
11089         Also, avoid traversing a single-linked list to append each incoming 
11090         buffer inside the adapter.
11091
11092         Add simple test app that times the adapter behaviour in different
11093         situations, and extend the unit test to check that bytes enter and
11094         exit the adapter in their original order.
11095
11096 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11097
11098         * docs/random/draft-missing-plugins.txt:
11099           Update: use element message instead of adding a new message
11100           type to the core; don't provide GStreamer API to initiate the
11101           plugin download, just provide API to compose the strings needed
11102           and let an external libgimmestuff handle the rest.
11103
11104 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11105
11106         * tools/gst-inspect.c: (print_element_properties_info):
11107         Print a string instead of 'unknown type' for GValueArray properties
11108
11109 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11110
11111         * docs/random/draft-missing-plugins.txt:
11112         More small fixes.
11113
11114 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11115
11116         * tests/examples/typefind/typefind.c: (type_found), (main):
11117           Make typefind element example work again (#371894); add a
11118           license header.
11119
11120 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11121
11122         * docs/random/draft-missing-plugins.txt:
11123           Commit initial draft about how to deal with missing plugins,
11124           needs work (API too).
11125
11126 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11127
11128         * docs/pwg/advanced-types.xml:
11129           documents the new caps elements (see #363118)
11130
11131 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11132
11133         * gst/gstplugin.c: (gst_plugin_load_file):
11134         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11135         (gst_file_src_map_region), (gst_file_src_start):
11136         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11137         (gst_file_index_commit):
11138           Use g_strerror() instead of strerror() - we want UTF-8.
11139
11140 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11141
11142         Patch by: Peter Kjellerstedt <pkj at axis com>
11143
11144         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11145           Another printf fix (#371493).
11146
11147 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11148
11149         * tests/check/gst/gsttag.c:
11150           relicence (okay with author=company)
11151
11152 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11153
11154         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11155         (gst_pad_push_event):
11156           Enhance debug and improve docs
11157         
11158         * gst/gsturi.c:
11159           Fix docs
11160
11161 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11162
11163         * docs/random/ensonic/distributed.txt:
11164         * docs/random/ensonic/profiling.txt:
11165           more ideas
11166
11167 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11168
11169         * docs/gst/gstreamer-sections.txt:
11170           add new API and fix the build
11171           
11172         * gst/gstbin.c: (gst_bin_recalc_state):
11173         * gst/gstelement.c: (gst_element_message_full),
11174         (gst_element_get_state_func), (gst_element_set_state_func):
11175           use new API and improve logging
11176         
11177         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11178         * gst/gstutils.h:
11179           API: add function to get StateChangereturn names to improve logs 
11180
11181 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11182
11183         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11184           I'm considering shooting the next person to put strerror stuff
11185           in the translateable part of the message.
11186
11187 2006-11-03  Wim Taymans  <wim@fluendo.com>
11188
11189         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11190         Get the type and printf conversion specifiers right.
11191
11192 2006-11-03  Wim Taymans  <wim@fluendo.com>
11193
11194         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11195
11196         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11197         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11198         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11199         Some small cleanups. Improve debugging.
11200         * gst/gstpad.h:
11201         Signal all waiting threads with a broadcast instead of just one.
11202         Fixes #369942.
11203
11204 2006-11-03  Wim Taymans  <wim@fluendo.com>
11205
11206         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11207         (gst_fd_src_create):
11208         Add some debugging. 
11209         Only update fd when it's different from the old.
11210
11211 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11212
11213         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11214           Printf fixes for PPC/OSX, take two (#369366).
11215
11216 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11217
11218         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11219
11220         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11221         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11222         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11223           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11224           don't cast to long long for portability reasons, but use
11225           GLib's types instead.
11226
11227 2006-10-30  Michael Smith  <msmith@fluendo.com>
11228
11229         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11230           Get the arguments to lseek() the right way around.
11231           Fixes 367677.
11232
11233 2006-10-30  Wim Taymans  <wim@fluendo.com>
11234
11235         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11236
11237         * gst/gstinfo.h:
11238         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11239
11240 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11241
11242         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11243
11244         * docs/design/part-MT-refcounting.txt:
11245         * docs/random/wtay/capsnego2-docs:
11246         * gst/gstclock.c:
11247         * gst/gstxml.c:
11248           Typo fixes (#366212).
11249
11250 2006-10-28  Wim Taymans  <wim@fluendo.com>
11251
11252         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11253
11254         * gst/gst.c:
11255         * win32/common/libgstbase.def:
11256         * win32/common/libgstreamer.def:
11257         * win32/vs8/libgstbase.vcproj:
11258         * win32/vs8/libgstcontroller.vcproj:
11259         Add needed entries in .def files.
11260         Use HAVE_UNISTD_H.
11261         Rearrange def files in vs8 solutions. Fixes #366286.
11262
11263 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11264
11265         * win32/common/gstconfig.h:
11266           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11267           hand-made win32 gstconfig.h. Fixes #366321.
11268
11269 2006-10-27  Wim Taymans  <wim@fluendo.com>
11270
11271         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11272         (gst_ghost_pad_new_full):
11273         Make acceptcaps return TRUE when we don't have a target, just like
11274         setcaps does.
11275
11276 2006-10-27  Wim Taymans  <wim@fluendo.com>
11277
11278         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11279         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11280
11281 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11282
11283         * gst/gststructure.c: (gst_structure_id_set_value):
11284           If someone tries to set a non-UTF8 string field on a structure,
11285           don't just print a warning, but also ignore the request and do
11286           not change/add that field to the structure.
11287
11288         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11289           Test for the above.
11290
11291 2006-10-25  David Schleef  <ds@schleef.org>
11292
11293         * gst/gstinfo.c:
11294           g_hash_table_insert() needs a cast to a non-const pointer duh.
11295
11296 2006-10-25  David Schleef  <ds@schleef.org>
11297
11298         * gst/gstinfo.c:
11299         * gst/gstinfo.h:
11300           Change name parameter of _gst_debug_register_funcptr to const
11301           to reflect the constness of its use in the function as well
11302           as to quiet a gcc warning.
11303
11304 2006-10-25  Edward Hervey  <edward@fluendo.com>
11305
11306         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11307         Don't push the buffer if it's empty.
11308         Closes #363095
11309
11310 2006-10-24  Wim Taymans  <wim@fluendo.com>
11311
11312         * gst/gstevent.h:
11313         Add small comment.
11314
11315         * libs/gst/base/gstbasetransform.c:
11316         (gst_base_transform_sink_eventfunc):
11317         Debug segment values *after* updating them as this is more
11318         interesting.
11319
11320 2006-10-23  Wim Taymans  <wim@fluendo.com>
11321
11322         * docs/design/part-events.txt:
11323         Update some docs.
11324
11325         * docs/design/part-block.txt:
11326         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11327         (gst_pad_push_event):
11328         Revert BLOCKING patch, it tries to be smart without really having a
11329         clear idea what or how. So, now we discard all FLUSHING events again on
11330         a blocking pad. Should fix gnonlin again.
11331
11332 2006-10-23  Wim Taymans  <wim@fluendo.com>
11333
11334         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11335
11336         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11337         (gst_base_src_start), (gst_base_src_activate_push):
11338         Make sure size is always initialized. Fixes #364388.
11339
11340 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11341
11342         * docs/random/ensonic/distributed.txt:
11343           add some ideas about doing distributed processing
11344
11345         * docs/random/ensonic/profiling.txt:
11346           get_rusage look promising
11347
11348 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11349
11350         * docs/manual/basics-helloworld.xml:
11351           Add a cast in example to fix compile warning
11352
11353 2006-10-18  Wim Taymans  <wim@fluendo.com>
11354
11355         * gst/gstsegment.c: (gst_segment_set_last_stop),
11356         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11357         Relax arg checking again, -1 is allowed.
11358
11359 2006-10-18  Wim Taymans  <wim@fluendo.com>
11360
11361         * gst/gstsegment.c: (gst_segment_set_last_stop),
11362         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11363         _set_last_stop() must be with a value != -1
11364         A _TYPE_SET to -1 means seek to 0.
11365         Calc last_stop correctly for negative rates.
11366         Make sure we work with positive durations when updating a segment.
11367
11368 2006-10-18  Wim Taymans  <wim@fluendo.com>
11369
11370         * docs/design/part-live-source.txt:
11371         * gst/gstclock.h:
11372         Small docs fixes.
11373
11374 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11375
11376         * gst/gstbuffer.h:
11377           Add an explicit cast to GstBuffer** to keep old code that added an
11378           explicit cast to GstMiniObject** for gst_mini_object_replace()
11379           compiling without warning.
11380
11381 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11382
11383         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11384           check for validity of dates
11385
11386 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11387
11388         * docs/gst/gstreamer-sections.txt:
11389           Forgot this one, makes gtk-doc shut up.
11390
11391 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11392
11393         Patch by: Peter Kjellerstedt <pkj at axis com>
11394
11395         * gst/gstobject.h:
11396           Don't define xmlNodePtr to gpointer if the core was built with
11397           --disable-loadsave and --disable-registry, this will break
11398           applications that want to use libxml2 but are buildling against a
11399           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11400           instead so we don't have to mess with the libxml2 namespace
11401           (#361675).
11402
11403 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11404
11405         * gst/gstbuffer.h:
11406           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11407           type-punned pointer warnings.
11408
11409 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11410
11411         * gst/gstelement.h:
11412           Add casts to the correct return type to state <=> state transition
11413           macros.
11414
11415 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11416
11417         * docs/design/part-live-source.txt:
11418           describe howto handle latency
11419         
11420         * docs/random/ensonic/profiling.txt:
11421           more ideas
11422
11423         * tools/gst-plot-timeline.py:
11424           fix log parsing for solaris, remove unused function
11425
11426 2006-10-16  Wim Taymans  <wim@fluendo.com>
11427
11428         * docs/design/part-trickmodes.txt:
11429         * gst/gstevent.c:
11430         Update some docs regarding reverse playback.
11431
11432 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11433
11434         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11435
11436         * win32/vs8/grammar.vcproj:
11437           Error out with a warning if glib-genmarshal.exe is not in path,
11438           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11439
11440 2006-10-13  Wim Taymans  <wim@fluendo.com>
11441
11442         * gst/gstsegment.c: (gst_segment_set_seek):
11443         When seeking to stop -1, set last_stop (current position) to the
11444         duration of the segment.
11445
11446 2006-10-13  Wim Taymans  <wim@fluendo.com>
11447
11448         * gst/gstelement.h:
11449         Clarify _NO_PREROLL a bit more.
11450
11451         * gst/gstevent.c:
11452         Fix docs.
11453
11454         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11455         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11456         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11457         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11458         due to wrong locking order. Fixes #361769.
11459         Remove some redundant/misplaced checks in pad_block.
11460
11461         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11462         For negative rates, count backwards from the duration.
11463
11464 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11465
11466         * gst/gsterror.c: (_gst_library_errors_init):
11467           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11468           up with something better).
11469
11470 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11471
11472         * win32/vs6/libgstreamer.dsp:
11473         * win32/vs7/libgstreamer.vcproj:
11474         * win32/vs8/libgstreamer.vcproj:
11475           Don't reference glib-compat.c which is currently not used and not
11476           disted; add gstquark.c which was recently added. Fixes #361730.
11477
11478 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11479
11480         * win32/common/libgstbase.def:
11481         * win32/common/libgstcontroller.def:
11482         * win32/common/libgstreamer.def:
11483           Add gst_caps_merge() and a bunch of other recently-added functions.
11484           Fixes #361732.
11485
11486 2006-10-11  Wim Taymans  <wim@fluendo.com>
11487
11488         * docs/plugins/gstreamer-plugins.args:
11489         * docs/plugins/inspect/plugin-coreelements.xml:
11490         * docs/plugins/inspect/plugin-coreindexers.xml:
11491         Update element args.
11492
11493         * gst/gstsystemclock.c:
11494         Small comment update.
11495
11496         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11497         (gst_tee_request_new_pad), (gst_tee_release_pad),
11498         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11499         (gst_tee_sink_activate_pull):
11500         * plugins/elements/gsttee.h:
11501         Some tee loving:
11502         Add default property defines.
11503         Implement release pad function.
11504         Give properties better blubs etc.
11505         Activate pads before adding them to a running tee.
11506         Do simple buffer_alloc on the first requested pad.
11507         Post error when activation fails.
11508
11509 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11510
11511         * gst/gst.c: (ensure_current_registry_forking):
11512           Check return value of write() to make compiler happy.
11513
11514 2006-10-11  Wim Taymans  <wim@fluendo.com>
11515
11516         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11517
11518         * plugins/elements/gstqueue.c: (gst_queue_chain):
11519         Recheck queue filledness after signalling the overrun when we're about
11520         to leak downstream because we released the lock when emitting the signal
11521         and the queue could be empty again. Fixes #352345.
11522
11523 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11524
11525         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11526           Fix refcounting here too, just like we did for _new_valist() a few
11527           days ago (#357180) (thanks to René Stadler). Also remove all those
11528           'Since: 0.9' from the gtk-doc blobs.
11529
11530         * tests/check/libs/controller.c: (controller_refcount_new_list),
11531         (gst_controller_suite):
11532           Unit test for the above.
11533
11534 2006-10-10  Wim Taymans  <wim@fluendo.com>
11535
11536         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11537
11538         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11539         (gst_pad_save_thyself):
11540         Update some docs.
11541         Write pad direction in XML output. Fixes #345496.
11542
11543 2006-10-10  Wim Taymans  <wim@fluendo.com>
11544
11545         Patch by: René Stadler <mail at renestadler dot de>
11546
11547         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11548         (gst_controller_new_list), (_gst_controller_dispose),
11549         (_gst_controller_finalize), (_gst_controller_class_init):
11550         Take ref to controlled object so that it cannot disappear. 
11551         Fixes #357432.
11552
11553 2006-10-10  Wim Taymans  <wim@fluendo.com>
11554
11555         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11556         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11557         (gst_check_teardown_sink_pad):
11558         Activate/deactivate pads in setup/teardown respectively.
11559
11560 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11561
11562         Patch by: Josep Torra Valles <josep@fluendo.com>
11563
11564         * gst/Makefile.am:
11565         Cast values when making gstenumtypes.h.  This pacifies Forte
11566         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11567         in the enumeration.
11568
11569 2006-10-09  Wim Taymans  <wim@fluendo.com>
11570
11571         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11572         Rename some more @cur to @start to fix docs. 
11573
11574         * gst/gstsegment.c: (gst_segment_set_seek):
11575         Fix typo.
11576         time and start must always stay in sync as defined in design doc.
11577
11578         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11579         Rename param to fix docs.
11580
11581         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11582         Check that start and time are in sync.
11583
11584         * tests/check/pipelines/parse-launch.c:
11585         (gst_parse_test_element_change_state):
11586         Activate pad before adding to the element.
11587
11588 2006-10-09  Wim Taymans  <wim@fluendo.com>
11589
11590         * docs/design/part-qos.txt:
11591         Fix typo.
11592
11593         * gst/gstevent.c:
11594         * gst/gstevent.h:
11595         Update seek event docs regarding negative rates.
11596         Rename @cur to @start. 
11597
11598         * gst/gstsegment.c: (gst_segment_set_seek):
11599         * gst/gstsegment.h:
11600         Update set_seek docs regarding negative rates.
11601         Correctly update last_stop to @stop when dealing with negative
11602         rates.
11603         Rename @cur to @start. 
11604
11605         * tests/check/gst/gstpad.c: (GST_START_TEST):
11606         Activate pads before trying to use them.
11607
11608         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11609         (gst_segment_suite):
11610         Add simple check for segments and negative rates.
11611
11612 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11613
11614         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11615         * gst/gsttaglist.h:
11616         * docs/gst/gstreamer-sections.txt:
11617           API: add gst_tag_list_is_empty() (#360467).
11618
11619         * tests/check/gst/gsttag.c: (GST_START_TEST):
11620           And a test case.
11621
11622 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11623
11624         * gst/gstmessage.h:
11625         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11626         a value that doesn't fit on enumeration.
11627
11628 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11629
11630         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11631         Remove local debugging system and use Gstreamer's instead.
11632
11633 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11634
11635         Patch by: Josep Torra Valles <josep@fluendo.com>
11636
11637         * common/m4/gst-error.m4:
11638         Disable warning of statement not reached on Forte.
11639         * gst/gstmessage.h:
11640         Fix warning on Forte (value doesn't fit on enumeration).
11641         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11642         Fix warning on Forte (value doesn't fit on enumeration).
11643         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11644         DEBUG macro says it takes minimum of 2 args and so Forte
11645         complains about the use with just 1 arg.
11646         * plugins/elements/gstfdsink.c:
11647         * plugins/elements/gstfdsrc.c:
11648         * plugins/elements/gstfilesink.c:
11649         * plugins/elements/gstfilesrc.c:
11650         Use correct return type for the uri handler implementations.
11651
11652         All these fix warnings in Forte.  Fixes bug #360860.
11653
11654 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11655
11656         * gst/gstelement.h:
11657           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11658           format string, so don't use G_GNUC_PRINTF for those versions.
11659
11660 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11661
11662         * gst/gsttaglist.c: (gst_is_tag_list):
11663         * gst/gsttaglist.h:
11664           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11665
11666         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11667           Small test for the above.
11668
11669 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11670
11671         * gst/gsttaglist.h:
11672           Less tabs, more spaces.
11673
11674 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11675
11676         * gst/gstinfo.h:
11677           Those two function declarations do actually belong there, revert
11678           commit from yesterday that turned them intro macros.
11679
11680 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11681
11682         Patch by: Josep Torra Valles <josep@fluendo.com>
11683
11684         * gst/gst.c: (gst_init_get_option_group):
11685         Fix empty declaration and type mismatch.
11686         * gst/gstbin.c: (gst_bin_change_state_func):
11687         Fix type mismatch.
11688         * gst/gstelement.c: (gst_element_continue_state),
11689         (gst_element_set_state_func), (gst_element_change_state),
11690         (gst_element_change_state_func):
11691         Fix type mismatches.
11692         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11693         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11694         Cast as appropriate.
11695         * gst/gstobject.c: (gst_class_signal_connect):
11696         Cast as appropriate.  The function pointer parameter really
11697         has the wrong type but would break API if we change it.
11698         * gst/gstquery.c:
11699         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11700         order of including string.h.
11701         * gst/gstutils.c: (gst_element_state_get_name):
11702         Remove unreachable line.
11703         * gst/gstxml.c: (gst_xml_parse_doc):
11704         Fix type mismatch.
11705         All these caught by Forte.
11706
11707 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11708
11709         Patch by: Josep Torra Valles <josep@fluendo.com>
11710
11711         * common/m4/gst-error.m4:
11712         Fixed bug #360151.
11713         We need to disable warnings on Forte for empty declarations
11714         due to gst-indent adding ;s to lines that just use macros
11715         where the macro actually doesn't need a ; at end to end
11716         statement.
11717
11718 2006-10-06  Wim Taymans  <wim@fluendo.com>
11719
11720         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11721         (gst_file_sink_close_file), (gst_file_sink_event),
11722         (gst_file_sink_render):
11723         Add some FIXME for the NEWSEGMENT handling.
11724
11725 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11726
11727         * gst/parse/grammar.y:
11728         Remove static function gst_parse_element_lock as all it does
11729         is return.  Looks like cruft from 0.8.
11730
11731 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11732
11733         Patch by: Josep Torra Valles <josep@fluendo.com>
11734
11735         * common/m4/gst-error.m4:
11736         * configure.ac:
11737         * libs/gst/net/Makefile.am:
11738         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11739         libresolv.
11740
11741 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11742
11743         * gst/gstpad.c: (pre_activate):
11744         * gst/gstregistry.c: (gst_registry_scan_path_level):
11745         * gst/gstregistryxml.c: (load_plugin):
11746         * libs/gst/controller/gstcontroller.c:
11747         (gst_controlled_property_set_interpolation_mode):
11748         * libs/gst/dataprotocol/dataprotocol.c:
11749         (gst_dp_packet_from_event_1_0):
11750         * libs/gst/net/gstnetclientclock.c:
11751         (gst_net_client_clock_observe_times):
11752         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11753           Printf fixes.
11754
11755 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11756
11757         * configure.ac:
11758         * docs/gst/gstreamer-sections.txt:
11759         * gst/gstconfig.h.in:
11760         * gst/gstelement.h:
11761         * gst/gstinfo.h:
11762           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11763           whether we can use G_GNUC_PRINTF in other header files and at
11764           least check the printf format/arguments of debug messages and
11765           GST_ELEMENT_ERROR messages when the printf extension is not
11766           being used.
11767           Replace more tabs with spaces in gstinfo.h and remove two spurious
11768           function declarations in GST_DISABLE_DEBUG part with macros.
11769
11770 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
11771
11772         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11773           More docs for the sync-message signal (mention that it is not
11774           emitted by default); log message structures of messages posted on
11775           the bus as well.
11776
11777 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
11778
11779         * gst/gst.c: (ensure_current_registry_forking):
11780         Use a pipe pair to receive status results from the forked child, and
11781         ignore the result from waitpid. Fixes #355499
11782
11783 2006-10-02  Wim Taymans  <wim@fluendo.com>
11784
11785         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11786         (gst_ghost_pad_suite):
11787         Fix leak in check.
11788
11789 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11790
11791         * gst/gstpad.c:
11792           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11793
11794 2006-10-02  Edward Hervey  <edward@fluendo.com>
11795
11796         * docs/design/part-block.txt:
11797         Further explain the use of flushing on blocked pads.
11798         * docs/gst/gstreamer-sections.txt:
11799         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11800         (gst_pad_push_event):
11801         * gst/gstpad.h:
11802         Added new GstPadFlag : GST_PAD_BLOCKING.
11803         Adds the notion of pads really blocking, which enables to properly
11804         handle FLUSH_START/FLUSH_STOP events on blocked pads.
11805         Fixes #358999
11806         API: gst_pad_is_blocking()
11807         API: GST_PAD_IS_BLOCKING() macro
11808         API: GST_PAD_BLOCKING GstPadFlag
11809         
11810 2006-10-02  Wim Taymans  <wim@fluendo.com>
11811
11812         Patch by: mrcgran <mrc.gran at gmail dot com>
11813
11814         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11815         Filter the proxied caps against the padtemplate if we have one.
11816
11817         * gst/gstquery.c: (gst_query_new_segment):
11818         Add include for gstinfo.h so that compilation with
11819         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11820
11821 2006-10-02  Wim Taymans  <wim@fluendo.com>
11822
11823         Patch by: Alessandro Decina  <alessandro at nnva org>
11824
11825         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11826         (gst_file_sink_set_location), (gst_file_sink_open_file),
11827         (gst_file_sink_close_file), (gst_file_sink_event),
11828         (gst_file_sink_render):
11829         Set file to NULL when closing filesink so that we can set a new filename
11830         in READY. Fixes #358613.
11831
11832 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11833
11834         Patch by: Alessandro Decina  <alessandro at nnva org>
11835
11836         * gst/gstevent.c: (_gst_event_copy):
11837           Fix gst_mini_object_make_writable() and gst_event_copy() for events
11838           with event structures by setting the parent refcount address of the
11839           copied structure to the address of the refcount member of the newly
11840           copied event rather than the address of the refcount member of the
11841           original event. Fixes #358737.
11842
11843         * tests/check/gst/gstevent.c: (GST_START_TEST):
11844           Unit test for the above.
11845
11846 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
11847
11848         * docs/design/Makefile.am:
11849           Dist some more files.
11850
11851 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11852
11853         * tests/check/libs/controller.c: (GST_START_TEST),
11854         (gst_controller_suite):
11855           Add test for the previous fix; add some more tests
11856           for correct refcounting behaviour; fix a few leaks
11857           in test cases; call gst_controller_init() at start
11858           of all tests.
11859
11860 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11861
11862         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11863         (gst_controller_set_from_list):
11864           Don't g_return_val_if_fail() on timed values with invalid timestamps
11865           inside a critical section without unlocking the mutex. Spotted by
11866           René Stadler. (#357617)
11867           Also, fix up refcounting properly: when returning an existing
11868           controller, we should increase the reference only once and not
11869           once per property and when trying to control a property again
11870           we should also increase the refcount.
11871
11872 2006-09-29  Wim Taymans  <wim@fluendo.com>
11873
11874         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11875         * libs/gst/net/gstnettimeprovider.c:
11876         (gst_net_time_provider_thread):
11877         Stop reading commands when EOF as well.
11878
11879         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11880         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11881         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11882         Unify description of the dump property.
11883
11884 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11885
11886         * tests/examples/manual/.cvsignore:
11887         OK, so it's actually cvsignore that needs changing. Stop laughing.
11888
11889 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11890
11891         * tests/examples/manual/Makefile.am:
11892         Gah, declare vars *before* using them
11893
11894 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11895
11896         * gst/gst.c: (init_pre), (scan_and_update_registry),
11897         (ensure_current_registry_nonforking),
11898         (ensure_current_registry_forking), (ensure_current_registry),
11899         (init_post), (gst_debug_help), (gst_deinit):
11900         * gst/gst_private.h:
11901         * gst/gstregistry.c: (gst_registry_finalize),
11902         (gst_registry_remove_features_for_plugin_unlocked),
11903         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11904         (gst_registry_scan_path),
11905         (_priv_gst_registry_remove_cache_plugins),
11906         (_priv_gst_registry_cleanup):
11907         * gst/gstregistry.h:
11908         Re-commit the registry changes, along with an extra fix:
11909           When a cached plugin is encountered at a different file path,
11910           update the stored path in the registry cache so that the parent
11911           process knows where it actually is now when it re-reads the registry
11912           cache. Fixes the thing that broke distcheck with the previous commit.
11913
11914         * tests/check/Makefile.am:
11915         Clean up files named 'core' too when running make clean.
11916
11917         * tests/examples/manual/Makefile.am:
11918         Set up a registry path for running these tests, and clean it properly
11919         for distcheck.
11920
11921 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11922
11923         * configure.ac:
11924         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11925         want gmodule-no-export-2.0.pc instead so that we don't drag in
11926         --export-dynamic on every project that links to GStreamer.
11927
11928         Also, make our export regex only match the start of symbols, rather 
11929         than any symbol that contains '_gst' somewhere.
11930
11931         * libs/gst/check/Makefile.am:
11932         The libgstcheck we build does however need export-dynamic, as it
11933         produces some symbols that don't match our _gst... style regex.
11934         Fixes: #318031
11935
11936 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
11937
11938         * gst/gst.c: (init_pre), (scan_and_update_registry),
11939         (ensure_current_registry_nonforking),
11940         (ensure_current_registry_forking), (ensure_current_registry),
11941         (init_post), (gst_debug_help), (gst_deinit):
11942         * gst/gst_private.h:
11943         * gst/gstregistry.c: (gst_registry_finalize),
11944         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11945         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11946         (_gst_registry_cleanup):
11947         * gst/gstregistry.h:
11948           Revert previous change until I figure out why it breaks distcheck.
11949
11950 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
11951
11952         * gst/gst.c: (init_pre), (scan_and_update_registry),
11953         (ensure_current_registry_nonforking),
11954         (ensure_current_registry_forking), (ensure_current_registry),
11955         (init_post), (gst_debug_help), (gst_deinit):
11956
11957           Make init_pre and init_post take the full complement of GOptionFunc
11958           args so they can return useful GErrors. Make the registry updating
11959           functions do so.
11960
11961           Call _priv_gst_registry_remove_cache_plugins after scanning files to
11962           ensure that the registry we're about to write out doesn't contain
11963           stale information about old-deleted plugin files.
11964
11965           Make _priv_gst_registry_remove_cache_plugins return a boolean so
11966           that deletion of plugin files is considered a registry change.
11967
11968         * gst/gst_private.h:
11969         * gst/gstregistry.c: (gst_registry_finalize),
11970         (gst_registry_remove_features_for_plugin_unlocked),
11971         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11972         (gst_registry_scan_path),
11973         (_priv_gst_registry_remove_cache_plugins),
11974         (_priv_gst_registry_cleanup):
11975         * gst/gstregistry.h:
11976         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11977         by adding _priv prefix, so that they won't appear in the global
11978         symbol table. They still do atm though because of #318031. Move the
11979         prototypes to gst_private.h
11980
11981         When removing a plugin, remove all features for that plugin too. 
11982         Fixes #340878.
11983
11984 2006-09-27  Wim Taymans  <wim@fluendo.com>
11985
11986         * docs/random/moving-plugins:
11987         Make it clear that the "compiled-in descriptions" really mean
11988         the element details.
11989
11990         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11991         (gst_base_sink_wait_preroll):
11992         Update docs.
11993
11994         * docs/libs/gstreamer-libs-sections.txt:
11995         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11996         (gst_base_src_get_range), (gst_base_src_activate_push):
11997         * libs/gst/base/gstbasesrc.h:
11998         Added function to block while waiting for PLAYING, this function
11999         is used by live sources that block on the clock.
12000         API: gst_base_src_wait_playing()
12001
12002 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12003
12004         Patch by: Peter Kjellerstedt <pkj at axis com>
12005
12006         * Makefile.am:
12007           gst-element-check.m4 is generated and should therefore be
12008           copied from the build dir rather than the source dir (#357593).
12009           'make distcheck' hasn't noticed this because we were disting
12010           the file as well, so stop doing that.
12011
12012 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12013
12014         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12015           Add some tests for gst_caps_intersect().
12016
12017         * tools/gst-launch.c: (event_loop):
12018           Print all buffering percentages we get, even the 100% one.
12019
12020 2006-09-26  Wim Taymans  <wim@fluendo.com>
12021
12022         * tools/gst-inspect.c: (print_element_properties_info),
12023         (print_signal_info):
12024         Fix printing of flags to match the look of enums.
12025
12026 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12027
12028         * gst/gstelementfactory.c:
12029           Fix typo in docs blurb.
12030
12031 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12032
12033         * gst/gsturi.c: (search_by_entry):
12034           Don't assert/crash here if a uri handler doesn't return any
12035           supported protocols. The list of protocols could be generated
12036           dynamically at runtime or at plugin registration, and an error
12037           in the underlying library shouldn't be fatal (#353301).
12038
12039 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12040
12041         * gst/gstinfo.c:
12042           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12043           (spotted by Peter Kjellerstedt).
12044
12045 2006-09-23  Wim Taymans  <wim@fluendo.com>
12046
12047         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12048
12049         * libs/gst/base/gstbasesrc.c:
12050         (gst_base_src_default_check_get_range), (gst_base_src_start),
12051         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12052         (gst_base_src_change_state):
12053         Match _start/_stop calls in the activate functions. Remove redundant
12054         _stop call from the state change function. Fixes #356910.
12055         Turn failure DEBUG into ERROR. 
12056
12057 2006-09-22  Wim Taymans  <wim@fluendo.com>
12058
12059         * docs/design/part-buffering.txt:
12060         * gst/gstmessage.c: (gst_message_new_buffering),
12061         (gst_message_parse_buffering):
12062         Update docs about buffering.
12063
12064         * docs/design/part-trickmodes.txt:
12065         Fix typo.
12066
12067 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12068
12069         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12070         (gst_controller_new_list):
12071           Ref instances when returning them again (fixes #357180)
12072
12073 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12074
12075         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12076           Don't forget to release proxy lock when there's an error.
12077
12078 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12079
12080         * gst/gstcaps.h:
12081           Add extra initialisers for Caps things, to fix some plugin warnings
12082           when using -Wextra
12083
12084 2006-09-18  Wim Taymans  <wim@fluendo.com>
12085
12086         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12087           Also set template on the internal pad so that a getcaps from the 
12088           target pad returns the template caps.
12089
12090 2006-09-18  Wim Taymans  <wim@fluendo.com>
12091
12092         * gst/gstelement.c: (gst_element_post_message),
12093         (gst_element_dispose):
12094         Use _DEBUG_OBJECT some more.
12095
12096         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12097         Avoid typechecks.
12098
12099         * tools/gst-launch.c: (main):
12100         If the toplevel element is not a GstPipeline, it must be put in a
12101         pipeline so that a bus and clock is selected.
12102
12103 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12104
12105         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12106           JITTER, RATE, and LATENCY query should be handled by the
12107           default case and not by the CONVERT query code.
12108
12109 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12110
12111         * gst/gstformat.c: (gst_format_register):
12112           Fix locking order (must take lock before using n_values).
12113
12114         * gst/gstvalue.c: (gst_value_serialize_enum),
12115         (gst_value_deserialize_enum_iter_cmp),
12116         (gst_value_deserialize_enum):
12117           Fix serialisation/deserialisation of custom registered GstFormats.
12118
12119         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12120           Unit test for custom format serialisation/deserialisation.
12121
12122 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12123
12124         * docs/pwg/building-boiler.xml:
12125         * plugins/elements/gstcapsfilter.c:
12126         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12127         section.
12128
12129 2006-09-16  Edward Hervey  <edward@fluendo.com>
12130
12131         * libs/gst/base/gstbasetransform.c:
12132         (gst_base_transform_buffer_alloc):
12133         Check if requested caps are the same as the sinks caps IF
12134         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12135         is FALSE.
12136         This fixes the renegotiation issues stated in #352827.
12137
12138 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12139
12140         * configure.ac:
12141         * docs/manual/advanced-autoplugging.xml:
12142         * tests/examples/Makefile.am:
12143         * tests/examples/manual/.cvsignore:
12144         * tests/examples/manual/Makefile.am:
12145         * tests/examples/manual/extract.pl:
12146           Extract the manual examples again like we used to do.
12147           Fix one of them.
12148
12149 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12150
12151         * win32/common/config.h:
12152           update for version
12153
12154 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12155
12156         * gst/gsterror.c:
12157           Documents how to receive errors.
12158
12159 2006-09-15  Wim Taymans  <wim@fluendo.com>
12160
12161         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12162         (event_loop), (main):
12163         Added some comments here and there.
12164         Post an application message when an interrupt is caught instead of doing
12165         an uncontrolled state change.
12166         Clean up the event loop.
12167         Handle buffering messages, pause/resume the pipeline.
12168         Make shutdown because of an interrupt more reliable.
12169
12170 2006-09-15  Wim Taymans  <wim@fluendo.com>
12171
12172         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12173         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12174         (gst_base_sink_preroll_object):
12175         Make sure that our internal state is correct when we commit our state
12176         asynchronously. This solves a race where a state change to PLAYING
12177         could cause the sink to remain blocked in preroll in some situations.
12178
12179 2006-09-15  Wim Taymans  <wim@fluendo.com>
12180
12181         * tools/gst-inspect.c: (print_element_properties_info),
12182         (print_signal_info):
12183         List flags as hex so it's easier to deal with.
12184
12185 2006-09-15  Wim Taymans  <wim@fluendo.com>
12186
12187         * docs/libs/gstreamer-libs-sections.txt:
12188         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12189         (gst_base_sink_do_sync):
12190         * libs/gst/base/gstbasesink.h:
12191         Expose logic to wait for preroll so that subclasses such as audiosink
12192         can also use this method.
12193         API: gst_base_sink_wait_preroll()
12194
12195 2006-09-15  Wim Taymans  <wim@fluendo.com>
12196
12197         * gst/gstobject.c: (gst_object_set_parent):
12198         * gst/gstpipeline.c: (do_pipeline_seek):
12199         Small cleanups in docs and code.
12200
12201         * gst/gstsegment.c: (gst_segment_clip):
12202         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12203         if stop == start and start is in the segment, no clipping should be
12204         done. Also add a test for this.
12205
12206 2006-09-15  Wim Taymans  <wim@fluendo.com>
12207
12208         * docs/design/part-buffering.txt:
12209         * docs/gst/gstreamer-sections.txt:
12210         * gst/gstmessage.c: (gst_message_new_buffering),
12211         (gst_message_parse_buffering):
12212         * gst/gstmessage.h:
12213         Added methods to create and parse BUFFERING messages.
12214         Added preliminary docs about buffering.
12215         API: gst_message_new_buffering
12216         API: gst_message_parse_buffering
12217
12218 2006-09-06  Wim Taymans  <wim@fluendo.com>
12219
12220         * gst/gstbin.c:
12221         Update documentation.
12222
12223         * gst/gstelement.c: (gst_element_class_init),
12224         (gst_element_release_request_pad), (gst_element_set_clock),
12225         (gst_element_get_index), (gst_element_add_pad),
12226         (gst_element_remove_pad), (gst_element_get_random_pad),
12227         (gst_element_send_event), (gst_element_get_query_types),
12228         (gst_element_query), (gst_element_post_message),
12229         (gst_element_message_full), (gst_element_continue_state),
12230         (gst_element_lost_state), (gst_element_save_thyself),
12231         (gst_element_restore_thyself):
12232         Documentation updates.
12233         Rename last bit of the new-pad -> pad-added signal rename.
12234         Fix the case where an element query would only work if the source
12235         pad was linked.
12236         Avoid some useless type checking in message handling.
12237
12238         * gst/gstevent.c:
12239         * gst/gstevent.h:
12240         * gst/gstutils.c:
12241         Documentation updates.
12242
12243 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12244
12245         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12246           add an INFO line for when we actually update the fd
12247
12248 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12249
12250         * configure.ac:
12251           back to TRUNK
12252
12253 === release 0.10.10 ===
12254
12255 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12256
12257         * configure.ac:
12258           releasing 0.10.10, "Pais"
12259
12260 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12261
12262         * docs/manual/advanced-position.xml:
12263           Fix typo in sample code.
12264
12265 2006-09-05  Wim Taymans  <wim@fluendo.com>
12266
12267         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12268         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12269         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12270         * libs/gst/net/gstnetclientclock.h:
12271         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12272         * libs/gst/net/gstnettimepacket.h:
12273         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12274         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12275         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12276         * libs/gst/net/gstnettimeprovider.h:
12277         Make stuff compile on windows. Fixes #345295.
12278
12279 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12280
12281         * gst/gst.c: (ensure_current_registry_forking):
12282           Print better details when child was terminated by signal.
12283
12284 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12285
12286         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12287           Print a warning rather than g_assert() if a plugin feature
12288           is a URI handler but returns no protocols (#353976).
12289
12290 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12291
12292         * docs/random/moving-plugins:
12293         Fix two typos.         
12294
12295 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12296
12297         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12298           Fix locking order, handle NULL function values properly.
12299
12300         * gst/gstinfo.h:
12301           Fix docs.
12302
12303         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12304           Initialise variable before using it and fix debug statement to
12305           print the address of the function rather than the address of the
12306           variable on the stack holding the address of the function.
12307
12308 2006-09-01  Wim Taymans  <wim@fluendo.com>
12309
12310         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12311         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12312         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12313         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12314         (gst_ghost_pad_parent_unset),
12315         (gst_ghost_pad_internal_do_activate_push),
12316         (gst_ghost_pad_internal_do_activate_pull),
12317         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12318         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12319         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12320         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12321         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12322         (gst_ghost_pad_new_no_target_from_template),
12323         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12324         More cleanups.
12325         Avoid needless typechecking in macros.
12326         Since the internal pad is always present and never changes, there is
12327         no need to locking or ref when retrieving it.
12328         Improve debugging a bit.
12329         Handle link errors when setting the target. Fixes #341029.
12330
12331 2006-09-01  Wim Taymans  <wim@fluendo.com>
12332
12333         * docs/libs/gstreamer-libs-sections.txt:
12334         * docs/plugins/gstreamer-plugins-sections.txt:
12335         Fix docs some more.
12336
12337         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12338         (gst_collect_pads_event):
12339         * libs/gst/base/gstcollectpads.h:
12340         Documentation updates.
12341         Free queued buffer when removing a pad.
12342
12343 2006-08-31  Michael Smith  <msmith@fluendo.com>
12344
12345         * gst/gstutils.c: (gst_element_link_pads),
12346         (gst_element_link_pads_filtered):
12347           Ensure that we set a capsfilter to NULL if we failed to link it
12348           when doing filtered linking, to avoid criticals.
12349
12350           No need to check for unreffing srcpad, which is explicly NULLed
12351           above (a trivial code cleanup).
12352
12353 2006-08-31  Wim Taymans  <wim@fluendo.com>
12354
12355         * docs/design/part-gstghostpad.txt:
12356         Update ascii art in documentation.
12357
12358         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12359         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12360         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12361         (gst_ghost_pad_internal_do_activate_push),
12362         (gst_ghost_pad_internal_do_activate_pull),
12363         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12364         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12365         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12366         (gst_ghost_pad_set_target):
12367         Small cleanups and leak fixes.
12368         Remove some checks now that the internal pad is never NULL.
12369         Fix the case where linking pads without a target would create nasty
12370         criticals. Fixes #341029.
12371         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12372         value of _set_target().
12373
12374         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12375         (gst_ghost_pad_suite):
12376         Some more tests for creating and linking untargeted ghostpads.
12377
12378 2006-08-31  Edward Hervey  <edward@fluendo.com>
12379
12380         * docs/gst/gstreamer-sections.txt:
12381         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12382         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12383         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12384         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12385         (gst_ghost_pad_new_from_template),
12386         (gst_ghost_pad_new_no_target_from_template):
12387         * gst/gstghostpad.h:
12388         Refactored *_new() functions.
12389         Templates are now used as a g_object_new() parameter.
12390         Use template in _do_getcaps() if we don't have a target.
12391         Small documentation cleanups.
12392         Added two new constructors:
12393         gst_ghost_pad_new_from_template()
12394         gst_ghost_pad_new_no_target_from_template()
12395         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12396         (gst_ghost_pad_suite):
12397         Added tests for new ghostpad instanciation functions.
12398
12399         API additions: gst_ghost_pad_new_from_template,
12400         gst_ghost_pad_new_no_target_from_template
12401
12402 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12403
12404         * docs/random/ensonic/profiling.txt:
12405           Ideas about qos profiling.
12406
12407 2006-08-29  Wim Taymans  <wim@fluendo.com>
12408
12409         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12410         Code cleanups.
12411         Fix memleak.
12412
12413 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12414
12415         * gst/gstxml.c:
12416           Improve and detypofy docs.
12417
12418         * tests/check/Makefile.am:
12419         * tests/check/gst/.cvsignore:
12420         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12421           Add a basic test suite for GstXML.
12422
12423 2006-08-29  Wim Taymans  <wim@fluendo.com>
12424
12425         * gst/gstelement.c: (activate_pads), (clear_caps),
12426         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12427         Clear the pad caps when the element shut down all of the pads and
12428         is not streaming data that could modify the caps. 
12429         Fixes #352958.
12430
12431 2006-08-28  Michael Smith  <msmith@fluendo.com>
12432
12433         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12434           Revert previous change; I misunderstood single-segment mode.
12435
12436 2006-08-28  Michael Smith  <msmith@fluendo.com>
12437
12438         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12439           Unset DISCONT on buffers when using single-segment mode.
12440
12441 2006-08-28  Wim Taymans  <wim@fluendo.com>
12442
12443         * gst/gstcaps.c: (gst_caps_merge_structure):
12444         * gst/gstcaps.h:
12445         Fix docs and indentation again.
12446
12447         * tests/check/gst/gstquery.c: (GST_START_TEST):
12448         Fix leak in tests and add some more tests.
12449
12450 2006-08-28  Edward Hervey  <edward@fluendo.com>
12451
12452         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12453         Inform GstSegment of the last stop position in order for the current
12454         segment to have a proper duration if it doesn't have a specific stop
12455         position from which a duration could be calculated.
12456         This bug was noticeable when a non-flushing, non-update new segment was
12457         followed by another segment (all buffers from the new segment were being
12458         dropped).
12459
12460 2006-08-28  Wim Taymans  <wim@fluendo.com>
12461
12462         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12463         Small comment update.
12464
12465         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12466         (gst_identity_transform_ip):
12467         Drop-probability is broken, mention this in the code with a 
12468         FIXME and also in the property description.
12469         Make silent also be silent about the drop messages.
12470
12471 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12472
12473         * docs/manual/appendix-win32.xml:
12474           Remove mention of popt, we don't depend on that any
12475           longer (#353136). Add some comments pointing out that
12476           this section is slightly outdated.
12477
12478 2006-08-28  Wim Taymans  <wim@fluendo.com>
12479
12480         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12481
12482         * gst/gstquery.c: (gst_query_new_segment):
12483         * tests/check/gst/gstquery.c: (GST_START_TEST):
12484         Initialize variables when creating a new segment query.
12485         Fixes #353121.
12486
12487 2006-08-28  Wim Taymans  <wim@fluendo.com>
12488
12489         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12490
12491         * gst/gstelement.c: (gst_element_get_bus):
12492         * tests/check/gst/gstelement.c: (GST_START_TEST):
12493         Check for NULL before _reffing the bus. Fixes #353122.
12494
12495 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12496
12497         * docs/manual/basics-bus.xml:
12498           Docs update: fix wrong callback return value explanation; add
12499           some lines about the implicit relationship between main loop
12500           and main context; remove duplicate main loop variable declaration.
12501
12502 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12503
12504         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12505           Don't leak caps in unit test; add a few more simple
12506           checks. 
12507
12508 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12509
12510         * docs/gst/gstreamer-sections.txt:
12511         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12512         (gst_caps_structure_is_subset), (gst_caps_merge),
12513         (gst_caps_merge_structure):
12514         * gst/gstcaps.h:
12515         * libs/gst/base/gstbasetransform.c:
12516         (gst_base_transform_transform_caps):
12517         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12518           implement caps merging (fixes #352580)
12519
12520 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12521
12522         * tools/Makefile.am:
12523         * tools/gst-plot-timeline.py:
12524           add debug-log plotting developer tool (#340674)
12525
12526 2006-08-23  Wim Taymans  <wim@fluendo.com>
12527
12528         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12529         (gst_pad_stop_task):
12530         Improve debugging for task functions.
12531
12532         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12533         (gst_task_start), (gst_task_pause), (gst_task_join):
12534         Make sure that the task function started and finished after a 
12535         join(). 
12536         Don't try to push the task function on the threadpool multiple
12537         times.
12538         Improve the g_warning message with some useful suggestions
12539         about how to fix the problem. 
12540
12541 2006-08-23  Wim Taymans  <wim@fluendo.com>
12542
12543         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12544         Handle RESYNC correctly in _proxy_getcaps.
12545
12546 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12547
12548         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12549         (gst_xml_parse_memory), (gst_xml_get_element):
12550           Chain up to parent class in dispose function and also
12551           unref the elements in the toplevel_elements GList.
12552           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12553           Always return a reference in gst_xml_get_element() rather
12554           than only sometimes.
12555
12556         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12557           Don't leak GstXml object.
12558
12559 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12560
12561         * docs/gst/gstreamer-sections.txt:
12562         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12563         (gst_caps_merge):
12564         * gst/gstcaps.h:
12565         * libs/gst/base/gstbasetransform.c:
12566         (gst_base_transform_transform_caps):
12567           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12568           in a better way
12569
12570 2006-08-21  Edward Hervey  <edward@fluendo.com>
12571
12572         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12573         Implement GObject::dispose virtual method in GstXML so we can free the
12574         top_elements GList.
12575
12576 2006-08-21  Wim Taymans  <wim@fluendo.com>
12577
12578         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12579         (gst_buffer_create_sub):
12580         Copy duration/offset_end/caps when creating a subbuffer of the
12581         complete parent.
12582         Make the subbuffer read-only when we make the metadata writable for
12583         now. Fixes #351768.
12584
12585         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12586         Added check for metadata copy when creating subbuffers.
12587
12588 2006-08-21  Edward Hervey  <edward@fluendo.com>
12589
12590         * libs/gst/base/gstbasetransform.c:
12591         (gst_base_transform_buffer_alloc):
12592         Only call downstream buffer_alloc if transform element is passthrough
12593         or always_in_place. Closes #350449.
12594
12595 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12596
12597         * ChangeLog:
12598           ChangeLog surgery to add comments to previous changes
12599
12600 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12601
12602         * gst/gst.c:
12603           Add comments
12604
12605         * gst/gstpad.c: (gst_pad_set_active):
12606           Be more verbose in the log
12607
12608         * libs/gst/base/gstbasetransform.c:
12609         (gst_base_transform_transform_caps):
12610           Simplify caps to get rid of duplicates, fixes #345444
12611
12612 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12613
12614         * gst/gstvalue.c:
12615         * gst/gstvalue.h:
12616           Use these optimizations only internally.
12617
12618 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12619
12620         * gst/gstvalue.c: (gst_value_compare_list),
12621         (gst_value_compare_fraction_range),
12622         (gst_value_intersect_fraction_fraction_range),
12623         (gst_value_intersect_fraction_range_fraction_range),
12624         (gst_value_subtract_fraction_fraction_range),
12625         (gst_value_subtract_fraction_range_fraction_range),
12626         (gst_value_get_compare_func), (gst_value_compare),
12627         (gst_value_compare_with_func):
12628         * gst/gstvalue.h:
12629           Saves the expensive lookup of the compare function in many cases
12630          (#345444)
12631
12632 2006-08-18  Edward Hervey  <edward@fluendo.com>
12633
12634         * tests/check/gst/gstinfo.c: (gst_info_suite):
12635         Disable test that require gstdebug if it wasn't built in core.
12636
12637 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12638
12639         * docs/random/ensonic/logging.txt:
12640           update ideas
12641           
12642         * gst/gstinfo.c: (gst_debug_log_default):
12643           reorder fields, save some columns, add optional color codes for log
12644           levels
12645
12646 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12647
12648         * docs/random/ensonic/logging.txt:
12649           add ideas about making the logs a bit more useful
12650
12651 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12652
12653         * docs/pwg/advanced-events.xml:
12654         * docs/pwg/titlepage.xml:
12655           Update for 0.10 API (#340627). Add myself
12656           to authors list.
12657
12658 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12659
12660         * docs/libs/gstreamer-libs-docs.sgml:
12661         * docs/libs/gstreamer-libs-sections.txt:
12662         * libs/gst/check/gstbufferstraw.c:
12663           Make gstcheck stuff show up in docs (still needs to
12664           be documented properly though).
12665
12666 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12667
12668         * docs/gst/gstreamer-sections.txt:
12669         * gst/Makefile.am:
12670         * gst/gst.c: (init_post):
12671         * gst/gst_private.h:
12672         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12673         * gst/gstquark.h:
12674         * gst/gstquery.c: (gst_query_new_position),
12675         (gst_query_set_position), (gst_query_parse_position),
12676         (gst_query_new_duration), (gst_query_set_duration),
12677         (gst_query_parse_duration), (gst_query_new_convert),
12678         (gst_query_set_convert), (gst_query_parse_convert),
12679         (gst_query_new_segment), (gst_query_set_segment),
12680         (gst_query_parse_segment), (gst_query_new_seeking),
12681         (gst_query_set_seeking), (gst_query_parse_seeking):
12682         Add internal helpers for pre-registering quarks from static strings
12683         and using the quark values directly instead of looking them up when
12684         creating and parsing queries. Can be used for event construction too.
12685         Closes #350432.
12686
12687 2006-08-16  Wim Taymans  <wim@fluendo.com>
12688
12689         * gst/gstbin.c:
12690         Fix bogus docs.
12691
12692 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12693
12694         * gst/gstutils.c: (gst_util_set_value_from_string):
12695           Fix memleak (#351502).
12696
12697         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12698           Add unit test for most of gst_util_set_value_from_string()
12699           (not that one would want to encourage use of this function).
12700
12701 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12702
12703         * libs/gst/check/gstcheck.h:
12704           Use const gchar * variables in fail_unless_equals_string
12705           macro to avoid compiler warnings (and don't use tabs for
12706           indenting).
12707
12708 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12709
12710         * tools/gst-launch.c: (print_tag):
12711           More space on the left for the tag names, to cater
12712           for the 'extended comment' tag (not touching the
12713           string for the first line since it's translated).
12714
12715 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12716
12717         * libs/gst/check/gstcheck.h:
12718           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12719           print something when they fail.
12720
12721 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12722
12723         * docs/gst/gstreamer-sections.txt:
12724         * gst/gsttaglist.c: (_gst_tag_initialize):
12725         * gst/gsttaglist.h:
12726           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12727           Also change merge function for GST_TAG_COMMENT to
12728           use_first.
12729
12730 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12731
12732         * gst/gstinfo.c: (gst_debug_print_object):
12733           Make GST_PTR_FORMAT print messages as well.
12734
12735         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12736         (GST_START_TEST), (gst_info_suite):
12737           More tests.
12738
12739 2006-08-14  Edward Hervey  <edward@fluendo.com>
12740
12741         * gst/gstelementfactory.c: (gst_element_register):
12742         If the GstElementClass doesn't have a GstElementDetails with all fields
12743         filled up correctly (longname, description AND author), then error out
12744         nicely instead of crashing.
12745
12746 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12747
12748         * gst/gststructure.c:
12749           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12750
12751         * gst/gstvalue.h:
12752           Expand on the difference between arrays and lists as we use them.
12753           
12754 2006-08-14  Wim Taymans  <wim@fluendo.com>
12755
12756         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12757         If the parent state change function failed, don't assume we can safely
12758         stop the source, this will be done when the pads are deactivated.
12759
12760 2006-08-14  Wim Taymans  <wim@fluendo.com>
12761
12762         * gst/gstbuffer.c:
12763         * gst/gsttask.c: (gst_task_join):
12764         Small doc updates.
12765
12766         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12767         (gst_pad_stop_task):
12768         When pad (de)activation failed for some reason, restore the old
12769         activation mode and set the pad to flushing instead of assuming the
12770         pad is deactivated.
12771         If the _task_join() failed, reinstall the task on the pad so that it can
12772         be stopped later and return an error.
12773
12774 2006-08-11  Andy Wingo  <wingo@pobox.com>
12775
12776         * configure.ac:
12777         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12778         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12779         is only for users of API that don't want to see deprecated
12780         functions in the headers; people that want to compile out
12781         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12782         CFLAGS. Fixes the build of multifdsink, or will soon..
12783
12784 2006-08-11  Wim Taymans  <wim@fluendo.com>
12785
12786         * docs/gst/gstreamer-sections.txt:
12787         Add GstClockClass vmethod docs.
12788
12789         * gst/gstcaps.h:
12790         Mark #endif with comment for associated #if
12791
12792         * gst/gstclock.c: (gst_clock_id_wait):
12793         * gst/gstclock.h:
12794         Add vmethod wait_jitter to avoid an unneeded _get_time() for
12795         most clock implementations.
12796         Document vmethods.
12797         Flesh out docs about resolution methods.
12798         API: GstClockClass::wait_jitter
12799
12800         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12801         (gst_system_clock_async_thread),
12802         (gst_system_clock_id_wait_jitter_unlocked),
12803         (gst_system_clock_id_wait_jitter):
12804         Use base class wait_jitter variant for improved performance
12805         due to less clock polling.
12806
12807 2006-08-11  Edward Hervey  <edward@fluendo.com>
12808
12809         * gst/gst.c: (gst_init_check), (init_post):
12810         Set gst as being initialized before scanning/updating the registry,
12811         since there might be my python plugin loader that calls gst_init() and
12812         we don't want to loop back in.
12813         Closes #350879
12814
12815 2006-08-11  Wim Taymans  <wim@fluendo.com>
12816
12817         * docs/design/part-qos.txt:
12818         Bring docs in line with the code. Mostly the sign of the jitter was
12819         wrong in the docs. Fixes #349943.
12820
12821         * gst/gstclock.c:
12822         Fix the docs for the jitter.
12823
12824         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12825         (gst_event_parse_tag), (gst_event_new_buffer_size),
12826         (gst_event_parse_buffer_size), (gst_event_parse_qos),
12827         (gst_event_new_seek), (gst_event_parse_seek),
12828         (gst_event_new_navigation):
12829         Make sure the GstStructure has no parent when creating custom
12830         events.
12831         Add some more argument checking so that we avoid 0.0 rates.
12832         Flesh out the docs for the QoS event some more.
12833
12834 2006-08-11  Wim Taymans  <wim@fluendo.com>
12835
12836         * docs/gst/gstreamer-sections.txt:
12837         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12838         (ensure_current_registry_forking), (ensure_current_registry),
12839         (parse_one_option), (parse_goption_arg), (gst_deinit),
12840         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12841         * gst/gst.h:
12842         Doc updates.
12843         Added API and command line option to disable registry forking in
12844         addition to the environment variable.
12845         Constify some static arrays.
12846         Added some more debug.
12847         Don't deinit twice.
12848         API: gst_registry_fork_is_enabled()
12849         API: gst_registry_fork_set_enabled()
12850         API: --gst-disable-registry-fork command line option
12851         Fixes #348918.
12852
12853 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
12854
12855         * gst/gst.c: (gst_init):
12856           Fix typo in error message.
12857
12858 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
12859
12860         * libs/gst/controller/gstcontroller.h:
12861           fix ABI size-correction
12862
12863         * tests/check/libs/gdp.c: (gst_dp_suite):
12864           make tests that use deprecated API conditional
12865
12866 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
12867
12868         * docs/libs/gstreamer-libs-sections.txt:
12869         * libs/gst/controller/gstcontroller.c:
12870         (_gst_controller_get_property), (_gst_controller_set_property),
12871         (_gst_controller_init), (_gst_controller_class_init):
12872         * libs/gst/controller/gstcontroller.h:
12873         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12874         (gst_object_set_control_rate):
12875           API: add gst_object_{s,g}et_control_rate(), add private data section,
12876           fix docs
12877
12878         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12879         * libs/gst/dataprotocol/dataprotocol.h:
12880           add deprecation guards to make gtk-doc happy and allow disabling cruft
12881
12882 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
12883
12884         * tests/check/Makefile.am:
12885         * tests/check/gst/.cvsignore:
12886           Let's enable the new unit test as well.
12887
12888 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
12889
12890         * configure.ac:
12891         * docs/gst/gstreamer-sections.txt:
12892         * gst/gstconfig.h.in:
12893         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12894         (_gst_info_printf_extension_ptr),
12895         (_gst_info_printf_extension_segment):
12896           API: add GST_SEGMENT_FORMAT, which is a printf extension we
12897           register that lets us easily dump GstSegments into debug
12898           logs (#350419).
12899
12900         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12901         (info_segment_format_printf_extension), (gst_info_suite):
12902           Add simple unit test that logs a bunch of different segments (not
12903           valgrinded at the moment because of leaks in
12904           gst_debug_add_log_function).
12905
12906 2006-08-09  Edward Hervey  <edward@fluendo.com>
12907
12908         * libs/gst/base/gstbasetransform.c:
12909         (gst_base_transform_buffer_alloc):
12910         Even if we can't figure out the proper format to request downstream,
12911         call buffer_alloc() downstream with the input parameters without setting
12912         the caps on the srcpad. This will force negotiation in the chain
12913         function.
12914         Closes #350449
12915
12916 2006-08-08  Edward Hervey  <edward@fluendo.com>
12917
12918         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12919         Unlinking from a pad without a target is now a perfectly valid case
12920         which should NOT raise an assertion.
12921         This case would happen if a linked ghostpad its target set to NULL after
12922         it was previously linked.
12923
12924 2006-08-08  Edward Hervey  <edward@fluendo.com>
12925
12926         * tests/check/libs/gdp.c:
12927         Also comment out the test (see below).
12928
12929 2006-08-08  Edward Hervey  <edward@fluendo.com>
12930
12931         * tests/check/libs/gdp.c: (gst_dp_suite):
12932         Use the architecture information from config.h and not gcc macros
12933         in order to properly disable a test that fails on PPC64.
12934
12935 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
12936
12937         * gst/gstelement.c: (gst_element_remove_pad):
12938           Don't crash printing the warning if the pad has no parent.
12939
12940 2006-08-02  Wim Taymans  <wim@fluendo.com>
12941
12942         * libs/gst/dataprotocol/dataprotocol.c:
12943         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12944         (gst_dp_crc), (gst_dp_header_payload_length),
12945         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12946         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12947         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12948         (gst_dp_event_from_packet), (gst_dp_validate_header),
12949         (gst_dp_validate_payload):
12950         Make debug category static
12951         Constify the crc table.
12952         Do some more arg checking in public functions.
12953         Fix some docs and do some small cleanups.
12954
12955         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12956         Add some more checks to see if GDP deals with bogus input.
12957
12958 2006-07-31  Wim Taymans  <wim@fluendo.com>
12959
12960         * gst/gstvalue.c: (gst_value_compare_list):
12961         Fix GstValueList comparison code. Fixes #347293.
12962
12963         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12964         Check to test GstValueList comparison.
12965
12966 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
12967
12968         * gst/gstelementfactory.c: (gst_element_factory_create):
12969         Remove unnecessary ref/unref pair
12970
12971         * gst/parse/grammar.y:
12972         Make sure to free the parse buffer on all code paths.
12973         Move a g_free up to the error handler where it's easier to see.
12974
12975         * tests/check/gst/gstevent.c: (test_event):
12976         Extending timeout for downstream travelling events to 10 seconds to
12977         hopefully avoid intermittent failure on the buildbots.
12978
12979         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12980         Don't manually set the state of the src element - it will happen as a
12981         natural consequence of the pipeline changing state, and that way it
12982         will do it in the right order too.
12983
12984 2006-07-31  Wim Taymans  <wim@fluendo.com>
12985
12986         * libs/gst/base/gstbasetransform.c:
12987         (gst_base_transform_buffer_alloc):
12988         Use OBJECT_LOCK and refcounting to get the pad caps in the
12989         buffer_alloc function because the caps could change while we are
12990         busy with them. Fixes #349105
12991
12992 2006-07-31  Wim Taymans  <wim@fluendo.com>
12993
12994         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
12995         Protect _PAD_CAPS with OBJECT_LOCK.
12996
12997 2006-07-31  Wim Taymans  <wim@fluendo.com>
12998
12999         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13000         (gst_pad_get_property), (gst_pad_activate_pull),
13001         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13002         (gst_pad_set_activate_function),
13003         (gst_pad_set_activatepull_function),
13004         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13005         (gst_pad_set_getrange_function),
13006         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13007         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13008         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13009         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13010         (gst_pad_set_acceptcaps_function),
13011         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13012         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13013         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13014         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13015         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13016         (gst_pad_configure_sink), (gst_pad_configure_src),
13017         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13018         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13019         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13020         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13021         (gst_pad_send_event):
13022         Use _DEBUG_OBJECT when it makes sense.
13023         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13024         Small cleanups and code reflows.
13025         Avoid caps refcounting in _accept_caps.
13026         Refactor alloc_buffer so that the code performed on the peer is in a
13027         separate function. Also if the pad does not implement a buffer alloc
13028         function, we should still check if the pad is flushing before falling
13029         back to the default allocator.
13030
13031 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13032
13033         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13034         Make all uses of identity and fakesink have silent=true to avoid
13035         serialising every passing data structure, which is breaking tests
13036         on FC4 for some unknown reason.
13037
13038 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13039
13040         * gst/parse/Makefile.am:
13041         * gst/parse/grammar.y:
13042         * gst/parse/parse.l:
13043           Reverted previous patch as it required to bump the flex dependency to
13044           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13045
13046 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13047
13048         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13049
13050         * gst/parse/Makefile.am:
13051         * gst/parse/grammar.y:
13052         * gst/parse/parse.l:
13053           push & pop the state of the lexer for reentrant use case
13054           Fixes #349180
13055
13056 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13057
13058         * libs/gst/base/gstbasesrc.h:
13059           Note in the docs that the ::newsegment vfunc is not actually used by
13060           GstBaseSrc.
13061
13062 2006-07-28  Wim Taymans  <wim@fluendo.com>
13063
13064         * libs/gst/base/gstcollectpads.c:
13065         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13066         (gst_collect_pads_clear), (gst_collect_pads_flush),
13067         (gst_collect_pads_event), (gst_collect_pads_chain):
13068         When flushing a pad, also clear the queued buffer so that we don't
13069         accidentally use it when we shouldn't.
13070         Fix leaks by inreffing incomming buffer.
13071         Flush out queued buffers in case of errors.
13072         Fixes #347452.
13073
13074 2006-07-28  Wim Taymans  <wim@fluendo.com>
13075
13076         * docs/random/phonon-gst:
13077         Random notes about a Phonon backend.
13078
13079 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13080
13081         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13082         Extra debug output
13083         * tests/check/libs/gdp.c: (gst_dp_suite):
13084         Take a whack at fixing the ppc compile using a different define to
13085         disable the broken test.
13086
13087         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13088         Remove excess g_print()
13089
13090 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13091
13092         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13093         Oops, meant to uncomment this line too to dampen the noise a bit.
13094
13095 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13096
13097         * gst/parse/grammar.y:
13098         * gst/parse/parse.l:
13099         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13100         (GST_START_TEST), (parse_suite):
13101         Fix some of the leaks exposed by extending the parse-launch testsuite,
13102         and move the 3 I can't figure out into a separate test that won't run
13103         the pipelines unless the appropriate line is uncommented.
13104
13105 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13106
13107         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13108           Requesting 0 bytes before the end of the file should result in
13109           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13110           unit test.
13111
13112 2006-07-27  Wim Taymans  <wim@fluendo.com>
13113
13114         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13115         Fix useless assert, a uint is always positive.
13116
13117         * gst/gststructure.c: (gst_structure_nth_field_name),
13118         (gst_structure_foreach), (gst_structure_map_in_place):
13119         Check input arguments for public functions to avoid obvious crashes.
13120
13121         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13122         * plugins/elements/gstfakesink.h:
13123         Do less useless typechecking.
13124
13125 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13126
13127         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13128           Do not use mmap() by default since there are a number of error
13129           conditions that we would like to handle in a non-fatal way that
13130           will result in a SIGBUS if we use mmap(). Examples: external
13131           devices (USB harddrive, portable music player) being unplugged
13132           while in use; file on mounted CD/DVD that can't be read because
13133           the medium is partly damaged. Fixes #348455 and #348475.
13134
13135 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13136
13137         * gst/gstquery.h:
13138         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13139         rates are a gdouble
13140
13141 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13142
13143         * gst/gstregistry.c:
13144           Move big documentation comment into class section header, so that it
13145           appears in the API docs.
13146
13147 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13148
13149         * docs/gst/gstreamer-sections.txt:
13150         Oops. Commit the docs additions too for new API.
13151         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13152
13153 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13154
13155         * gst/gststructure.c: (gst_structure_id_set),
13156         (gst_structure_id_set_valist):
13157         * gst/gststructure.h:
13158         Add API for setting values into structures without performing
13159         a quark lookup, if the appropriate quark is already known.
13160
13161         API: gst_structure_id_set
13162         API: gst_structure_id_set_valist
13163
13164         * gst/parse/grammar.y:
13165         * gst/parse/parse.l:
13166         Remove some dead code shown by the coverage information.
13167         Don't throw a critical g_warning when encountering a syntax error,
13168         just warn and let the normal error path handle it.
13169
13170         * plugins/elements/gstelements.c:
13171         Bump the rank of filesink up to PRIMARY so that it is preferred over
13172         gnomevfssink for file:// sink uri's
13173
13174         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13175         (GST_START_TEST), (run_delayed_test),
13176         (gst_parse_test_element_base_init),
13177         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13178         (gst_parse_test_element_change_state),
13179         (gst_register_parse_element), (parse_suite):
13180         Beef up the tests for parse syntax to check that more error cases
13181         fail as they are supposed to. Increases the test coverage a bit.
13182
13183 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13184
13185         * docs/manual/basics-elements.xml:
13186           Fix gst_element_link() example.
13187
13188         * gst/gstutils.c:
13189           Mention in API docs that one should usually gst_bin_add()
13190           elements to a bin or pipeline before doing the linking.
13191           
13192 2006-07-26  Wim Taymans  <wim@fluendo.com>
13193
13194         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13195         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13196         Avoid function call for known types by keeping the buffer and
13197         subbuffer GType global.
13198
13199         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13200         Random silly optimisations in read() path.
13201
13202 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13203
13204         * tools/gst-launch.c: (main):
13205           If the top-level of the parse is a normal bin, it doesn't do the
13206           right logic to run as a top-level element, so place it inside a
13207           pipeline.
13208
13209 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13210
13211         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13212           Remove superfluous g_object_notify() calls, GObject does
13213           that for us automatically.
13214
13215 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13216
13217         * gst/gstinfo.h:
13218           on Win32, use dllspec to export the debug category symbols
13219
13220 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13221
13222         * gst/gsttaglist.c: (_gst_tag_initialize):
13223           Allow more than one GST_TAG_IMAGE per taglist.
13224
13225 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13226
13227         * gst/gstminiobject.c:
13228           update docs
13229         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13230         (gst_fd_src_create):
13231           log recurring events at LOG level
13232           add more debug for when the fd gets set
13233
13234 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13235
13236         * gst/gstparse.c: (gst_parse_launch):
13237           Also remove reentrance checks if flex is MT safe (#348179)
13238          Fix my empty ChangeLog entry below
13239
13240 2006-07-21  Andy Wingo  <wingo@pobox.com>
13241
13242         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13243
13244         * libs/gst/check/Makefile.am
13245         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13246         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13247         * libs/gst/check/gstbufferstraw.h:
13248         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13249         functions, thus proving I am still a GStreamer haxor. OK I wrote
13250         them a long time ago, but anyways.
13251
13252 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13253
13254         * configure.ac:
13255         * gst/gstparse.c: (gst_parse_launch):
13256           Check for flex version and omit mutex if we have a MT save flex
13257           (fixes #348179)
13258
13259 2006-07-21  Wim Taymans  <wim@fluendo.com>
13260
13261         * gst/gstparse.c: (gst_parse_launch):
13262         Protect recursive calls to _parse with a recursive mutex
13263         and busy flag.
13264
13265 2006-07-21  Wim Taymans  <wim@fluendo.com>
13266
13267         * tests/check/gst/gstpad.c: (GST_START_TEST):
13268         Fix leak in test.
13269
13270 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13271
13272         * gst/gstparse.c: (gst_parse_launch):
13273           Do not hang on recursive usage of gst_parse_launch()
13274
13275 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13276
13277         * gst/gsttaglist.c:
13278           Add some more docs, comments and FIXME 0.11s here and there
13279           and also fix some typos.
13280
13281 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13282
13283         * gst/gstsegment.h:
13284           Convert tabs to spaces for better readability. 
13285
13286 2006-07-20  Edward Hervey  <edward@fluendo.com>
13287
13288         * tests/check/libs/gdp.c: (gst_dp_suite):
13289         the test_buffer test fails at line 140 on ppc64 at the following
13290         check:
13291         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13292                 GST_BUFFER_FLAG_IN_CAPS),
13293                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13294         See bug #348114 for more details.
13295
13296 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13297
13298         * docs/pwg/advanced-scheduling.xml:
13299         * gst/gstpad.c:
13300           Fix typos (#348000).
13301
13302 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13303
13304         * docs/pwg/intro-basics.xml:
13305           Fix wrong links (#347927).
13306
13307 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13308
13309         * gst/gstregistry.h:
13310         * gst/gstregistryxml.c: (load_feature),
13311         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13312         * win32/common/config.h:
13313           make --disable-index work (#342564)
13314
13315 2006-07-18  Wim Taymans  <wim@fluendo.com>
13316
13317         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13318
13319         * gst/Makefile.am:
13320         * gst/gsttrace.h:
13321         The attached patch adds two missing defines to gsttrace.h when tracing
13322         is disabled.  It also corrects one existing define.
13323         Fixes #347756.
13324
13325 2006-07-17  Wim Taymans  <wim@fluendo.com>
13326
13327         * docs/gst/gstreamer-sections.txt:
13328         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13329         * gst/gst.h:
13330         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13331         Add two functions to check and change the SIGSEGV behaviour
13332         when loading plugins.
13333         Don't mess with the SIGSEGV handler when we were told not to.
13334         Fixes #347794.
13335         API: gst_segtrap_is_enabled
13336         API: gst_segtrap_set_enabled
13337
13338 2006-07-14  Wim Taymans  <wim@fluendo.com>
13339
13340         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13341         * tests/check/elements/filesrc.c: (GST_START_TEST):
13342         Revert fix for regression in #347408 after release.
13343
13344 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13345
13346         Patch by: Antoine Tremblay <hexa00 at gmail com>
13347
13348         * gst/gstutils.c: (gst_element_unlink):
13349           Free iterator when done (#347311).
13350
13351         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13352           And add a test case for this.
13353
13354 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13355
13356         * configure.ac:
13357         Bump nano back to CVS
13358
13359 === release 0.10.9 ===
13360
13361 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13362
13363         * configure.ac:
13364           releasing 0.10.9, "On the road again"
13365
13366 2006-07-13  Wim Taymans  <wim@fluendo.com>
13367
13368         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13369         * tests/check/elements/filesrc.c: (GST_START_TEST):
13370         Revert pull-0 fix for release. Disable check. Fixes #347408.
13371
13372 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13373
13374         * libs/gst/dataprotocol/dataprotocol.c:
13375         (gst_dp_event_from_packet_1_0):
13376           Fixes #347337: failure to deserialize event packets with
13377           empty payload (only event type)
13378
13379 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13380
13381         * gst/Makefile.am:
13382           do not install a .c file in the header directory
13383
13384 2006-07-13  Edward Hervey  <edward@fluendo.com>
13385
13386         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13387         GhostPad no longer implicitely use the padtemplates of the targets.
13388         Fixes #347384
13389
13390 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13391
13392         * gst/gstvalue.c: (gst_value_compare_list),
13393         (gst_value_compare_array), (_gst_value_initialize):
13394         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13395         Make GstValueArray comparison be order dependent as designed.
13396         Add checks for value lists and value array comparisons.
13397         Fixes #347221
13398
13399 2006-07-11  Edward Hervey  <edward@fluendo.com>
13400
13401         * gst/gstbin.c: (activate_pads),
13402         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13403         (gst_bin_change_state_func):
13404         (de)activate src pads before calling state_change on the childs.
13405         This is to avoid the case where a src ghostpad is blocked (holding the
13406         stream lock), which would block the deactivation of the ghostpad's
13407         target pad.
13408         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13409         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13410         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13411         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13412         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13413         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13414         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13415         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13416         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13417         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13418         (gst_ghost_pad_class_init),
13419         (gst_ghost_pad_internal_do_activate_push),
13420         (gst_ghost_pad_internal_do_activate_pull),
13421         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13422         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13423         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13424         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13425         GhostPads now create their internal GstProxyPad at creation (and not
13426         when they're linked, as it was being done previously).
13427         The internal and target pads are linked straight away.
13428         The data will also travel through the other pad in order to make
13429         pad blocking and probes non-hackish (the probe/block now really happens
13430         on the GhostPad and not on the target).
13431         * gst/gstpad.c: (gst_pad_set_blocked_async),
13432         (gst_pad_link_prepare), (gst_pad_push_event):
13433         Remove previous ghostpad cruft.
13434         * gst/gstutils.c: (gst_pad_add_data_probe),
13435         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13436         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13437         (gst_pad_remove_buffer_probe):
13438         Remove previous ghost pad cruft.
13439         Added more detailed debug statements.
13440         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13441         Fix the testsuite for refcounting changes.
13442         The comments about who has references were correct, but the refcount
13443         being checked wasn't the same (!?!).
13444
13445         Fixes #341029
13446
13447 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13448
13449         * docs/gst/gstreamer-sections.txt:
13450         * gst/gstconfig.h.in:
13451         More docs for configuration options, add docs to gtk-doc.
13452
13453 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13454
13455         * gst/Makefile.am:
13456         * gst/gstconfig.h.in:
13457         * win32/common/config.h:
13458         Fix build when disabling tracing (fixes #344016). Also start to document
13459         the defines that disable the sub-systems.
13460
13461 2006-07-10  Edward Hervey  <edward@fluendo.com>
13462
13463         * gst/gst.c: (ensure_current_registry_forking):
13464         let's make valgrind happy...
13465
13466 2006-07-09  Wim Taymans  <wim@fluendo.com>
13467
13468         * gst/gstelement.c: (activate_pads),
13469         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13470         Better pad activation code: Reset the collect value too on resync.
13471         Add some comments.
13472
13473 2006-07-09  Wim Taymans  <wim@fluendo.com>
13474
13475         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13476         (gst_pad_activate_push):
13477         Use some more macros where it makes sense.
13478         Allow pad mode switching instead of asserting. When a pad
13479         is activated in one mode and we activate it in another, 
13480         deactivate it first before activating it in a different mode.
13481         Fixes #329198.
13482
13483 2006-07-08  Andy Wingo  <wingo@pobox.com>
13484
13485         * tools/gst-launch.c (main): Handle err == NULL.
13486
13487         * gst/gst.c (init_post, ensure_current_registry)
13488         (ensure_current_registry_forking)
13489         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13490         factoring out the registry scanning into separate functions. Don't
13491         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13492         Better environment var name/interface suggestions accepted.
13493
13494 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13495
13496         * gst/gstobject.c: (gst_object_set_name_default),
13497         (gst_object_set_name):
13498           Random micro-optimisation: don't use a hash table
13499           with strings as keys and the usual strdup/strcmp
13500           involved, but rather just use the GQuark of the
13501           type name as key, since it needs to be looked up
13502           anyway to get the type name string.
13503
13504         * tests/check/gst/gstobject.c: (GST_START_TEST):
13505           Fix various leaks.
13506
13507 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13508
13509         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13510         (gst_bin_iterate_all_by_interface):
13511           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13512           GTypes are gulongs and thus the top 4 bytes might be cut
13513           off on some platforms when doing GPOINTER_TO_INT, leading
13514           to invalid GTypes and bad things happening (see RH bug #179654).
13515           Also add a check to make sure the type passed in is really
13516           an interface type.
13517
13518 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13519
13520         * .cvsignore:
13521           Ignore more.
13522
13523 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13524
13525         * Makefile.am:
13526         * configure.ac:
13527         * gst-element-check.m4:
13528         * gst-element-check.m4.in:
13529           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13530           instead of the unversioned gst-inspect (#324176, #168659).
13531
13532 2006-07-06  Wim Taymans  <wim@fluendo.com>
13533
13534         * gst/gstmessage.h:
13535         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13536         warnings.
13537
13538 2006-07-06  Wim Taymans  <wim@fluendo.com>
13539
13540         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13541         (gst_base_src_wait), (gst_base_src_update_length),
13542         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13543         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13544         (gst_base_src_loop), (gst_base_src_start),
13545         (gst_base_src_activate_pull):
13546         Update docs.
13547         blocksize == 0 now means the default blocksize when working in push
13548         based mode.
13549         Remove some pointless asserts in _wait function.
13550         Fix offset/length calculations and EOS handling. We can now pull 0
13551         bytes as well, which is allowed.
13552         use _check_get_range() to decide if we can operate in _pull based
13553         mode.
13554         Fix refcounting leak when check_get_range function was not 
13555         implemented.
13556         API GstBaseSrc::blocksize range can be 0 too now (default)
13557
13558         * tests/check/elements/filesrc.c: (GST_START_TEST),
13559         (filesrc_suite):
13560         Added check to test _get_range() behaviour.
13561
13562 2006-07-06  Wim Taymans  <wim@fluendo.com>
13563
13564         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13565         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13566         (gst_pad_pull_range):
13567         * gst/gstpad.h:
13568         Lots of comments and docs added to the pad functions.
13569         Flesh out the expected behaviour of the get_range() functions.
13570
13571 2006-07-06  Wim Taymans  <wim@fluendo.com>
13572
13573         * gst/gstbus.h:
13574         * gst/gstclock.h:
13575         * gst/gstevent.h:
13576         * gst/gstiterator.h:
13577         * gst/gstpad.h:
13578         * gst/gstplugin.h:
13579         * gst/gsttask.h:
13580         Remove comma at end of enumerator list. 
13581
13582 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13583
13584         * win32/common/libgstbase.def:
13585         * win32/common/libgstdataprotocol.def:
13586         * win32/common/libsgtreamer.def:
13587         Add new exported functions.
13588
13589 2006-07-05  Wim Taymans  <wim@fluendo.com>
13590
13591         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13592         Add some more docs here and there.
13593
13594 2006-07-05  Wim Taymans  <wim@fluendo.com>
13595
13596         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13597         (gst_base_sink_loop), (gst_base_sink_get_position):
13598         When operating in pull mode update the offset so that we
13599         read sequentially.
13600
13601 2006-07-05  Wim Taymans  <wim@fluendo.com>
13602
13603         * gst/gstregistryxml.c: (read_string):
13604         Avoid strdup. (will happen in libxml, but hey!)
13605
13606         * gst/gsturi.c:
13607         Add some more docs.
13608
13609 2006-07-05  Wim Taymans  <wim@fluendo.com>
13610
13611         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13612         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13613         (gst_buffer_suite):
13614         No point in checking if the size of the subbuffer > 0, the
13615         code handles it correclty as demonstrated by unit test.
13616         Also add a unit test for the zero sized _new_and_alloc and
13617         _copy. Fixes #346663.
13618
13619 2006-07-05  Wim Taymans  <wim@fluendo.com>
13620
13621         * libs/gst/base/gstbasetransform.c:
13622         (gst_base_transform_prepare_output_buffer),
13623         (gst_base_transform_buffer_alloc),
13624         (gst_base_transform_handle_buffer):
13625         Make sure the buffer we pass to transform_ip has a refcount of
13626         1 and thus is writable. Fixes #343196
13627
13628 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13629
13630         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13631         (gst_file_src_init), (gst_file_src_set_property),
13632         (gst_file_src_get_property), (gst_file_src_map_region):
13633         * plugins/elements/gstfilesrc.h:
13634         Add "sequential" property, off by default, to use madvise and hint
13635         to the kernel that sequential access is desired.
13636         Touch all retrieved pages by default to ensure they are pulled
13637         into memory. (Closes #345720)
13638
13639 2006-07-03  Wim Taymans  <wim@fluendo.com>
13640
13641         * docs/design/part-block.txt:
13642         * docs/design/part-dynamic.txt:
13643         Small docs updates.
13644
13645 2006-07-03  Wim Taymans  <wim@fluendo.com>
13646
13647         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13648         (gst_caps_unref), (gst_static_caps_get),
13649         (gst_caps_append_structure):
13650         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13651         Use GSlice when the glib we build against is >= 2.10
13652
13653 2006-07-03  Wim Taymans  <wim@fluendo.com>
13654
13655         * gst/gstelement.c: (gst_element_pads_activate):
13656         Small cleanup in pad activation code.
13657
13658 2006-07-03  Wim Taymans  <wim@fluendo.com>
13659
13660         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13661
13662         * gst/gst-i18n-app.h:
13663         * gst/gst-i18n-lib.h:
13664         * tools/gst-inspect.c: (print_signal_info):
13665         The attached patch will make the inclusion of gettext.h unconditional in
13666         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13667         libintl.h in tools/gst-inspect.c.
13668         This allows use of --disable-nls again and fixes #344642.
13669
13670 2006-07-03  Edward Hervey  <edward@fluendo.com>
13671
13672         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13673         Implement pad blocking on events according to part-block.txt.
13674         More comments on behaviour.
13675         * tests/check/gst/gstevent.c: (test_event):
13676         Send event to peer pad of blocked pad (else it will block).
13677
13678 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13679
13680         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13681         (gst_check_run_suite):
13682           if we get the wrong message, give us the types as string
13683         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13684           Fix a translatable
13685         * tests/check/elements/filesrc.c: (GST_START_TEST):
13686           add a test for trying to open a non-existing file
13687
13688 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13689
13690         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13691           add a test for adding self
13692
13693 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13694
13695         * libs/gst/check/gstcheck.h:
13696           add some assert_ as alias for fail_unless_*
13697         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13698           increase test coverage
13699
13700 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13701
13702         * Makefile.am:
13703           include lcov.mak for lcov coverage generation
13704         * tools/Makefile.am:
13705           add to CLEANFILES
13706
13707 2006-07-02  Edward Hervey  <edward@fluendo.com>
13708
13709         * tests/check/elements/.cvsignore:
13710         moaping
13711
13712 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13713
13714         * configure.ac:
13715           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13716         * tests/check/Makefile.am:
13717           clean up gcov files
13718
13719 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13720
13721         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13722           remove gst_caps_simplify; it was not declared and not used
13723           and deprecated in 0.8
13724
13725 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13726
13727         * docs/faq/gst-uninstalled:
13728           don't put empty paths on PYTHONPATH
13729         * docs/gst/gstreamer-sections.txt:
13730           remove some symbols that are not there
13731
13732 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13733
13734         * gst/gstcaps.c: (gst_caps_compare_structures):
13735           whitespace fixes
13736         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13737         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13738           add more tests
13739
13740 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13741
13742         * libs/gst/dataprotocol/Makefile.am:
13743           build dataprotocol test by linking to the lib, instead of
13744           compiling the source, so we get coverage
13745         * tests/check/Makefile.am:
13746         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13747         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13748           add a test for filesrc
13749
13750 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13751
13752         * tests/check/gst/gststructure.c: (GST_START_TEST),
13753         (gst_structure_suite):
13754           Push coverage from 59.04% to 70.00%
13755
13756 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13757
13758         * tests/check/Makefile.am:
13759           gst-inspect every element; this makes sure that we also get
13760           coverage on element's get/set functions
13761
13762 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13763
13764         * configure.ac:
13765           set CFLAGS and friends to -O0 if gcov is being used
13766           add GCOV LIBS
13767         * gst/Makefile.am:
13768         * libs/gst/base/Makefile.am:
13769         * libs/gst/check/Makefile.am:
13770         * libs/gst/controller/Makefile.am:
13771         * libs/gst/dataprotocol/Makefile.am:
13772         * libs/gst/net/Makefile.am:
13773         * plugins/elements/Makefile.am:
13774         * plugins/indexers/Makefile.am:
13775           add makefile rules to generate gcov data and clean up
13776         * tests/check/Makefile.am:
13777           add a coverage target that generates an html overview
13778           of coverage data
13779
13780 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13781
13782         * tests/check/elements/fakesink.c:
13783         * tests/check/elements/fakesrc.c:
13784         * tests/check/elements/fdsrc.c:
13785         * tests/check/elements/identity.c:
13786         * tests/check/generic/sinks.c: (gst_sinks_suite):
13787         * tests/check/generic/states.c:
13788         * tests/check/gst/gst.c:
13789         * tests/check/gst/gstabi.c:
13790         * tests/check/gst/gstbin.c:
13791         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13792         * tests/check/gst/gstbus.c: (gst_bus_suite):
13793         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13794         * tests/check/gst/gstelement.c:
13795         * tests/check/gst/gstevent.c: (gst_event_suite):
13796         * tests/check/gst/gstghostpad.c:
13797         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13798         * tests/check/gst/gstmessage.c: (gst_message_suite):
13799         * tests/check/gst/gstminiobject.c:
13800         * tests/check/gst/gstobject.c:
13801         * tests/check/gst/gstpad.c:
13802         * tests/check/gst/gstpipeline.c:
13803         * tests/check/gst/gstplugin.c:
13804         * tests/check/gst/gstquery.c: (gst_query_suite):
13805         * tests/check/gst/gstsegment.c: (gst_segment_suite):
13806         * tests/check/gst/gststructure.c:
13807         * tests/check/gst/gstsystemclock.c:
13808         * tests/check/gst/gsttag.c:
13809         * tests/check/gst/gsttask.c: (gst_task_suite):
13810         * tests/check/gst/gstutils.c:
13811         * tests/check/gst/gstvalue.c:
13812         * tests/check/libs/adapter.c:
13813         * tests/check/libs/basesrc.c:
13814         * tests/check/libs/collectpads.c:
13815         * tests/check/libs/controller.c:
13816         * tests/check/libs/gdp.c: (gst_dp_suite):
13817         * tests/check/libs/gstnetclientclock.c:
13818         * tests/check/libs/gstnettimeprovider.c:
13819         * tests/check/libs/libsabi.c: (libsabi_suite):
13820         * tests/check/libs/typefindhelper.c:
13821         * tests/check/pipelines/cleanup.c:
13822         * tests/check/pipelines/parse-launch.c:
13823         * tests/check/pipelines/simple-launch-lines.c:
13824         * tests/check/pipelines/stress.c: (stress_suite):
13825           use the new macro
13826
13827 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13828
13829         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13830         * libs/gst/check/gstcheck.h:
13831           create a macro and function so that the simple unit test
13832           case can be just one macro to create main()
13833
13834 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
13835
13836         * gst/gstbin.c: (gst_bin_restore_thyself):
13837         * gst/gstxml.c: (gst_xml_make_element):
13838           Fix deserialisation from XML. Set parent manually
13839           instead of using gst_bin_add(), since gst_bin_add()
13840           will unlink all pads of the element being added.
13841           Fixes #341667.
13842
13843 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
13844
13845         Patch by: Peter Kjellerstedt <pkj at axis com>
13846
13847         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13848           Fix missing g_strdup() and double free when using the
13849           --gst-plugin-load command line option (#346097).
13850
13851 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13852
13853         * gst/gstinfo.c:
13854           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13855
13856         * libs/gst/net/gstnetclientclock.c:
13857         * libs/gst/net/gstnettimeprovider.c:
13858           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13859
13860 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13861
13862         * docs/manual/advanced-dataaccess.xml:
13863           Fix buffer probe example compilation in
13864           ADM (#345708).
13865         
13866 2006-06-22  Edward Hervey  <edward@fluendo.com>
13867
13868         * gst/gstelement.c: (gst_element_pads_activate):
13869         We need to deactivate src pads first and then sink pads.
13870         The reason is the src pads might be blocking while holding the streaming
13871         lock, so we need to deactivate them first so that deactivating the sink
13872         pads doesn't block (since it will require the streaming lock).
13873
13874 2006-06-22  Wim Taymans  <wim@fluendo.com>
13875
13876         * libs/gst/base/gstbasetransform.c:
13877         (gst_base_transform_buffer_alloc):
13878         Forgot to remove two unneeded unrefs.
13879         Simplify a check _is_equal allready checks the obvious case.
13880
13881 2006-06-22  Wim Taymans  <wim@fluendo.com>
13882
13883         * docs/design/part-block.txt:
13884         Some docs about what pad_block should do.
13885
13886 2006-06-22  Wim Taymans  <wim@fluendo.com>
13887
13888         * gst/gstcaps.c: (gst_caps_replace):
13889         Fix crasher when passed NULL. Doc clarification.
13890         Optimize for the trivial case.
13891
13892         * gst/gstpipeline.c: (gst_pipeline_change_state):
13893         Small cleanups.
13894
13895         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13896         Small documentation cleanup.
13897
13898         * libs/gst/base/gstbasetransform.c:
13899         (gst_base_transform_buffer_alloc):
13900         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13901         is what we need and it avoids a whole lot of redundant 
13902         refcount operations.
13903
13904 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
13905
13906         Patch by: Philip Jägenstedt  <philip at lysator liu se>
13907
13908         * docs/manual/advanced-dataaccess.xml:
13909           Fix 'Embedding static elements' section to use
13910           GST_PLUGIN_DEFINE_STATIC (#345607).
13911
13912 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13913
13914         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13915           Attempt to 'fix' spuriously failing test case: it seems like the
13916           timeout of half a second is simply too small when the system is under
13917           load otherwise, and the timeout doesn't really seem to serve any
13918           particular purpose here. Give the pipeline a few seconds to preroll
13919           first, and then give it another half a second to go from PAUSED to
13920           PLAYING and marshal the message into the main thread.
13921
13922 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13923
13924         * tools/gst-feedback-m.m:
13925           Don't only use unversioned tools, try versioned tools as well
13926           (#345086).
13927
13928 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13929
13930         * gst/gstbus.c: (gst_bus_class_init):
13931           Fix some typos, make docs more explicit.
13932
13933 2006-06-20  Wim Taymans  <wim@fluendo.com>
13934
13935         * tests/check/gst/gstghostpad.c: (block_callback),
13936         (GST_START_TEST), (gst_ghost_pad_suite):
13937         Added some more ghostpad tests, mainly blocking
13938         and probes.
13939
13940 2006-06-16  Wim Taymans  <wim@fluendo.com>
13941
13942         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13943         (gst_file_sink_close_file), (gst_file_sink_do_seek),
13944         (gst_file_sink_event), (gst_file_sink_render):
13945         * plugins/elements/gstfilesink.h:
13946         Check if we can seek in the file instead of assuming
13947         we always can. Post an error when we are asked to seek in a
13948         non-seekable file (like a fifo). Fixes #343312.
13949         Some cleanups.
13950
13951 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
13952
13953         * tools/gst-launch.1.in:
13954           Un-garble (fourcc) bit in filtered caps section.
13955
13956 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
13957
13958         * docs/manual/advanced-autoplugging.xml:
13959         * docs/manual/basics-helloworld.xml:
13960         * docs/manual/highlevel-components.xml:
13961           Don't leak bus reference in sample code.
13962
13963 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
13964
13965         * autogen.sh:
13966           Add default for new --enable-plugin-docs switch.
13967
13968         * configure.ac:
13969           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13970           Fixes #344039.
13971
13972         * docs/Makefile.am:
13973           Use new ENABLE_PLUGIN_DOCS conditional.
13974
13975 2006-06-14  Wim Taymans  <wim@fluendo.com>
13976
13977         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13978         Make it clear with a FIXME and a real define what the #if 0
13979         previously disabled.
13980
13981 2006-06-14  Wim Taymans  <wim@fluendo.com>
13982
13983         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13984         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13985         * libs/gst/base/gstbasetransform.c:
13986         (gst_base_transform_sink_eventfunc):
13987         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13988         Don't randomly and silently reset a segment when the format 
13989         changes as this is a bug somewhere upstream. Fixes #330379.
13990
13991 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
13992
13993         Patch by: Wouter Paesen  <wouter at kangaroot net>
13994
13995         * libs/gst/controller/gstcontroller.c:
13996         (gst_controlled_property_new):
13997           Fix controlling of float properties (#344849).
13998
13999         * tests/check/libs/controller.c:
14000         (gst_test_mono_source_get_property),
14001         (gst_test_mono_source_set_property),
14002         (gst_test_mono_source_class_init), (GST_START_TEST):
14003           While we're at it, add some float stuff to unit test.
14004
14005 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14006
14007         * docs/README:
14008         * docs/images/gdp-header.svg:
14009           add a gdp image
14010         * docs/libs/Makefile.am:
14011         * docs/libs/gdp-header.png:
14012         * libs/gst/dataprotocol/dataprotocol.c:
14013           add it to the API docs
14014         * docs/manual/intro-motivation.xml:
14015           fix typo
14016
14017 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14018
14019         * gst/gst.c: (scan_and_update_registry), (init_post):
14020           If the fork()'ed child process can't write the updated registry cache
14021           file to disk for some reason, make it exit with a failure exit code,
14022           so that the parent can then re-scan the plugins itself and update the
14023           registry structures in memory and work with that (rather than failing
14024           when creating elements because seemingly no plugins are available).
14025           Refactor registry scanning code into separate function for this and
14026           also separate fork() and non-fork() code paths. Fixes #344748.
14027
14028 2006-06-13  Wim Taymans  <wim@fluendo.com>
14029
14030         * docs/manual/advanced-dataaccess.xml:
14031         Fix wrong PluginDesc. Fixes #344755.
14032
14033 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14034
14035         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14036           Fix silly bug that prevented us from creating
14037           ~/.gstreamer-0.10 and writing the registry in one
14038           go (the first call to g_mkstemp() would overwrite the
14039           placeholder in the template string, so the second call
14040           to g_mkstemp() after creating the missing directory
14041           would then error out with 'invalid argument').
14042
14043 2006-06-13  Edward Hervey  <edward@fluendo.com>
14044
14045         * gst/gst.c: (init_post):
14046         Free string.
14047
14048 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14049
14050         * gst/glib-compat-private.h:
14051         * gst/glib-compat.c:
14052         * gst/glib-compat.h:
14053         * gst/gstvalue.c: (gst_value_serialize_flags):
14054           remove GLib 2.6 compatibility code
14055
14056 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14057
14058         * gst/parse/Makefile.am:
14059           Fix build with 'make -j N' even more (#340016).
14060
14061 2006-06-12  Wim Taymans  <wim@fluendo.com>
14062
14063         * docs/gst/gstreamer-sections.txt:
14064         Fix docs.
14065
14066 2006-06-12  Wim Taymans  <wim@fluendo.com>
14067
14068         * gst/gstsegment.c: (gst_segment_set_duration),
14069         (gst_segment_set_last_stop), (gst_segment_set_seek),
14070         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14071         (gst_segment_to_running_time), (gst_segment_clip):
14072         Use G_UNLIKELY to help the compiler a bit.
14073
14074 2006-06-12  Wim Taymans  <wim@fluendo.com>
14075
14076         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14077
14078         * gst/gstevent.c: (gst_event_get_type):
14079         * gst/gstmessage.c:
14080         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14081         (gst_pad_push):
14082         constify quark registration strings. Fixes #344115
14083         Avoid unneeded type checking is _pad_push() by internally
14084         calling gst_pad_chain_unchecked().
14085
14086 2006-06-12  Wim Taymans  <wim@fluendo.com>
14087
14088         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14089         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14090         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14091         (gst_buffer_is_span_fast), (gst_buffer_span):
14092         Init _type for consistency.
14093         Use _FLAGS macro to avoid type check.
14094         Avoid unneeded type checks in subbufer code.
14095
14096 2006-06-12  Wim Taymans  <wim@fluendo.com>
14097
14098         * gst/gst.c: (gst_debug_help):
14099         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14100         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14101         (gst_plugin_feature_list_free):
14102         * gst/gstregistry.c: (gst_registry_add_plugin),
14103         (gst_registry_add_feature), (gst_registry_plugin_filter),
14104         (gst_registry_feature_filter), (gst_registry_find_plugin),
14105         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14106         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14107         * gst/gstregistryxml.c: (load_feature),
14108         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14109         * gst/gstminiobject.c: (gst_mini_object_unref),
14110         (gst_mini_object_replace), (gst_value_mini_object_free),
14111         (gst_value_mini_object_copy):
14112         Use _CAST macros to avoid unneeded type checking.
14113         Added some more G_UNLIKELY.
14114
14115 2006-06-12  Wim Taymans  <wim@fluendo.com>
14116
14117         * gst/gstbuffer.h:
14118         Avoid unneeded type checking.
14119         API: GST_BUFFER_IS_DISCONT
14120
14121         * gst/gstminiobject.h:
14122         Avoid type check in flag accessor.
14123
14124         * gst/gstelementfactory.h:
14125         * gst/gstplugin.h:
14126         * gst/gstpluginfeature.h:
14127         Add _CAST macros.
14128         API: GST_ELEMENT_FACTORY_CAST
14129         API: GST_PLUGIN_CAST
14130         API: GST_PLUGIN_FEATURE_CAST
14131
14132 2006-06-12  Wim Taymans  <wim@fluendo.com>
14133
14134         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14135         (gst_object_unref):
14136         Add G_UNLIKELY in type registration.
14137         Avoid type check in _ref/_unref since that is also
14138         done in glib.
14139
14140 2006-06-12  Wim Taymans  <wim@fluendo.com>
14141
14142         * gst/gsterror.c: (gst_g_error_get_type):
14143         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14144         (gst_static_pad_template_get_type):
14145         * gst/gsttaglist.c: (gst_tag_list_get_type):
14146         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14147         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14148         * gst/gsturi.c: (gst_uri_handler_get_type):
14149         * gst/gstvalue.c: (gst_date_get_type):
14150         * gst/gstxml.c: (gst_xml_get_type):
14151         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14152         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14153         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14154         Add G_UNLIKELY in type registration.
14155
14156 2006-06-12  Wim Taymans  <wim@fluendo.com>
14157
14158         * tools/gst-inspect.c: (print_signal_info):
14159         Properly print enum values.
14160
14161 2006-06-12  Wim Taymans  <wim@fluendo.com>
14162
14163         * gst/gstinfo.c: (gst_debug_set_active),
14164         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14165         * gst/gstinfo.h:
14166         Add some G_[UN]LIKELY.
14167         Maintain __gst_debug_min to avoid formatting the arguments of
14168         debug messages that will be dropped anyway to avoid a lot of 
14169         overhead from the debugging system.
14170
14171 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14172
14173         * po/POTFILES.in:
14174         * po/POTFILES.skip:
14175           add missing files containing translatable strings, tell intltool about
14176           one exception
14177
14178 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14179
14180         * tests/check/libs/.cvsignore:
14181         add test-binary to ignore list
14182
14183 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14184
14185         * docs/libs/gstreamer-libs-docs.sgml:
14186         reorder (put dp into a chapter) and indent
14187
14188 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14189
14190         * configure.ac:
14191           back to HEAD
14192
14193 === release 0.10.8 ===
14194
14195 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14196
14197         * configure.ac:
14198           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14199
14200 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14201
14202         * gst/gst.c: (init_post):
14203           move pid declaration to declaration block
14204
14205 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14206
14207         * gst/gst.c: (init_post):
14208           use _exit() instead of exit() in our forked child; this ensures
14209           that none of the registered exit handlers from whatever is using
14210           GStreamer get executed.  This fixes gnome-mixer-applet failing
14211           to load, because ORBit would shut down.
14212           Spotted by: Edward Hervey  <edward@fluendo.com>
14213           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14214           Fixes #344474
14215
14216 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14217
14218         * configure.ac:
14219           back to TRUNK
14220
14221 === release 0.10.7 ===
14222
14223 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14224
14225         * configure.ac:
14226           releasing 0.10.7, "Soepeke, ik zie ou"
14227
14228 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14229
14230         * configure.ac:
14231         * po/af.po:
14232         * po/az.po:
14233         * po/bg.po:
14234         * po/ca.po:
14235         * po/cs.po:
14236         * po/de.po:
14237         * po/en_GB.po:
14238         * po/fr.po:
14239         * po/it.po:
14240         * po/nb.po:
14241         * po/nl.po:
14242         * po/ru.po:
14243         * po/sq.po:
14244         * po/sr.po:
14245         * po/sv.po:
14246         * po/tr.po:
14247         * po/uk.po:
14248         * po/vi.po:
14249         * po/zh_CN.po:
14250         * po/zh_TW.po:
14251         * win32/common/config.h:
14252           0.10.6.2 prerelease
14253
14254 2006-06-07  Wim Taymans  <wim@fluendo.com>
14255
14256         * gst/gstindex.c: (gst_index_gtype_resolver):
14257         * tools/gst-xmlinspect.c: (print_plugin_info):
14258         Fix leak spotted by coverity checker. Fixes #343827
14259         Fix another other leak found by paolo borelli.
14260
14261 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14262
14263         * libs/gst/dataprotocol/dataprotocol.c:
14264         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14265         (gst_dp_version_get_type), (gst_dp_init),
14266         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14267         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14268         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14269         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14270         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14271         (gst_dp_packetizer_free):
14272         * libs/gst/dataprotocol/dataprotocol.h:
14273           API: add a GstDPPacketizer object, and create/free functions
14274           API: add GstDPVersion enum
14275           Add 1.0 event function that uses the string serialization
14276           Serialize more useful buffer flags
14277           Fixes #343988
14278
14279 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14280
14281         * tests/check/Makefile.am:
14282         * tests/check/gst/gstabi.c:
14283         * tests/check/gst/struct_ppc64.h:
14284         * tests/check/libs/libsabi.c:
14285         * tests/check/libs/struct_ppc64.h:
14286           add ppc64 structure sizes
14287
14288 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14289
14290         * tests/check/Makefile.am:
14291         * tests/check/gst/gstabi.c:
14292         * tests/check/gst/struct_x86_64.h:
14293         * tests/check/libs/libsabi.c:
14294         * tests/check/libs/struct_x86_64.h:
14295           generate and add structure size lists for x86_64
14296
14297 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14298
14299         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14300         * libs/gst/check/gstcheck.h:
14301           factor out the method from tests that checks size of structures,
14302           and add code to generate the header containing these sizes
14303         * tests/check/gst/gstabi.c: (GST_START_TEST):
14304         * tests/check/gst/struct_i386.h:
14305         * tests/check/libs/libsabi.c: (GST_START_TEST):
14306         * tests/check/libs/struct_i386.h:
14307           use it
14308
14309 2006-06-06  Michael Smith  <msmith@fluendo.com>
14310
14311         * gst/gstsegment.h:
14312           Don't use c++-style comments, fixes #343929
14313
14314 2006-06-05  Edward Hervey  <edward@fluendo.com>
14315
14316         * gst/gst.c:
14317         plugin_paths is not used if we build without registry support.
14318
14319         * gst/gstsegment.c: (gst_segment_copy): 
14320         _copy() was always returning NULL...
14321
14322 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14323
14324         * libs/gst/dataprotocol/dataprotocol.c:
14325         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14326         (gst_dp_packet_from_event):
14327           factor out CRC code
14328
14329 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14330
14331         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14332           make sure we unset caps
14333
14334 2006-06-02  Michael Smith  <msmith@fluendo.com>
14335
14336         * libs/gst/check/gstcheck.c: (gst_check_init),
14337         (gst_check_chain_func):
14338         * libs/gst/check/gstcheck.h:
14339           Add a cond/mutex to the check support lib, signal this whenever we
14340           add to the buffers list. This will allow tests to not busy-wait on
14341           the buffer-list.
14342
14343 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14344
14345         * libs/gst/dataprotocol/dataprotocol.c:
14346         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14347         (gst_dp_packet_from_event):
14348           factor out some common header init code
14349
14350 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14351
14352         * docs/libs/gstreamer-libs-sections.txt:
14353         * docs/libs/tmpl/gstdataprotocol.sgml:
14354         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14355         * libs/gst/dataprotocol/dataprotocol.h:
14356           API: make gst_dp_crc() public
14357
14358 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14359
14360         * plugins/indexers/gstindexers.c: (plugin_init):
14361         conditionally register fileindexer (fixes #343598)
14362
14363 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14364
14365         * gst/gsttagsetter.h:
14366         Can't cast ifaces to a class
14367
14368         * libs/gst/net/gstnetclientclock.h:
14369         * libs/gst/net/gstnettimeprovider.h:
14370         * plugins/elements/gstfakesink.h:
14371         * plugins/elements/gstfakesrc.h:
14372         * plugins/elements/gstfdsink.h:
14373         * plugins/elements/gstfdsrc.h:
14374         * plugins/elements/gstfilesink.h:
14375         * plugins/elements/gstfilesrc.h:
14376         * plugins/elements/gstidentity.h:
14377         * plugins/elements/gstqueue.h:
14378         * plugins/elements/gsttee.h:
14379         * plugins/indexers/gstfileindex.c:
14380         * plugins/indexers/gstmemindex.c:
14381         * tests/old/examples/plugins/example.h:
14382         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14383
14384 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14385
14386         * libs/gst/dataprotocol/dataprotocol.c:
14387         (gst_dp_header_from_buffer):
14388           make sure we zero the whole ABI-compatible area
14389
14390 2006-06-01  Wim Taymans  <wim@fluendo.com>
14391
14392         Patch by: Alessandro Decina <alessandro at nnva dot org>
14393
14394         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14395         Make sure the EOS flag is cleared from pads after a flush
14396         or stop. Fixes #343538.
14397
14398         * tests/check/libs/collectpads.c: (GST_START_TEST),
14399         (gst_collect_pads_suite):
14400         Added test for collectpads reusage after EOS.
14401
14402 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14403
14404         * gst/gst.c:
14405          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14406         * win32/common/libgstbase.def:
14407          export gst_collect_pads_set_flushing
14408         * win32/common/libgstreamer.def:
14409          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14410          gst_value_fraction_multiply
14411         * win32/vs6/gst_inspect.dsp:
14412          add a link to intl.lib
14413
14414 2006-05-30  Wim Taymans  <wim@fluendo.com>
14415
14416         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14417         (gst_collect_pads_chain):
14418         Handle the case where a pad is removed from the collection
14419         that could cause the other pads to become collectable.
14420
14421 2006-05-30  Wim Taymans  <wim@fluendo.com>
14422
14423         * gst/gstelement.c:
14424         Clarify the use of _release_request_pad() and
14425         _get_request_pad() a bit better.
14426
14427         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14428         (gst_adapter_take_buffer):
14429         Fix some doc and comment typos.
14430
14431 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14432
14433         * docs/gst/gstreamer-sections.txt:
14434         * docs/libs/gstreamer-libs-sections.txt:
14435           add declared symbols
14436
14437 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14438
14439         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14440         Add debug that can be enabled using a #define at the top of the file,
14441         for dumping stats about how late/early we were when waking up from
14442         waiting on the clock.
14443
14444 2006-05-30  Wim Taymans  <wim@fluendo.com>
14445
14446         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14447         When rebuilding the pad list, don't leak the previous list.
14448
14449 2006-05-30  Wim Taymans  <wim@fluendo.com>
14450
14451         Patch by: Lutz Mueller <lutz at topfrose dot de>
14452
14453         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14454         (gst_base_src_get_query_types), (gst_base_src_update_length):
14455         Publish supported query types.
14456         Update last_stop field in get_range mode so the position
14457         query works. Fixes #342321.
14458
14459 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14460
14461         * docs/gst/gstreamer-sections.txt:
14462         * gst/gsttaglist.c: (_gst_tag_initialize):
14463         * gst/gsttaglist.h:
14464           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14465
14466 2006-05-30  Wim Taymans  <wim@fluendo.com>
14467
14468         Patch by: Alessandro Decina <alessandro at nnva dot org>
14469
14470         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14471         Unlock mutex when removing an unknown pad.
14472         Fixes #343334.
14473
14474         * tests/check/Makefile.am:
14475         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14476         (push_event), (setup), (teardown), (GST_START_TEST),
14477         (gst_collect_pads_suite), (main):
14478         Added collecpads check, disabled for now as check crashes for
14479         some reason.
14480
14481 2006-05-29  Wim Taymans  <wim@fluendo.com>
14482
14483         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14484         Don't leak pads lists.
14485
14486 2006-05-29  Wim Taymans  <wim@fluendo.com>
14487
14488         * docs/libs/gstreamer-libs-sections.txt:
14489         * libs/gst/base/gstcollectpads.c:
14490         (gst_collect_pads_set_flushing_unlocked),
14491         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14492         (gst_collect_pads_stop):
14493         * libs/gst/base/gstcollectpads.h:
14494         API: gst_collect_pads_set_flushing()
14495         Added api to set the pads to flushing, useful for seeking
14496         code in elements using collectpads.
14497         Clear segment when receiving a flush.
14498
14499 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14500
14501         * gst/gst.c: (add_path_func), (init_post):
14502           Don't scan registry paths passed via --gst-plugin-path immediately
14503           (will crash, because absolutely nothing is set up and no types are
14504           registered etc.); do this later in init_post(). Fixes #343057.
14505
14506 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14507
14508         * gst/gst.c: (init_post):
14509           if we have fork, fork while reading/rebuilding the registry
14510           so the parent doesn't take the hit of having all plugins loaded
14511           in memory.  Fixes #342777.
14512         * configure.ac:
14513           Check if we have fork()
14514         * win32/common/config.h.in:
14515           no fork() on win32
14516
14517 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14518
14519         * plugins/elements/gstelements.c:
14520         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14521         (gst_file_src_init), (gst_file_src_set_property),
14522         (gst_file_src_get_property), (gst_file_src_start):
14523         * plugins/elements/gstfilesrc.h:
14524           API: GstFileSrc::use-mmap
14525
14526         Add a use-mmap property to enable easier testing of all code paths.
14527         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14528         in the absence of gnomevfssrc. (Closes #340501)
14529
14530 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14531
14532         * tools/gst-inspect.c:
14533         Add missing include, removes warning of ngettext not being defined on
14534         some arches.
14535
14536 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14537
14538         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14539         Handle NULL input and output pointers silently as a failed conversion,
14540         rather than g_warnings.
14541
14542 2006-05-25  Wim Taymans  <wim@fluendo.com>
14543
14544         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14545         Initialize variable before using. Fixes #342820.
14546
14547 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14548
14549         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14550           Fix off-by-one bug that would only allow peeks of N-1 bytes
14551           from the start even if the buffer to typefind on contains
14552           in fact N bytes of data (makes vorbis typefinding from a
14553           vorbis identification header buffer work).
14554
14555         * tests/check/Makefile.am:
14556         * tests/check/libs/.cvsignore:
14557         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14558         (gst_typefindhelper_suite), (main), (foobar_typefind),
14559         (plugin_init):
14560           Add very basic unit test for gst_type_find_helper_for_buffer()
14561           that checks for the problem fixed above.
14562
14563 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14564
14565         * tools/gst-inspect.c: (print_interfaces),
14566         (print_element_properties_info), (print_element_list), (main):
14567           add more translatable strings
14568
14569 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14570
14571         Patch by: Julien Moutte  <julien at moutte net>
14572
14573         * docs/gst/gstreamer-sections.txt:
14574           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14575           
14576         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14577         (gst_fake_sink_preroll):
14578         * plugins/elements/gstfakesink.h:
14579           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14580
14581 2006-05-23  Wim Taymans  <wim@fluendo.com>
14582
14583         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14584         * gst/gstpad.h:
14585         Added _CUSTOM error and success GstFlowReturn that can be
14586         used be elements internally. 
14587         Added macro to check for SUCCESS flowreturns.
14588         API: GST_FLOW_CUSTOM_SUCCESS
14589         API: GST_FLOW_CUSTOM_ERROR
14590         API: GST_FLOW_IS_SUCCESS
14591
14592         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14593         Added check for GstFlowReturn sanity.
14594
14595 2006-05-23  Wim Taymans  <wim@fluendo.com>
14596
14597         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14598
14599         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14600         (gst_collect_pads_event):
14601         clear/reset segment info in FLUSH_STOP.
14602         Fixes #336929.
14603
14604 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14605
14606         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14607         (gst_collect_pads_check_collected):
14608         Flush queued buffer on _stop(), fixes playing again (#342454)
14609
14610 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14611
14612         * tests/check/gst/gststructure.c: (GST_START_TEST),
14613         (gst_structure_suite):
14614           add a test for a complete structure
14615
14616 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14617
14618         * docs/faq/developing.xml:
14619         * docs/faq/faq.xml:
14620         * docs/faq/troubleshooting.xml:
14621         * docs/faq/using.xml:
14622           Some minor FAQ updates that won't change the fact that
14623           our FAQ is badly structured, full of information hardly
14624           anyone new to GStreamer needs to know and lacking lots
14625           of information people constantly ask for.
14626           
14627 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14628
14629         * gst/gstpad.c: (gst_pad_set_caps):
14630           Short-circuit gst_pad_set_caps if setting the existing
14631           caps pointer again, and avoid printing debug and 
14632           reffing/unreffing the caps.
14633
14634         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14635           There's actually no need to set the caps before pushing -
14636           the acceptcaps method will handle it anyway.
14637
14638 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14639
14640         * docs/gst/gstreamer-sections.txt:
14641         * win32/common/libgstreamer.def:
14642         * gst/gstutils.c: (gst_element_seek_simple):
14643         * gst/gstutils.h:
14644           API: add gst_element_seek_simple() (#342238).
14645
14646 2006-05-18  Edward Hervey  <edward@fluendo.com>
14647
14648         * gst/gsttypefind.c: (gst_type_find_get_type):
14649         * gst/gsttypefind.h:
14650         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14651         registered for GstTypeFind pointers. This allows wrapping the structure
14652         in bindings (i.e. gst-python).
14653
14654 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14655
14656         * gst/gsttagsetter.c:
14657           Docs additions and fixes (see #339918).
14658
14659 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14660
14661         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14662         The caps intersection algorithm can produce multiple copies of the
14663         caps. Until that is fixed, we need to simplify the result to be
14664         sure whether the allowed caps are fixed or not.
14665
14666         * plugins/elements/gstqueue.c: (gst_queue_init),
14667         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14668         (gst_queue_push_one):
14669         Proxied buffer alloc should not set the caps on the source pad.
14670         When pushing buffers, we always accept the caps change that triggers.
14671         This prevents negotiation errors caused by caps changing mid-stream 
14672         and then being refused on our source pad (because upstream is now
14673         refusing those caps).
14674
14675 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14676
14677         * tests/examples/helloworld/helloworld.c: (main):
14678           Must plug audioconvert and audioresample between decoder
14679           and audio sink.
14680
14681 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14682
14683         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14684         (load_feature), (load_plugin):
14685         Allow empty strings for some of the plugin fields so we don't 
14686         drop valid plugin entries that were written out correctly
14687         (Fixes #341479)
14688
14689 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14690         
14691         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14692           Use g_remove and g_rename instead of remove and rename that don't 
14693           handle utf8 characters. rename was failing for users who had specific
14694           characters in their name then the registry was built at each 
14695           gstreamer init.
14696         * win32/vs6/gst_inspect.dsp:
14697         * win32/vs6/gst_launch.dsp:
14698         * win32/vs6/libgstbase.dsp:
14699         * win32/vs6/libgstcoreelements.dsp:
14700         * win32/vs6/libgstreamer.dsp:
14701           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14702           build of libgstreamer and clean unused libraries in projects link 
14703           settings.
14704
14705 2006-05-17  Edward Hervey  <edward@fluendo.com>
14706
14707         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14708         The queue is not responsible for pushing an EOS when receiving a fatal
14709         flow error. It's up to the real element driving the pipeline to do that.
14710
14711 2006-05-16  Edward Hervey  <edward@fluendo.com>
14712
14713         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14714         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14715         buffer returned a fatal error. It should just send an EOS and stop
14716         its task.
14717         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14718         when pushing buffers on the queue and will be able to handle the event.
14719
14720 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14721
14722         * docs/manual/basics-bins.xml:
14723         * docs/manual/basics-init.xml:
14724           Fix typos and minor errors in sample code (#341856).
14725
14726 2006-05-16  Wim Taymans  <wim@fluendo.com>
14727
14728         * docs/design/part-qos.txt:
14729         Fix indexes in formulas to make more sense.
14730
14731 2006-05-15  Wim Taymans  <wim@fluendo.com>
14732
14733         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14734         Don't report POSITION based on clock time if sync is
14735         disabled in a sink.
14736
14737 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14738
14739         * gst/gstobject.h:
14740           Add cast to make compiler happy - refcount variable was a gint
14741           in GstObject but is a guint in GObject and g_atomic_int_get()
14742           wants a gint *.
14743
14744 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14745
14746         * gst/parse/Makefile.am:
14747           chain commands using &&, which also makes parallel make work
14748
14749 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
14750
14751         * docs/gst/gstreamer-sections.txt:
14752         * gst/gstevent.c:
14753         * gst/gstevent.h:
14754         * gst/gstmessage.h:
14755           Minor docs fixes.
14756
14757 === release 0.10.6 ===
14758
14759 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
14760
14761         * configure.ac:
14762           releasing 0.10.6, "Take the cannoli"
14763
14764 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
14765
14766         * tools/gst-launch.c: (print_tag):
14767           Fix use of uninitialized variable in the hypothetical
14768           case that some broken plugin creates a GST_TAG_IMAGE
14769           tag containing a NULL buffer (#341667).
14770
14771 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
14772
14773         * tools/gst-launch.c: (print_tag):
14774           Print something more intelligible for image tags when
14775           using the -t switch (#341556).
14776
14777 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14778
14779         * Makefile.am:
14780           updates for win32
14781         * configure.ac:
14782           define GST_MAJORMINOR so we have it available in win32/common/config.h
14783           Possibly remove it from our Makefile.am files later
14784         * win32/common/config.h:
14785         * win32/common/config.h.in:
14786           added GST_MAJORMINOR
14787         * win32/common/gstenumtypes.c: (register_gst_resource_error):
14788         * win32/common/gstversion.h:
14789           updated
14790
14791 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
14792
14793         * win32/MANIFEST:
14794           Update win32 files listing.
14795         * win32/common/gstversion.h:
14796           Add GST_MAJORMINOR definition.
14797         * win32/common/libgstreamer.def:
14798           Add new exported functions.
14799           
14800 2006-05-12  Michael Smith  <msmith@fluendo.com>
14801
14802         * gst/gstplugin.c: (gst_plugin_load_file):
14803           If an so file has no plugin entry point, unload the module.
14804
14805 2006-05-11  Wim Taymans  <wim@fluendo.com>
14806
14807         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14808         (gst_queue_set_property):
14809         Don't forget to signal the _chain or _loop function 
14810         when the queue size or thresholds change since that might
14811         cause them to make progres again.
14812
14813 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
14814
14815         * gst/gstclock.c: (gst_clock_class_init):
14816         * gst/gstindex.c: (gst_index_class_init):
14817         * gst/gstobject.c: (gst_object_class_init):
14818         * gst/gstpad.c: (gst_pad_class_init):
14819         * gst/gstpipeline.c: (gst_pipeline_class_init):
14820         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14821         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14822         * libs/gst/base/gstbasetransform.c:
14823         (gst_base_transform_class_init):
14824         * libs/gst/net/gstnetclientclock.c:
14825         (gst_net_client_clock_class_init):
14826         * libs/gst/net/gstnettimeprovider.c:
14827         (gst_net_time_provider_class_init):
14828         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14829         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14830         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14831         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14832         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14833         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14834         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14835         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14836         * plugins/elements/gsttee.c: (gst_tee_class_init):
14837         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14838         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14839           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14840
14841 2006-05-11  Wim Taymans  <wim@fluendo.com>
14842
14843         * gst/gstbuffer.c: (_gst_buffer_initialize):
14844         Register subbufer along with the buffer type so that
14845         it does not accidentally gets registered from N
14846         different streaming threads in a non threadsafe way.
14847
14848 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14849
14850         * gst/gstbuffer.h:
14851         * gst/gstevent.h:
14852         * gst/gstmessage.h:
14853           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14854           gst_event_ref() and gst_message_ref() functions again
14855           (ugly hack, please do fix if there's a better way besides
14856           overrides.txt, which doesn't seem to work).
14857
14858 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14859
14860         * libs/gst/check/gstcheck.h:
14861           add an assert for setting state to avoid lots of repetitive code
14862           in the future
14863
14864 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14865
14866         * gst/gstvalue.c: (gst_value_serialize_flags):
14867           fix a leak if no flags are set
14868         * tests/check/gst/gstvalue.c: (GST_START_TEST):
14869           fix leak in tests
14870
14871 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14872
14873         * docs/manual/basics-pads.xml:
14874           Expand a bit on caps and filtered links and update
14875           examples that were still using the no longer existing
14876           gst_pad_link_filtered() (#338206).
14877
14878 2006-05-10  Wim Taymans  <wim@fluendo.com>
14879
14880         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14881         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14882         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14883         (gst_collect_pads_stop):
14884         * libs/gst/base/gstcollectpads.h:
14885         No need to call _stop in _finalize.
14886         Iterate the main pad list in _finalize.
14887         Added some more debug.
14888         Free lists and data in the right order.
14889         Also free data whem doing _remove_pad when stopped for
14890         backward compatibility protect ::started with PAD_LOCK as
14891         well.
14892
14893 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14894
14895         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14896         (gst_structure_parse_value):
14897           add some comments
14898           rename a method so that it actually says what it does better
14899
14900 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14901
14902         * gst/gstevent.c: (_gst_event_initialize):
14903         * gst/gstformat.c: (_gst_format_initialize):
14904           make sure some essential types used by events are registered
14905           as part of gst_init()
14906         * gst/gstvalue.c: (gst_value_serialize_flags):
14907           if no flags are set, serialize them to a value that represents NONE
14908           so that deserializing them works
14909         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14910           add tests for serialization and deserialization of flags
14911
14912 2006-05-10  Wim Taymans  <wim@fluendo.com>
14913
14914         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14915         (gst_collect_pads_collect_range), (gst_collect_pads_available),
14916         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14917         (gst_collect_pads_event), (gst_collect_pads_chain):
14918         Update docs.
14919         Better debug info.
14920         Catch and return errors from the collect function
14921         Refuse data on eos pads.
14922
14923 2006-05-10  Edward Hervey  <edward@fluendo.com>
14924
14925         * gst/gstinterface.h:
14926         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14927         GInterface type checking.
14928         They were previously using non-defined macros.
14929
14930 2006-05-09  Wim Taymans  <wim@fluendo.com>
14931
14932         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14933         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14934         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14935         (gst_collect_pads_start), (gst_collect_pads_stop),
14936         (gst_collect_pads_peek), (gst_collect_pads_pop),
14937         (gst_collect_pads_available), (gst_collect_pads_read),
14938         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14939         (gst_collect_pads_is_collected), (gst_collect_pads_event),
14940         (gst_collect_pads_chain):
14941         * libs/gst/base/gstcollectpads.h:
14942         Clean up the mess that is collectpads, add comments and
14943         FIXMEs where needed.
14944         Maintain a separate pad list so we can add pads while
14945         collecting the other ones. For this we need a new separate 
14946         lock (see comics).
14947         Fix memory leak in finalize.
14948         Refactor some weird code to set/unset pad flushing flags, mark
14949         with comments.
14950         Don't crash in _available, _read, _flush when we're EOS.
14951
14952         * tests/check/libs/.cvsignore:
14953         Ignore adapter check binary.
14954
14955 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14956
14957         * gst/gstindex.c: (gst_index_resolver_get_type):
14958         * plugins/elements/gstfakesink.c:
14959         (gst_fake_sink_state_error_get_type):
14960         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14961         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14962         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14963           Const-ify GEnumValue arrays.
14964
14965 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14966
14967         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14968           Add test case for flags + gst_buffer_make_metadata_writable().
14969
14970 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14971
14972         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14973           gst_buffer_make_metadata_writable() should maintain the
14974           buffer flags (those that make sense at least) (see #340859).
14975
14976 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14977
14978         * tools/gst-inspect.c:
14979         * tools/gst-launch.c:
14980         * tools/gst-typefind.c:
14981         * tools/gst-xmlinspect.c:
14982         * tools/tools.h:
14983           Fix up includes: need to include stdlib.h in tools.h for exit().
14984
14985 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14986
14987         * gst/gsttaglist.c: (_gst_tag_initialize):
14988         * gst/gsttaglist.h:
14989           API: add GST_TAG_IMAGE tag (#340721).
14990
14991 2006-05-08  Wim Taymans  <wim@fluendo.com>
14992
14993         * gst/gstquery.c:
14994         Added some docs for the segment query.
14995
14996 2006-05-08  Wim Taymans  <wim@fluendo.com>
14997
14998         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14999         (gst_base_src_loop), (gst_base_src_change_state):
15000         Always push non-flushing serialized events in the streaming 
15001         thread.
15002
15003 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15004
15005         * gst/gsterror.c: (_gst_stream_errors_init):
15006           Add a missing error string.
15007
15008 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15009
15010         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15011         Add applied_rate to the debug
15012
15013         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15014         Copy applied_rate into the outgoing NEWSEGMENT event
15015
15016 2006-05-08  Wim Taymans  <wim@fluendo.com>
15017
15018         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15019
15020         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15021         (gst_base_sink_change_state):
15022         call ::unlock before taking the PREROLL_LOCK so we can safely
15023         handle elements that lock in ::render.
15024         Fixes #340174.
15025
15026 2006-05-08  Edward Hervey  <edward@fluendo.com>
15027
15028         * autogen.sh: (CONFIGURE_DEF_OPT): 
15029         Darwin's libtoolize is in fact called glibtoolize.
15030         Adding glibtoolize to the list of accepted names for libtoolize.
15031
15032 2006-05-08  Wim Taymans  <wim@fluendo.com>
15033
15034         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15035         Unify error handling, don't post an error message
15036         when a push() returns EOS but perform our normal EOS
15037         handling code. Fixes #340772.
15038
15039 2006-05-08  Wim Taymans  <wim@fluendo.com>
15040
15041         * docs/design/part-overview.txt:
15042         Make upsteam/downstream concepts more clear.
15043         Give an example of serialized/non-serialized events.
15044
15045         * docs/design/part-events.txt:
15046         * docs/design/part-streams.txt:
15047         Mention applied_rate.
15048
15049         * docs/design/part-trickmodes.txt:
15050         Mention applied rate, flesh out some more use cases.
15051
15052         * gst/gstevent.c: (gst_event_new_new_segment),
15053         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15054         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15055         (gst_event_parse_tag), (gst_event_new_buffer_size),
15056         (gst_event_parse_buffer_size), (gst_event_new_qos),
15057         (gst_event_parse_qos), (gst_event_parse_seek),
15058         (gst_event_new_navigation):
15059         * gst/gstevent.h:
15060         Add applied_rate field to NEWSEGMENT event.
15061         API: gst_event_new_new_segment_full()
15062         API: gst_event_parse_new_segment_full()
15063
15064         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15065         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15066         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15067         * gst/gstsegment.h:
15068         Add applied_rate to GstSegment structure.
15069         Make calculation of stream_time and running_time more correct
15070         wrt rate/applied_rate.
15071         Add some more docs.
15072         API: GstSegment::applied_rate field
15073         API: gst_segment_set_newsegment_full();
15074
15075         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15076         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15077         * libs/gst/base/gstbasetransform.c:
15078         (gst_base_transform_sink_eventfunc),
15079         (gst_base_transform_handle_buffer):
15080         Parse and use applied_rate in the GstSegment field.
15081
15082         * tests/check/gst/gstevent.c: (GST_START_TEST):
15083         Add check for applied_rate field.
15084
15085         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15086         (gstsegments_suite):
15087         Add more checks for various GstSegment operations.
15088
15089 2006-05-08  Wim Taymans  <wim@fluendo.com>
15090
15091         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15092         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15093         (gst_base_sink_get_position), (gst_base_sink_change_state):
15094         Store the sync time of the buffer end position separatly in a
15095         new variable eos_rtime so we can properly sync the EOS event.
15096         Fixes #340697.
15097         Fix the docs for gst_base_sink_set_qos_enabled().
15098         Don't set segment start to invalid value when we receive a 
15099         non TIME newsegment.
15100         get closer to handling position reporting for negative rates 
15101         correctly.
15102
15103 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15104
15105         * gst/gstcaps.c:
15106         Docs about how to print caps for debug purposes.
15107
15108         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15109         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15110
15111 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15112
15113         * gst/gstelement.c:
15114           use full enum names and preprend a '%' in docs strings to make recent 
15115           gtk-doc turn that into a link
15116
15117 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15118
15119         * docs/manual/basics-bins.xml:
15120         * docs/manual/basics-bus.xml:
15121         * docs/manual/basics-pads.xml:
15122           Some typo fixes, some additions, some clarifications. 
15123
15124 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15125
15126         * tools/gst-inspect.c: (main):
15127         * tools/gst-launch.c: (main):
15128         * tools/gst-run.c: (main):
15129         * tools/gst-typefind.c: (main):
15130         * tools/gst-xmlinspect.c: (main):
15131           Use the string passed to g_option_context_new() for
15132           what it's intended for - the program name is already
15133           printed elsewhere.
15134
15135 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15136
15137         * tools/Makefile.am:
15138         * tools/gst-inspect.c: (main):
15139         * tools/gst-launch.c: (main):
15140         * tools/gst-xmlinspect.c: (main):
15141         * tools/tools.h:
15142           Add back --version command line option (#340460).
15143
15144         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15145           Add --version option and use GOption for argument parsing; refactor a
15146           bit; accept directories as arguments and recurse into them; lastly,
15147           print a decent error message when things go wrong.
15148
15149 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15150
15151         * docs/manual/basics-bins.xml:
15152         Don't mention GstThread (#340611)
15153         * docs/manual/basics-elements.xml:
15154         Update link to GObject tutorial (#340607)
15155         
15156 2006-05-05  Wim Taymans  <wim@fluendo.com>
15157
15158         * gst/gstbuffer.h:
15159         * gst/gstminiobject.c:
15160         Add note about refcounting and miniobject/buffer writeability
15161         to docs. Fixes #340604
15162
15163         * gst/gstelementfactory.h:
15164         Added some explanation about @klass.
15165
15166 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15167
15168         * docs/manual/intro-motivation.xml:
15169         * docs/manual/manual.xml:
15170         Avoid CORBA & Bonobo references (#340598)
15171
15172 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15173
15174         * docs/manual/basics-bus.xml:
15175         * docs/manual/basics-pads.xml:
15176         Fix up some inaccuracies and omissions (#340609)
15177         
15178 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15179
15180         * gst/gstghostpad.c:
15181           Small typo in docs (#340625)
15182
15183 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15184
15185         * gst/parse/Makefile.am:
15186           Make 'make -j' proof (see #340698).
15187
15188 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15189
15190         * configure.ac:
15191           Require GLib-2.8 here as well.
15192
15193 2006-05-05  Wim Taymans  <wim@fluendo.com>
15194
15195         * gst/glib-compat.c:
15196         * gst/gst.c: (init_pre):
15197         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15198         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15199         (gst_object_dispatch_properties_changed):
15200         * gst/gstobject.h:
15201         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15202         * gst/gststructure.c: (gst_structure_set_valist):
15203         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15204         Remove pre glib2.8 compatibility, fixes #340508
15205
15206 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15207
15208         * gst/gsttaglist.h:
15209           Mention type of tags in doc blurbs.
15210
15211 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15212
15213         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15214         (gst_pad_configure_src), (gst_pad_push):
15215         Restore acceptcaps checking behaviour now that good plugins have
15216         been released.
15217
15218 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15219
15220         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15221
15222         * gst/gst.c:
15223         * gst/gstbus.c:
15224         * gst/gstclock.c:
15225         * gst/gstevent.c:
15226         * gst/gstformat.c:
15227         * gst/gstmessage.c:
15228         * gst/gstparse.c:
15229         * gst/gstquery.c:
15230         * gst/gstutils.c:
15231         * gst/parse/Makefile.am:
15232         * libs/gst/base/gstadapter.c:
15233         * libs/gst/base/gstbasesrc.c:
15234         * libs/gst/base/gstpushsrc.c:
15235         * libs/gst/base/gsttypefindhelper.c:
15236         * plugins/elements/gstfakesrc.c:
15237         * plugins/elements/gstidentity.c:
15238           Make sure gstprivate.h and/or config.h are
15239           always included first, otherwise some of our
15240           defines (like _FILE_OFFSET_BITS) might be
15241           redefined in the system headers. Fixes build
15242           on opensolaris (#340016).
15243
15244 2006-05-04  Wim Taymans  <wim@fluendo.com>
15245
15246         * docs/libs/gstreamer-libs-sections.txt:
15247         API: addition: gst_adapter_take_buffer()
15248         
15249         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15250         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15251         (gst_adapter_available_fast):
15252         * libs/gst/base/gstadapter.h:
15253         Prepare for optimizing the hell out of this hugely inefficient
15254         piece of code. 
15255         Added gst_adapter_take_buffer() so we can at least start thinking
15256         about subbuffering and merging.
15257         Added some comments.
15258
15259         * tests/check/Makefile.am:
15260         * tests/check/libs/adapter.c: (GST_START_TEST),
15261         (gst_adapter_suite), (main):
15262         Added GstAdapter check.
15263
15264 2006-05-04  Wim Taymans  <wim@fluendo.com>
15265
15266         * docs/design/part-overview.txt:
15267         Fix some typos, add blurb about buffer flags.
15268
15269 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15270
15271         * docs/libs/gstreamer-libs-sections.txt:
15272           make sure GstBaseTransformClass shows up in the docs
15273         * libs/gst/base/gstbasetransform.c:
15274         * libs/gst/base/gstbasetransform.h:
15275           move docs so gtk-doc picks it up now
15276
15277 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15278
15279         * docs/libs/gstreamer-libs-sections.txt:
15280           add missing symbols to docs
15281
15282 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15283
15284         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15285           back out the newsegment handling change, see #340060 for ongoing
15286           discussion
15287
15288 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15289
15290         * tools/gst-run.c: (get_candidates), (main):
15291           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15292           work); fix typo in error message. Fixes #340079.
15293
15294 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15295
15296         * common/Makefile.am:
15297         * docs/Makefile.am:
15298         * docs/faq/Makefile.am:
15299         * docs/gst/Makefile.am:
15300         * docs/libs/Makefile.am:
15301         * docs/manual/Makefile.am:
15302         * docs/plugins/Makefile.am:
15303         * docs/pwg/Makefile.am:
15304         * docs/slides/Makefile.am:
15305         * docs/upload.mak:
15306         * common/upload.mak:
15307           move upload.mak to common
15308
15309 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15310
15311         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15312           add more asserts on refcounts
15313           do more cleanup at end of tests
15314           fix test leaks showing in FC5
15315
15316 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15317
15318         * plugins/elements/gsttypefindelement.c:
15319         (gst_type_find_element_handle_event):
15320         reverted wrong change and reflowed code to avoid others falling into
15321         this trap
15322
15323 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15324
15325         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15326           fix changelog entry about last collectpads change,
15327           add notes about proper fix
15328
15329 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15330
15331         * gst/gst.c:
15332         * gst/gstregistry.c: (gst_registry_scan_path_level),
15333         (gst_registry_scan_path):
15334         * gst/gstregistry.h:
15335           only write out registry if it has changed, fixes #338339
15336
15337 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15338
15339         * gst/gstbin.c:
15340         * gst/gstpipeline.c:
15341         * plugins/elements/gstcapsfilter.c:
15342         * plugins/elements/gstfakesink.c:
15343         * plugins/elements/gstfakesrc.c:
15344         * plugins/elements/gstfdsink.c:
15345         * plugins/elements/gstfdsrc.c:
15346         * plugins/elements/gstfilesink.c:
15347         * plugins/elements/gstfilesrc.c:
15348         * plugins/elements/gstidentity.c:
15349         * plugins/elements/gstqueue.c:
15350         * plugins/elements/gsttee.c:
15351         * plugins/elements/gsttypefindelement.c:
15352         (gst_type_find_element_handle_event):
15353           make GstElementDetails const
15354
15355 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15356
15357         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15358         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15359         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15360           more detailed debug and formatting cleanup,
15361           forward newsegments to src-pad (so that e.g. adder not eats them)
15362
15363 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15364
15365         * gst/gstutils.c: (gst_element_link_pads):
15366           cleanup double code
15367
15368 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15369
15370         * libs/gst/controller/gstcontroller.c:
15371         (gst_controller_sync_values):
15372           some little tuning
15373         * tests/check/libs/controller.c: (GST_START_TEST),
15374         (gst_controller_suite):
15375           a new test for live value handling
15376
15377 2006-04-28  Wim Taymans  <wim@fluendo.com>
15378
15379         * gst/gstutils.c: (push_and_ref):
15380         Added some more docs.
15381         Fix refcount issue whith gst_element_found_tags() helper 
15382         function. Fixes #338335
15383
15384         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15385         Added testsuite for gst_element_found_tags().
15386
15387 2006-04-28  Michael Smith  <msmith@fluendo.com>
15388
15389         * gst/gstvalue.c: (gst_value_serialize_flags):
15390           Avoid NULL dereference when trying to serialize flags containing
15391           invalid values.
15392
15393 2006-04-28  Michael Smith  <msmith@fluendo.com>
15394
15395         * plugins/elements/gsttypefindelement.c:
15396         (gst_type_find_element_handle_event):
15397           If we get EOS before any data is accumulated, don't use
15398           uninitialised local variables.
15399
15400 2006-04-28  Michael Smith  <msmith@fluendo.com>
15401
15402         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15403         (gst_dp_event_from_packet):
15404           Fixes in reading/writing events over GDP (not currently used?) - 
15405           dereferencing NULL events for unknown/invalid event types, memory
15406           leak, and change g_warning to GST_WARNING.
15407
15408 2006-04-28  Wim Taymans  <wim@fluendo.com>
15409
15410         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15411         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15412         (gst_base_sink_get_position), (gst_base_sink_change_state):
15413         When frame dropping is enabled, we should not ignore frames
15414         without a duration.
15415         Update some documentation.
15416
15417 2006-04-28  Wim Taymans  <wim@fluendo.com>
15418
15419         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15420         (gst_base_src_send_event), (gst_base_src_change_state):
15421         Documentation updates.
15422
15423 2006-04-28  Wim Taymans  <wim@fluendo.com>
15424
15425         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15426         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15427         handle EAGAIN, EINTR and short writes correctly. Also clean
15428         up some error cases, avoid a deadlock on bad file descriptors and
15429         use GST_DEBUG_OBJECT.
15430         Fixes #339843
15431
15432 2006-04-28  Wim Taymans  <wim@fluendo.com>
15433
15434         * gst/gstvalue.c: (gst_value_serialize_buffer),
15435         (gst_value_deserialize_buffer):
15436         Don't try to serialize a GValue with a NULL buffer. 
15437         Fixes #339821.
15438
15439         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15440         Added check for serialisation of NULL buffers.
15441
15442 2006-04-28  Wim Taymans  <wim@fluendo.com>
15443
15444         * gst/gstminiobject.c: (gst_value_take_mini_object):
15445         Taking a NULL miniobject is valid, fix the case where
15446         we try to unref the NULL miniobject.
15447
15448 2006-04-28  Wim Taymans  <wim@fluendo.com>
15449
15450         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15451
15452         * gst/gstbin.c: (gst_bin_handle_message_func):
15453         Update docs.
15454         Don't leak bin refcount when a state recalc is
15455         in progress and we delay another one #339808.
15456
15457 2006-04-28  Wim Taymans  <wim@fluendo.com>
15458
15459         * docs/design/part-TODO.txt:
15460         Mention QoS as an ongoing work item.
15461
15462         * docs/design/part-buffering.txt:
15463         New doc about buffering that needs to be fleshed out
15464         at some point.
15465
15466         * docs/design/part-qos.txt:
15467         More QoS policy for decoders/demuxers/transforms
15468
15469         * docs/design/part-trickmodes.txt:
15470         Small update.
15471
15472 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15473
15474         * configure.ac:
15475           back to HEAD
15476
15477 === release 0.10.5 ===
15478
15479 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15480
15481         * configure.ac:
15482           releasing 0.10.5, "Fogo"
15483
15484 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15485
15486         patch by: Wim Taymans
15487
15488         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15489         (gst_pad_configure_src), (gst_pad_push):
15490         * gst/gstpipeline.c: (gst_pipeline_init):
15491           Fix internal data flow errors.  Fixes #338711.
15492
15493 2006-04-12  Wim Taymans  <wim@fluendo.com>
15494
15495         * tests/check/gst/gstelement.c: (GST_START_TEST):
15496         Don't leak the factory.
15497
15498 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15499
15500         * configure.ac:
15501         * win32/common/config.h:
15502           prerelease
15503
15504 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15505
15506         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15507         (gst_controller_unset_all):
15508           Free allocated GstTimedValues when freeing list nodes.
15509           Should fix leaks 'make check-valgrind' complains about.
15510
15511         * win32/common/libgstcontroller.def:
15512           Add gst_controller_unset_all.
15513
15514 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15515
15516         * docs/libs/gstreamer-libs-sections.txt:
15517         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15518         (gst_controller_unset_all):
15519         * libs/gst/controller/gstcontroller.h:
15520         API: Added new method gst_controller_unset_all()
15521         fixed gst_controller_unset()
15522         * tests/check/libs/controller.c: (GST_START_TEST),
15523         (gst_controller_suite):
15524         Added two testcases for new and fixed method
15525
15526 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15527
15528         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15529           MSG_DONTWAIT is not defined on Cygwin, so work
15530           around that (fixes #317048).
15531           
15532 2006-04-11  Wim Taymans  <wim@fluendo.com>
15533
15534         * gst/gstelementfactory.c: (gst_element_register),
15535         (gst_element_factory_create), (gst_element_factory_make):
15536         Some cleanups.
15537         Fixed a FIXME.
15538         Updated docs (Fixes #131079)
15539
15540         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15541         Small cleanups.
15542
15543         * tests/check/gst/gstelement.c: (GST_START_TEST),
15544         (gst_element_suite):
15545         Added testcase for elementfactory class field.
15546
15547 2006-04-10  Wim Taymans  <wim@fluendo.com>
15548
15549         * gst/gstsegment.c:
15550         Added some more docs.
15551
15552         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15553         (gst_base_sink_reset_qos):
15554         Calculate more accurate rate values.
15555
15556 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15557
15558         * gst/gst_private.h:
15559           add a new #ifdef to use __declspec(dllimport) only for
15560           other modules and not for gstreamer core
15561         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15562           use gst_guint64_to_gdouble for conversion
15563         * win32/common/libgstreamer.def:
15564           add new exported functions
15565         * win32/vs6/gst_inspect.dsp:
15566         * win32/vs6/gst_launch.dsp:
15567         * win32/vs6/libgstbase.dsp:
15568         * win32/vs6/libgstcontroller.dsp:
15569         * win32/vs6/libgstcoreelements.dsp:
15570         * win32/vs6/libgstdataprotocol.dsp:
15571         * win32/vs6/libgstnet.dsp:
15572           update project files
15573
15574 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15575
15576         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15577         * gst/gstclock.c: (gst_clock_class_init):
15578         * gst/gstelement.c: (gst_element_class_init):
15579         * gst/gstindex.c: (gst_index_class_init):
15580         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15581         * gst/gstobject.c: (gst_object_class_init),
15582         (gst_signal_object_class_init):
15583         * gst/gstpad.c: (gst_pad_class_init):
15584         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15585         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15586         * gst/gstregistry.c: (gst_registry_class_init):
15587         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15588         * gst/gsttask.c: (gst_task_class_init):
15589         * gst/gstxml.c: (gst_xml_class_init):
15590         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15591         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15592         (gst_base_src_loop):
15593         * libs/gst/controller/gstcontroller.c:/
15594         (_gst_controller_class_init):
15595         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15596         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15597         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15598         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15599         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15600         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15601
15602 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15603
15604         * gst/gstpad.c: (gst_pad_link):
15605           Must set peer pads before calling the link function, otherwise
15606           a task started from a link function might get a flow-not-linked
15607           result when trying to push because the other thread where the
15608           linking happens hasn't had a chance to set the peers yet. This
15609           might happen for example when a queue gets linked to a downstream
15610           element, as queue starts a streaming task when its source pad
15611           gets linked. Happens in real life when playing back flac/musepack
15612           files in playbin (#332390).
15613           
15614 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15615
15616         * gst/gstindex.h:
15617         * gst/gstxml.h:
15618         * libs/gst/base/gstadapter.h:
15619         * libs/gst/base/gstbasesink.h:
15620         * libs/gst/base/gstbasesrc.h:
15621         * libs/gst/base/gstbasetransform.h:
15622         * libs/gst/base/gstcollectpads.h:
15623         * libs/gst/base/gstpushsrc.h:
15624         Fix broken GObject macros
15625
15626 2006-04-07  Wim Taymans  <wim@fluendo.com>
15627
15628         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15629         Initialize start and stop times, thanks valgrind.
15630
15631 2006-04-07  Wim Taymans  <wim@fluendo.com>
15632
15633         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15634         Be a bit nicer to badly behaving upstream elements that expect
15635         us to deal with non TIME segments and timestamps (such as fakesrc
15636         in the testsuite).
15637
15638 2006-04-07  Wim Taymans  <wim@fluendo.com>
15639
15640         * gst/gstbus.c:
15641         Small documentation clarification about the signal watch.
15642
15643         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15644         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15645         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15646         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15647         (gst_base_sink_get_position_last),
15648         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15649         Convert and store timestamps in stream time and running time, the
15650         raw timestamps are not useful, also document this better.
15651         Use different window sizes for good and bad QoS observations so
15652         we react to badness a little quicker.
15653         Keep track of the amount of rendered and dropped buffers.
15654         Send QoS timestamps in running time.
15655
15656         * libs/gst/base/gstbasetransform.c:
15657         (gst_base_transform_sink_eventfunc),
15658         (gst_base_transform_handle_buffer):
15659         Compare QoS timestamps against running time.
15660
15661 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15662
15663         * gst/gstpad.c:
15664           Typo fixes in docs.
15665
15666 2006-04-06  Michael Smith  <msmith@fluendo.com>
15667
15668         * gst/gstpad.c: (gst_pad_set_property):
15669           Use g_value_get_object() instead of g_value_dup_gst_object(),
15670           to avoid double-reffing the pad template (which we then sink,
15671           so this worked previously if (and only if) the pad template
15672           was floating.
15673
15674         * gst/gstpadtemplate.c: (gst_pad_template_init),
15675         (gst_pad_template_pad_created):
15676           Never return floating references to pad templates, create
15677           them as initially-sunken.
15678
15679           Document an extra function (and make this stop sinking our
15680           pad template, since that is now guaranteed to do nothing,
15681           since we created it sunken).
15682
15683         * gst/gstghostpad.c:
15684           Fix docs typo.
15685
15686 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15687
15688         * gst/gstinfo.c: (__gst_in_valgrind):
15689           Add some newlines.
15690
15691         * plugins/elements/gsttypefindelement.c:
15692         (gst_type_find_element_chain):
15693           Don't leak buffer caps.
15694
15695 2006-04-06  Michael Smith  <msmith@fluendo.com>
15696
15697         * gst/parse/grammar.y:
15698           Fix a leak in parse-launch for any source-or-sink named element 
15699           references used.
15700
15701         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15702           Unref the pipeline if it exists after we've failed parsing.
15703
15704 2006-04-05  Michael Smith  <msmith@fluendo.com>
15705
15706         * gst/gstpipeline.c: (gst_pipeline_init):
15707           When we create a pipeline bus, initially create it in flushing mode.
15708           Fixes leaks in at least one test, and makes a new pipeline work the
15709           same as one that has gone to READY and then back to NULL.
15710
15711         * gst/gstelement.c:
15712           Typo fix in docs.
15713
15714 2006-04-05  Michael Smith  <msmith@fluendo.com>
15715
15716         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15717           Unref a pad we reffed.
15718         * tests/check/gst/gstutils.c: (GST_START_TEST):
15719           Unref bins
15720
15721 2006-04-05  Michael Smith  <msmith@fluendo.com>
15722
15723         * gst/gstquery.c: (gst_query_set_formats),
15724         (gst_query_set_formatsv):
15725           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15726
15727 2006-04-05  Michael Smith  <msmith@fluendo.com>
15728
15729         * tests/check/generic/sinks.c: (GST_START_TEST):
15730           Fix a variety of memleaks in sinks check, which are only sometimes 
15731           shown by running the tests under valgrind (weird?).
15732
15733 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15734
15735         * docs/version.entities.in:
15736           Fix the substituted entity name after thomas' changes on the
15737           weekend.
15738
15739 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15740
15741         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15742         VALGRIND_PRINTF
15743         
15744 2006-04-05  Andy Wingo  <wingo@pobox.com>
15745
15746         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15747
15748         * libs/gst/base/gstbasetransform.c
15749         (gst_base_transform_sink_eventfunc): When resetting our segment on
15750         FLUSH_STOP, also update the flag saying we haven't seen a
15751         newsegment.
15752
15753 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15754
15755         Patch by: Paolo Borelli  <pborelli at katamail dot com>
15756
15757         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15758         (gst_plugin_check_license):
15759           minor clean-ups: G_DEFINE_TYPE already takes care of the
15760           parent_class stuff, no need to do it twice. Mark array of
15761           license strings as constant. (#337103)
15762           
15763 2006-04-04  Michael Smith  <msmith@fluendo.com>
15764
15765         * tools/gst-inspect.c: (print_element_list):
15766           Free the right plugin list; fixes a memory leak.
15767
15768 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15769
15770         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
15771
15772         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15773           Don't error out on empty buffers (#336945).
15774           
15775 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
15776
15777         * docs/libs/gstreamer-libs-sections.txt:
15778         * gst/gsttaglist.c:
15779         * libs/gst/base/gstbasesink.c:
15780         * libs/gst/base/gstbasesink.h:
15781         * libs/gst/base/gstbasesrc.c:
15782         * libs/gst/base/gstbasesrc.h:
15783           Documentation updates. Make BaseSink and BaseSrc docs contain the
15784           class structure so that people can actually see the prototypes for
15785           virtual functions they're supposed to be overriding.
15786
15787 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15788
15789         * plugins/elements/gsttypefindelement.c:
15790         (gst_type_find_element_chain):
15791           More debug info; when skipping typefinding, send cached
15792           events in all cases.
15793
15794 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15795
15796         * configure.ac:
15797           use new AS_VERSION and AS_NANO macros
15798         * gst/gst-i18n-lib.h:
15799         * gst/gst.c:
15800         * gst/gsterror.c:
15801         * gst/gstversion.h.in:
15802         * win32/common/config.h:
15803         * win32/common/config.h.in:
15804           update accordingly
15805
15806 2006-03-31  Michael Smith  <msmith@fluendo.com>
15807
15808         * plugins/elements/gsttypefindelement.c:
15809         (gst_type_find_element_chain):
15810           Do not typefind content if the buffers already have caps.
15811           Neccesary for icydemux (#333657), and the right thing to do anyway.
15812
15813 2006-03-30  Wim Taymans  <wim@fluendo.com>
15814
15815         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15816         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15817         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15818         (gst_base_sink_record_qos_observation),
15819         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15820         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15821         (gst_base_sink_change_state):
15822         More QoS measurements as described in the design doc.
15823         Get rid of ringbuffer with observations, running average is
15824         more simple and equally good.
15825         Calculates valid proportion now.
15826         Added beginning of flood measurement.
15827
15828 2006-03-29  Wim Taymans  <wim@fluendo.com>
15829
15830         * docs/design/part-qos.txt:
15831         * gst/gstclock.c:
15832         Small documentation updates and additions.
15833
15834 2006-03-29  Wim Taymans  <wim@fluendo.com>
15835
15836         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15837         (gst_base_src_send_event), (gst_base_src_loop),
15838         (gst_base_src_change_state):
15839         Perform the EOS logic when we reach the segment stop position.
15840         Fix compilation on gcc4.1
15841
15842 2006-03-29  Wim Taymans  <wim@fluendo.com>
15843
15844         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15845
15846         * plugins/elements/gstqueue.c: (gst_queue_init),
15847         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15848         (gst_queue_set_property):
15849         * plugins/elements/gstqueue.h:
15850         In queue, when EOS is received, if minimum threshold > max_size -
15851         current_level, there is chance that queue blocks forever in conditional
15852         item del wait. This is because the queue is not emptied completely due
15853         to minimum threshold.  Here is another approach. Instead of setting
15854         cur_levels to max in EOS, just zero all minimum threshold levels. This
15855         should make sure that queue gives out all data. When going to READY
15856         (stop) state, just reset the original minimum threshold levels.
15857         Fixes #336336.
15858
15859 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
15860
15861         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15862         (gst_type_find_element_handle_event),
15863         (gst_type_find_element_send_cached_events),
15864         (gst_type_find_element_change_state):
15865         * plugins/elements/gsttypefindelement.h:
15866           When typefinding is done in push mode, we should cache
15867           events we receive during typefinding instead of just
15868           dropping them (e.g. newsegment, custom events from
15869           dvdreadsrc etc.) and then send them out once we've
15870           determined the type of the stream (and decodebin
15871           has had a chance to plug in a decoder/demuxer).
15872           
15873 2006-03-27  Wim Taymans  <wim@fluendo.com>
15874
15875         * docs/design/part-qos.txt:
15876         First QoS ideas.
15877
15878 2006-03-27  Wim Taymans  <wim@fluendo.com>
15879
15880         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15881
15882         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15883         (gst_base_src_send_event), (gst_base_src_change_state):
15884         Handle element seek correctly when we are streaming.
15885         Fixes #326998.
15886
15887 2006-03-24  Michael Smith  <msmith@fluendo.com>
15888
15889         * docs/faq/gst-uninstalled:
15890           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15891           allow you to correctly run intalled applications built against old 
15892           core, using plugins that require updated core (e.g. running
15893           installed totem against a full uninstalled gstreamer stack)
15894
15895 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15896
15897         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15898         more debug details
15899
15900 2006-03-24  Wim Taymans  <wim@fluendo.com>
15901
15902         * docs/gst/gstreamer-sections.txt:
15903         Rearrange the order of the methods so that related methods
15904         are grouped together in sections.
15905
15906 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15907
15908         * gst/gstelement.c:
15909           Little clarification in the docs
15910
15911 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15912
15913         * docs/README:
15914         formatting fix
15915         * plugins/elements/gstidentity.c:
15916         * plugins/elements/gstqueue.c:
15917         * plugins/elements/gsttee.c:
15918         * plugins/elements/gsttypefindelement.c:
15919         GST_ELEMENT_DETAILS formatting
15920
15921 2006-03-24  Wim Taymans  <wim@fluendo.com>
15922
15923         * libs/gst/base/gstbasesink.h:
15924         Only add fields, not insert or we break ABI.
15925
15926 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15927
15928         * win32/common/libgstbase.def:
15929         * win32/common/libgstreamer.def:
15930           Update, add recently added functions.
15931
15932 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15933
15934         * docs/gst/gstreamer-sections.txt:
15935         * gst/gstutils.c: (gst_pad_query_peer_position),
15936         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15937         * gst/gstutils.h:
15938           API: add some new utility functions:
15939            - gst_pad_query_peer_position()
15940            - gst_pad_query_peer_duration()
15941            - gst_pad_query_peer_convert()
15942           
15943 2006-03-23  Wim Taymans  <wim@fluendo.com>
15944
15945         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15946         (gst_base_sink_init), (gst_base_sink_finalize),
15947         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15948         (gst_base_sink_set_property), (gst_base_sink_get_property),
15949         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15950         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15951         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15952         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15953         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15954         (gst_base_sink_preroll_object), (gst_base_sink_event),
15955         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15956         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15957         (gst_base_sink_query), (gst_base_sink_change_state):
15958         Decouple max-lateness and the fact that QoS messages are generated
15959         with a new property (qos).
15960         added API: GstBaseSink::async_play()
15961         Add vmethod so subclasses can be notified of ASYNC playing
15962         state changes.
15963         Collect timestamp start and stop to report better current
15964         position in EOS/PLAYING/PAUSED/READY/NULL.
15965         Refactor QoS/frame dropping and other measurements.
15966         API: GstBaseSrc::qos
15967         Fixes #326311
15968
15969         * libs/gst/base/gstbasesink.h:
15970         Added Private struct.
15971         API: gst_base_sink_set_qos_enabled()
15972         API: gst_base_sink_is_qos_enabled()
15973
15974 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15975
15976         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15977           If compiling against GLib-2.8 or newer, try to read the
15978           registry file using GMappedFile first before falling back
15979           to fopen() + fread() (#332151).
15980
15981 2006-03-22  Wim Taymans  <wim@fluendo.com>
15982
15983         * gst/gstinfo.c: (gst_debug_set_active),
15984         (gst_debug_category_set_threshold):
15985         Disable debugging unless explicitly activated.
15986         Fixes #335480.
15987
15988 2006-03-22  Wim Taymans  <wim@fluendo.com>
15989
15990         * gst/gstelement.c: (gst_element_set_locked_state),
15991         (gst_element_dispose):
15992         Cleanup the error case.
15993
15994         * gst/gstobject.c: (gst_object_dispose):
15995         print a critical when some object was disposed with
15996         a parent, also revive the object since it might
15997         crash the parent.
15998
15999 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16000
16001         * tools/gst-launch.1.in:
16002           Fix another typo.
16003
16004 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16005
16006         * configure.ac:
16007         * tests/check/Makefile.am:
16008           disable some tests when we don't have a registry
16009         * tests/check/gst/gstutils.c: (gst_utils_suite):
16010           don't build the part that needs parsing
16011
16012 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16013
16014         * gst/Makefile.am
16015         * tests/examples/Makefile.am:
16016           fix --disable-parse build
16017
16018 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16019
16020         * tools/gst-feedback.1.in:
16021           Fix typo: s/feeback/feedback/ (#133494).
16022
16023 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16024
16025         * tools/Makefile.am:
16026         * tools/gst-launch.1.in:
16027           Add FILES section and correct entry about GST_REGISTRY_PATH
16028           environment variable (#133495; #133494).
16029
16030 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16031
16032         * tools/Makefile.am:
16033         * tools/gst-md5sum.1.in:
16034         * tools/gst-md5sum.c:
16035           Remove gst-md5sum and man page (the md5sink element
16036           required was removed ages ago)
16037
16038 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16039
16040         * gst/gststructure.c: (gst_structure_id_set_value):
16041           Make sure that string fields in structures/taglists
16042           contain valid UTF-8 - we don't want to pass rubbish to
16043           applications because of a buggy plugin (cp. #334167).
16044
16045 2006-03-21  Edward Hervey  <edward@fluendo.com>
16046
16047         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16048         (gst_bin_handle_message_func):
16049         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16050         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16051         (gst_element_set_bus_func):
16052         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16053         * gst/gstminiobject.c: (gst_value_set_mini_object),
16054         (gst_value_take_mini_object):
16055         * gst/gstpad.c: (gst_pad_set_pad_template):
16056         * gst/gstpipeline.c: (gst_pipeline_dispose),
16057         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16058         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16059         (gst_collect_pads_chain):
16060         * libs/gst/net/gstnettimeprovider.c:
16061         (gst_net_time_provider_set_property):
16062         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16063         It's in fact all issues with gst_*object_replace().
16064
16065 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16066
16067         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16068         
16069         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16070         * pkgconfig/gstreamer-check.pc.in:
16071           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16072
16073 2006-03-21  Edward Hervey  <edward@fluendo.com>
16074
16075         * gst/gstbuffer.h:
16076         * gst/gstevent.h:
16077         * gst/gstmessage.h:
16078         gst_[buffer|event|message]_ref() macros are replaced by a static
16079         inline functions because gcc-4.1 will about if the return value
16080         isn't used.
16081         * tests/check/gst/gstevent.c: (event_probe):
16082         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16083
16084 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16085
16086         * gst/gstutils.h:
16087         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16088         the type' case. (Closes: #335195 for now). In the future, when we
16089         depend on GLib 2.10, we could also intern the type name using
16090         g_intern_static_string()
16091
16092 2006-03-20  Wim Taymans  <wim@fluendo.com>
16093
16094         * gst/gstbin.c: (gst_bin_handle_message_func),
16095         (bin_query_max_init), (bin_query_position_fold),
16096         (bin_query_position_done), (gst_bin_query):
16097         Position query should also take max of all streams.
16098
16099 2006-03-20  Wim Taymans  <wim@fluendo.com>
16100
16101         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16102         (gst_fake_src_finalize):
16103         Fix leaks in fakesrc.
16104
16105         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16106         Fix leaks in the testcase.
16107
16108 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16109
16110         * gst/gst_private.h:
16111           add win32 specific import decoration(__declspec(dllimport)) 
16112           for all extern GstDebugCategory * variables
16113         * win32/common/libgstbase.def:
16114         * win32/common/libgstcontroller.def:
16115         * win32/common/libgstreamer.def:
16116           Add some exports, remove empty lines
16117         * win32/common/libgstdataprotocol.def:
16118         * win32/common/libgstdataprotocol.dsp:
16119         * win32/common/libgstnet.def:
16120         * win32/common/libgstnet.dsp:
16121           new project files and exportation files added
16122         
16123 2006-03-19  Wim Taymans  <wim@fluendo.com>
16124
16125         * tests/check/libs/basesrc.c: (eos_event_counter):
16126         Use proper return value for probe.
16127
16128 2006-03-17  Wim Taymans  <wim@fluendo.com>
16129
16130         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16131         (gst_pad_push):
16132         Don't leak buffers, caps and pads on negotiation errors.
16133
16134 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16135
16136         * docs/faq/cvs.xml:
16137         * docs/faq/dependencies.xml:
16138         * docs/faq/developing.xml:
16139         * docs/faq/faq.xml:
16140         * docs/faq/general.xml:
16141         * docs/faq/getting.xml:
16142         * docs/faq/legal.xml:
16143         * docs/faq/troubleshooting.xml:
16144         * docs/faq/using.xml:
16145         Faq review and update.
16146
16147 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16148
16149         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16150         (gst_pad_push):
16151         Don't pound the cpu to pieces by checking get_caps when accept_caps
16152         is called with the same caps as the pad already has.
16153         Use GST_DEBUG_OBJECT when outputting caps change information.
16154
16155 2006-03-15  Wim Taymans  <wim@fluendo.com>
16156
16157         * gst/gstclock.c: (gst_clock_class_init):
16158         Fix docs.
16159
16160 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16161
16162         * gst/gstbuffer.h:
16163         Documentation fix.
16164
16165         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16166         (gst_pad_accept_caps), (gst_pad_configure_sink),
16167         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16168         Make the default acceptcaps behaviour be to check the requested 
16169         caps against the gst_pad_get_caps output. 
16170
16171         Ensure that gst_pad_accept_caps is used to check caps when a pad
16172         doesn't have a setcaps function, so that pads automatically refuse 
16173         caps that they don't allow in their pad template. (Fixes #332986)
16174
16175         When a buffer with attached caps is pushed, ensure that the source 
16176         pad receives those caps even if the element didn't call
16177         gst_pad_set_caps first.
16178
16179 2006-03-15  Wim Taymans  <wim@fluendo.com>
16180
16181         * libs/gst/base/gstadapter.c:
16182         Add some docs.
16183
16184 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16185
16186         * win32/common/libgstbase.def:
16187         * win32/common/libgstcontroller.def:
16188         * win32/common/libgstreamer.def:
16189           Add a whole bunch of missing functions (#334434).
16190
16191 2006-03-14  Wim Taymans  <wim@fluendo.com>
16192
16193         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16194         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16195         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16196         Better debug info when we receive a segment event.
16197         Reorganize a bit so we can pass the get_times() results around.
16198         Use the segment format when calculating the running time.
16199         Don't do QoS is sync is disabled or we have no clock or the
16200         element does not want us to sync to the clock.
16201         Don't drop buffers if QoS is disabled for now.
16202
16203 2006-03-14  Wim Taymans  <wim@fluendo.com>
16204
16205         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16206         Marked the stats property as unimplemented so people don't get
16207         wild ideas.
16208         Add debug message when regression goes wrong.
16209         Added some more docs.
16210
16211 2006-03-14  Wim Taymans  <wim@fluendo.com>
16212
16213         * gst/gstsegment.c: (gst_segment_to_stream_time):
16214         Return correct return type in case of errors.
16215
16216 2006-03-14  Wim Taymans  <wim@fluendo.com>
16217
16218         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16219           Don't segfault on invalid formats.
16220
16221 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16222
16223         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16224           Can't use gst_segment_to_running_time() when the segment
16225           is not in GST_TIME_FORMAT (like with filesink, for example).
16226           Stops flac encoding pipelines from spewing critical warnings
16227           at EOS (#331248).
16228           
16229 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16230
16231         * gst/gstpipeline.c: (gst_pipeline_class_init):
16232           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16233
16234         * plugins/elements/gsttypefindelement.c:
16235         (gst_type_find_element_handle_event):
16236           Don't try to typefind empty streams.
16237
16238 2006-03-14  Wim Taymans  <wim@fluendo.com>
16239
16240         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16241         (gst_base_sink_do_qos):
16242         Separate QoS calculation.
16243         Only drop buffers when lateness is bigger than the 
16244         duration of the buffer.
16245
16246 2006-03-13  Wim Taymans  <wim@fluendo.com>
16247
16248         * gst/gstpipeline.c: (gst_pipeline_set_property),
16249         (gst_pipeline_get_property), (do_pipeline_seek),
16250         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16251         (gst_pipeline_get_delay):
16252         Don't deadlock when reading properties.
16253
16254 2006-03-13  Wim Taymans  <wim@fluendo.com>
16255
16256         * libs/gst/base/gstbasetransform.c:
16257         (gst_base_transform_class_init), (gst_base_transform_init),
16258         (gst_base_transform_sink_event),
16259         (gst_base_transform_sink_eventfunc),
16260         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16261         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16262         (gst_base_transform_set_property),
16263         (gst_base_transform_get_property),
16264         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16265         (gst_base_transform_set_qos_enabled),
16266         (gst_base_transform_is_qos_enabled):
16267         * libs/gst/base/gstbasetransform.h:
16268         Make basetransform virtual method for src events too.
16269         Handle QOS in basetransform.
16270         API: gst_base_transform_update_qos()
16271         API: gst_base_transform_set_qos_enabled()
16272         API: gst_base_transform_is_qos_enabled()
16273
16274 2006-03-13  Wim Taymans  <wim@fluendo.com>
16275
16276         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16277         (gst_base_sink_do_sync):
16278         Small cleanups.
16279         Use QOS debug category.
16280
16281 2006-03-13  Wim Taymans  <wim@fluendo.com>
16282
16283         * plugins/elements/gstqueue.c:
16284         Very small doc update.
16285
16286 2006-03-13  Wim Taymans  <wim@fluendo.com>
16287
16288         * gst/gst_private.h:
16289         * gst/gstinfo.c: (_gst_debug_init):
16290         Added QOS debug category
16291
16292 2006-03-13  Wim Taymans  <wim@fluendo.com>
16293
16294         * docs/gst/gstreamer-sections.txt:
16295         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16296         * gst/gstbin.h:
16297         * gst/gstbus.c: (gst_bus_class_init):
16298         * gst/gstbus.h:
16299         * gst/gstclock.c:
16300         * gst/gstelement.c: (gst_element_set_locked_state):
16301         * gst/gstsegment.c:
16302         Documentation updates.
16303
16304         * gst/gstpipeline.c: (gst_pipeline_get_type),
16305         (gst_pipeline_class_init), (gst_pipeline_init),
16306         (gst_pipeline_dispose), (gst_pipeline_set_property),
16307         (gst_pipeline_get_property), (do_pipeline_seek),
16308         (gst_pipeline_send_event), (gst_pipeline_change_state),
16309         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16310         (gst_pipeline_get_delay):
16311         * gst/gstpipeline.h:
16312         Added methods for setting the delay.
16313         API: gst_pipeline_set_delay()
16314         API: gst_pipeline_get_delay()
16315         Add pipeline debug category
16316         Various cleanups.
16317         Updated docs.
16318         Don't reset stream time when seek failed.
16319
16320 2006-03-13  Wim Taymans  <wim@fluendo.com>
16321
16322         * docs/design/draft-klass.txt:
16323         * docs/design/part-clocks.txt:
16324         * docs/design/part-events.txt:
16325         * docs/design/part-gstbin.txt:
16326         * docs/design/part-gstpipeline.txt:
16327         * docs/design/part-messages.txt:
16328         * docs/design/part-negotiation.txt:
16329         * docs/design/part-overview.txt:
16330         * docs/design/part-preroll.txt:
16331         * docs/design/part-seeking.txt:
16332         * docs/design/part-states.txt:
16333         * docs/design/part-streams.txt:
16334         Documentation updates.
16335
16336 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16337
16338         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16339         us to leak strings...
16340
16341 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16342
16343         * libs/gst/net/gstnettimeprovider.c:
16344           fix docs
16345         * win32/common/config.h:
16346           update
16347
16348 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16349
16350         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16351
16352         * configure.ac:
16353           Don't check for libgnomeui (leftover from old examples
16354           that aren't built or disted any longer) (#334303).
16355           
16356 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16357
16358         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16359         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16360           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16361           there's no space left on the device.
16362
16363 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16364
16365         * gst/gstclock.h:
16366           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16367           to cast the input to GstClockTime before comparing with
16368           another GstClockTime value.
16369
16370 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16371
16372         * configure.ac:
16373           back to trunk
16374
16375 === release 0.10.4 ===
16376
16377 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16378
16379         * configure.ac:
16380           releasing 0.10.4, "Light"
16381
16382 2006-03-10  Michael Smith  <msmith@fluendo.com>
16383
16384         * libs/gst/dataprotocol/dataprotocol.c:
16385           Fix docs for dataprocotol to not get the return types completely
16386           wrong for a few functions.
16387
16388 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16389
16390         * docs/gst/gstreamer-sections.txt:
16391         * gst/gstpipeline.c: (gst_pipeline_class_init),
16392         (gst_pipeline_init), (gst_pipeline_set_property),
16393         (gst_pipeline_get_property), (gst_pipeline_change_state),
16394         (gst_pipeline_set_auto_flush_bus),
16395         (gst_pipeline_get_auto_flush_bus):
16396         * gst/gstpipeline.h:
16397           Add new API: gst_pipeline_set_auto_flush_bus() and
16398           gst_pipeline_get_auto_flush_bus() to disable automatic
16399           flushing of the pipeline's GstBus when going from READY
16400           to NULL state (#332045).
16401
16402 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16403
16404         * docs/gst/gstreamer-sections.txt:
16405         * gst/gsturi.c: (gst_uri_has_protocol):
16406         * gst/gsturi.h:
16407            Add new API: gst_uri_has_protocol() (#333779).
16408
16409 2006-03-09  Wim Taymans  <wim@fluendo.com>
16410
16411         * gst/gstclock.c: (gst_clock_entry_new),
16412         (gst_clock_id_compare_func), (gst_clock_id_wait),
16413         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16414         (gst_clock_init), (gst_clock_get_internal_time),
16415         (gst_clock_set_master), (do_linear_regression),
16416         (gst_clock_add_observation), (gst_clock_set_property):
16417         * gst/gstclock.h:
16418         Review docs.
16419         Small cleanups.
16420         Fix a possible segfault when the window-size is made smaller.
16421         Calculate jitter before performing the clock wait. Ideally
16422         the clock implementation should calculate jitter but we need
16423         API breakage for that.
16424
16425         * gst/gstsystemclock.c: (gst_system_clock_init):
16426         Docs review.
16427         
16428         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16429         Remove leftover else
16430
16431         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16432         (gst_systemclock_suite):
16433         Added check to test GST_CLOCK_DIFF.
16434
16435 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16436
16437         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16438         (gst_type_find_helper_get_range):
16439           If we are provided with the size, we should implement
16440           GstTypeFind::get_length, so that typefind functions who
16441           want to can actually peek at the middle of a file.
16442
16443 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16444
16445         * docs/manual/advanced-dataaccess.xml:
16446           Add some very very basic error checking.
16447
16448         * docs/pwg/appendix-checklist.xml:
16449           Some updates to the list of things to check when writing an element.
16450
16451 2006-03-08  Wim Taymans  <wim@fluendo.com>
16452
16453         * docs/design/part-element-transform.txt:
16454         Added some docs about the design of tranform elements.
16455
16456         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16457         (gst_base_src_loop), (gst_base_src_change_state):
16458         Mark buffers with the DISCONT flag.
16459
16460 2006-03-08  Michael Smith  <msmith@fluendo.com>
16461
16462         * gst/gstregistry.h:
16463         * gst/gstregistryxml.c: (gst_registry_save),
16464         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16465         (gst_registry_xml_save_pad_template),
16466         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16467         (gst_registry_xml_write_cache):
16468           Rewrite registry-saving to avoid race conditions and check for
16469           failed writes.
16470
16471 2006-03-08  Wim Taymans  <wim@fluendo.com>
16472
16473         * libs/gst/base/gstbasetransform.c:
16474         (gst_base_transform_transform_caps),
16475         (gst_base_transform_transform_size),
16476         (gst_base_transform_prepare_output_buffer),
16477         (gst_base_transform_get_unit_size),
16478         (gst_base_transform_buffer_alloc),
16479         (gst_base_transform_handle_buffer),
16480         (gst_base_transform_change_state):
16481         Cleanups, separate normal flow from errors, add sensible
16482         DEBUG lines.
16483         Don't try to renegotiate when allocating an output buffer.
16484         Also copy DISCONT buffer flag when copying a buffer.
16485         Reset the transform after we finish streaming, not during.
16486
16487 2006-03-08  Wim Taymans  <wim@fluendo.com>
16488
16489         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16490         Use last buffer timestamp in qos message.
16491
16492 2006-03-07  Wim Taymans  <wim@fluendo.com>
16493
16494         Patch by: Christophe Fergeau
16495
16496         * docs/pwg/advanced-tagging.xml:
16497         * docs/pwg/building-pads.xml:
16498           fixes #333416
16499
16500 2006-03-07  Wim Taymans  <wim@fluendo.com>
16501
16502         * docs/libs/gstreamer-libs-sections.txt:
16503         Added basesink new methods.
16504
16505         * gst/gstevent.c:
16506         * gst/gstevent.h:
16507         Docs updates. Flesh out the QoS docs.
16508
16509         * libs/gst/base/gstadapter.c:
16510         Small doc clarification about ownership and flushing.
16511
16512         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16513         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16514         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16515         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16516         * libs/gst/base/gstbasesink.h:
16517         API additions: 
16518         Added new methods to allow subclass to control max-lateness 
16519         and sync.
16520         Generate very basic QoS events based on last sync observation.
16521         Updated docs, fix typo, added some QoS blurb.
16522
16523         * libs/gst/base/gstbasesrc.c:
16524         Remove obsolete _get_state() calls from docs.
16525
16526 2006-03-07  Wim Taymans  <wim@fluendo.com>
16527
16528         * docs/libs/gstreamer-libs-sections.txt:
16529         * libs/gst/base/gstbasetransform.h:
16530         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16531         Fix docs for GstBaseSrc.
16532
16533 2006-03-07  Wim Taymans  <wim@fluendo.com>
16534
16535         * docs/gst/gstreamer-sections.txt:
16536         * gst/gstbuffer.h:
16537         * gst/gstvalue.c:
16538         * libs/gst/base/gstbasetransform.h:
16539         Small documentation fixes.
16540
16541 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16542
16543         * gst/gstvalue.c:
16544           Document thread-unsafety of gst_value_register_foo_func()
16545           when used at the same time as gst_value_foo() (#322628).
16546
16547 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16548
16549         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16550         (gst_push_src_check_get_range):
16551           Push sources don't support pull mode by default.
16552
16553 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16554
16555         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16556         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16557         (gst_base_src_default_check_get_range):
16558         * libs/gst/base/gstbasesrc.h:
16559           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16560           provide default implementation, and rename
16561           gst_base_src_check_get_range() to
16562           gst_base_src_pad_check_get_range() for clarity.
16563
16564 2006-03-06  Wim Taymans  <wim@fluendo.com>
16565
16566         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16567         Make property overridable.
16568
16569 2006-03-06  Wim Taymans  <wim@fluendo.com>
16570
16571         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16572         (gst_base_sink_init), (gst_base_sink_set_property),
16573         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16574         * libs/gst/base/gstbasesink.h:
16575         API addition: Make max-lateness a property.
16576
16577 2006-03-06  Wim Taymans  <wim@fluendo.com>
16578
16579         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16580         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16581         Don't ever draw a frame that is >10ms late.
16582
16583 2006-03-06  Michael Smith  <msmith@fluendo.com>
16584
16585         * gst/gstmessage.c: (_gst_message_copy):
16586           When copying a message, set the parent_refcount of the enclosed
16587           structure to point at the copy, not the original message.
16588
16589 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16590
16591         Patch by: Christophe Fergeau
16592
16593         * gst/gstutils.h:
16594           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16595           usable in c++ code (#333417)
16596
16597 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16598
16599         * gst/gstclock.h:
16600           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16601
16602 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16603
16604         * libs/gst/base/gstbasetransform.c:
16605         (gst_base_transform_transform_caps):
16606           Make sure caps are writable before passing them to
16607           gst_caps_append().
16608
16609 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16610
16611         * gst/gsterror.h:
16612           Fix some minor docs errors.
16613
16614 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16615
16616           Patch by: Ross Burton <ross at burtonini dot com>
16617
16618         * gst/gsterror.c: (_gst_resource_errors_init):
16619         * gst/gsterror.h:
16620           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16621
16622 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16623
16624         * gst/gst.c:
16625         Add a check and output a g_warning when GStreamer is built
16626         against GLib 2.6 but running against 2.8 or higher, and vice 
16627         versa. (Closes: #323542)
16628
16629 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16630
16631         * gst/parse/parse.l:
16632           Commit patch for parse_launch syntax from #331255. Removes 
16633           support for quoted strings and mimetypes when writing filtered 
16634           caps. See the bug report for more details - I'm pretty sure this
16635           obscure feature is not in use by _anyone_ anywhere.
16636
16637           With this simple change, the size of the gstreamer.so here 
16638           drops from 2193KB to 1565KB.
16639
16640 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16641
16642         * plugins/elements/gsttypefindelement.h:
16643         * plugins/elements/gsttypefindelement.c:
16644         (gst_type_find_element_src_event), (start_typefinding),
16645         (stop_typefinding), (gst_type_find_element_handle_event),
16646         (gst_type_find_element_chain),
16647         (gst_type_find_element_chain_do_typefinding):
16648           Use gst_type_find_helper_for_buffer() for chain-based
16649           typefinding.
16650
16651 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16652
16653         * plugins/elements/gsttypefindelement.c:
16654         (gst_type_find_element_class_init),
16655         (gst_type_find_element_set_property),
16656         (gst_type_find_element_get_property):
16657           Deprecate "maximum" property (not only was it only taken into
16658           account for typefinding in push-mode anyway, it also was never
16659           actually possible to set it in the first place because the
16660           property was registered with the numeric property ID for the
16661           "minimum" property). Register "maximum" property correctly,
16662           for the sake of future copy'n'pasters. Remove some cruft
16663           from property get/set functions.
16664
16665 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16666
16667         * plugins/elements/gsttypefindelement.c:
16668         (gst_type_find_element_activate):
16669           Use gst_type_find_helper_get_range() here, so we
16670           can honour the "minimum" property and also emit
16671           the signal with the correct probability of the found caps.
16672
16673 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16674
16675         * docs/libs/gstreamer-libs-sections.txt:
16676         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16677         (helper_find_suggest), (gst_type_find_helper_get_range),
16678         (gst_type_find_helper):
16679         * libs/gst/base/gsttypefindhelper.h:
16680           New API: gst_type_find_helper_get_range() (#333042).
16681
16682 2006-03-02  Michael Smith  <msmith@fluendo.com>
16683
16684         * gst/gstregistryxml.c: (load_feature):
16685           Asserting on a failure to read part of the registry is Not Cool.
16686           Just log a warning and return NULL (which is already handled)
16687
16688 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16689
16690         * win32/common/libgstbase.def:
16691           added export of gst_type_find_helper_for_buffer
16692         * win32/common/libgstbase.def:
16693           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16694           gst_ghost_pad_get_target
16695
16696 2006-02-28  Wim Taymans  <wim@fluendo.com>
16697
16698         * docs/design/draft-klass.txt:
16699         We use Filter now.
16700         Added Connector to mark elements that are only used to
16701         allow pipeline connections.
16702         Moved Debug to extra feature since most of them are 
16703         functionally something else.
16704
16705 2006-02-28  Wim Taymans  <wim@fluendo.com>
16706
16707         * docs/design/draft-klass.txt:
16708         Some updates and clarifications.
16709
16710 2006-02-28  Wim Taymans  <wim@fluendo.com>
16711
16712         * docs/design/draft-klass.txt:
16713         Proposal for klass field values.
16714
16715         * docs/design/part-streams.txt:
16716         Start of a doc describing stream anatomy.
16717
16718 2006-02-28  Wim Taymans  <wim@fluendo.com>
16719
16720         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16721         Help the compiler a bit with type registration.
16722         Use existing forward cod path instead of duplicating it when 
16723         handling a message.
16724         
16725         * gst/gstbus.c: (gst_bus_get_type):
16726         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16727         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16728         * gst/gstclock.c: (gst_clock_get_type):
16729         * gst/gstelement.c: (gst_element_get_type),
16730         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16731         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16732         * gst/gstminiobject.c: (gst_mini_object_get_type):
16733         * gst/gstpad.c: (gst_pad_get_type):
16734         * gst/gstsegment.c: (gst_segment_get_type):
16735         * gst/gststructure.c: (gst_structure_get_type):
16736         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16737         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16738         * gst/gstvalue.c:
16739         Help compiler with type registration.
16740
16741         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16742         Small doc update.
16743
16744 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16745
16746         * plugins/elements/gsttypefindelement.c:
16747         (gst_type_find_element_handle_event):
16748           When we get an EOS event and have not found a type yet
16749           (most likely because we had not yet accumulated
16750           TYPE_FIND_MIN_SIZE of data yet), try to determine the
16751           type given the data we have so far. Fixes typefinding
16752           for very short streams again, most notably quicktime
16753           redirections as used on Apple's trailer site (#331701).
16754
16755 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16756
16757         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16758         (gst_type_find_helper):
16759           Try typefinding factories with the highest rank first.
16760
16761 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16762
16763         * docs/libs/gstreamer-libs-docs.sgml:
16764         * docs/libs/gstreamer-libs-sections.txt:
16765         * libs/gst/base/gsttypefindhelper.c:
16766           Add section for typefind helper and add documentation
16767           for the old and the new function.
16768
16769 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16770
16771         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16772         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16773         (gst_type_find_helper_for_buffer):
16774         * libs/gst/base/gsttypefindhelper.h:
16775           New API: gst_type_find_helper_for_buffer() (#332723).
16776           
16777 2006-02-27  Michael Smith  <msmith@fluendo.com>
16778
16779         Patch by: Loïc Minier
16780
16781         * configure.ac:
16782         * docs/Makefile.am:
16783         * docs/slides/Makefile.am:
16784           prevent CVS directories getting disted.
16785
16786 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16787
16788         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16789           Use the REFCOUNTING category for caps refcounting.
16790           
16791 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16792
16793         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16794           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16795
16796 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16797
16798         * plugins/elements/gsttypefindelement.c:
16799         (gst_type_find_element_activate):
16800           Use gst_pad_check_pull_range() before _activate_pull()
16801           to avoid unnecessary open/close (see #331690).
16802
16803 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16804
16805         * gst/gstutils.c:
16806           Docs enhancement: make it crystal clear what the
16807           gst_pad_add_*_probe() callbacks should look like.
16808
16809 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16810
16811         * libs/gst/base/gstbasesrc.c:
16812           Document how applications can stop recording from
16813           live sources (see #330996).
16814
16815 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16816
16817         * tests/check/Makefile.am:
16818         * tests/check/libs/basesrc.c: (eos_event_counter),
16819         (basesrc_eos_events_pull), (basesrc_eos_events_push),
16820         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16821         (gst_basesrc_suite), (main):
16822           ... and add some tests for the base source EOS stuff.
16823
16824 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16825
16826         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16827           Test case originally showed the problem fixed below,
16828           but was then amended. Add checks back at the place
16829           where they used to be.
16830
16831 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16832
16833         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16834         (gst_base_src_init), (gst_base_src_loop),
16835         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16836         (gst_base_src_change_state):
16837         * libs/gst/base/gstbasesrc.h:
16838           Don't unconditionally send EOS when going from PAUSED to
16839           READY state, esp. make sure we don't send two EOS events
16840           in some cases (e.g. one when reaching EOS and one when
16841           going from PAUSED to READY). Also, we don't want to send
16842           EOS events when operating in pull mode. However, we do
16843           want to send an EOS event when shutting down a live
16844           source explicitly, for example (fixes #330996).
16845           
16846 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16847
16848         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16849           Update src->read_position after a seek when not using mmap.
16850           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16851
16852 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
16853
16854         * gst/Makefile.am:
16855         * gst/gstparse.h:
16856         * gst/gstutils.c:
16857         * gst/gstutils.h:
16858         Make things work with --disable-parse as they do with 
16859         --disable-load-save - the symbols involved disappear, but the
16860         header is still installed and GST_DISABLE_PARSE is included via
16861         gstconfig.h
16862
16863 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16864
16865         * libs/gst/base/gstbasetransform.c:
16866         (gst_base_transform_change_state): Fix a stupid bug. I was 
16867         sure I compiled that.
16868
16869 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16870
16871         * gst/gstpad.c: (gst_pad_set_blocked_async):
16872         * gst/gstutils.c: (gst_pad_add_data_probe),
16873         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16874         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16875         (gst_pad_remove_buffer_probe): Make those function act on the
16876         ghostpad target when it's a ghostpad. (Closes #331727)
16877
16878 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16879
16880         * libs/gst/base/gstbasetransform.c:
16881         (gst_base_transform_change_state): Make basetransform reusable.
16882         (Closes #331898)
16883
16884 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
16885
16886         * docs/random/release:
16887         Move the current documentation of how to do a release to the top
16888         of the file.
16889
16890         * gst/gstbin.c: (gst_bin_class_init),
16891         (gst_bin_handle_message_func):
16892         Allow multiple state-recalculation threads. (Closes #328873)
16893
16894 2006-02-19  Julien MOUTTE  <julien@moutte.net>
16895
16896         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16897         * gst/gstpad.c: (gst_pad_set_event_function),
16898         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16899         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16900         2 strings. You can't use the STR_NULL macro on that.
16901
16902 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
16903
16904         * gst/gstpad.c: (gst_pad_set_event_function),
16905         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16906         (gst_pad_set_getcaps_function)
16907         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16908           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16909           So now, we can use --gst-debug-level=5 on Windows
16910         * win32/common/libgstcontroller.def:
16911           Added export of gst_controller_init
16912         * win32/vs6/libgstcontroller.dsp:
16913           Fixed Release post build configuration
16914
16915 2006-02-17  Wim Taymans  <wim@fluendo.com>
16916
16917         * tests/check/gst/gstquery.c: (GST_START_TEST):
16918         Added another check.
16919
16920 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
16921
16922         * plugins/elements/gsttypefindelement.c: (find_peek):
16923           We can do peeks at non-zero offsets, as long as they
16924           fall within the buffer we have.
16925
16926 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
16927
16928         * tests/check/Makefile.am:
16929         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16930         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16931         (parse_suite), (main):
16932           Add testsuite for parse launch syntax
16933
16934 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
16935
16936         * plugins/elements/gsttypefindelement.c:
16937         (gst_type_find_element_chain):
16938           When typefinding is unsuccessful in the chain function, don't
16939           error out immediately. Only error out with NO_CAPS_FOUND if
16940           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16941           otherwise simply wait for more data so we can try typefinding
16942           again with more data later. Also, don't attempt to typefind
16943           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16944           this should improve typefinding from network sources where the
16945           size of the first buffer can be somewhat random.
16946
16947 2006-02-14  Wim Taymans  <wim@fluendo.com>
16948
16949         * docs/gst/gstreamer-sections.txt:
16950         * gst/gstpadtemplate.c:
16951         * gst/gstpadtemplate.h:
16952         Fix padtemplate docs, fixes #328805.
16953
16954 2006-02-14  Wim Taymans  <wim@fluendo.com>
16955
16956         * tools/gst-launch.c: (main):
16957         NO_PREROLL is not an ERROR so don't send confusing messages
16958         to the user.
16959
16960 2006-02-14  Wim Taymans  <wim@fluendo.com>
16961
16962         Patch by: Torsten Schoenfeld
16963
16964         * gst/gstregistry.c: (gst_registry_get_default),
16965         (_gst_registry_cleanup):
16966         Protect default registry with lock and ref/sink it.
16967         Fixes #324818
16968
16969 2006-02-14  Wim Taymans  <wim@fluendo.com>
16970
16971         * gst/gstbuffer.c:
16972         * gst/gstquery.c: (gst_query_list_add_format),
16973         (gst_query_set_formatsv), (gst_query_parse_formats_length),
16974         (gst_query_parse_formats_nth):
16975         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16976         Docs fixes.
16977
16978 2006-02-14  Wim Taymans  <wim@fluendo.com>
16979
16980         * docs/gst/gstreamer-sections.txt:
16981         Reworked query docs.
16982
16983         * gst/gstquery.c: (gst_query_new_formats),
16984         (gst_query_list_add_format), (gst_query_set_formats),
16985         (gst_query_set_formatsv), (gst_query_parse_formats_length),
16986         (gst_query_parse_formats_nth):
16987         * gst/gstquery.h:
16988         Flesh out formats query, added some new methods.
16989         Fix part of #324398.
16990
16991         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16992         Added query creation tests.
16993
16994 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
16995
16996         * gst/gstpad.c: (fixate_value):
16997         Add a default fixation for fraction lists.
16998
16999 2006-02-13  Wim Taymans  <wim@fluendo.com>
17000
17001         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17002         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17003         (gst_task_join):
17004         * gst/gsttask.h:
17005         Detect and warn for obvious deadlocks. fixes #320340
17006         Fix error case where lock was not released.
17007
17008         * tests/check/Makefile.am:
17009         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17010         (task_func), (gst_element_suite), (main):
17011         Add task check.
17012
17013 2006-02-13  Wim Taymans  <wim@fluendo.com>
17014
17015         * docs/gst/gstreamer-sections.txt:
17016         * gst/gstbus.c:
17017         Add new functions to docs.
17018
17019 2006-02-13  Wim Taymans  <wim@fluendo.com>
17020
17021         * docs/design/part-TODO.txt:
17022         Updated TODO list, basesrc supports seeking to non-bytes
17023         formats.
17024
17025         * docs/design/part-element-sink.txt:
17026         Update docs.
17027
17028         * gst/gstbin.c: (bin_replace_message),
17029         (gst_bin_handle_message_func):
17030         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17031         * gst/gstevent.c: (gst_event_finalize):
17032         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17033         (gst_pad_send_event):
17034         Use shiny new _TYPE_NAME macros.
17035
17036         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17037         Move debug statement up.
17038
17039         * gst/gstelement.c: (gst_element_set_locked_state):
17040         Add some debugging.
17041
17042 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17043
17044         * docs/gst/gstreamer-sections.txt:
17045         * gst/gstmessage.h:
17046         * gst/gstquery.h:
17047           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17048           macros (#330906). Also, document the already existing
17049           GST_QUERY_TYPE macro.
17050
17051 2006-02-13  Wim Taymans  <wim@fluendo.com>
17052
17053         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17054         (event_probe), (GST_START_TEST):
17055         Only events up to the pipeline EOS are counted, there are
17056         some more when going to NULL currently which we don't care
17057         about for now.
17058
17059 2006-02-13  Wim Taymans  <wim@fluendo.com>
17060
17061         * gst/gstpad.c: (gst_pad_send_event):
17062         Correctly check flushing and emit probes. fixes #330125
17063
17064 2006-02-10  Andy Wingo  <wingo@pobox.com>
17065
17066         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17067         structure.
17068         (gst_bus_init): Cache the location of the private data in the
17069         instance structure.
17070         (gst_bus_enable_sync_message_emission) 
17071         (gst_bus_disable_sync_message_emission): Implement new public
17072         functions.
17073         (gst_bus_post): Emit the sync-message signal if the user asked for
17074         it. Fixes #330684.
17075
17076         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17077         location of the bus-private structure.
17078         (gst_bus_enable_sync_message_emission)
17079         (gst_bus_disable_sync_message_emission): API addition
17080
17081 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17082
17083         Patch by: Vincent Torri
17084
17085         * docs/pwg/building-boiler.xml:
17086         PWG patch from #326800
17087
17088 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17089
17090         * configure.ac:
17091         * docs/Makefile.am:
17092         * docs/design/Makefile.am:
17093           Dist design docs.
17094
17095 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17096
17097         * configure.ac:
17098           back to CVS
17099
17100 === release 0.10.3 ===
17101
17102 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17103
17104         * configure.ac:
17105           releasing 0.10.3, "Like a virgin"
17106
17107 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17108
17109         * configure.ac:
17110           2nd prerelease of 0.10.3
17111           Bump libtool versioning.
17112
17113 2006-02-07  Andy Wingo  <wingo@pobox.com>
17114
17115         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17116         update last_stop if we're in TIME format and the timestamp is
17117         valid.
17118
17119         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17120         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17121         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17122         If we get a new newsegment with a different format, adapt
17123         accordingly.
17124
17125         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17126         of 0. Not a problem, really.
17127
17128         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17129         warn if sync=true.
17130
17131 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17132
17133         * configure.ac:
17134           Prelease of 0.10.3
17135
17136 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17137
17138         * win32/vs7:
17139           project files updated to the default vs7 configuration
17140         * win32/common/libgstbase.def:
17141         * win32/common/libgstreamer.def:
17142           added new symbols,
17143           removed empty lines,
17144           sorted all exported symbols alphabetically
17145         * win32/common/dirent.c:
17146         * win32/common/dirent.h:
17147         * win32/common/gchar.h:
17148           use windows line end.
17149           
17150 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17151
17152         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17153           Send EOS event when stopping.
17154
17155 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17156
17157         * docs/README:
17158           Tell folks what to do if the plugin-foobar.xml file
17159           hasn't been generated for a newly-added plugin.
17160
17161 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17162
17163         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17164         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17165         (gst_collect_pads_start), (gst_collect_pads_stop),
17166         (gst_collect_pads_event): Collectpads now holds a reference
17167         to the GstPad that was added. Indeed we don't want to look
17168         at pads that might just go away with no warning...
17169
17170 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17171
17172         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17173         (gst_collect_pads_start), (gst_collect_pads_stop),
17174         (gst_collect_pads_event), (gst_collect_pads_chain):
17175         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17176         Mark Nauwelaerts's patch on bug #328491.
17177
17178 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17179
17180         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17181         (gst_utils_suite):
17182           Add some simple tests for gst_parse_bin_from_description() and
17183           gst_bin_find_unconnected_pad() (#329069).
17184
17185 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17186
17187         * tools/gst-launch.c: (event_loop), (main):
17188           Catch errors during preroll (#320084).
17189
17190 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17191
17192         * plugins/elements/gsttypefindelement.c:
17193         (gst_type_find_element_activate):
17194           Post TYPE_NOT_FOUND error message when typefinding
17195           is unsuccessful in the activate function as well.
17196
17197 2006-02-02  Wim Taymans  <wim@fluendo.com>
17198
17199         * docs/design/part-element-sink.txt:
17200         Updated doc.
17201
17202 2006-02-02  Wim Taymans  <wim@fluendo.com>
17203
17204         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17205         (gst_base_sink_render_object),
17206         (gst_base_sink_queue_object_unlocked):
17207         Only keep track of prerollable items when we are 
17208         prerolling.
17209         Before rendering after preroll, always check if we
17210         have queued items.
17211         Added some more debugging.
17212
17213 2006-02-02  Wim Taymans  <wim@fluendo.com>
17214
17215         * gst/gstelement.c: (gst_element_continue_state),
17216         (gst_element_set_state_func), (gst_element_change_state):
17217         Fixed #326576, been running this for quite some time with
17218         no regressions at all.
17219
17220 2006-02-02  Wim Taymans  <wim@fluendo.com>
17221
17222         * common/gst.supp:
17223         Added more suppressions
17224
17225 2006-02-02  Wim Taymans  <wim@fluendo.com>
17226
17227         * docs/design/part-element-sink.txt:
17228         Updated document.
17229
17230         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17231         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17232         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17233         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17234         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17235         (gst_base_sink_preroll_object),
17236         (gst_base_sink_queue_object_unlocked),
17237         (gst_base_sink_queue_object), (gst_base_sink_event),
17238         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17239         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17240         (gst_base_sink_get_position), (gst_base_sink_change_state):
17241         * libs/gst/base/gstbasesink.h:
17242         Totally refactored matching the design doc.
17243         Use two segments, one to clip incomming buffers and another to
17244         perform sync.
17245         Handle queueing correctly, bypass the queue when playing.
17246         Make EOS cancelable.
17247         Handle errors correctly when operating in pull based mode.
17248
17249         * tests/check/elements/fakesink.c: (GST_START_TEST),
17250         (fakesink_suite):
17251         Added new check for sinks.
17252
17253 2006-02-02  Wim Taymans  <wim@fluendo.com>
17254
17255         * gst/gstsegment.c: (gst_segment_clip):
17256         No reason to refuse to clip when start == -1
17257
17258 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17259
17260         * docs/README:
17261         * docs/manual/intro-basics.xml:
17262         * docs/manual/intro-preface.xml:
17263         * docs/manual/manual.xml:
17264         * docs/pwg/advanced-dparams.xml:
17265         * docs/pwg/intro-basics.xml:
17266         * docs/pwg/intro-preface.xml:
17267         * docs/pwg/pwg.xml:
17268           describe dparams (controller) for plugins
17269           unify docs a little more
17270
17271 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17272
17273         * docs/gst/gstreamer-sections.txt:
17274         * gst/gstutils.c: (element_find_unconnected_pad),
17275         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17276         * gst/gstutils.h:
17277           Add new API: gst_parse_bin_from_description() and
17278           gst_bin_find_unconnected_pad() (#329069).
17279
17280 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17281
17282         * docs/manual/README:
17283           uncover a nasty detail of the docs build
17284
17285 2006-01-31  Wim Taymans  <wim@fluendo.com>
17286
17287         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17288         Don't cache duration messages if we're not going to use or
17289         free them.
17290
17291 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17292
17293         * docs/manual/advanced-dparams.xml:
17294         * docs/pwg/advanced-dparams.xml:
17295           more dparam docs
17296         * gst/gstindex.c:
17297           fix docs
17298         * libs/gst/controller/lib.c: (gst_controller_init):
17299           init just once
17300
17301 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17302
17303         * gst/gstelement.c: (gst_element_message_full):
17304           also show file/line/func if no additional debug was given
17305
17306 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17307         
17308         * win32/vs7/grammar.vcproj:
17309           activate copy of autogenerated files for Release mode
17310
17311 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17312         
17313         * win32/common/libgstreamer.def:
17314           export gst_value_compare
17315
17316 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17317
17318         * plugins/elements/Makefile.am:
17319         * plugins/elements/gstelements.c:
17320         * plugins/elements/gstfdsink.c: (_do_init),
17321         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17322         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17323         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17324         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17325         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17326         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17327         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17328         * plugins/elements/gstfdsink.h:
17329         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17330
17331 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17332
17333         * docs/manual/advanced-dparams.xml:
17334           describe controller
17335         * docs/manual/advanced-position.xml:
17336         * docs/manual/basics-init.xml:
17337         * docs/manual/manual.xml:
17338         * docs/manual/titlepage.xml:
17339         * docs/pwg/pwg.xml:
17340         * docs/pwg/titlepage.xml:
17341           cleanup xml (more to come)
17342         * libs/gst/controller/gstcontroller.c:
17343           fix typo
17344
17345 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17346         
17347         * win32/vs6/grammar.dsp:
17348           add autogen of gstmarshal.c,h for Release mode
17349                 
17350 2006-01-30  Wim Taymans  <wim@fluendo.com>
17351
17352         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17353         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17354         (gst_base_sink_handle_object), (gst_base_sink_event),
17355         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17356         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17357         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17358         (gst_base_sink_deactivate), (gst_base_sink_activate),
17359         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17360         (gst_base_sink_query), (gst_base_sink_change_state):
17361         Basesink cleanups, remove some old code.
17362         Handle the case where a subclass can preroll in the render
17363         method (mostly audiosinks).
17364         Handle more events.
17365         Remove some locks around variables that are now protected
17366         with the PREROLL_LOCK (clock_id, flushing, ..).
17367         Optimize position query some more, do correct locking.
17368         Remove old code to push queue in state change, this is not
17369         needed anymore since preroll blocks on all prerollable items 
17370         now.
17371         Almost implemented as described in design doc.
17372
17373 2006-01-30  Wim Taymans  <wim@fluendo.com>
17374
17375         * tests/check/gst/gstbin.c: (GST_START_TEST):
17376         Wait for refcount to settle down before checking.
17377
17378 2006-01-30  Wim Taymans  <wim@fluendo.com>
17379
17380         * docs/design/part-element-sink.txt:
17381         Pseudo code overview of desired sink behaviour regarding
17382         preroll.
17383
17384 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17385         * win32/vs6/grammar.dsp:
17386           fix some bugs in Release mode for autogenerated files
17387                 
17388 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17389         * win32/common/libgstbase.def:
17390         * win32/common/libgstreamer.def:
17391           export some new symbols: gst_base_src_set_format,
17392           gst_iterator_next, gst_structure_set_valist
17393
17394 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17395
17396         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17397         Set pad functions unconditionally. Fixes #329105.
17398
17399 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17400         * win32/vs8:
17401           add vs8 project files created by Sergey Scobich
17402
17403 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17404
17405         * gst/gstutils.c: (gst_element_unlink_pads):
17406         Don't leak pad references.
17407
17408         * tests/check/elements/fakesink.c: (GST_START_TEST):
17409         * tests/check/generic/sinks.c: (GST_START_TEST):
17410         * tests/check/generic/states.c: (GST_START_TEST):
17411         * tests/check/gst/gstbin.c: (GST_START_TEST):
17412         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17413         * tests/check/gst/gstelement.c: (GST_START_TEST):
17414         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17415         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17416         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17417         Fix a bunch of leaks. Make generic/sinks.c
17418         use a bit less cpu by slowing the buffer rate
17419         between fakesrc and fakesink.
17420         
17421 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17422         * gst/gstcaps.c:
17423         * gst/gstelement.c: (gst_element_send_event):
17424         * gst/gstevent.c:
17425         * gst/gstinfo.c:
17426         * gst/gstiterator.c:
17427         * gst/gstiterator.h:
17428         * gst/gstpad.c: (gst_pad_send_event):
17429         * gst/gststructure.c:
17430         * gst/gsturi.c:
17431         * gst/gstutils.c:
17432         * gst/gstvalue.c:
17433         * libs/gst/base/gstadapter.c:
17434           doc fixes, to link to function, just write gst_cool_function(), don't
17435           prefix with '#'
17436
17437 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17438
17439         * plugins/elements/gsttee.c: (gst_tee_do_push),
17440         (gst_tee_handle_buffer):
17441         Always prefer an actual return value from a src
17442         pad in place of NOT_LINKED. This means we return
17443         WRONG_STATE when all src pads are WRONG_STATE
17444         instead of NOT_LINKED.
17445
17446         Lock when replacing the last message to prevent
17447         racing with the get_property method.
17448
17449         Add debug output
17450
17451 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17452
17453         * tests/check/Makefile.am:
17454         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17455         (main):
17456         Add a very simple check that should have caught the memleak I fixed
17457         last night (if not for the slice allocator hiding it)
17458
17459 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17460
17461         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17462         (gst_bin_remove_func), (gst_bin_handle_message_func),
17463         (bin_query_duration_fold), (bin_query_generic_fold):
17464         Clean up references to the clock provider when disposed or when
17465         handling a clock-lost message from it.
17466
17467         Unref sinks when performing a query via gst_iterator_fold, as the
17468         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17469
17470         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17471         (gst_clock_set_master):
17472         Drop our reference to the master clock, if any, when we are disposed.
17473
17474         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17475         Chain up in dispose. 
17476
17477 2006-01-26  Wim Taymans  <wim@fluendo.com>
17478
17479         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17480         Add some debugging.
17481
17482 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17483
17484         * plugins/elements/gsttee.c: (gst_tee_do_push),
17485         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17486         handles pad being NOT_LINKED or in WRONG_STATE.
17487
17488 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17489
17490         * win32/MANIFEST:
17491           more updating
17492
17493 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17494
17495         * win32/MANIFEST:
17496           remove obsolete entry
17497
17498 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17499
17500         * docs/gst/gstreamer-sections.txt:
17501         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17502         (gst_bin_iterate_sources), (gst_bin_send_event):
17503         * gst/gstbin.h:
17504         * gst/gstelement.c: (gst_element_send_event):
17505         * gst/gstevent.c:
17506         * gst/gstpad.c: (gst_pad_send_event):
17507           added code for downstream events, reviewed docs in gstevent.c
17508
17509 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17510
17511         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17512         We only query position using the clock in the playing state.
17513         Query peer in the other cases.
17514         * win32/common/config.h: Updates.
17515
17516 2006-01-24  Wim Taymans  <wim@fluendo.com>
17517
17518         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17519         A clock entry that is scheduled for the exact time of the
17520         clock is still in time.
17521
17522         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17523         (gst_base_sink_do_sync):
17524         Add some more debug info.
17525
17526 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17527
17528         * win32/vs7:
17529           Add new vs7 project files and solution.
17530
17531 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17532
17533         * win32/vs7:
17534           all files removed as they were out-dated.
17535
17536 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17537
17538         * docs/random/release:
17539           update notes
17540         * gst/gstbin.c: (gst_bin_init):
17541         * gst/gstbus.c: (gst_bus_new):
17542         * gst/gstbus.h:
17543         * gst/gstpipeline.c: (gst_pipeline_init):
17544           use gst_bus_new(), improve logging, fix docs
17545         * win32/common/config.h:
17546           update for cvs build
17547
17548 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17549
17550         * autogen.sh:
17551           up required version of automake to 1.7
17552
17553 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17554
17555         * win32/common/libgstreamer.def:
17556           export gst_buffer_is_metadata_writable
17557
17558 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17559
17560         * docs/gst/gstreamer-sections.txt:
17561         * gst/gstevent.h:
17562           Add gst_event_replace() (#327001)
17563
17564 2006-01-20  Wim Taymans  <wim@fluendo.com>
17565
17566         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17567         Make it actually compile too..
17568
17569 2006-01-20  Wim Taymans  <wim@fluendo.com>
17570
17571         * gst/gstcaps.c:
17572         Clarify behaviour of _is_equal() when passing NULL parameters.
17573
17574         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17575         (gst_pad_set_caps):
17576         Cleanups. Don't unref NULL caps.
17577         When setting the same caps, protect caps of the pad with
17578         proper lock.
17579         Use full functionality of _is_equal() when comparing caps.
17580
17581 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17582
17583         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17584         Don't loop infinitely if there are no buffers to present. Partially
17585         fixes #327197, but collectpads is just broken for reusing elements
17586         to do multiple encodes atm.
17587
17588 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17589
17590         * tools/gst-inspect.c: (print_element_features):
17591         * tools/gst-xmlinspect.c: (main):
17592         URL_HANDLER is not a plugin feature we can search for in
17593         the registry.
17594
17595 2006-01-19  Edward Hervey  <edward@fluendo.com>
17596
17597         * gst/gstelement.c: (gst_element_pads_activate): 
17598         When activating, do src pads first, then sink pads.
17599         When de-activating, do sink pads first, then src pads.
17600
17601 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17602
17603         * docs/gst/gstreamer-sections.txt:
17604         Add gst_index_add_associationv to the docs
17605
17606 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17607
17608         * gst/gstevent.c:
17609           Fix docs typo
17610
17611         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17612         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17613           Do some refactoring. Doesn't actually change functionality,
17614           but makes landing the DRAIN event easier later.
17615
17616 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17617
17618         * docs/pwg/advanced-scheduling.xml:
17619           Update from 0.9.x to 0.10 API and make example a bit
17620           clearer.
17621
17622 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17623
17624         * docs/gst/gstreamer-sections.txt:
17625         Add gst_buffer_(is|make)_metadata_writable methods.
17626
17627 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17628
17629         * docs/design/part-sparsestreams.txt:
17630         Update sparse streams doc, hopefully for greater clarity
17631
17632 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17633
17634         * docs/design/part-events.txt:
17635         Remove mention of FILLER events.
17636         Add DRAIN event.
17637
17638         * docs/design/part-sparsestreams.txt:
17639         Write some things about using NEWSEGMENT to keep sparse streams
17640         flowing.
17641
17642 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17643
17644         * gst/gstbin.c: (gst_bin_dispose):
17645           Guard gst_object_unref call against a NULL object (dispose
17646           can theoretically be called multiple times).
17647           
17648 2006-01-18  Wim Taymans  <wim@fluendo.com>
17649
17650         * gst/gstbin.c: (gst_bin_element_set_state):
17651         * gst/gstclock.c: (gst_clock_id_wait):
17652         Added some more debug info.
17653
17654         * libs/gst/base/gstadapter.c:
17655         Added more docs.
17656
17657         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17658         (gst_base_sink_do_sync), (gst_base_sink_chain):
17659         Added some comments.
17660
17661 2006-01-18  Wim Taymans  <wim@fluendo.com>
17662
17663         * tests/check/Makefile.am:
17664         * tests/check/elements/fakesink.c: (chain_async_buffer),
17665         (chain_async), (chain_async_return), (GST_START_TEST),
17666         (fakesink_suite), (main):
17667         Added fakesink test that checks prerolling and clipping
17668         behaviour.
17669
17670         * tests/check/gst/gstutils.c: (GST_START_TEST):
17671         Make check run faster so that buildbots don't timeout.
17672
17673 2006-01-18  Wim Taymans  <wim@fluendo.com>
17674
17675         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17676         (gst_base_sink_do_sync):
17677         Some cleanups.
17678         When the sink finishes blocking on the preroll buffer, it can
17679         immediatly render it instead of rendering when the next buffer
17680         arrives.
17681
17682 2006-01-18  Wim Taymans  <wim@fluendo.com>
17683
17684         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17685         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17686         (gst_base_sink_chain):
17687         Small cleanups.
17688         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17689         Don't store _last_stop if the buffer is dropped.
17690
17691 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17692
17693         * plugins/elements/gsttypefindelement.c:
17694         (gst_type_find_element_class_init):
17695           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17696           object method handler that sets the caps on the pad and we want
17697           that to happen before we emit the signal (fixes e.g. feeding a
17698           plain text file to decodebin).
17699
17700 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17701
17702         * gst/gstplugin.c: Add MPL and Proprietary as license options
17703
17704 2006-01-18  Andy Wingo  <wingo@pobox.com>
17705
17706         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17707         symbol was exported before, it appears this was just an oversight.
17708         Fixes #168703.
17709         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17710
17711         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17712         prototype to gint. OK since this prototype was not in the header.
17713
17714 2006-01-17  Andy Wingo  <wingo@pobox.com>
17715
17716         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17717         registry while we remove plugins.
17718
17719         * tools/gst-inspect.c (print_element_info): Don't unref the
17720         factory arg, that should be the responsibility of whatever code
17721         received the ref. Fixes a double-free when called from
17722         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17723         (main): Unref the factory if we have one.
17724         (print_element_list): No change -- relies on the
17725         plugin_feature_list_free to free the list of features.
17726
17727 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17728
17729         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17730         (gst_buffer_make_metadata_writable):
17731         * gst/gstbuffer.h:
17732         * libs/gst/base/gstbasetransform.c:
17733         (gst_base_transform_prepare_output_buf):
17734         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17735         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17736           Replace gst_buffer_(make|is)_metadata_writable patch now
17737           that the release is out.
17738
17739 2006-01-17  Andy Wingo  <wingo@pobox.com>
17740
17741         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17742         in the present tense without reference to versions.
17743
17744         * gst/gstregistry.c (gst_registry_add_plugin)
17745         (gst_registry_remove_plugin, gst_registry_remove_feature)
17746         (gst_registry_find_feature, gst_registry_get_feature_list)
17747         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17748         (gst_registry_lookup, gst_registry_scan_path)
17749         (_gst_registry_remove_cache_plugins)
17750         (gst_registry_get_feature_list_by_plugin): Add argument
17751         validation.
17752
17753 === release 0.10.2 ===
17754
17755 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
17756
17757         * configure.ac:
17758           releasing 0.10.2, "If man is five"
17759
17760 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17761
17762         * gst/gstbuffer.c:
17763         * gst/gstbuffer.h:
17764         * libs/gst/base/gstbasetransform.c:
17765         (gst_base_transform_prepare_output_buf):
17766         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17767         * tests/check/gst/gstbuffer.c: (gst_test_suite):
17768           Back out patch until after the release.
17769
17770 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17771
17772         * gst/gstminiobject.c:
17773           Spelling fix in docs.
17774         * ChangeLog - remove conflict indicator
17775
17776 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17777
17778         Reviewed By: Andy Wingo
17779
17780         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17781         (gst_buffer_make_metadata_writable):
17782         * gst/gstbuffer.h:
17783           Add gst_buffer_(is|make)_metadata_writable as analogues of
17784           gst_buffer_(is|make)_writable.
17785
17786         * libs/gst/base/gstbasetransform.c:
17787         (gst_base_transform_prepare_output_buf):
17788         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17789           Use name gst_buffer_(is|make)_metadata_writable functions.
17790
17791         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17792           Test gst_buffer_(is|make)_metadata_writable
17793         
17794           (Closes: #324162)
17795
17796 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17797
17798         * docs/manual/Makefile.am:
17799           don't do parallel make
17800         * configure.ac:
17801           AC_SUBST HOST_CPU
17802         * win32/common/config.h.in:
17803           add generations for HOST_CPU and GST_MAJORMINOR
17804         * win32/common/config.h:
17805           commit generated result
17806
17807 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
17808
17809         * docs/manual/appendix-integration.xml:
17810           Update GNOME integration section to use gst_init_get_option_group()
17811           instead of the old popt stuff (#322911). Also, GNOME applications
17812           should  now use gconf*sink and gconf*src instead of the old gconf
17813           helper lib we had.
17814
17815 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
17816
17817
17818         * docs/gst/gstreamer-docs.sgml:
17819         * docs/gst/gstreamer-sections.txt:
17820         * docs/libs/gstreamer-libs-sections.txt:
17821           add new API entries to the docs
17822         * libs/gst/controller/Makefile.am:
17823         * libs/gst/controller/gstcontroller.c:
17824         * libs/gst/controller/gstcontroller.h:
17825         * libs/gst/controller/gstcontrollerprivate.h:
17826         * libs/gst/controller/gsthelper.c:
17827         * libs/gst/controller/gstinterpolation.c:
17828           move private structs to private header
17829         * po/README:
17830           gstreamer-0.7 -> gstreamer-0.10
17831         * tests/check/libs/struct_i386.h:
17832           remove private structs
17833
17834 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17835
17836         * plugins/indexers/Makefile.am:
17837           Fixes as part of #317048
17838
17839 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17840
17841         * plugins/indexers/Makefile.am:
17842           fix #316086 - compilation when mmap is missing
17843
17844 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
17845
17846         * libs/gst/base/gstbasesink.c:
17847           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
17848           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17849         * win32/common/config.h:
17850           added some defines GST_MAJORMINOR and HOST_CPU
17851         * win32/common/libgstbase.def:
17852         * win32/common/libgstreamer.def:
17853           added some exported functions.
17854
17855 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17856
17857         * libs/gst/controller/gstcontroller.c:
17858         (gst_controlled_property_set_interpolation_mode),
17859         (gst_controlled_property_new):
17860         * libs/gst/controller/gstcontroller.h:
17861         * libs/gst/controller/gstinterpolation.c:
17862         (interpolate_none_get_string_value_array):
17863           make G_TYPE_STRING controlable
17864
17865 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17866
17867         * tools/README:
17868         * tools/gst-feedback.1.in:
17869         * tools/gst-inspect.1.in:
17870         * tools/gst-launch.1.in:
17871         * tools/gst-md5sum.1.in:
17872         * tools/gst-typefind.1.in:
17873         * tools/gst-xmlinspect.1.in:
17874         * tools/gst-xmllaunch.1.in:
17875           cleanup man-pages, remove reference to gst-register, document env-vars
17876
17877 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
17878
17879         * gst/gstbuffer.c: (gst_buffer_span):
17880           gst_buffer_span should copy the timestamp of the first buffer
17881           if they were both originally overlapping subbuffers of the 
17882           same parent, using the same logic as the 'slow copy' case.
17883
17884 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
17885
17886         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17887           Need to awaken ALL the pads when we pop a buffer, otherwise
17888           collectpads only works when there is 2 input streams.
17889
17890 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
17891
17892         * docs/random/ensonic/media-device-daemon.txt:
17893           more ideas (dbus)
17894         * gst/gstbuffer.c:
17895           fix doc example, add clarification
17896         * tools/gst-launch.1.in:
17897           add initial info about GST_PLUGIN_PATH, needs more work
17898
17899 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
17900
17901         * docs/manual/basics-bins.xml:
17902         * docs/manual/basics-elements.xml:
17903         * docs/manual/intro-basics.xml:
17904           Some more minor docs additions and updates.
17905
17906 2006-01-11  Wim Taymans  <wim@fluendo.com>
17907
17908         * docs/manual/basics-bins.xml:
17909         * docs/manual/basics-elements.xml:
17910         Some small fixes as pointed out by Ser-ver on IRC.
17911
17912 2006-01-10  Edward Hervey  <edward@fluendo.com>
17913
17914         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17915         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17916         the single-segment mode.
17917
17918 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
17919
17920         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17921
17922         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17923         (gst_base_src_perform_seek), (gst_base_src_send_event),
17924         (gst_base_src_set_property), (gst_base_src_get_property),
17925         (gst_base_src_loop), (gst_base_src_start),
17926         (gst_base_src_activate_push):
17927         * libs/gst/base/gstbasesrc.h:
17928           Name (private) union; makes Sun's Forte compiler happy (#324900).
17929
17930 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
17931
17932         * README:
17933           gst-register is gone.
17934
17935 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17936
17937         * gst/gstvalue.c: (_gst_value_initialize):
17938           make the G_TYPE_DATE instantiation work if debug is disabled
17939
17940 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
17941
17942         * gst/gstmessage.c: (gst_message_parse_tag),
17943         (gst_message_parse_error), (gst_message_parse_warning):
17944           Don't crash when return location for error/warning debug
17945           string is NULL; add fact that return locations can be
17946           NULL to docs where appropriate.
17947
17948 2006-01-05  Wim Taymans  <wim@fluendo.com>
17949
17950         * gst/gstplugin.c: (gst_plugin_load_file):
17951         Replace strdup by g_strdup.
17952
17953 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17954
17955         * docs/pwg/advanced-types.xml:
17956           fix doc borkage
17957
17958 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17959
17960         submitted by: Abel Cheung
17961
17962         * po/LINGUAS:
17963         * po/zh_TW.po:
17964           Added Chinese (traditional) translation
17965
17966 2006-01-04  Wim Taymans  <wim@fluendo.com>
17967
17968         * docs/manual/basics-pads.xml:
17969         * docs/plugins/Makefile.am:
17970         * docs/plugins/gstreamer-plugins-docs.sgml:
17971         * docs/plugins/gstreamer-plugins-sections.txt:
17972         * docs/pwg/advanced-clock.xml:
17973         * docs/pwg/advanced-scheduling.xml:
17974         * docs/pwg/advanced-types.xml:
17975         * plugins/elements/gstfdsink.c:
17976         * plugins/elements/gstfdsrc.c:
17977         * plugins/elements/gstfdsrc.h:
17978         * plugins/elements/gstidentity.c: (gst_identity_class_init):
17979         * plugins/elements/gstidentity.h:
17980         * plugins/elements/gstqueue.h:
17981         * plugins/elements/gsttee.c:
17982         * plugins/elements/gsttee.h:
17983         * plugins/elements/gsttypefindelement.c:
17984         (gst_type_find_element_class_init):
17985         * plugins/elements/gsttypefindelement.h:
17986         Small updates to various docs.
17987         Added core plugins to docs.
17988
17989 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17990
17991         * common/gst.supp:
17992           add a suppression for liboil's uninitialized variable
17993
17994 2006-01-02  James Livingston  <jrl at ids dot org dot au>
17995
17996         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17997
17998         * gst/gstutils.h:
17999           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18000           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18001           compiler switch is being used (#325429).
18002
18003 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18004
18005         * gst/gstbin.c: (gst_bin_query):
18006           Disable duration query caching in bins until it gets
18007           fixed (see #324807).
18008
18009 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18010
18011         * tools/gst-inspect.c: (print_element_properties_info):
18012           Handle properties of POINTER and BOXED type.
18013
18014 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18015
18016         * gst/gst.c: (init_post):
18017           Init tags stuff and some other things before loading
18018           any static plugins (there may be other static plugins
18019           than just the GStreamer ones, and they may want to
18020           register their own tags or formats or whatever, and
18021           preferably without segfaulting).
18022
18023         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18024           Print at least a warning in the debug logs if we drop a
18025           query just because we don't know how to adjust the value
18026           in the particular format.
18027
18028 2005-12-24  David Schleef  <ds@schleef.org>
18029
18030         * tools/gstreamer-completion:
18031           Replacement for gst-complete written in sh and sed.  Only
18032           completes names of features, but that's 90% of what I want
18033           it for.  Properties are not available in registry.xml.  (Maybe
18034           they should be...)
18035
18036 === release 0.10.1 ===
18037
18038 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18039
18040         * configure.ac:
18041           releasing 0.10.1, "Nollaig chridheil"
18042
18043 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18044
18045         * docs/faq/cvs.xml:
18046           Add missing quote, should be make ERROR_CFLAGS="".
18047
18048 2005-12-20  Wim Taymans  <wim@fluendo.com>
18049
18050         * docs/design/part-trickmodes.txt:
18051         More documentation on trickmodes.
18052
18053 2005-12-20  Edward Hervey  <edward@fluendo.com>
18054
18055         * gst/gstcaps.c: (gst_static_caps_get_type):
18056         * gst/gstcaps.h:
18057           API addition: GST_TYPE_STATIC_CAPS
18058         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18059         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18060         * gst/gstpadtemplate.h:
18061           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18062         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18063         bindings.
18064
18065 2005-12-18  Wim Taymans  <wim@fluendo.com>
18066
18067         * libs/gst/base/gstadapter.c:
18068         * libs/gst/base/gstadapter.h:
18069         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18070         (gst_base_sink_get_position):
18071         * libs/gst/base/gstbasesink.h:
18072         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18073         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18074         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18075         (gst_base_src_send_event), (gst_base_src_update_length),
18076         (gst_base_src_get_range), (gst_base_src_loop),
18077         (gst_base_src_start):
18078         * libs/gst/base/gstbasesrc.h:
18079         * libs/gst/base/gstbasetransform.h:
18080         * libs/gst/base/gstcollectpads.h:
18081         * libs/gst/base/gstpushsrc.c:
18082         * libs/gst/base/gstpushsrc.h:
18083         * libs/gst/dataprotocol/dataprotocol.c:
18084         * libs/gst/dataprotocol/dataprotocol.h:
18085         * libs/gst/net/gstnetclientclock.h:
18086         * libs/gst/net/gstnettimeprovider.h:
18087         Documentation updates.
18088
18089 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18090
18091         * docs/manual/basics-helloworld.xml:
18092           Remove superfluous closing bracket in helloworld example.
18093
18094 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18095
18096         * tools/gst-launch.1.in:
18097           Update gst-launch man page; add a section with useful
18098           environment variables. Fixes #323882.
18099
18100 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18101
18102         * gst/gst.c:
18103         * gst/gst_private.h:
18104           change some char* into char[]
18105
18106 2005-12-16  Wim Taymans  <wim@fluendo.com>
18107
18108         * gst/gstregistryxml.c: (load_feature):
18109         Cleanups.
18110         Don't use g_object_unref on GstObjects so that we avoid
18111         leaks on unsafe glibs.
18112
18113 2005-12-16  Wim Taymans  <wim@fluendo.com>
18114
18115         * gst/gstbin.c: (gst_bin_recalc_state):
18116         Small doc updates.
18117
18118 2005-12-16  Wim Taymans  <wim@fluendo.com>
18119
18120         * common/check.mak:
18121         Added make forever target for check.
18122
18123 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18124
18125         * gst/gst.c: (init_post):
18126           make the registry cache file HOST_CPU-dependent
18127
18128 2005-12-16  Andy Wingo  <wingo@pobox.com>
18129
18130         * plugins/elements/gstbufferstore.c
18131         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18132         return value.
18133
18134         * tests/check/gst/gstobject.c
18135         (test_fake_object_name_threaded_unique): Pay attention to
18136         g_list_sort return value.
18137
18138 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18139
18140         * tools/gst-feedback-m.m:
18141           Update for 0.9/0.10 (fixes #323870).
18142
18143 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18144
18145         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18146           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18147           
18148         * tests/check/gst/gstminiobject.c: (my_foo_init),
18149         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18150         (test_value_collection), (gst_mini_object_suite):
18151           Add test to ensure refcounts end up as expected when passing
18152           GstMiniObjects through g_object_get() and g_object_set().
18153
18154 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18155
18156         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18157         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18158         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18159         of collectpads. This version removes a lot of races without
18160         touching API/ABI. Yay !
18161
18162 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18163
18164         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18165           Don't allow activation of a srcpad in pull_range if it has no
18166           getrange function.
18167           Change some debug statements to be a little clearer
18168
18169         * plugins/elements/gsttypefindelement.c:
18170         (gst_type_find_handle_src_query):
18171           Check that we have a peer before executing queries thereupon.
18172
18173         * tests/examples/metadata/read-metadata.c: (message_loop):
18174           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18175           immediately return us any available message with 0 timeout.
18176
18177 2005-12-12  Michael Smith  <msmith@fluendo.com>
18178
18179         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18180           Don't unref factories after calling them.
18181         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18182         * plugins/elements/gsttypefindelement.c:
18183         (gst_type_find_element_chain):
18184           Free lists of factories after using them. Fixing typefinding memory
18185           leaks.
18186
18187 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18188
18189         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18190         (gst_plugin_feature_load):
18191           more meaningful debug output
18192         * configure.ac:
18193         * tests/Makefile.am:
18194         * tests/old/examples/Makefile.am:
18195           make make distcheck happy again
18196
18197 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18198
18199         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18200           Catch the special case where we are operating chain-based,
18201           but the downstream peer pad has no chain function. Emit a
18202           custom error message in this case instead of letting the
18203           core generate one implying that this is some sort of core
18204           bug. It's not, it just means that whatever got plugged
18205           into the pipeline downstream when we announced the type
18206           can only operate pull-based, while our source can only
18207           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18208           Error string has not been marked for translation yet, as
18209           it probably needs some more work first.
18210
18211         (gst_type_find_element_get_best_possibility):
18212           Add helper function to find the best of all available
18213           found possibilities that qualify given the min. threshold.
18214
18215         (gst_type_find_element_handle_event):
18216           Fix the case where we get an EOS while still in TYPEFIND
18217           mode (we want to chose the best of all possible types,
18218           not just the first type that happens to be in our unsorted
18219           list of possible types).
18220
18221         (gst_type_find_element_chain):
18222           Make sure we return GST_FLOW_ERROR when we errored out
18223           in stop_typefinding(); also, don't just find the best of
18224           all found type entries and then use the last examined
18225           type entry, but actually use the best entry.
18226
18227 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18228
18229         * tests/examples/typefind/typefind.c: (type_found):
18230         * tests/examples/xml/runxml.c: (xml_loaded):
18231           More gcc4 fixes and a mem leak fix.
18232
18233 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18234
18235         * tests/examples/xml/createxml.c: (object_saved):
18236           gcc 4 fixes
18237
18238 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18239
18240         * tests/Makefile.am:
18241           enable the examples even more
18242
18243 2005-12-12  Andy Wingo  <wingo@pobox.com>
18244
18245         * libs/gst/net/gstnettimeprovider.c
18246         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18247         (gst_net_time_provider_set_property)
18248         (gst_net_time_provider_get_property):
18249         API addition: Export "active" as a GObject property.
18250         (gst_net_time_provider_thread): Only respond to time queries if
18251         the time provider is active.
18252
18253         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18254         NetTimeProvider, preserving binary compat.
18255
18256 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18257
18258         * tests/examples/controller/audio-example.c: (main):
18259         * tests/examples/launch/Makefile.am:
18260           convert comments again
18261
18262 2005-12-12  Wim Taymans  <wim@fluendo.com>
18263
18264         * libs/gst/base/gstpushsrc.c:
18265         Fix typo.
18266
18267 2005-12-12  Wim Taymans  <wim@fluendo.com>
18268
18269         * docs/libs/gstreamer-libs-sections.txt:
18270         Added new symbol to docs.
18271
18272         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18273         (gst_base_src_init), (gst_base_src_set_format),
18274         (gst_base_src_default_query), (gst_base_src_query),
18275         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18276         (gst_base_src_perform_seek), (gst_base_src_send_event),
18277         (gst_base_src_default_event), (gst_base_src_event_handler),
18278         (gst_base_src_set_property), (gst_base_src_get_property),
18279         (gst_base_src_wait), (gst_base_src_do_sync),
18280         (gst_base_src_update_length), (gst_base_src_get_range),
18281         (gst_base_src_check_get_range), (gst_base_src_loop),
18282         (gst_base_src_default_negotiate), (gst_base_src_start),
18283         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18284         (gst_base_src_change_state):
18285         * libs/gst/base/gstbasesrc.h:
18286         Implement seeking to other formats than _BYTES.
18287         Implement more seeking methods correctly.
18288         Doc updates.
18289         Added query vmethod.
18290         Added do_seek vmethod to make life easier for subclasses
18291         when seeking.
18292         API addition: gst_base_src_set_format()
18293
18294 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18295
18296         * tests/examples/Makefile.am:
18297           added that too
18298
18299 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18300
18301         * configure.ac:
18302         * docs/random/ensonic/media-device-daemon.txt:
18303         * tests/examples/controller/.cvsignore:
18304         * tests/examples/controller/Makefile.am:
18305         * tests/examples/controller/audio-example.c: (main):
18306         * tests/examples/helloworld/.cvsignore:
18307         * tests/examples/helloworld/Makefile.am:
18308         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18309         * tests/examples/launch/.cvsignore:
18310         * tests/examples/launch/Makefile.am:
18311         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18312         * tests/examples/metadata/.cvsignore:
18313         * tests/examples/metadata/Makefile.am:
18314         * tests/examples/metadata/read-metadata.c: (message_loop),
18315         (make_pipeline), (print_tag), (main):
18316         * tests/examples/queue/.cvsignore:
18317         * tests/examples/queue/Makefile.am:
18318         * tests/examples/queue/queue.c: (event_loop), (main):
18319         * tests/examples/typefind/.cvsignore:
18320         * tests/examples/typefind/Makefile.am:
18321         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18322         (main):
18323         * tests/examples/xml/.cvsignore:
18324         * tests/examples/xml/Makefile.am:
18325         * tests/examples/xml/createxml.c: (object_saved), (main):
18326         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18327         * tests/old/examples/Makefile.am:
18328         * tests/old/examples/TODO:
18329         * tests/old/examples/controller/.cvsignore:
18330         * tests/old/examples/controller/Makefile.am:
18331         * tests/old/examples/controller/audio-example.c:
18332         * tests/old/examples/helloworld/.cvsignore:
18333         * tests/old/examples/helloworld/Makefile.am:
18334         * tests/old/examples/helloworld/helloworld.c:
18335         * tests/old/examples/launch/.cvsignore:
18336         * tests/old/examples/launch/Makefile.am:
18337         * tests/old/examples/launch/mp3parselaunch.c:
18338         * tests/old/examples/launch/mp3play:
18339         * tests/old/examples/manual/Makefile.am:
18340         * tests/old/examples/metadata/Makefile.am:
18341         * tests/old/examples/metadata/read-metadata.c:
18342         * tests/old/examples/queue/.cvsignore:
18343         * tests/old/examples/queue/Makefile.am:
18344         * tests/old/examples/queue/queue.c:
18345         * tests/old/examples/typefind/.cvsignore:
18346         * tests/old/examples/typefind/Makefile.am:
18347         * tests/old/examples/typefind/typefind.c:
18348         * tests/old/examples/xml/.cvsignore:
18349         * tests/old/examples/xml/Makefile.am:
18350         * tests/old/examples/xml/createxml.c:
18351         * tests/old/examples/xml/runxml.c:
18352           applied some simple fixing to some examples
18353           re-enabled the working examples
18354
18355 2005-12-12  Wim Taymans  <wim@fluendo.com>
18356
18357         * gst/gstsegment.c: (gst_segment_init),
18358         (gst_segment_set_last_stop), (gst_segment_set_seek),
18359         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18360         (gst_segment_to_running_time):
18361         Added more documentation.
18362         Make sure the last_pos value is updated properly.
18363         Make sure to_stream_time and to_running_time don't
18364         operate on wrong values.
18365
18366         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18367         Update check.
18368
18369 2005-12-12  Michael Smith  <msmith@fluendo.com>
18370
18371         * plugins/elements/gsttypefindelement.c: (free_entry),
18372         (gst_type_find_element_chain):
18373           Now that we're not leaking factories, make sure we keep references
18374           to them while we need them.
18375
18376 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18377
18378         * tests/check/gst/struct_i386.h:
18379           ifdef out the XML structs
18380
18381 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18382
18383         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18384           floor is not needed, F is always positive; this obviates the
18385           need for adding -lm when building without libxml
18386
18387 2005-12-12  Wim Taymans  <wim@fluendo.com>
18388
18389         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18390         Take current playback rate into account when reporting
18391         the position.
18392
18393 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18394
18395         * docs/manual/mime-world.fig:
18396           Let's try this again, this time with a file that is
18397           actually in XFig format.
18398
18399 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18400
18401         * docs/manual/mime-world.fig:
18402           Add audioconvert element to diagram so that it
18403           matches the text and the code (fixes #319526).
18404
18405 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18406
18407         * docs/pwg/building-chainfn.xml:
18408         * docs/pwg/building-pads.xml:
18409         * docs/pwg/building-state.xml:
18410         * docs/pwg/other-source.xml:
18411           Update state change stuff for 0.10 (fixes #322969).
18412
18413 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18414
18415         * docs/manual/advanced-dataaccess.xml:
18416         * docs/manual/appendix-checklist.xml:
18417         * docs/manual/appendix-programs.xml:
18418         * docs/manual/basics-pads.xml:
18419         * docs/manual/highlevel-components.xml:
18420         * docs/manual/manual.xml:
18421           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18422           add converters in front of pipelines; remove curly
18423           brackets for threads stuff, they no longer exist; use
18424           GST_TYPE_FRACTION for framerates; update some pieces of
18425           code to 0.10, but there's plenty more to do.
18426
18427         * docs/manual/appendix-porting.xml:
18428           Expand on asynchroneous state changes; s/0.9/0.10/;
18429           mention disappearance of gst_init_get_popt_table()
18430           (fixes #322916).
18431
18432 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18433
18434         * docs/faq/using.xml:
18435           Spider no longer exists, and neither does gst-launch-ext.
18436           Update examples to use decodebin and playbin and put
18437           converters in front of sinks (fixes #323726).
18438
18439 2005-12-09  Michael Smith  <msmith@fluendo.com>
18440
18441         * plugins/elements/gsttypefindelement.c: (find_peek),
18442         (gst_type_find_element_chain):
18443           Fix leaking element factories in typefinding.
18444           Fix problem where we forgot about a probable type on non-seekable
18445           files, and thus later mis-typefound it.
18446
18447 2005-12-09  Michael Smith  <msmith@fluendo.com>
18448
18449         * common/m4/gst-makecontext.m4:
18450         * common/m4/gst-mcsc.m4:
18451         * configure.ac:
18452         * win32/common/config.h:
18453         * win32/common/config.h.in:
18454           Remove makecontext stuff; not used in 0.10 and causes problems on
18455           HPUX according to bug #322441
18456
18457 2005-12-07  Wim Taymans  <wim@fluendo.com>
18458
18459         * tests/check/Makefile.am:
18460         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18461         (main):
18462         * tests/check/libs/struct_i386.h:
18463         Added ABI check for libs
18464
18465 2005-12-07  Wim Taymans  <wim@fluendo.com>
18466
18467         * tests/check/Makefile.am:
18468         And add the struct_i386.h to dist.
18469
18470 2005-12-07  Wim Taymans  <wim@fluendo.com>
18471
18472         * tests/check/Makefile.am:
18473         * tests/check/gst/.cvsignore:
18474         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18475         (main):
18476         * tests/check/gst/struct_i386.h:
18477         Added check for ABI compatibility.
18478
18479 2005-12-07  Wim Taymans  <wim@fluendo.com>
18480
18481         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18482         (gst_fake_src_get_times), (gst_fake_src_create):
18483         Fix broken sync option, fixes #323259
18484
18485 2005-12-07  Wim Taymans  <wim@fluendo.com>
18486
18487         * gst/gstbuffer.c:
18488         Small docs update.
18489
18490         * gst/gstcaps.c: (gst_caps_is_equal):
18491         Don't assert on NULL <--> X. Fixes #323260
18492
18493         * gst/gstminiobject.c: (gst_mini_object_replace):
18494         If we're doing atomic operations, we might just as well use
18495         the proper way to get an atomic pointer.
18496
18497         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18498         Clean up debugging.
18499
18500 2005-12-07  Michael Smith  <msmith@fluendo.com>
18501
18502         * gst/parse/grammar.y:
18503           Remove handling of { } for threads.
18504
18505 2005-12-06  David Schleef  <ds@schleef.org>
18506
18507         * libs/gst/base/gstbasetransform.c: speling fix.
18508
18509 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18510
18511         * docs/libs/tmpl/gstdataprotocol.sgml:
18512         * docs/random/omega/testing/gstobject.c:
18513         * gst/gst.c:
18514         * gst/gstclock.c:
18515         * gst/gstelement.c:
18516         * gst/gstelementfactory.c:
18517         * gst/gsterror.c:
18518         * gst/gstevent.c:
18519         * gst/gstghostpad.c:
18520         * gst/gstinfo.c:
18521         * gst/gstpadtemplate.c:
18522         * gst/gstregistryxml.c:
18523         * gst/gsttaglist.c:
18524         * gst/gsttagsetter.c:
18525         * gst/gsttypefind.c:
18526         * gst/gstvalue.c:
18527         * libs/gst/base/gstbasesrc.c:
18528         * libs/gst/net/gstnetclientclock.c:
18529         * libs/gst/net/gstnettimeprovider.c:
18530         * plugins/elements/gstfakesrc.c:
18531         * plugins/elements/gstfdsrc.c:
18532         * plugins/elements/gstfilesrc.c:
18533         * plugins/elements/gstidentity.c:
18534         * plugins/elements/gstqueue.c:
18535         * plugins/elements/gsttypefindelement.c:
18536         * plugins/indexers/gstfileindex.c:
18537         * plugins/indexers/gstmemindex.c:
18538         * tests/check/gst/gsttag.c:
18539         * tests/old/examples/cutter/cutter.c:
18540         * tests/old/examples/mixer/mixer.c:
18541         * tests/old/examples/xml/runxml.c: (main):
18542         * tests/old/testsuite/caps/normalisation.c:
18543         * tests/old/testsuite/debug/global.c:
18544         * tests/old/testsuite/parse/parse1.c:
18545         * tools/gst-xmlinspect.c:
18546         * win32/common/dirent.c:
18547           expand tabs
18548
18549 === release 0.10.0 ===
18550
18551 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18552
18553         * configure.ac:
18554           releasing 0.10.0, "Maroilles"
18555
18556 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18557
18558         submitted by: Funda Wang <fundawang@linux.net.cn>
18559
18560         * po/LINGUAS:
18561         * po/zh_CN.po:
18562           added Chinese (Traditional) translation
18563
18564 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18565
18566         * docs/gst/gstreamer-sections.txt:
18567         * docs/libs/tmpl/gstdataprotocol.sgml:
18568         * docs/random/thomasvs/TODO:
18569         * gst/gstutils.c:
18570         * gst/gstutils.h:
18571           fix docs
18572
18573 2005-12-05  Andy Wingo  <wingo@pobox.com>
18574
18575         patch by: Wim Taymans <wim@fluendo.com>
18576
18577         * libs/gst/base/gstbasetransform.c
18578         (gst_base_transform_prepare_output_buf)
18579         (gst_base_transform_buffer_alloc):
18580         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18581         alloc_buffer_and_set_caps.
18582
18583         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18584         set_caps on the source pad.
18585         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18586         alloc_buffer used to do. Fixes #322874.
18587
18588         * docs/gst/gstreamer-sections.txt: 
18589         * docs/design/part-negotiation.txt: 
18590         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18591         changes.
18592
18593 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18594
18595         patch by: Sebastien Moutte
18596
18597         * win32/MANIFEST:
18598         * win32/common/config.h.in:
18599         * win32/vs6/libgstcontroller.dsp:
18600           win32 build fixes
18601
18602 2005-12-05  Wim Taymans  <wim@fluendo.com>
18603
18604         * gst/gstcaps.c: (gst_caps_is_equal):
18605         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18606         (gst_fake_src_create):
18607         Back out previous code changes, leave doc updates, file bugs 
18608         instead. 
18609
18610 2005-12-05  Wim Taymans  <wim@fluendo.com>
18611
18612         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18613         (gst_fake_src_get_times), (gst_fake_src_create):
18614         * plugins/elements/gstfakesrc.h:
18615         Fix broken sync code.
18616
18617 2005-12-05  Wim Taymans  <wim@fluendo.com>
18618
18619         * gst/gstcaps.c: (gst_caps_is_equal):
18620         Comparing NULL against !NULL yields different caps, not a
18621         failure.
18622
18623 2005-12-05  Wim Taymans  <wim@fluendo.com>
18624
18625         * gst/gstpipeline.c:
18626         Fix small typo in docs.
18627
18628 2005-12-05  Andy Wingo  <wingo@pobox.com>
18629
18630         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18631
18632         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18633         registries/plugins with a MAJORMINOR one.
18634         (plugin_desc): Rename library from gstcoreleements to
18635         staticelements. Fixes #323222.
18636
18637 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18638
18639         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18640           Change debug category to 'collectpads' from 'collect_pads'
18641           (fixes #323250).
18642
18643 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18644
18645         patch by: Sebastien Moutte
18646
18647         * libs/gst/controller/gstinterpolation.c:
18648           use convert function for uint64/double
18649         * win32/vs6/libgstcontroller.dsp:
18650           link to GLib
18651
18652 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18653
18654         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18655         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18656         * gst/gstutils.h:
18657         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18658           add tests that seem to show that the guint64/gdouble conversions
18659           are correct.
18660
18661 2005-12-02  Wim Taymans  <wim@fluendo.com>
18662
18663         * gst/gstregistry.c: (gst_registry_add_path):
18664         * gst/gstregistry.h:
18665         * gst/gstregistryxml.c:
18666         Fix docs again.
18667
18668 2005-12-02  Wim Taymans  <wim@fluendo.com>
18669
18670         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18671         (gst_util_uint64_scale_int):
18672         Small cleanup.
18673
18674         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18675         Add debug log line.
18676
18677         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18678         Add FIXME.
18679
18680 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18681
18682         * win32/MANIFEST:
18683         * win32/common/config.h:
18684         * win32/vs6/gstreamer.dsw:
18685         * win32/vs6/libgstcoreelements.dsp:
18686         * win32/vs6/libgstelements.dsp:
18687           renamed core elements plugin
18688
18689 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18690
18691         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18692         (get_candidates):
18693           do piece-wise major/minor comparison so 0.9 < 0.10
18694           also allow .exe extensions for tools
18695
18696 2005-12-02  Michael Smith  <msmith@fluendo.com>
18697
18698         * gst/gst.c:
18699           Escape a % to make gtkdoc happier; bug 322958.
18700
18701 === release 0.9.7 ===
18702
18703 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18704
18705         * configure.ac:
18706           releasing 0.9.7, "My Dog Has No Nose"
18707
18708 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18709
18710         * common/gst-xmlinspect.py:
18711         * configure.ac:
18712         * docs/libs/tmpl/gstdataprotocol.sgml:
18713         * docs/random/release:
18714         * po/af.po:
18715         * po/az.po:
18716         * po/bg.po:
18717         * po/ca.po:
18718         * po/cs.po:
18719         * po/de.po:
18720         * po/en_GB.po:
18721         * po/fr.po:
18722         * po/it.po:
18723         * po/nb.po:
18724         * po/nl.po:
18725         * po/ru.po:
18726         * po/sq.po:
18727         * po/sr.po:
18728         * po/sv.po:
18729         * po/tr.po:
18730         * po/uk.po:
18731         * po/vi.po:
18732         * win32/common/config.h:
18733         * win32/common/config.h.in:
18734         * win32/vs6/gst_inspect.dsp:
18735         * win32/vs6/gst_launch.dsp:
18736         * win32/vs6/libgstbase.dsp:
18737         * win32/vs6/libgstelements.dsp:
18738         * win32/vs6/libgstreamer.dsp:
18739         * win32/vs7/GStreamer.vcproj:
18740         * win32/vs7/gst-inspect.vcproj:
18741         * win32/vs7/gst-launch.vcproj:
18742         * win32/vs7/libgstbase.vcproj:
18743           bump GST_MAJORMINOR to 0.10
18744           reset libtool version
18745
18746 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18747
18748         * po/LINGUAS:
18749         * po/bg.po:
18750           Added Bulgarian translation by (Alexander Shopov)
18751
18752 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18753
18754         * tests/check/gst/gstplugin.c:
18755           fix test
18756
18757 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18758
18759         * common/gst-xmlinspect.py:
18760         * common/gtk-doc-plugins.mak:
18761         * configure.ac:
18762         * docs/Makefile.am:
18763         * docs/gst/Makefile.am:
18764         * docs/gst/gstreamer-docs.sgml:
18765         * docs/gst/gstreamer-sections.txt:
18766         * docs/gst/gstreamer.types:
18767         * docs/gst/gstreamer.types.in:
18768         * docs/plugins/Makefile.am:
18769         * docs/plugins/gstreamer-plugins-docs.sgml:
18770         * docs/plugins/gstreamer-plugins-sections.txt:
18771         * docs/plugins/gstreamer-plugins.types:
18772         * docs/plugins/inspect.stamp:
18773         * docs/plugins/inspect/plugin-coreelements.xml:
18774         * docs/plugins/inspect/plugin-coreindexers.xml:
18775         * docs/plugins/scanobj-build.stamp:
18776         * gstreamer.spec.in:
18777         * plugins/elements/Makefile.am:
18778         * plugins/elements/gstelements.c:
18779         * plugins/elements/gstfakesink.c:
18780         * plugins/elements/gstfakesrc.c:
18781         * plugins/elements/gstfilesink.c:
18782         * plugins/elements/gstfilesrc.c:
18783         * plugins/elements/gstqueue.c:
18784         * plugins/indexers/Makefile.am:
18785         * plugins/indexers/gstindexers.c:
18786           document core plugins in a separate document just like all the
18787           others
18788           rename these plugins to something starting with core
18789
18790 2005-12-01  Andy Wingo  <wingo@pobox.com>
18791
18792         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18793         padding here before, but it missed the commit.
18794
18795 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18796
18797         * libs/gst/controller/gstinterpolation.c:
18798           whitespace prices have crashed, we should feel free to use some now
18799           use gst_guint64_to_gdouble
18800
18801 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18802
18803         * libs/gst/controller/gstcontroller.c:
18804         * libs/gst/controller/gsthelper.c:
18805         * libs/gst/controller/gstinterpolation.c:
18806         * libs/gst/controller/lib.c:
18807           wrap config.h include
18808
18809 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18810
18811         * docs/gst/gstreamer-sections.txt:
18812           update docs
18813
18814 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18815
18816         * plugins/elements/gstelements.c:
18817         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18818         (gst_fd_sink__class_init), (gst_fd_sink__init),
18819         (gst_fd_sink__chain), (gst_fd_sink__set_property),
18820         (gst_fd_sink__get_property):
18821         * plugins/elements/gstfdsink.h:
18822         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18823         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18824         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18825         (gst_fd_src_unlock), (gst_fd_src_set_property),
18826         (gst_fd_src_get_property), (gst_fd_src_create),
18827         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18828         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18829         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18830         (gst_fd_src_uri_handler_init):
18831         * plugins/elements/gstfdsrc.h:
18832         * plugins/elements/gstqueue.c: (gst_queue_get_type):
18833           more anal cleanup
18834
18835 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18836
18837         * docs/gst/Makefile.am:
18838         * docs/gst/gstreamer.types.in:
18839         * gst/Makefile.am:
18840           fix the docs build
18841
18842 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18843
18844         * configure.ac:
18845         * gst/Makefile.am:
18846         * gst/gst.c:
18847         * gst/gstplugin.h:
18848         * gst/gstregistry.h:
18849         * tests/benchmarks/complexity.c:
18850         * tests/benchmarks/mass-elements.c:
18851         * tests/check/Makefile.am:
18852         * tools/Makefile.am:
18853         * tools/gst-inspect.c:
18854         * tools/gst-xmlinspect.c:
18855           various fixes to make
18856           --disable-nls --disable-registry --disable-loadsave
18857           --disable-parse --disable-gst-debug
18858           work and get the core .so down to 360444 bytes after stripping
18859
18860 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18861
18862         * Makefile.am:
18863         * configure.ac:
18864           descend into tests
18865         * docs/random/thomasvs/TODO:
18866         * tests/Makefile.am:
18867         * tests/README:
18868           add a README
18869
18870 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18871
18872         * win32/GStreamer.vcproj:
18873         * win32/MANIFEST:
18874         * win32/Makefile:
18875         * win32/Makefile.inspect:
18876         * win32/Makefile.launch:
18877         * win32/Makefile.register:
18878         * win32/README.txt:
18879         * win32/gst-inspect.vcproj:
18880         * win32/gst-launch.vcproj:
18881         * win32/gst-register.vcproj:
18882         * win32/gstelements.vcproj:
18883         * win32/gstgetbits.def:
18884         * win32/gstgetbits.vcproj:
18885         * win32/gstreamer-dbg.def:
18886         * win32/gstreamer.def:
18887         * win32/libgstbase.def:
18888         * win32/libgstbase.vcproj:
18889         * win32/link_oldruntime.c:
18890         * win32/mman.c:
18891         * win32/mman.h:
18892         * win32/mman.inl:
18893         * win32/msvc71.sln:
18894           move even more stuff, win32/ is nice and clean now
18895
18896 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18897
18898         * libs/gst/control/.cvsignore:
18899         * win32/MANIFEST:
18900         * win32/config.h:
18901         * win32/dirent.c:
18902         * win32/dirent.h:
18903         * win32/gstbytestream.def:
18904         * win32/gstbytestream.vcproj:
18905         * win32/gstconfig.h:
18906         * win32/gstenumtypes.c:
18907         * win32/gstenumtypes.h:
18908         * win32/gstoptimalscheduler.vcproj:
18909         * win32/gstversion.h:
18910         * win32/gtchar.h:
18911         * win32/testsuite/bins.vcproj:
18912         * win32/testsuite/bytestream.vcproj:
18913         * win32/testsuite/caps.vcproj:
18914         * win32/testsuite/cleanup.vcproj:
18915         * win32/testsuite/clock.vcproj:
18916         * win32/testsuite/debug.vcproj:
18917         * win32/testsuite/dlopen.vcproj:
18918         * win32/testsuite/dynparams.vcproj:
18919         * win32/testsuite/elements.vcproj:
18920         * win32/testsuite/ghostpads.vcproj:
18921         * win32/testsuite/indexers.vcproj:
18922         * win32/testsuite/negotiation.vcproj:
18923         * win32/testsuite/parse.vcproj:
18924         * win32/testsuite/plugin.vcproj:
18925         * win32/testsuite/refcounting.vcproj:
18926         * win32/testsuite/schedulers.vcproj:
18927         * win32/testsuite/states.vcproj:
18928         * win32/testsuite/tags.vcproj:
18929         * win32/testsuite/threads.vcproj:
18930           remove old win32 stuff that isn't maintained and should be
18931           reorganized
18932
18933 2005-11-30  Andy Wingo  <wingo@pobox.com>
18934
18935         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18936         loading the gst.interfaces python module bork.
18937
18938         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18939         available since GLib 2.2. Fixes #318031.
18940
18941 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18942
18943         * Makefile.am:
18944         * check/.cvsignore:
18945         * check/Makefile.am:
18946         * check/elements/.cvsignore:
18947         * check/elements/fakesrc.c:
18948         * check/elements/fdsrc.c:
18949         * check/elements/identity.c:
18950         * check/generic/.cvsignore:
18951         * check/generic/states.c:
18952         * check/gst-libs/.cvsignore:
18953         * check/gst-libs/controller.c:
18954         * check/gst-libs/gdp.c:
18955         * check/gst/.cvsignore:
18956         * check/gst/capslist.h:
18957         * check/gst/gst.c:
18958         * check/gst/gstbin.c:
18959         * check/gst/gstbuffer.c:
18960         * check/gst/gstbus.c:
18961         * check/gst/gstcaps.c:
18962         * check/gst/gstelement.c:
18963         * check/gst/gstevent.c:
18964         * check/gst/gstghostpad.c:
18965         * check/gst/gstiterator.c:
18966         * check/gst/gstmessage.c:
18967         * check/gst/gstminiobject.c:
18968         * check/gst/gstobject.c:
18969         * check/gst/gstpad.c:
18970         * check/gst/gstpipeline.c:
18971         * check/gst/gstplugin.c:
18972         * check/gst/gstsegment.c:
18973         * check/gst/gststructure.c:
18974         * check/gst/gstsystemclock.c:
18975         * check/gst/gsttag.c:
18976         * check/gst/gstutils.c:
18977         * check/gst/gstvalue.c:
18978         * check/net/.cvsignore:
18979         * check/net/gstnetclientclock.c:
18980         * check/net/gstnettimeprovider.c:
18981         * check/pipelines/.cvsignore:
18982         * check/pipelines/cleanup.c:
18983         * check/pipelines/simple_launch_lines.c:
18984         * check/pipelines/stress.c:
18985         * check/states/.cvsignore:
18986         * check/states/sinks.c:
18987         * configure.ac:
18988         * examples/Makefile.am:
18989         * examples/appreader/.cvsignore:
18990         * examples/appreader/Makefile.am:
18991         * examples/appreader/appreader.c:
18992         * examples/controller/.cvsignore:
18993         * examples/controller/Makefile.am:
18994         * examples/controller/audio-example.c:
18995         * examples/cutter/.cvsignore:
18996         * examples/cutter/Makefile.am:
18997         * examples/cutter/cutter.c:
18998         * examples/cutter/cutter.h:
18999         * examples/events/Makefile.am:
19000         * examples/events/seek.c:
19001         * examples/helloworld/.cvsignore:
19002         * examples/helloworld/Makefile.am:
19003         * examples/helloworld/helloworld.c:
19004         * examples/helloworld2/.cvsignore:
19005         * examples/helloworld2/Makefile.am:
19006         * examples/helloworld2/helloworld2.c:
19007         * examples/launch/.cvsignore:
19008         * examples/launch/Makefile.am:
19009         * examples/launch/mp3parselaunch.c:
19010         * examples/launch/mp3play:
19011         * examples/manual/.cvsignore:
19012         * examples/manual/Makefile.am:
19013         * examples/manual/extract.pl:
19014         * examples/metadata/Makefile.am:
19015         * examples/metadata/read-metadata.c:
19016         * examples/mixer/.cvsignore:
19017         * examples/mixer/Makefile.am:
19018         * examples/mixer/mixer.c:
19019         * examples/mixer/mixer.h:
19020         * examples/pingpong/.cvsignore:
19021         * examples/pingpong/Makefile.am:
19022         * examples/pingpong/pingpong.c:
19023         * examples/plugins/.cvsignore:
19024         * examples/plugins/Makefile.am:
19025         * examples/plugins/example.c:
19026         * examples/plugins/example.h:
19027         * examples/pwg/.cvsignore:
19028         * examples/pwg/Makefile.am:
19029         * examples/pwg/extract.pl:
19030         * examples/queue/.cvsignore:
19031         * examples/queue/Makefile.am:
19032         * examples/queue/queue.c:
19033         * examples/queue2/.cvsignore:
19034         * examples/queue2/Makefile.am:
19035         * examples/queue2/queue2.c:
19036         * examples/queue3/.cvsignore:
19037         * examples/queue3/Makefile.am:
19038         * examples/queue3/queue3.c:
19039         * examples/queue4/.cvsignore:
19040         * examples/queue4/Makefile.am:
19041         * examples/queue4/queue4.c:
19042         * examples/retag/.cvsignore:
19043         * examples/retag/Makefile.am:
19044         * examples/retag/retag.c:
19045         * examples/retag/transcode.c:
19046         * examples/thread/.cvsignore:
19047         * examples/thread/Makefile.am:
19048         * examples/thread/thread.c:
19049         * examples/typefind/.cvsignore:
19050         * examples/typefind/Makefile.am:
19051         * examples/typefind/typefind.c:
19052         * examples/xml/.cvsignore:
19053         * examples/xml/Makefile.am:
19054         * examples/xml/createxml.c:
19055         * examples/xml/runxml.c:
19056         * tests/Makefile.am:
19057         * tests/check/Makefile.am:
19058         * testsuite/.cvsignore:
19059         * testsuite/Makefile.am:
19060         * testsuite/Rules:
19061         * testsuite/caps/.cvsignore:
19062         * testsuite/caps/Makefile.am:
19063         * testsuite/caps/app_fixate.c:
19064         * testsuite/caps/audioscale.c:
19065         * testsuite/caps/caps.c:
19066         * testsuite/caps/caps.h:
19067         * testsuite/caps/caps_strings:
19068         * testsuite/caps/compatibility.c:
19069         * testsuite/caps/deserialize.c:
19070         * testsuite/caps/enumcaps.c:
19071         * testsuite/caps/eratosthenes.c:
19072         * testsuite/caps/filtercaps.c:
19073         * testsuite/caps/fixed.c:
19074         * testsuite/caps/fraction-convert.c:
19075         * testsuite/caps/fraction-multiply-and-zero.c:
19076         * testsuite/caps/intersect2.c:
19077         * testsuite/caps/intersection.c:
19078         * testsuite/caps/normalisation.c:
19079         * testsuite/caps/random.c:
19080         * testsuite/caps/renegotiate.c:
19081         * testsuite/caps/sets.c:
19082         * testsuite/caps/simplify.c:
19083         * testsuite/caps/string-conversions.c:
19084         * testsuite/caps/structure.c:
19085         * testsuite/caps/subtract.c:
19086         * testsuite/caps/union.c:
19087         * testsuite/debug/.cvsignore:
19088         * testsuite/debug/Makefile.am:
19089         * testsuite/debug/category.c:
19090         * testsuite/debug/commandline.c:
19091         * testsuite/debug/global.c:
19092         * testsuite/debug/output.c:
19093         * testsuite/debug/printf_extension.c:
19094         * testsuite/dlopen/.cvsignore:
19095         * testsuite/dlopen/Makefile.am:
19096         * testsuite/dlopen/dlopen_gst.c:
19097         * testsuite/dlopen/loadgst.c:
19098         * testsuite/elements/.cvsignore:
19099         * testsuite/elements/Makefile.am:
19100         * testsuite/elements/gst-inspect-check.in:
19101         * testsuite/elements/struct_i386.h:
19102         * testsuite/elements/struct_size.c:
19103         * testsuite/indexers/.cvsignore:
19104         * testsuite/indexers/Makefile.am:
19105         * testsuite/indexers/cache1.c:
19106         * testsuite/indexers/indexdump.c:
19107         * testsuite/parse/.cvsignore:
19108         * testsuite/parse/Makefile.am:
19109         * testsuite/parse/parse1.c:
19110         * testsuite/parse/parse2.c:
19111         * testsuite/plugin/.cvsignore:
19112         * testsuite/plugin/Makefile.am:
19113         * testsuite/plugin/README:
19114         * testsuite/plugin/dynamic.c:
19115         * testsuite/plugin/linked.c:
19116         * testsuite/plugin/loading.c:
19117         * testsuite/plugin/registry.c:
19118         * testsuite/plugin/static.c:
19119         * testsuite/plugin/static2.c:
19120         * testsuite/plugin/testplugin.c:
19121         * testsuite/plugin/testplugin2.c:
19122         * testsuite/plugin/testplugin2_s.c:
19123         * testsuite/plugin/testplugin_s.c:
19124         * testsuite/refcounting/.cvsignore:
19125         * testsuite/refcounting/Makefile.am:
19126         * testsuite/refcounting/bin.c:
19127         * testsuite/refcounting/element.c:
19128         * testsuite/refcounting/element_pad.c:
19129         * testsuite/refcounting/mainloop.c:
19130         * testsuite/refcounting/mem.c:
19131         * testsuite/refcounting/mem.h:
19132         * testsuite/refcounting/object.c:
19133         * testsuite/refcounting/pad.c:
19134         * testsuite/refcounting/sched.c:
19135         * testsuite/refcounting/thread.c:
19136         * testsuite/states/.cvsignore:
19137         * testsuite/states/Makefile.am:
19138         * testsuite/states/bin.c:
19139         * testsuite/states/locked.c:
19140         * testsuite/states/parent.c:
19141         * testsuite/threads/.cvsignore:
19142         * testsuite/threads/159566.c:
19143         * testsuite/threads/159852.c:
19144         * testsuite/threads/Makefile.am:
19145         * testsuite/threads/queue.c:
19146         * testsuite/threads/signals.c:
19147         * testsuite/threads/staticrec.c:
19148         * testsuite/threads/thread.c:
19149         * testsuite/threads/threadb.c:
19150         * testsuite/threads/threadc.c:
19151         * testsuite/threads/threadd.c:
19152         * testsuite/threads/threade.c:
19153         * testsuite/threads/threadf.c:
19154         * testsuite/threads/threadg.c:
19155         * testsuite/threads/threadh.c:
19156         * testsuite/threads/threadi.c:
19157           move all of these under tests
19158
19159 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19160
19161         * configure.ac:
19162         * tests/Makefile.am:
19163           fix distcheck
19164
19165 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19166
19167         * docs/gst/gstreamer-sections.txt:
19168         * tests/sched/.cvsignore:
19169         * tests/sched/Makefile.am:
19170         * tests/sched/cases/(fs-fs).xml:
19171         * tests/sched/cases/(fs-i-fs).xml:
19172         * tests/sched/cases/(fs-i-i-fs).xml:
19173         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19174         * tests/sched/dynamic-pipeline.c:
19175         * tests/sched/interrupt1.c:
19176         * tests/sched/interrupt2.c:
19177         * tests/sched/interrupt3.c:
19178         * tests/sched/runtestcases:
19179         * tests/sched/runxml.c:
19180         * tests/sched/sched-stress.c:
19181         * tests/sched/sort.c:
19182         * tests/sched/testcases:
19183         * tests/sched/testcases1.tc:
19184         * tests/seeking/.cvsignore:
19185         * tests/seeking/Makefile.am:
19186         * tests/seeking/seeking1.c:
19187         * tests/threadstate/.cvsignore:
19188         * tests/threadstate/Makefile.am:
19189         * tests/threadstate/test1.c:
19190         * tests/threadstate/test2.c:
19191         * tests/threadstate/threadstate1.c:
19192         * tests/threadstate/threadstate2.c:
19193         * tests/threadstate/threadstate3.c:
19194         * tests/threadstate/threadstate4.c:
19195         * tests/threadstate/threadstate5.c:
19196           remove obsolete tests
19197         * configure.ac:
19198         * tests/bench-complexity.scm:
19199         * tests/bench-mass_elements.scm:
19200         * tests/complexity.c:
19201         * tests/complexity.gnuplot:
19202         * tests/instantiate/.cvsignore:
19203         * tests/instantiate/Makefile.am:
19204         * tests/instantiate/caps.c:
19205         * tests/mass_elements.c:
19206         * tests/network-clock-utils.scm:
19207         * tests/network-clock.scm:
19208         * tests/plot-data:
19209         First pass at cleaning up tests/ dir before moving the rest
19210         Combined with CVS surgery
19211
19212 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19213
19214         * po/POTFILES.in:
19215           queue has moved, update
19216
19217 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19218
19219         * docs/gst/gstreamer-sections.txt:
19220           remove double entries from the docs
19221         * gst/gst_private.h:
19222         * gst/gstinfo.c: (_gst_debug_init):
19223           remove the THREAD debug category
19224         * gst/Makefile.am:
19225         * gst/gstqueue.c:
19226         * gst/gstqueue.h:
19227         * docs/gst/gstreamer.types:
19228         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19229         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19230           completely move queue and fix up debugging categories
19231
19232 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19233
19234         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19235           make initialization portable, using LL is not
19236
19237 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19238
19239         * win32/common/gstconfig.h:
19240           add large padding
19241
19242 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19243
19244         * win32/common/libgstreamer.def:
19245           rename symbols; sort base section
19246
19247 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19248
19249         * gst/gstclock.c: (do_linear_regression):
19250           remove crack non-portable handrolled DEBUG macro
19251
19252 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19253
19254         * docs/random/release:
19255           update notes
19256         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19257         (gst_object_flags_get_type), (register_gst_bin_flags),
19258         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19259         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19260         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19261         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19262         (gst_caps_flags_get_type), (register_gst_clock_return),
19263         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19264         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19265         (gst_clock_flags_get_type), (register_gst_state),
19266         (gst_state_get_type), (register_gst_state_change_return),
19267         (gst_state_change_return_get_type), (register_gst_state_change),
19268         (gst_state_change_get_type), (register_gst_element_flags),
19269         (gst_element_flags_get_type), (register_gst_core_error),
19270         (gst_core_error_get_type), (register_gst_library_error),
19271         (gst_library_error_get_type), (register_gst_resource_error),
19272         (gst_resource_error_get_type), (register_gst_stream_error),
19273         (gst_stream_error_get_type), (register_gst_event_type_flags),
19274         (gst_event_type_flags_get_type), (register_gst_event_type),
19275         (gst_event_type_get_type), (register_gst_seek_type),
19276         (gst_seek_type_get_type), (register_gst_seek_flags),
19277         (gst_seek_flags_get_type), (register_gst_format),
19278         (gst_format_get_type), (register_gst_index_certainty),
19279         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19280         (gst_index_entry_type_get_type),
19281         (register_gst_index_lookup_method),
19282         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19283         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19284         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19285         (gst_index_flags_get_type), (register_gst_debug_level),
19286         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19287         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19288         (gst_iterator_result_get_type), (register_gst_iterator_item),
19289         (gst_iterator_item_get_type), (register_gst_message_type),
19290         (gst_message_type_get_type), (register_gst_mini_object_flags),
19291         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19292         (gst_pad_link_return_get_type), (register_gst_flow_return),
19293         (gst_flow_return_get_type), (register_gst_activate_mode),
19294         (gst_activate_mode_get_type), (register_gst_pad_direction),
19295         (gst_pad_direction_get_type), (register_gst_pad_flags),
19296         (gst_pad_flags_get_type), (register_gst_pad_presence),
19297         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19298         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19299         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19300         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19301         (gst_plugin_flags_get_type), (register_gst_rank),
19302         (gst_rank_get_type), (register_gst_query_type),
19303         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19304         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19305         (gst_tag_flag_get_type), (register_gst_task_state),
19306         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19307         (gst_alloc_trace_flags_get_type),
19308         (register_gst_type_find_probability),
19309         (gst_type_find_probability_get_type), (register_gst_uri_type),
19310         (gst_uri_type_get_type), (register_gst_parse_error),
19311         (gst_parse_error_get_type):
19312         * win32/common/gstenumtypes.h:
19313         * win32/common/gstversion.h:
19314           update visual studio generated files
19315
19316 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19317
19318         * win32/vs6/libgstbase.dsp:
19319         * win32/vs6/libgstelements.dsp:
19320           update project files for new locations
19321
19322 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19323
19324         * Makefile.am:
19325           remove some files
19326         * README:
19327           reinstate and update
19328         * DEVEL:
19329         * REQUIREMENTS:
19330           removed
19331         * LICENSE:
19332         * docs/random/LICENSE:
19333           moved to random
19334
19335 2005-11-30  Edward Hervey  <edward@fluendo.com>
19336
19337         * gst/gsttypefind.c: (gst_type_find_register):
19338         * gst/gsttypefind.h:
19339         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19340         (gst_type_find_factory_dispose):
19341         * gst/gsttypefindfactory.h:
19342         Fix memory leak in GstTypeFindFactory.
19343
19344 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19345
19346         * gst/gst.c:
19347         * plugins/elements/Makefile.am:
19348         * plugins/elements/gstelements.c:
19349         * plugins/elements/gstqueue.c:
19350           move queue from core to the elements plugin
19351
19352 2005-11-29  Andy Wingo  <wingo@pobox.com>
19353
19354         * libs/gst/base/gstbasetransform.h: 
19355         * libs/gst/base/gstbasesrc.h: 
19356         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19357
19358         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19359         of pointers by which to pad very extensible base classes (like the
19360         ones in libs/gst/base).
19361
19362 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19363
19364         * docs/gst/gstreamer-docs.sgml:
19365         * docs/gst/gstreamer-sections.txt:
19366         * docs/libs/gstreamer-libs-docs.sgml:
19367         * docs/libs/gstreamer-libs-sections.txt:
19368           moving documentation from core to lib
19369
19370 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19371
19372         * check/Makefile.am:
19373         * configure.ac:
19374         * docs/gst/Makefile.am:
19375         * gst/Makefile.am:
19376         * gst/base/.cvsignore:
19377         * gst/base/Makefile.am:
19378         * gst/base/README:
19379         * gst/base/gstadapter.c:
19380         * gst/base/gstadapter.h:
19381         * gst/base/gstbasesink.c:
19382         * gst/base/gstbasesink.h:
19383         * gst/base/gstbasesrc.c:
19384         * gst/base/gstbasesrc.h:
19385         * gst/base/gstbasetransform.c:
19386         * gst/base/gstbasetransform.h:
19387         * gst/base/gstcollectpads.c:
19388         * gst/base/gstcollectpads.h:
19389         * gst/base/gstpushsrc.c:
19390         * gst/base/gstpushsrc.h:
19391         * gst/base/gsttypefindhelper.c:
19392         * gst/base/gsttypefindhelper.h:
19393         * gst/check/Makefile.am:
19394         * gst/check/gstcheck.c:
19395         * gst/check/gstcheck.h:
19396         * gst/net/Makefile.am:
19397         * gst/net/gstnet.h:
19398         * gst/net/gstnetclientclock.c:
19399         * gst/net/gstnetclientclock.h:
19400         * gst/net/gstnettimepacket.c:
19401         * gst/net/gstnettimepacket.h:
19402         * gst/net/gstnettimeprovider.c:
19403         * gst/net/gstnettimeprovider.h:
19404         * libs/gst/Makefile.am:
19405         * libs/gst/base/Makefile.am:
19406         * libs/gst/base/gstbasetransform.c:
19407         * libs/gst/check/Makefile.am:
19408         * plugins/elements/Makefile.am:
19409         * po/POTFILES.in:
19410           CVS surgery + support to move base, check, and net out of gst
19411           and into libs/gst
19412
19413 2005-11-29  Andy Wingo  <wingo@pobox.com>
19414
19415         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19416
19417         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19418         padding.
19419
19420         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19421
19422         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19423
19424         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19425
19426         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19427         padding; reduces object size by about 30%. We don't expect
19428         anything else to go into gstobject.
19429
19430         * gst/gstminiobject.h (struct _GstMiniObject)
19431         (struct _GstMiniObjectClass): Only one pointer of padding; the
19432         payload is only a pointer and two ints anyway. For the class there
19433         are only two methods as well.
19434         
19435         * gst/gstelement.h (struct _GstElementClass): Removed
19436         the state_changed signal callback, it is not used.
19437
19438 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19439
19440         * docs/gst/gstreamer.types:
19441           fix includes, though they are a little dinky
19442
19443 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19444
19445         * check/Makefile.am:
19446           look in the right place for elements, a lot more chance of
19447           success
19448         * gst/Makefile.am:
19449           remove indexers and elements subdirs
19450         * plugins/Makefile.am:
19451           make indexers conditional
19452
19453 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19454
19455         * Makefile.am:
19456         * configure.ac:
19457         * plugins/elements/Makefile.am:
19458         * plugins/elements/gstcapsfilter.c:
19459         * plugins/elements/gstfilesink.c:
19460         * plugins/elements/gstfilesrc.c:
19461         * plugins/elements/gstidentity.c:
19462         * plugins/indexers/Makefile.am:
19463           do CVS surgery and related build fixery to move elements
19464           and indexers in a new gstreamer/plugins directory, out of the
19465           gst/ directory
19466
19467 2005-11-29  Andy Wingo  <wingo@pobox.com>
19468
19469         * check/Makefile.am:
19470         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19471         * pkgconfig/gstreamer-net.pc.in:
19472         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19473         #322257.
19474
19475 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19476
19477         * tools/Makefile.am:
19478         * tools/gst-complete.1.in:
19479         * tools/gst-complete.c:
19480         * tools/gst-compprep.1.in:
19481         * tools/gst-compprep.c:
19482           removing -compprep and -complete
19483
19484 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19485
19486         * gst/gstevent.c: (gst_event_new_new_segment),
19487         (gst_event_parse_new_segment):
19488         * gst/gstevent.h:
19489           fix #320529 - clean up new_segment API and structure.
19490           Let's hope everyone was using the methods, and not the structure.
19491
19492 2005-11-29  Edward Hervey  <edward@fluendo.com>
19493
19494         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19495         (gst_base_sink_event), (gst_base_sink_do_sync),
19496         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19497         Properly handle non GST_FORMAT_TIME segment
19498         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19499         Properly handle non GST_FORMAT_TIME segment
19500         * gst/gstsegment.c:
19501         This function is valid if the accumulator is 0 and the format
19502         is different from the requested format.
19503         
19504 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19505
19506         * docs/gst/gstreamer-sections.txt:
19507         Add gst_query_new_seeking and gst_query_parse_seeking to the
19508         docs.
19509
19510 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19511
19512         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19513           Treat a pad alloc with new caps the same as if we were not
19514           negotiated, in order to allow a changing upstream output
19515           to produce a new format of data.
19516
19517 2005-11-29  Edward Hervey  <edward@fluendo.com>
19518
19519         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19520         (gst_base_transform_event), (gst_base_transform_eventfunc):
19521         The event virtual method is now properly implemented, with a default
19522         handler
19523         Sub classes should call the parent_class event method. They should
19524         return FALSE if they had a problem handling the given event, or don't
19525         want GstBaseTransform to send that even downstream
19526         * gst/elements/gstidentity.c: (gst_identity_class_init),
19527         (gst_identity_init), (gst_identity_event),
19528         (gst_identity_transform_ip), (gst_identity_set_property),
19529         (gst_identity_get_property):
19530         * gst/elements/gstidentity.h:
19531         Added the single-segment boolean property.
19532         If set to TRUE, it will output a single segment of data, starting from
19533         0, will eat up all incoming newsegment, and modify the timestamp of the
19534         buffers accordingly
19535
19536 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19537
19538         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19539           Don't ref NULL target pad (#322751). Improve docs.
19540
19541 2005-11-29  Michael Smith  <msmith@fluendo.com>
19542
19543         * gst/gstregistryxml.c: (load_plugin):
19544           Don't crash if we failed to load a feature from a plugin. 
19545
19546 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19547
19548         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19549         (GST_START_TEST):
19550           use more check API and less GLib API
19551
19552 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19553
19554         * Makefile.am:
19555           don't run checks if we don't have check
19556         * common/check.mak:
19557           remove the registry when running make torture
19558         * docs/gst/gstreamer-sections.txt:
19559           remove second multiply
19560         * gst/gstqueue.c: (gst_queue_loop):
19561           fix a compile warning when disabling debug
19562
19563 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19564
19565         * gst/gstinfo.h:
19566         Hey! Let's print the pad name if the pointer != NULL instead
19567         of when it == NULL :-)
19568
19569 2005-11-28  Wim Taymans  <wim@fluendo.com>
19570
19571         * check/gst/gstutils.c: (GST_START_TEST):
19572         Updated check, add some scaling accuracy checking code.
19573
19574         * gst/gstutils.c: (gst_util_div128_64),
19575         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19576         (gst_util_uint64_scale_int):
19577         Fix 6 times faster division code. Optimize for common 
19578         1/1 and less common X/1 cases.
19579
19580 2005-11-28  Wim Taymans  <wim@fluendo.com>
19581
19582         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19583         More checks.
19584
19585         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19586         (do_linear_regression), (gst_clock_add_observation):
19587         Cleanups.
19588         Release lock when the clock cannot be slaved.
19589         Catch the case where the regression returned an invalid denominator.
19590
19591         * gst/gstutils.c: (gst_util_div128_64_iterate),
19592         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19593         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19594         Add protentially more performant non-iterative 128/64 divide function
19595         that unfortunatly does not work yet.
19596         Shortcut the trivial 0/X = 0 case.
19597         Remove the warnings on overflow.
19598
19599 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19600
19601         * gst/gstplugin.c: (gst_plugin_register_func):
19602           everything causing a plugin not to load should be at least a WARNING
19603
19604 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19605
19606         * docs/random/ensonic/dparams.txt:
19607           some TODOs for the next dev cycle
19608         * libs/gst/controller/gstcontroller.c:
19609         (gst_controlled_property_set_interpolation_mode),
19610         (gst_controlled_property_new):
19611         * libs/gst/controller/gstcontroller.h:
19612           use base type to assign acccessor functions
19613
19614 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19615
19616         * check/Makefile.am:
19617         Oops, that should have been top_srcdir
19618
19619 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19620
19621         * check/Makefile.am:
19622         * check/elements/fdsrc.c: (GST_START_TEST):
19623         Use a cmdline define to specify the location of a file to use for
19624         testing, to avoid breaking distcheck.
19625
19626 2005-11-28  Andy Wingo  <wingo@pobox.com>
19627
19628         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19629
19630 2005-11-28  Edward Hervey  <edward@fluendo.com>
19631
19632         * tools/gst-launch.c: (main):
19633         Clarify the output strings, makes it easier to translate.
19634         Fixes #322626
19635
19636 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19637
19638         * gst/Makefile.am:
19639           don't try and build net if we don't even have <sys/socket.h>
19640
19641 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19642
19643         * check/Makefile.am:
19644         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19645         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19646           Add tests for fdsrc seekability
19647
19648         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19649         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19650         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19651         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19652         * gst/elements/gstfdsrc.h:
19653           fdsrc should not be a 'live' source.
19654           Implement seeking on seekable fd's.
19655
19656         * gst/gstquery.c: (gst_query_new_seeking),
19657         (gst_query_parse_seeking):
19658         * gst/gstquery.h:
19659           Implement SEEKING query functions: 
19660             *_new_seeking and *_parse_seeking
19661
19662 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19663
19664         * gst/gstelement.c: (gst_element_dispose):
19665           don't loop forever
19666
19667         * gst/gstiterator.c:
19668         * gst/gststructure.c:
19669           doc fixes
19670
19671         * libs/gst/controller/gstcontroller.c:
19672         (gst_controlled_property_set_interpolation_mode):
19673         * libs/gst/controller/gstcontroller.h:
19674         * libs/gst/controller/gstinterpolation.c:
19675         (interpolate_none_get_enum_value_array):
19676           support controlling enums
19677
19678 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19679
19680         * gst/gstvalue.c:
19681           Improve documentation for gst_value_union().
19682
19683         * gst/gstvalue.h:
19684           Change return value for union, intersect and subtract functions
19685           from gint to gboolean.
19686
19687 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19688
19689         * gst/gstvalue.c: (gst_value_serialize_any_list),
19690         (gst_value_transform_any_list_string),
19691         (gst_value_deserialize_list), (gst_value_deserialize_array),
19692         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19693         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19694         (gst_value_set_fraction_range_full),
19695         (gst_value_deserialize_fraction_range),
19696         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19697         (gst_value_deserialize_boolean),
19698         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19699         (gst_value_serialize_float), (gst_value_deserialize_float),
19700         (gst_string_wrap), (gst_value_deserialize_string),
19701         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19702         (gst_value_union_int_range_int_range),
19703         (gst_value_intersect_int_range_int_range),
19704         (gst_value_intersect_double_range_double_range),
19705         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19706         (gst_value_subtract_int_range_int_range),
19707         (gst_value_subtract_double_double_range),
19708         (gst_value_subtract_double_range_double_range),
19709         (gst_value_deserialize_fraction):
19710         * gst/gstvalue.h:
19711           Use gint, gdouble and gchar in our API instead of int, double and
19712           char (and make usage in gstvalue.c more consistent).
19713
19714 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19715
19716         * check/Makefile.am:
19717         * libs/gst/controller/Makefile.am:
19718         * libs/gst/dataprotocol/Makefile.am:
19719           fix up Makefile.am and remove GST_ENABLE_NEW
19720
19721 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19722
19723         * configure.ac:
19724         * gst/Makefile.am:
19725         * gst/base/Makefile.am:
19726         * gst/check/Makefile.am:
19727         * gst/elements/Makefile.am:
19728         * gst/net/Makefile.am:
19729           update LDFLAGS use some more
19730
19731 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19732
19733         * common/m4/gst-doc.m4:
19734           Fixes #312589
19735
19736 2005-11-26  Edward Hervey  <edward@fluendo.com>
19737
19738         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19739         This shouldn't issue a g_warning since it returns NULL if it
19740         couldn't find the plugin, and all functions using this behave
19741         properly on a NULL return. Switching to a GST_WARNING.
19742
19743 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19744
19745         * gst/gstbin.c: (gst_bin_handle_message_func):
19746         Don't leak clock messages.
19747
19748 2005-11-25  Wim Taymans  <wim@fluendo.com>
19749
19750         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19751         (gst_util_uint64_scale_int):
19752         Optimisations, remove unneeded vars.
19753
19754 2005-11-25  Wim Taymans  <wim@fluendo.com>
19755
19756         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19757         Added more checks for the high precision uint64 cases.
19758
19759         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19760         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19761         Implement high precision (guint64 * guint64) / guint64.
19762
19763 2005-11-24  Wim Taymans  <wim@fluendo.com>
19764
19765         * gst/base/gstbasesrc.c: (gst_base_src_query):
19766         Fix wrong percentage query.
19767
19768         * gst/gstutils.c: (gst_util_uint64_scale),
19769         (gst_util_uint64_scale_int):
19770         Add some more common cases that can be handled 
19771         efficiently to _scale.
19772
19773 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19774
19775         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19776         (gst_mini_object_suite):
19777           don't use check calls from threads; check probably isn't
19778           threadsafe and using a lock to make it threadsafe would
19779           defeat the purpose of this check
19780         * gst/check/gstcheck.c:
19781         * gst/check/gstcheck.h:
19782           use GST_DEBUG some more
19783
19784 2005-11-24  Wim Taymans  <wim@fluendo.com>
19785
19786         * gst/gstutils.c: (gst_util_uint64_scale),
19787         (gst_util_uint64_scale_int):
19788         Chain trivial case to _scale_int.
19789
19790 2005-11-24  Wim Taymans  <wim@fluendo.com>
19791
19792         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19793         Added test for scaling.
19794
19795         * gst/gstclock.h:
19796         Small doc fix.
19797
19798         * gst/gstutils.c: (gst_util_uint64_scale_int):
19799         Implemented high precision scaling code.
19800
19801 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
19802
19803         * gst/gstinfo.h:
19804           do not crash on pad==NULL
19805
19806 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19807
19808         Patch by: Stefan Kost
19809
19810         * common/gtk-doc.mak:
19811         * docs/gst/Makefile.am:
19812         * docs/libs/Makefile.am:
19813           Fix distcheck issues for the libraries docs build
19814           Closes #319599.
19815
19816 2005-11-24  Michael Smith <msmith@fluendo.com>
19817
19818         * docs/manual/basics-helloworld.xml:
19819           Fix bug #315027: memory leak in example code in docs.
19820
19821 2005-11-24  Michael Smith <msmith@fluendo.com>
19822
19823         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19824           Unlock the PREROLL_LOCK in a failure case.
19825
19826 2005-11-24  Wim Taymans  <wim@fluendo.com>
19827
19828         * docs/gst/gstreamer-sections.txt:
19829         * gst/base/gstadapter.h:
19830         * gst/base/gstbasesink.h:
19831         * gst/base/gstbasesrc.h:
19832         * gst/base/gstbasetransform.h:
19833         * gst/base/gstpushsrc.h:
19834         * gst/elements/gstfakesink.h:
19835         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19836         * gst/elements/gstfakesrc.h:
19837         * gst/elements/gstfilesink.h:
19838         * gst/elements/gstfilesrc.h:
19839         * gst/gst.c:
19840         * gst/gstbin.c:
19841         * gst/gstbuffer.c: (_gst_buffer_copy):
19842         * gst/gstbus.h:
19843         * gst/gstcaps.c:
19844         * gst/gstchildproxy.c:
19845         * gst/gstclock.c:
19846         * gst/gstelement.c:
19847         * gst/gstelementfactory.c:
19848         * gst/gstelementfactory.h:
19849         * gst/gstevent.c:
19850         * gst/gstghostpad.h:
19851         * gst/gstindex.h:
19852         * gst/gstinterface.h:
19853         * gst/gstminiobject.c:
19854         * gst/gstminiobject.h:
19855         * gst/gstpad.c:
19856         * gst/gstpad.h:
19857         * gst/gstpadtemplate.h:
19858         * gst/gstpipeline.h:
19859         * gst/gstpluginfeature.h:
19860         * gst/gstquery.h:
19861         * gst/gstqueue.h:
19862         * gst/gsttaglist.c:
19863         * gst/gsttaglist.h:
19864         * gst/gsttagsetter.c:
19865         * gst/gsttagsetter.h:
19866         * gst/gsttrace.c:
19867         * gst/gsttrace.h:
19868         * gst/gsttypefind.h:
19869         * gst/gsturi.h:
19870         * gst/gstvalue.c:
19871         * gst/net/gstnetclientclock.c:
19872         * gst/net/gstnetclientclock.h:
19873         * gst/net/gstnettimepacket.c:
19874         * gst/net/gstnettimeprovider.c:
19875         * gst/net/gstnettimeprovider.h:
19876         Doc fixes.
19877
19878 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19879
19880         * configure.ac: back to HEAD
19881
19882 === release 0.9.6 ===
19883
19884 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
19885
19886         * configure.ac:
19887           releasing 0.9.6, "Always On Time"
19888
19889 2005-11-23  Wim Taymans  <wim@fluendo.com>
19890
19891         * docs/gst/gstreamer-sections.txt:
19892         * gst/glib-compat.c:
19893         * gst/gsttagsetter.c:
19894         * gst/gstvalue.c:
19895         * gst/net/gstnetclientclock.c:
19896         * gst/net/gstnettimepacket.h:
19897         Doc updates.
19898
19899 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19900
19901         * docs/faq/using.xml:
19902         * docs/libs/tmpl/gstcontrol.sgml:
19903         * docs/manual/advanced-dparams.xml:
19904         * docs/manual/appendix-checklist.xml:
19905         * docs/manual/basics-elements.xml:
19906         * docs/pwg/other-source.xml:
19907         * docs/random/moving-plugins:
19908         * gst/gstpad.c:
19909         * tools/gst-launch.1.in:
19910           remove mentions of sinesrc
19911
19912 2005-11-23  Michael Smith <msmith@fluendo.com>
19913
19914         * docs/gst/gstreamer-sections.txt:
19915           Update for new API and API changes.
19916         * gst/gstobject.h:
19917           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19918         * gst/gstvalue.c:
19919           Documentation typo fix.
19920         * gst/net/gstnettimepacket.c:
19921           Documentation fixes for arguments.
19922
19923 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
19924
19925         * gst/gststructure.c: (gst_structure_get_fraction),
19926         (gst_structure_parse_value),
19927         (gst_structure_fixate_field_nearest_fraction):
19928         * gst/gststructure.h:
19929         * gst/gstutils.c: (gst_util_uint64_scale_int):
19930         * gst/gstutils.h:
19931         * scripts/update-funcnames:
19932         API Changes. 
19933         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19934         Make gst_structure_fixate_field_nearest_fraction take a numerator
19935         and denominator argument instead of a GValue
19936         add gst_structure_get_fraction helper function.
19937
19938 2005-11-23  Wim Taymans  <wim@fluendo.com>
19939
19940         * docs/design/part-TODO.txt:
19941         Update TODO.
19942
19943         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19944         * gst/net/gstnetclientclock.h:
19945         Use parent fields for timeout and window_size.
19946
19947 2005-11-23  Andy Wingo  <wingo@pobox.com>
19948
19949         * check/net/gstnetclientclock.c (test_functioning): Adjust to
19950         rate_num/rate_denom change.
19951
19952         * gst/net/gstnetclientclock.c
19953         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19954         OBJECT_LOCK. Don't call add_observation with the lock.
19955
19956         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19957         fraction.
19958         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19959         rate fraction.
19960         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19961         deal with rate as a fraction whose numerator and denominator are
19962         GstClockTime values.
19963         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19964         master; the other fields are protected by the SLAVE_LOCK.
19965         (do_linear_regression): Note that this must be called with the
19966         SLAVE_LOCK.
19967         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19968         OBJECT_LOCK. Call set_calibration instead of touching the
19969         variables directly.
19970         (gst_clock_set_property, gst_clock_get_property): Protect
19971         master/slave parameters with the SLAVE_LOCK.
19972
19973         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19974         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19975         note that all of the instance variables that add_observation and
19976         the set_master functions use are protected by that lock and not
19977         the OBJECT_LOCK.
19978         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19979
19980         * gst/gstclock.c (gst_clock_add_observation): No longer requires
19981         the caller to take the object lock.
19982
19983 2005-11-23  Wim Taymans  <wim@fluendo.com>
19984
19985         * gst/gsterror.c: (_gst_core_errors_init):
19986         * gst/gsterror.h:
19987         Add error for clock stuff.
19988
19989         * gst/gstpipeline.c: (gst_pipeline_change_state),
19990         (gst_pipeline_set_clock):
19991         Post clock error when clock cannot be used in a pipeline.
19992
19993 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
19994
19995         * docs/gst/gstreamer-sections.txt:
19996           make two symbols from gstinfo private for the docs
19997         * gst/base/gstcollectpads.h:
19998         * gst/gstutils.c:
19999           fix doc typos, update docs
20000
20001 2005-11-22  Wim Taymans  <wim@fluendo.com>
20002
20003         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20004         (gst_base_sink_wait), (gst_base_sink_do_sync),
20005         (gst_base_sink_handle_event):
20006         * gst/base/gstbasesink.h:
20007         No need to store the clock, the parent element class already
20008         has it.
20009
20010         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20011         Updates for clock_set returning a gboolean
20012
20013         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20014         (gst_clock_id_wait_async), (gst_clock_class_init),
20015         (gst_clock_init), (gst_clock_finalize),
20016         (gst_clock_get_internal_time), (gst_clock_get_time),
20017         (gst_clock_slave_callback), (gst_clock_set_master),
20018         (gst_clock_get_master), (do_linear_regression),
20019         (gst_clock_add_observation), (gst_clock_set_property),
20020         (gst_clock_get_property):
20021         * gst/gstclock.h:
20022         Implement master/slave. When setting a clock as a slave, a
20023         periodic timeout is scheduled to sample master and slave times.
20024         Then the slave clock is recalibrated to match offset and rate
20025         of the master clock.
20026         Update logging a bit.
20027         Add flag so that a clock can state that is cannot be slaved to
20028         another clock.
20029
20030         * gst/gstelement.c: (gst_element_set_clock):
20031         * gst/gstelement.h:
20032         The set clock returns a gboolean for when an element cannot
20033         deal with the selected clock in the pipeline. 
20034
20035         * gst/gstpipeline.c: (gst_pipeline_change_state),
20036         (gst_pipeline_set_clock):
20037         * gst/gstpipeline.h:
20038         Handle the case where the selected clock cannot be set on
20039         the pipeline.
20040
20041         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20042         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20043         (gst_net_client_clock_set_property),
20044         (gst_net_client_clock_get_property),
20045         (gst_net_client_clock_observe_times):
20046         * gst/net/gstnetclientclock.h:
20047         Use regression code in GstClock parent, remove duplicated
20048         functionality.
20049
20050 2005-11-22  Michael Smith <msmith@fluendo.com>
20051
20052         * gst/gstutils.c: (gst_util_clock_time_scale):
20053         * gst/gstutils.h:
20054         * docs/gst/gstreamer-sections.txt:
20055           Rename method to have extra underscore.
20056
20057 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20058
20059         * gst/elements/Makefile.am:
20060         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20061         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20062         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20063         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20064         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20065         * gst/elements/gstfakesrc.h:
20066         * gst/gstqueue.c: (queue_leaky_get_type):
20067           correctly fix GEnumValues so that nick is the short lowercase
20068           dashed tag
20069         * tools/gst-inspect.c: (print_element_properties_info):
20070           also show the nick, since it's useful to use from parse_launch
20071           syntax
20072           Fixes #322139
20073
20074 2005-11-22  Michael Smith <msmith@fluendo.com>
20075
20076         * gst/gstutils.c: (gst_util_clocktime_scale):
20077         * gst/gstutils.h:
20078         * docs/gst/gstreamer-sections.txt:
20079           Add util method for scaling a clocktime by a fraction. Useful 
20080           implementation is left as an exercise for the reader.
20081
20082 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20083
20084         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20085         If needed, allocate storage in the destination value during
20086         collection.
20087
20088 2005-11-22  Edward Hervey  <edward@fluendo.com>
20089
20090         * docs/gst/gstreamer-sections.txt:
20091         * gst/Makefile.am:
20092         * gst/gst.h:
20093         * gst/gsturitype.c:
20094         * gst/gsturitype.h:
20095         * gst/gstutils.c: (gst_util_set_object_arg):
20096         * tools/gst-compprep.c: (main):
20097         * tools/gst-inspect.c: (print_element_properties_info):
20098         Removed GstURI, closes bug #321061
20099
20100 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20101
20102         * check/gst/gststructure.c: (GST_START_TEST):
20103         * gst/gststructure.c: (gst_structure_parse_value):
20104           Oops, broke automatic string type parsing.
20105           Add a test to catch it in future.
20106
20107 2005-11-22  Andy Wingo  <wingo@pobox.com>
20108
20109         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20110         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20111         Actually rename the function implementations. Grr.
20112
20113 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20114
20115         * check/gst/capslist.h:
20116           Comment test cases
20117         * check/gst/gststructure.c: (GST_START_TEST),
20118         (gst_structure_suite):
20119           Test automatic value type detection in gst_structure_from_string.
20120         * gst/gststructure.c: (gst_structure_parse_value):
20121           Add fraction as a type we try and guess automatically in
20122           caps/structure strings.
20123
20124 2005-11-22  Andy Wingo  <wingo@pobox.com>
20125
20126         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20127
20128         * gst/gsttagsetter.h:
20129         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20130         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20131         (gst_tag_setter_add_tag_valist)
20132         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20133         _add_values, _add_valist, and _add_valist_values. Since this is an
20134         interface the function suffixes should be more explicit so
20135         language binding don't end up with element.add_valist ->
20136         gst_tag_setter_add_valist, for example. Fixes #322069.
20137
20138 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20139
20140         * check/gst/gstcaps.c: (GST_START_TEST):
20141           Extend caps string tests to check that a caps to string
20142           conversion is reversible and produces the same caps.
20143
20144         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20145           Output "fraction" as the generic type fraction range, so caps
20146           serialisation and deserialisation works.
20147         * check/gst/capslist.h:
20148         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20149           Support 'MIN' and 'MAX' for deserialising fractions.
20150
20151 2005-11-22  Andy Wingo  <wingo@pobox.com>
20152
20153         * gst/gstevent.h (gst_event_new_new_segment)
20154         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20155         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20156         Renamed from *_newsegment, *_buffersize, *_notarget.
20157
20158         * scripts/update-funcnames: New script, performs the changes
20159         listed above.
20160
20161 2005-11-22  Wim Taymans  <wim@fluendo.com>
20162
20163         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20164         Make sure the GstFlowReturn is returned.
20165
20166         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20167         (gst_bus_add_signal_watch):
20168         * gst/gstbus.h:
20169         add gst_bus_add_signal_watch_full.
20170
20171         * gst/gstplugin.c: (gst_plugin_load_file):
20172         Small style cleanup.
20173
20174 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20175
20176         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20177           Block the fakesrc srcpad when we send an event, to avoid
20178           contention on the stream_lock causing random test failures.
20179
20180 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20181
20182         * check/gst/gstvalue.c: (GST_START_TEST):
20183         * gst/gstvalue.c: (gst_value_fraction_subtract):
20184           Fix subtraction.
20185
20186 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20187
20188         * gst/gst.h:
20189           include "gstchildproxy.h"
20190         * gst/gstchildproxy.h:
20191         * libs/gst/controller/gstcontroller.h:
20192           use G_GNUC_NULL_TERMINATED
20193
20194 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20195
20196         * check/gst/capslist.h:
20197         * check/gst/gstcaps.c: (GST_START_TEST):
20198         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20199         * gst/gststructure.c: (gst_structure_parse_range),
20200         (gst_structure_fixate_field_nearest_fraction):
20201         * gst/gststructure.h:
20202         * gst/gstvalue.c: (gst_value_init_fraction_range),
20203         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20204         (gst_value_collect_fraction_range),
20205         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20206         (gst_value_set_fraction_range_full),
20207         (gst_value_get_fraction_range_min),
20208         (gst_value_get_fraction_range_max),
20209         (gst_value_serialize_fraction_range),
20210         (gst_value_transform_fraction_range_string),
20211         (gst_value_compare_fraction_range),
20212         (gst_value_deserialize_fraction_range),
20213         (gst_value_intersect_fraction_fraction_range),
20214         (gst_value_intersect_fraction_range_fraction_range),
20215         (gst_value_subtract_fraction_fraction_range),
20216         (gst_value_subtract_fraction_range_fraction),
20217         (gst_value_subtract_fraction_range_fraction_range),
20218         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20219         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20220         (gst_value_transform_string_fraction), (_gst_value_initialize):
20221         * gst/gstvalue.h:
20222           Implement fraction ranges and extend GstFraction to support
20223           arithmetic subtraction, as well as deserialization from integer
20224           strings such as "100"
20225           Add a testsuite as for int and double range set operations
20226
20227 2005-11-21  Andy Wingo  <wingo@pobox.com>
20228
20229         * gst/gsttaglist.h: 
20230         * gst/gstcaps.h: 
20231         * gst/gststructure.h: Add glib-compat.h.
20232
20233 2005-11-21  Wim Taymans  <wim@fluendo.com>
20234
20235         * gst/gstbin.c: (gst_bin_change_state_func):
20236         Fix for #321595
20237
20238 2005-11-21  Wim Taymans  <wim@fluendo.com>
20239
20240         * gst/gstsegment.h:
20241         And add a nice define too.
20242
20243 2005-11-21  Wim Taymans  <wim@fluendo.com>
20244
20245         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20246         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20247         (gst_segment_set_duration), (gst_segment_set_last_stop),
20248         (gst_segment_set_seek), (gst_segment_set_newsegment),
20249         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20250         (gst_segment_clip):
20251         * gst/gstsegment.h:
20252         Make binding friendly.
20253
20254 2005-11-21  Andy Wingo  <wingo@pobox.com>
20255
20256         * gst/gsttagsetter.h: 
20257         * gst/gsttaglist.h: 
20258         * gst/gststructure.h: 
20259         * gst/gstcaps.h: 
20260         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20261         #319940.
20262
20263         * gst/gsterror.c (_gst_core_errors_init):
20264         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20265         category.
20266
20267         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20268         (noinst_HEADERS): noinst the -private.
20269
20270 2005-11-21  Michael Smith <msmith@fluendo.com>
20271
20272         * gst/gstplugin.h:
20273         * gst/gstregistry.h:
20274           Remove unimplemented declarations for which we can see no sensible
20275           use.
20276
20277 2005-11-21  Andy Wingo  <wingo@pobox.com>
20278
20279         * gst/gst.h: Include glib-compat.h.
20280
20281         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20282
20283         * gst/glib-compat.c: Include the public and the private header.
20284
20285         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20286
20287         * gst/gstvalue.c: 
20288         * gst/gstpad.c: 
20289         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20290
20291         * check/gst/gstevent.c (create_custom_events): Check that
20292         FLUSH_STOP is serialized.
20293
20294         * check/elements/identity.c (event_func): 
20295         * check/elements/fakesrc.c (event_func): No stream lock, the core
20296         takes it.
20297
20298         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20299         stream lock taking, yay.
20300
20301         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20302         ensure that core takes the stream lock.
20303
20304         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20305         lock name change.
20306
20307         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20308         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20309         it already. For the flush start we do take it though so we get the
20310         right preroll state change messages.
20311
20312         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20313         the stream lock here, the core does it for us.
20314
20315         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20316         GST_STREAM_GET_LOCK.
20317         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20318         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20319         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20320         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20321         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20322         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20323
20324         * gst/gstpad.c: Update for stream lock name change.
20325
20326         * gst/base/gstbasesink.c: Update for preroll lock name change.
20327
20328 2005-11-21  Wim Taymans  <wim@fluendo.com>
20329
20330         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20331         (gst_clock_get_master):
20332         * gst/gstclock.h:
20333         * gst/gstsystemclock.c: (gst_system_clock_init):
20334         Convert Clock flags to object flags.
20335         Added methods to manage master/slave clocks.
20336
20337 2005-11-21  Wim Taymans  <wim@fluendo.com>
20338
20339         * check/gst/gstsegment.c: (GST_START_TEST):
20340         * docs/design/part-TODO.txt:
20341         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20342         (gst_base_sink_event), (gst_base_sink_do_sync),
20343         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20344         (gst_base_sink_query), (gst_base_sink_change_state):
20345         * gst/base/gstbasesink.h:
20346         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20347         (gst_base_src_default_newsegment),
20348         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20349         (gst_base_src_get_range), (gst_base_src_loop),
20350         (gst_base_src_change_state):
20351         * gst/base/gstbasesrc.h:
20352         * gst/base/gstbasetransform.c:
20353         (gst_base_transform_prepare_output_buf),
20354         (gst_base_transform_event), (gst_base_transform_change_state):
20355         * gst/base/gstbasetransform.h:
20356         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20357         (gst_collect_pads_event):
20358         * gst/base/gstcollectpads.h:
20359         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20360         (gst_fake_src_create):
20361         * gst/elements/gstfakesrc.h:
20362         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20363         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20364         (gst_segment_set_last_stop), (gst_segment_set_seek),
20365         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20366         (gst_segment_to_running_time), (gst_segment_clip):
20367         * gst/gstsegment.h:
20368         More segment updates, replace code in plugins with segment
20369         helper functions.
20370
20371 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20372
20373         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20374         Don't ignore sscanf results
20375
20376 2005-11-21  Andy Wingo  <wingo@pobox.com>
20377
20378         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20379
20380         * *.h:
20381         * *.c: Ran scripts/update-macros. Oh yes.
20382
20383         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20384         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20385         GST_GET_LOCK, etc.
20386
20387         * scripts/update-macros: New script. Run it on your files to
20388         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20389         well.
20390
20391 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20392
20393         * docs/gst/Makefile.am:
20394         * docs/gst/gstreamer-docs.sgml:
20395         * docs/gst/gstreamer-sections.txt:
20396         * docs/gst/gstreamer.types:
20397         * gst/gstinfo.h:
20398           more docs fixes, add new api to the docs
20399
20400 2005-11-21  Andy Wingo  <wingo@pobox.com>
20401
20402         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20403         state_broadcast call.
20404
20405         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20406
20407 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20408
20409         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20410         function calls for arrays.
20411
20412 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20413
20414         * docs/random/ensonic/media-device-daemon.txt:
20415           wild idea, can this be done?
20416         * docs/gst/gstreamer-sections.txt:
20417         * gst/gsterror.h:
20418         * gst/gstfilter.c:
20419         * gst/gstfilter.h:
20420         * gst/gstplugin.h:
20421         * gst/gstpluginfeature.c:
20422         * gst/gsttrace.c:
20423         * gst/gstvalue.c:
20424         * gst/gstvalue.h:
20425           doc fixes and additions
20426
20427 2005-11-21  Andy Wingo  <wingo@pobox.com>
20428
20429         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20430         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20431         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20432         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20433         private to the basesrc implementation.
20434
20435         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20436         behalf of event function if necessary. It should no longer be
20437         necessary to take the stream lock in pad's event functions. Fixes
20438         #320299.
20439
20440 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20441         * docs/gst/gstreamer-sections.txt:
20442         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20443         (gst_structure_fixate_field_nearest_double),
20444         (gst_structure_fixate_field_boolean):
20445         * gst/gststructure.h:
20446         * win32/common/libgstreamer.def:
20447         * win32/gstreamer.def:
20448
20449         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20450         (#322027)
20451
20452 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20453
20454         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20455         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20456         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20457         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20458         (gst_fdsrc_uri_handler_init):
20459         * gst/elements/gstfdsrc.h:
20460           Port fd:// URI handler from 0.8 to fdsrc
20461
20462 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20463
20464         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20465         (gst_value_serialize_fourcc):
20466         * gst/gstvalue.h:
20467           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20468           consistent with our other format defines (#320324).
20469
20470 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20471
20472         * gst/gstvalue.c: (gst_value_is_fixed):
20473           Revert previous commit. Value lists are by definition
20474           not fixed, as they are a list of possible values.
20475
20476 2005-11-21  Andy Wingo  <wingo@pobox.com>
20477
20478         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20479         during the stable series if we need it. Fixes #319178.
20480
20481         * gst/gstevent.c (gst_event_new_filler): Removed.
20482
20483         * check/gst/gstevent.c: Update comment about filler events.
20484
20485 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20486
20487         * gst/gstvalue.c: (gst_value_is_fixed):
20488           Should handle both value arrays and value lists.
20489
20490 2005-11-21  Andy Wingo  <wingo@pobox.com>
20491
20492         patch by: Alessandro Dessina <alessandro nnva org>
20493
20494         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20495         functions to access arrays. Fixes #321962.
20496
20497 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20498
20499         * docs/gst/gstreamer.types:
20500           gst_collectpads_get_type => gst_collect_pads_get_type.
20501           
20502         * gst/base/gstbasetransform.c:
20503           Remove unused SIGNAL_HANDOFF enum.
20504
20505 2005-11-21  Andy Wingo  <wingo@pobox.com>
20506
20507         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20508         the event type (upstream, downstream, serialized). Renamed
20509         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20510         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20511         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20512
20513         * gst/gstevent.c: Update for new CUSTOM event names.
20514
20515         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20516
20517         * gst/gstevent.h:
20518         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20519         bug #319392.
20520
20521 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20522
20523         * docs/gst/gstreamer-sections.txt:
20524         * win32/common/libgstbase.def:
20525         * win32/libgstbase.def:
20526         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20527         (gst_collect_pads_class_init), (gst_collect_pads_init),
20528         (gst_collect_pads_finalize), (gst_collect_pads_new),
20529         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20530         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20531         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20532         (gst_collect_pads_start), (gst_collect_pads_stop),
20533         (gst_collect_pads_peek), (gst_collect_pads_pop),
20534         (gst_collect_pads_available), (gst_collect_pads_read),
20535         (gst_collect_pads_flush), (gst_collect_pads_event),
20536         (gst_collect_pads_chain):
20537         * gst/base/gstcollectpads.h:
20538           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20539           unimplemented functions as unimplemented. Add padding to
20540           GstCollectData. (#320766, #320423)
20541
20542 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20543
20544         * gst/gstmessage.c:
20545           Improve docs for DURATION message (usage of duration parameter)
20546           (#320113)
20547
20548 2005-11-20  Wim Taymans  <wim@fluendo.com>
20549
20550         * check/Makefile.am:
20551         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20552         (main):
20553         * gst/Makefile.am:
20554         * gst/gst.h:
20555         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20556         (gst_segment_set_seek), (gst_segment_set_newsegment),
20557         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20558         (gst_segment_clip):
20559         * gst/gstsegment.h:
20560         Added segment helper structure and methods. Not fully implemented
20561         yet.
20562         Added segment check.
20563
20564 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20565
20566         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20567           Add a deserialisation test for fractions
20568         * examples/metadata/read-metadata.c: (message_loop),
20569         (make_pipeline), (main):
20570           Fix up metadata reading sample.
20571         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20572           Debug format fix
20573         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20574           Don't try and fixate empty caps
20575         * gst/gst_private.h:
20576           Wrap in G_BEGIN_DECLS/G_END_DECLS
20577         * gst/gstvalue.c: (gst_value_collect_fraction),
20578         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20579         (gst_value_transform_string_fraction),
20580         (gst_value_compare_fraction):
20581           Add some extra guards to ensure that we don't end up 
20582           with an invalid denominator of 0 in a gstfraction and
20583           that fractions always get reduced.
20584
20585 2005-11-20  Wim Taymans  <wim@fluendo.com>
20586
20587         * docs/gst/gstreamer-sections.txt:
20588         * gst/gstbuffer.h:
20589         * gst/gstelement.c:
20590         * gst/gstformat.c:
20591         * gst/gstformat.h:
20592         * gst/gstindex.h:
20593         * gst/gstquery.c:
20594         * gst/gstquery.h:
20595         * gst/gstvalue.c:
20596         Doc fixes.
20597
20598 2005-11-20  Wim Taymans  <wim@fluendo.com>
20599
20600         * docs/design/part-TODO.txt:
20601         * gst/gstcaps.h:
20602         Make a proper enum of the flag.
20603
20604 2005-11-19  Wim Taymans  <wim@fluendo.com>
20605
20606         * docs/design/part-TODO.txt:
20607         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20608         (gst_format_to_quark), (gst_format_register):
20609         * gst/gstformat.h:
20610         * gst/gstquery.c: (_gst_query_initialize),
20611         (gst_query_type_get_name), (gst_query_type_to_quark),
20612         (gst_query_type_register):
20613         * gst/gstquery.h:
20614         Add type to quark and type to string conversions.
20615
20616 2005-11-19  Andy Wingo  <wingo@pobox.com>
20617
20618         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20619         #320097.
20620
20621 2005-11-19  Wim Taymans  <wim@fluendo.com>
20622
20623         * docs/design/part-TODO.txt:
20624         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20625         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20626         (gst_bin_handle_message_func):
20627         * gst/gstbin.h:
20628         Make message handling overridable.
20629
20630 2005-11-19  Andy Wingo  <wingo@pobox.com>
20631
20632         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20633
20634         * gst/gstclock.h:
20635         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20636         be a GstClockTime.
20637         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20638         is a GstClockTime. Fixes #321710.
20639
20640         * gst/gstclock.h (GstClock): Remove offset property. Add
20641         internal_calibration and external_calibration. Fix padding. Pad
20642         also by GstClockTime so we don't run into problems.
20643
20644         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20645         (gst_clock_get_rate_offset): Remove.
20646         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20647
20648         * gst/gstutils.h:
20649         * gst/gstutils.c (g_static_rec_cond_wait)
20650         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20651
20652         * gst/gstbin.c: Remove terrible continue_state prototype.
20653
20654         * gst/gstelement.h (gst_element_continue_state): Make public.
20655
20656         * gst/gstelement.h:
20657         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20658         by continue_state. Fixes #319389.
20659
20660         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20661         Really fixes #168438. However I don't see anywhere where the
20662         filter function is called... stupid GStreamer...
20663         
20664         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20665         don't have a dispose function, so it won't get called when the
20666         object is unreffed, but oh well!
20667
20668         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20669         allows a destroy function to be set so user_data can be freed.
20670         Fixes #168438.
20671         (gst_index_set_filter): Call gst_index_set_filter_full.
20672
20673         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20674
20675         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20676         string should produce an error, given the lack of a way to
20677         represent NULL strings. Fixes #165650.
20678         
20679         * gst/gstvalue.h: 
20680         * gst/gstvalue.c (gst_value_array_append_value) 
20681         (gst_value_array_prepend_value, gst_value_array_get_size) 
20682         (gst_value_array_get_value): New API, copied from
20683         gst_value_list_*, only operates on arrays.
20684         (gst_value_list_append_value, gst_value_list_prepend_value) 
20685         (gst_value_list_concat, gst_value_list_get_size) 
20686         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20687
20688         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20689         init_list, because it works on both.
20690         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20691         (gst_value_copy_list_or_array): Renamed from copy_list.
20692         (gst_value_free_list_or_array): Renamed from free_list.
20693         (gst_value_collect_list_or_array): Renamed from collect_list.
20694         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20695         (gst_value_list_or_array_peek_pointer): Renamed from
20696         list_peek_pointer.
20697         (_gst_value_array_value_table, _gst_value_list_value_table):
20698         Update value table functions.
20699         (gst_value_compare_list_or_array): Renamed from compare_list.
20700
20701         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20702         some constness.
20703
20704         * gst/gsttaglist.c:
20705         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20706         GstTagList*. Fixes #143472.
20707
20708         * gst/gststructure.h: Clarify what the foreach/map functions can
20709         or can't do to their arguments.
20710
20711 2005-11-18  Wim Taymans  <wim@fluendo.com>
20712
20713         * gst/gstclock.c: (gst_clock_set_calibration),
20714         (gst_clock_get_calibration):
20715         Doc and API fixes.
20716         Calibration can be set with internal time equal to current
20717         internal time too.
20718
20719 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20720
20721         * gst/gsterror.c:
20722         * gst/gsterror.h:
20723           document
20724
20725 2005-11-18  Andy Wingo  <wingo@pobox.com>
20726
20727         * configure.ac: 
20728         * pkgconfig/gstreamer-net.pc.in:
20729         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20730         * pkgconfig/Makefile.am: Add net pkgconfig files.
20731
20732 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20733
20734         * gst/gstcaps.c:
20735         * gst/gstghostpad.c:
20736         * gst/gsttrace.c:
20737         * gst/gstvalue.c:
20738         * gst/gstvalue.h:
20739           docs fixes
20740
20741 2005-11-18  Andy Wingo  <wingo@pobox.com>
20742
20743         * gst/net/gstnetclientclock.c: Turn off debugging.
20744
20745         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20746         times connverge somewhat. Can't make a real test.
20747
20748         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20749         integer arithmetic. Return the minimum of the domain, which can be
20750         set as "internal" for gst_clock_set_calibration.
20751         (gst_net_client_clock_observe_times): Call _set_calibration.
20752         (gst_net_client_clock_new): Call _set_calibration instead of
20753         rate_offset.
20754
20755         * check/net/gstnetclientclock.c (test_functioning): Use the right
20756         adjustment api.
20757
20758         * gst/gstclock.h:
20759         * gst/gstclock.c (gst_clock_get_calibration) 
20760         (gst_clock_set_calibration): New functions, obsolete the ones I
20761         added yesterday. Doh. Precision issues mean we have to extrapolate
20762         from a point in the more recent past than 1970.
20763         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20764         obsolete.
20765         (gst_clock_adjust_unlocked): Use the right calibration data.
20766
20767 2005-11-18  Edward Hervey  <edward@fluendo.com>
20768
20769         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
20770         Also reset the ->current_* values in READY->PAUSED
20771
20772 2005-11-18  Andy Wingo  <wingo@pobox.com>
20773
20774         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20775         Whoops, check the right fd. Also add some debugging.
20776         (gst_net_client_clock_observe_times): Adjust for int64 offset.
20777         (do_linear_regression): Add a crapload of debugging. Subtract off
20778         the minimum values from the input series to discard unneeded bits.
20779         Use only int arithmetic. There is still double arithmetic when
20780         calculating the intercept that needs fixing. Return boolean to
20781         indicate success; FALSE would mean the domain or range is too
20782         great. Still needs fixes.
20783
20784 2005-11-18  Wim Taymans  <wim@fluendo.com>
20785
20786         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20787         For the current position in stream time, we need to subtract
20788         accumulated time.
20789         
20790         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20791         Release lock before calling the callback function of async
20792         entries.
20793
20794 2005-11-18  Andy Wingo  <wingo@pobox.com>
20795
20796         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20797         Port goes all the way to MAXUINT16.
20798
20799         * gst/net/gstnettimeprovider.c: Make the port range the same as
20800         for the kernel: 0 assigns, otherwise ports are less than
20801         MAXUINT16.
20802
20803         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20804         port change.
20805
20806         * check/net/gstnetclientclock.c (test_functioning): Add the start
20807         of another test. 
20808
20809 2005-11-18  Wim Taymans  <wim@fluendo.com>
20810
20811         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20812         (gst_bin_remove_func), (bin_bus_handler):
20813         * gst/gstbin.h:
20814         Removing a clock provider from a bin, triggers a clock lost message
20815         so that a new clock will be selected.
20816         Adding a clock to a bin triggers a clock provider message.
20817         Make sure we reselect a clock when we received a clock lost message.
20818         Keep a reference to the element that provided the clock.
20819
20820 2005-11-18  Andy Wingo  <wingo@pobox.com>
20821
20822         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20823         the clock initially so it produces values around the base time.
20824         (gst_net_client_clock_class_init): Typo fix.
20825         (gst_net_client_clock_thread): Add note on when the socket gets
20826         closed.
20827
20828 2005-11-17  Wim Taymans  <wim@fluendo.com>
20829
20830         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20831         Free remote and local time arrays.
20832
20833 2005-11-17  Wim Taymans  <wim@fluendo.com>
20834
20835         * gst/net/gstnetclientclock.c: (do_linear_regression),
20836         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20837         Fix compilation, uninitialized vars and a forgotten continue.
20838
20839 2005-11-17  Andy Wingo  <wingo@pobox.com>
20840
20841         * check/Makefile.am (check_PROGRAMS): 
20842         * check/net/gstnetclientclock.c: Add a most minimal test for the
20843         net client clock. More to come later.
20844
20845         * gst/net/gstnet.h: 
20846         * gst/net/Makefile.am: Add netclientclock.
20847
20848         * gst/net/gstnetclientclock.h:
20849         * gst/net/gstnetclientclock.c: New files, implement an untested
20850         GstClock that takes its time from a network time provider.
20851         Implements the algorithm in network-clock.scm.
20852
20853         * tests/network-clock.scm (*window-size*): Rename from
20854         *queue-length*.
20855         * tests/network-clock.scm (network-time): 
20856         * tests/network-clock-utils.scm (q-push): Update callers.
20857
20858 2005-11-17  Wim Taymans  <wim@fluendo.com>
20859
20860         * gst/gstbin.c: (gst_bin_provide_clock_func),
20861         (gst_bin_sort_iterator_new):
20862         And unref the child too..
20863
20864 2005-11-17  Wim Taymans  <wim@fluendo.com>
20865
20866         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20867         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20868         Refactor the sort iterator so it can be used while holding the
20869         LOCK too.
20870         Make clock selection select a clock closest to the source.
20871
20872 2005-11-17  Michael Smith <msmith@fluendo.com>
20873
20874         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20875         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20876         * gst/gstclock.h:
20877           Anonymous structs are a gcc (and some other compilers) extension, so
20878           don't use them. Since this is only for ABI-compatibility, and our
20879           API/ABI freeze is over in a few days, this whole thing will only
20880           last a few days, so don't bother trying to think up a meaningful
20881           name for the struct.
20882
20883 2005-11-17  Andy Wingo  <wingo@pobox.com>
20884
20885         * gst/gstclock.h (GstClock): Add rate and offset properties,
20886         preserving ABI stability. Add rate/offset accessors. Will file bug
20887         for the freeze break.
20888
20889         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20890         and offset, trying to keep precision and avoiding
20891         underflow/overflow.
20892         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20893         functions. Make gst_clock_set_time_adjust obsolete.
20894         (gst_clock_set_time_adjust): Note that this function is obsolete.
20895         Will file bug soon.
20896
20897         * gst/base/gstbasetransform.h: Make the ABI-stability hack
20898         greppable by using GST_PADDING-1+1.
20899
20900 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
20901
20902         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20903
20904         * gst/gstmessage.c: (gst_message_parse_clock_lost):
20905           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20906
20907         * gst/gstpadtemplate.h:
20908         * gst/gstpluginfeature.h:
20909           Don't use c++ style comments in headers (#321638).
20910
20911 2005-11-16  Andy Wingo  <wingo@pobox.com>
20912
20913         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20914         buffer.
20915
20916         * check/net/gstnettimeprovider.c: Check to see that the time
20917         provider actually provides times. Works, yo!
20918
20919 2005-11-16  Wim Taymans  <wim@fluendo.com>
20920
20921         * check/Makefile.am:
20922         Enable more tests.
20923
20924         * check/elements/fakesrc.c: (GST_START_TEST):
20925         Set element to NULL before disposing it.
20926
20927 2005-11-16  Andy Wingo  <wingo@pobox.com>
20928
20929         * gst/net/Makefile.am:
20930         * gst/net/gstnet.h:
20931         * gst/net/gstnettimeprovider.c: 
20932         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20933         provider, include it from gstnet.h, and add it to the build.
20934
20935         * gst/net/gstnettimepacket.h: 
20936         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20937         sending and receiving.
20938
20939 2005-11-16  Wim Taymans  <wim@fluendo.com>
20940
20941         * check/Makefile.am:
20942         Enable valgrind check.
20943
20944         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20945         (gst_fake_src_alloc_buffer):
20946         Fix memleak.
20947
20948 2005-11-16  Wim Taymans  <wim@fluendo.com>
20949
20950         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20951         Call parent finalize too.
20952
20953 2005-11-16  Wim Taymans  <wim@fluendo.com>
20954
20955         * check/Makefile.am:
20956         Enable valgrind check that should work fine now.
20957
20958         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20959         * gst/gstqueue.c: (gst_queue_init):
20960         Fix memleaks in pad allocation.
20961
20962 2005-11-16  Andy Wingo  <wingo@pobox.com>
20963
20964         * gst/net/Makefile.am:
20965         * gst/net/gstnet.h: New part of core to hold network elements and
20966         objects. Put in core because it exposes API that applications want
20967         to use. The library is named libgstnet-tempname right now because
20968         of the existing libgstnet in gst-plugins-base. Solution is
20969         probably to rename the one in plugins-base; will file a bug for
20970         the freeze break.
20971
20972         * gst/net/gstnettimeprovider.c: 
20973         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20974         get_time call over the network.
20975
20976         * configure.ac: 
20977         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20978
20979         * check/Makefile.am:
20980         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20981         get additions shortly.
20982
20983 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20984
20985         * gst/gstpad.c: (gst_pad_new_from_static_template):
20986         * gst/gstpad.h:
20987           add gst_pad_new_from_static_template functions
20988         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20989         (gst_check_setup_sink_pad):
20990         * gst/elements/gsttee.c: (gst_tee_init):
20991           and use them
20992
20993 2005-11-16  Wim Taymans  <wim@fluendo.com>
20994
20995         * gst/gstpad.c: (gst_pad_pause_task):
20996         Removed warning, it's not really an error either.
20997
20998 2005-11-16  Wim Taymans  <wim@fluendo.com>
20999
21000         * gst/base/gstbasetransform.c:
21001         (gst_base_transform_prepare_output_buf),
21002         (gst_base_transform_event):
21003         Check if the caps are NULL, this can happen if the element
21004         is shutting down and the pad caps are set to NULL.
21005
21006 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21007
21008         * gst/elements/gsttee.c: (gst_tee_init):
21009           fix pad template leak in tee
21010
21011 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21012
21013         * gst/glib-compat.c: (g_value_dup_gst_object):
21014         * gst/glib-compat.h:
21015         * gst/gstpad.c: (gst_pad_set_property):
21016           use gst_object_ref when setting the pad template; this will
21017           trigger the pad template leaks on GLib 2.6 and the slaves
21018
21019 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21020
21021         * gst/glib-compat.c: (gst_flags_get_first_value):
21022         * gst/glib-compat.h:
21023         * gst/gstregistryxml.c:
21024           remove functions copied from GLib 2.6
21025
21026 2005-11-16  Michael Smith <msmith@fluendo.com>
21027
21028         * gst/Makefile.am:
21029           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21030           do, but only breaks with newer valgrind versions. We're not a
21031           valgrind tool, we have no link-time dependencies on libcoregrind.
21032
21033 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21034
21035         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21036           some debug changes
21037         * gst/gstmessage.h:
21038           typo fixes
21039
21040 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21041
21042         * gst/base/gstbasesrc.c: (gst_base_src_init):
21043         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21044         * gst/gstqueue.c: (gst_queue_init):
21045         * gst/gstregistryxml.c: (load_feature):
21046           Revert all these unrefs, they don't even pass make check !
21047
21048 2005-11-15  Johan Dahlin  <johan@gnome.org>
21049
21050         * gst/base/gstbasesrc.c: (gst_base_src_init):
21051         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21052         * gst/gstqueue.c: (gst_queue_init): 
21053         Free pad templates, fixes a couple of leaks.
21054
21055 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21056
21057         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21058
21059         * gst/gstpad.c: (gst_pad_get_property):
21060           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21061           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21062           (#321452)
21063
21064 2005-11-15  Wim Taymans  <wim@fluendo.com>
21065
21066         * gst/gstevent.c:
21067         Small doc update.
21068
21069 2005-11-15  Andy Wingo  <wingo@pobox.com>
21070
21071         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21072
21073         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21074         using GST_CLOCK_TIME_NONE to disable base time management.
21075         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21076         time if it was NONE before.
21077         (gst_pipeline_change_state): Only munge the base time if
21078         stream_time != GST_CLOCK_TIME_NONE.
21079
21080         * check/gst/gstpipeline.c (test_base_time): Punt around the
21081         problem of the probe not being called, because that's not the
21082         issue I'm looking at. Add a check that setting stream_time to NONE
21083         disables base time management.
21084         
21085 2005-11-15  Wim Taymans  <wim@fluendo.com>
21086
21087         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21088         segment_stop == -1 at startup.
21089
21090         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21091         (gst_base_transform_change_state):
21092         Init segment values at start.
21093
21094 2005-11-15  Wim Taymans  <wim@fluendo.com>
21095
21096         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21097         0 segment values are 0 in any format.
21098
21099         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21100         * gst/base/gstbasetransform.h:
21101         Parse newsegment correctly in basetransform
21102
21103         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21104         Sync to clock using updated segment values.
21105
21106 2005-11-15  Andy Wingo  <wingo@pobox.com>
21107
21108         * check/gst/gstpipeline.c (test_base_time): Add check that the
21109         base time and stream time are reset correctly.
21110
21111 2005-11-15  Wim Taymans  <wim@fluendo.com>
21112
21113         * docs/design/part-TODO.txt:
21114         Some more TODO items.
21115
21116 2005-11-15  Andy Wingo  <wingo@pobox.com>
21117
21118         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21119         error if the user selected "no clock" as the clocking method.
21120
21121         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21122         timestamps with live capture.
21123
21124         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21125         is 0 but we are a live source, timestamp the buffers using the
21126         element's clock.
21127
21128 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21129
21130         * docs/gst/gstreamer-sections.txt:
21131         * gst/gsterror.c:
21132         * gst/gstghostpad.c:
21133         * gst/gstobject.h:
21134         * gst/gstxml.c:
21135           more section docs
21136
21137 2005-11-14  Wim Taymans  <wim@fluendo.com>
21138
21139         * common/gst.supp:
21140           add suppressions from Wim's Debian machine
21141
21142 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21143
21144         * common/gst.supp:
21145           add suppressions from Andy's AMD64 Ubuntu machine
21146
21147 2005-11-14  Andy Wingo  <wingo@pobox.com>
21148
21149         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21150         STATE_LOCK not necessary. Fixes #311489.
21151
21152         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21153         #305291.
21154
21155         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21156         this function is not implemented.
21157
21158 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21159
21160         * gst/base/gstbasetransform.c:
21161         (gst_base_transform_prepare_output_buf):
21162         Ref the source pad caps while we need them.
21163         Fixes (#321386)
21164
21165 2005-11-11  Wim Taymans  <wim@fluendo.com>
21166
21167         * docs/gst/gstreamer-sections.txt:
21168         Added some docs for GstCollectData.
21169
21170         * gst/base/gstadapter.c:
21171         Some small code example fix.
21172
21173         * gst/base/gstcollectpads.c:
21174         * gst/base/gstcollectpads.h:
21175         Document some more.
21176
21177 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21178
21179         * configure.ac: back to HEAD
21180
21181 === release 0.9.5 ===
21182
21183 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21184
21185         * configure.ac:
21186           releasing 0.9.5, "Bike Lunch Day"
21187
21188 2005-11-11  Wim Taymans  <wim@fluendo.com>
21189
21190         * gst/gstbuffer.c: (_gst_buffer_copy):
21191         Copy more flags.
21192
21193         * gst/gstcaps.c: (gst_caps_is_equal):
21194         Fix some docs.
21195         Make _is_equal fast in the trivial cases.
21196
21197         * gst/gstminiobject.c:
21198         * gst/gstminiobject.h:
21199         More docs. Spifify .h file.
21200
21201         * gst/gstutils.c:
21202         Small doc update.
21203
21204 2005-11-11  Wim Taymans  <wim@fluendo.com>
21205
21206         * gst/base/gstbasetransform.c:
21207         (gst_base_transform_prepare_output_buf),
21208         (gst_base_transform_handle_buffer):
21209         Small cleanups.
21210         If we're processing a buffer and need to allocate an output
21211         buffer, we cannot accept a format change. If we did get a 
21212         format change, we have to alloc a buffer ourselves of the 
21213         right size.
21214
21215 2005-11-11  Wim Taymans  <wim@fluendo.com>
21216
21217         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21218         While checking the flag for reentrancy in the gstcaps function
21219         is nice to detect recursive invocations, it also makes it 
21220         impossible to call getcaps from multiple threads, which must be
21221         possible. So, checking for recursive calls has to go.
21222
21223 2005-11-11  Michael Smith <msmith@fluendo.com>
21224
21225         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21226           Don't sync on buffers that fall partially outside our current
21227           segment. Prevents an assertion failure/abort playing some files.
21228
21229 2005-11-10  Andy Wingo  <wingo@pobox.com>
21230
21231         * check/gst/gstbin.c (test_message_state_changed_children): Style
21232         fix..
21233
21234         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21235         gst_bus_poll with the signal watch. Ensures that poll and a signal
21236         watch see the same messages.
21237
21238         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21239         a poll and a watch at the same time get the same messages.
21240
21241 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21242
21243         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21244         * gst/gstcaps.c: (gst_caps_intersect):
21245           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21246           and it's not needed.
21247
21248 2005-11-10  Wim Taymans  <wim@fluendo.com>
21249
21250         * docs/design/part-TODO.txt:
21251         Updated todo.
21252
21253 2005-11-10  Wim Taymans  <wim@fluendo.com>
21254
21255         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21256         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21257         (gst_base_src_do_sync), (gst_base_src_get_range):
21258         Implement clock sync in base class.
21259
21260 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21261
21262         patch by: Tim-Philipp Müller <tim at centricular dot net>
21263
21264         * gst/gststructure.c: (gst_structure_parse_field),
21265         (gst_structure_from_string):
21266           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21267           so that gst_parse_launch() can deal with spaces in filtered link
21268           caps (fixes #164479)
21269         * check/gst/capslist.h:
21270         * check/gst/gststructure.c: (GST_START_TEST):
21271           add unit tests for this change
21272
21273 2005-11-10  Wim Taymans  <wim@fluendo.com>
21274
21275         * docs/gst/gstreamer-sections.txt:
21276         * gst/gstelement.c:
21277         * gst/gstelement.h:
21278         Fix docs, move some STATE macros to private.
21279
21280 2005-11-10  Wim Taymans  <wim@fluendo.com>
21281
21282         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21283         Added check for bug #317341
21284
21285         * gst/gstbuffer.c:
21286         * gst/gstbuffer.h:
21287         Some more spiffifying.
21288
21289         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21290         Call peer linkfunction if we are a source pad. Totally fixes
21291         #317341
21292
21293         * gst/gstpad.c:
21294         Update docs, source pads should call the peer linkfunction
21295         so they can atomically perform the pad link.
21296
21297 2005-11-09  Wim Taymans  <wim@fluendo.com>
21298
21299         * gst/gstbuffer.c:
21300         * gst/gstbuffer.h:
21301         Uber-spiffy-spiffify some more.
21302
21303 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21304
21305         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21306         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21307         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21308         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21309         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21310         * gst/gstpad.c: (gst_pad_init):
21311           Use GST_DEBUG_FUNCPTR() more extensively.
21312
21313 2005-11-09  Wim Taymans  <wim@fluendo.com>
21314
21315         * gst/gstobject.c: (gst_object_class_init):
21316         * gst/gstobject.h:
21317         Documentation fixes.
21318
21319 2005-11-09  Edward Hervey  <edward@fluendo.com>
21320
21321         * gst/gsttypefindfactory.c:
21322         Fix docs.
21323         
21324 2005-11-09  Edward Hervey  <edward@fluendo.com>
21325
21326         * gst/base/gsttypefindhelper.c:
21327         * gst/gsttypefind.c:
21328         * gst/gsttypefind.h:
21329         Fix docs.
21330
21331 2005-11-09  Wim Taymans  <wim@fluendo.com>
21332
21333         * gst/gstiterator.c:
21334         Fix revision data.
21335
21336         * gst/gsttask.c:
21337         * gst/gsttask.h:
21338         Fix docs.
21339
21340 2005-11-09  Wim Taymans  <wim@fluendo.com>
21341
21342         * gst/gstevent.h:
21343         * gst/gsturi.h:
21344         Fix docs.
21345
21346 2005-11-09  Wim Taymans  <wim@fluendo.com>
21347
21348         * docs/gst/gstreamer-sections.txt:
21349         Moved the message async delivery private lock and cond
21350         to the private section.
21351
21352         * gst/gstmessage.c:
21353         * gst/gstmessage.h:
21354         Fixed docs.
21355
21356 2005-11-09  Edward Hervey  <edward@fluendo.com>
21357
21358         * docs/gst/gstreamer-sections.txt:
21359         * gst/gsturi.c:
21360         * gst/gsturi.h:
21361         Document GstURIHandler
21362
21363 2005-11-09  Wim Taymans  <wim@fluendo.com>
21364
21365         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21366         (gst_iterator_find_custom):
21367         * gst/gstiterator.h:
21368         Fix iterator docs.
21369
21370 2005-11-09  Wim Taymans  <wim@fluendo.com>
21371
21372         * gst/gstbin.h:
21373         Document another field.
21374
21375         * gst/gststructure.c:
21376         * gst/gststructure.h:
21377         Document.
21378
21379 2005-11-09  Wim Taymans  <wim@fluendo.com>
21380
21381         * gst/gstbin.h:
21382         Documented structs.
21383
21384 2005-11-09  Wim Taymans  <wim@fluendo.com>
21385
21386         * docs/gst/gstreamer-sections.txt:
21387         Added some new macros.
21388
21389         * gst/gstclock.c:
21390         * gst/gstclock.h:
21391         * gst/gstobject.h:
21392         Docs updates.
21393
21394 2005-11-09  Wim Taymans  <wim@fluendo.com>
21395
21396         * docs/design/part-TODO.txt:
21397         Some more items for the TODO
21398
21399         * gst/gstcaps.c:
21400         * gst/gstcaps.h:
21401         Document GstCaps.
21402
21403 2005-11-09  Andy Wingo  <wingo@pobox.com>
21404
21405         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21406         to work on something else now tho...
21407
21408         * gst/base/gstadapter.c: More adapter docs.
21409
21410         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21411         (gst_file_sink_stop): New functions, replace the state change
21412         handler.
21413         (gst_file_sink_class_init): Hook up the start and stop functions.
21414         (gst_file_sink_base_init): Don't set the state change handler any
21415         more. It was a bit ugly too, being set from here...
21416         (gst_file_sink_get_property, gst_file_sink_set_property):
21417         Cleanups...
21418         (gst_file_sink_set_location): More robust check that doesn't call
21419         GST_STATE. Ugggggg.
21420
21421 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21422
21423         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21424           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21425
21426 2005-11-08  Wim Taymans  <wim@fluendo.com>
21427
21428         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21429         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21430         (gst_base_sink_chain), (gst_base_sink_change_state):
21431         * gst/base/gstbasesink.h:
21432         * gst/base/gstbasesrc.h:
21433         * gst/gstelement.h:
21434         * gst/gstevent.h:
21435         Avoid excessive typechecking in macros.
21436
21437         * gst/gstminiobject.c: (gst_mini_object_get_type),
21438         (gst_mini_object_init), (gst_mini_object_new),
21439         (gst_mini_object_free):
21440         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21441         (gst_object_finalize):
21442         Remove cruft code, optimize alloc_trace.
21443
21444 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21445
21446         * docs/faq/gst-uninstalled:
21447           fix up PS1 for systems that try to reset it
21448
21449 2005-11-07  Wim Taymans  <wim@fluendo.com>
21450
21451         * gst/base/gstbasesrc.c: (gst_base_src_init),
21452         (gst_base_src_get_range):
21453         Set the segment_end to -1 initially. Fixed typefind.
21454
21455 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21456
21457         * gst/base/gstadapter.c:
21458           Debug category should be 'adapter', not 'GstAdapter'.
21459           
21460         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21461         (gst_collectpads_class_init), (gst_collectpads_init),
21462         (gst_collectpads_peek), (gst_collectpads_pop),
21463         (gst_collectpads_event), (gst_collectpads_chain):
21464           Add debug category and some debugging output. Use boilerplate
21465           macros. Remove some extraneous words from docs.
21466
21467 2005-11-05  Andy Wingo  <wingo@pobox.com>
21468
21469         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21470         macro.
21471
21472 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21473
21474         * docs/gst/gstreamer-sections.txt:
21475         * gst/gstcaps.h:
21476         * gst/gstinfo.c:
21477         * gst/gstminiobject.h:
21478         * gst/gstobject.h:
21479         * gst/gstutils.h:
21480           more docs added
21481
21482 2005-11-04  Wim Taymans  <wim@fluendo.com>
21483
21484         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21485         Small update to stop at the configured segment_end
21486         position.
21487
21488 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21489
21490         * gst/gstregistry.c:
21491         * gst/gstregistry.h:
21492           added missing docs
21493
21494 2005-11-04  Edward Hervey  <edward@fluendo.com>
21495
21496         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21497         Check if we are doing a segment seek and have arrived at the
21498         end of that segment.
21499
21500 2005-11-04  Wim Taymans  <wim@fluendo.com>
21501
21502         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21503         Don't leak a mutex unlock in case of an error.
21504
21505         * gst/gstbus.h:
21506         Doc fixes.
21507
21508 2005-11-04  Wim Taymans  <wim@fluendo.com>
21509
21510         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21511         (gst_bus_post):
21512         Get the context to wake up only once.
21513
21514 2005-11-03  Wim Taymans  <wim@fluendo.com>
21515
21516         * check/states/sinks.c: (GST_START_TEST):
21517         Uncomment fixed check.
21518
21519         * docs/design/part-TODO.txt:
21520         Updated TODO.
21521
21522         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21523         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21524         (gst_base_sink_get_position):
21525         If we are going to PLAYING, post the right pending state
21526         when we post the intermediate paused message.
21527
21528         * gst/gstelement.c: (gst_element_continue_state),
21529         (gst_element_set_state_func), (gst_element_change_state):
21530         Don't post state changes that were between the same state
21531         and were not ASYNC.
21532
21533 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21534
21535         * docs/gst/gstreamer-sections.txt:
21536         * gst/gstcaps.h:
21537         * gst/gstinfo.c:
21538         * gst/gstminiobject.h:
21539         * gst/gstobject.h:
21540         * gst/gstutils.h:
21541           more docs and doc style fixes
21542
21543 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21544
21545         * docs/gst/gstreamer-sections.txt:
21546         * gst/gstelement.c:
21547         * gst/gstminiobject.c:
21548         doc fixes
21549
21550 2005-11-03  Andy Wingo  <wingo@pobox.com>
21551
21552         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21553         state-changed messages actually have the right order and the right
21554         values.
21555
21556 2005-11-03  Wim Taymans  <wim@fluendo.com>
21557
21558         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21559         Added some more checks. Specifically the case where NO_PREROLL
21560         elements are in the pipeline.
21561
21562         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21563         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21564         (gst_base_sink_get_position):
21565         Post READY->PAUSED state change messages too.
21566         Fix bug where VOID was posted as pending state...
21567
21568         * gst/gstbin.c: (gst_bin_recalc_state):
21569         use _element_continue_state() to continue the state change.
21570
21571         * gst/gstelement.c: (gst_element_continue_state),
21572         (gst_element_commit_state), (gst_element_set_state_func),
21573         (gst_element_change_state), (gst_element_change_state_func):
21574         Lots of state change cleanups, assign the STATE_RETURN in
21575         a new continue_state() function that also propagates the
21576         last return value from a state change to the app.
21577         Update some debug statements with proper category.
21578
21579 2005-11-03  Wim Taymans  <wim@fluendo.com>
21580
21581         * docs/design/part-events.txt:
21582         * docs/design/part-gstpipeline.txt:
21583         * docs/design/part-messages.txt:
21584         * docs/design/part-overview.txt:
21585         * docs/design/part-seeking.txt:
21586         * docs/design/part-states.txt:
21587         * docs/design/part-trickmodes.txt:
21588         * docs/manual/advanced-position.xml:
21589         Small docs updates.
21590
21591         * gst/gstobject.h:
21592         People think !! is ugly, this looks better.
21593
21594         * gst/gstpad.c: (gst_pad_set_blocked_async):
21595         Remove !! since it's fixed elsewhere now.
21596
21597 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21598
21599         * gst/gstminiobject.h:
21600         * gst/gstobject.h:
21601           Add !! to _FLAG_IS_SET macros to make the result boolean.
21602
21603 2005-11-03  Edward Hervey  <edward@fluendo.com>
21604
21605         * gst/gstpad.c: (gst_pad_set_blocked_async):
21606         comparing a flag and a gboolean rarely returns coherent results...
21607         Added two characters (!!) to make that work correctly.
21608         
21609 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21610
21611         * gst/gstbus.c: (gst_bus_class_init):
21612           Fix some typos.
21613           
21614         * gst/gstqueue.c: (gst_queue_loop):
21615           Don't assume a miniobject that isn't a buffer is an
21616           event (it could be that there is a refcounting
21617           problem somewhere and the pointer is stale and
21618           refers to an already destroyed miniobject).
21619
21620 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21621
21622         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21623
21624 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21625
21626         * docs/manual/advanced-position.xml:
21627           Update seek example and explanations to current 0.9 API.
21628
21629         * gst/elements/gsttypefindelement.c:
21630         (gst_type_find_element_activate):
21631           Remove FIXME comment now that the found caps
21632           are unreffed.
21633
21634 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21635
21636         * gst/gstregistryxml.c: (load_feature):
21637           Add another GST_STR_NULL instance
21638
21639 2005-11-02  Edward Hervey  <edward@fluendo.com>
21640
21641         * gst/gstpad.c: (handle_pad_block):
21642         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21643         
21644 2005-11-02  Wim Taymans  <wim@fluendo.com>
21645
21646         * gst/gstbin.c:
21647         Fix typo in docs.
21648
21649         * gst/gstelement.c: (gst_element_commit_state):
21650         Remove unused value.
21651
21652         * gst/gstiterator.c:
21653         Mention that the returned element is reffed in the docs.
21654
21655 2005-11-02  Wim Taymans  <wim@fluendo.com>
21656
21657         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21658         (gst_pad_push), (gst_pad_push_event):
21659         Unlock blocked pads when they are flushed.
21660
21661 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21662
21663         * docs/README:
21664         * docs/gst/gstreamer-sections.txt:
21665         * gst/gstbin.c:
21666           doc updates
21667         * gst/gstregistry.c: (gst_registry_scan_path_level):
21668           fix for a nasty little missed situation where an installed plug-in
21669           which was in the cache did not get overridden by an uninstalled one
21670           which was earlier in the plugin path because the newly created plugin
21671           for the uninstalled one (not in the registry) didn't get its
21672           ->registered set to TRUE
21673
21674 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21675
21676         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21677         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21678         (gst_collectpads_is_active), (gst_collectpads_collect),
21679         (gst_collectpads_collect_range), (gst_collectpads_start),
21680         (gst_collectpads_stop), (gst_collectpads_peek),
21681         (gst_collectpads_pop), (gst_collectpads_available),
21682         (gst_collectpads_read), (gst_collectpads_flush):
21683           Guard public API with assertions.
21684         
21685         * gst/gstpad.c:
21686           Fix docs for gst_pad_set_link_function().
21687
21688 2005-11-02  Johan Dahlin  <johan@gnome.org>
21689
21690         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21691         Unref found_caps after we used it.
21692
21693 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21694
21695         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21696           Don't try to ref NULL.
21697
21698 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21699
21700         * win32/common/config.h.in:
21701           provide a GST_FUNCTION that just gives a string for now
21702
21703 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21704
21705         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21706         (gst_object_flags_get_type), (register_gst_bin_flags),
21707         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21708         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21709         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21710         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21711         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21712         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21713         (gst_clock_flags_get_type), (register_gst_state),
21714         (gst_state_get_type), (register_gst_state_change_return),
21715         (gst_state_change_return_get_type), (register_gst_state_change),
21716         (gst_state_change_get_type), (register_gst_element_flags),
21717         (gst_element_flags_get_type), (register_gst_core_error),
21718         (gst_core_error_get_type), (register_gst_library_error),
21719         (gst_library_error_get_type), (register_gst_resource_error),
21720         (gst_resource_error_get_type), (register_gst_stream_error),
21721         (gst_stream_error_get_type), (register_gst_event_type),
21722         (gst_event_type_get_type), (register_gst_seek_type),
21723         (gst_seek_type_get_type), (register_gst_seek_flags),
21724         (gst_seek_flags_get_type), (register_gst_format),
21725         (gst_format_get_type), (register_gst_index_certainty),
21726         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21727         (gst_index_entry_type_get_type),
21728         (register_gst_index_lookup_method),
21729         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21730         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21731         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21732         (gst_index_flags_get_type), (register_gst_debug_level),
21733         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21734         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21735         (gst_iterator_result_get_type), (register_gst_iterator_item),
21736         (gst_iterator_item_get_type), (register_gst_message_type),
21737         (gst_message_type_get_type), (register_gst_mini_object_flags),
21738         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21739         (gst_pad_link_return_get_type), (register_gst_flow_return),
21740         (gst_flow_return_get_type), (register_gst_activate_mode),
21741         (gst_activate_mode_get_type), (register_gst_pad_direction),
21742         (gst_pad_direction_get_type), (register_gst_pad_flags),
21743         (gst_pad_flags_get_type), (register_gst_pad_presence),
21744         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21745         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21746         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21747         (gst_plugin_error_get_type), (register_gst_plugin_flags),
21748         (gst_plugin_flags_get_type), (register_gst_rank),
21749         (gst_rank_get_type), (register_gst_query_type),
21750         (gst_query_type_get_type), (register_gst_tag_merge_mode),
21751         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21752         (gst_tag_flag_get_type), (register_gst_task_state),
21753         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21754         (gst_alloc_trace_flags_get_type),
21755         (register_gst_type_find_probability),
21756         (gst_type_find_probability_get_type), (register_gst_uri_type),
21757         (gst_uri_type_get_type), (register_gst_parse_error),
21758         (gst_parse_error_get_type):
21759         * win32/common/gstversion.h:
21760           update win32 copies
21761
21762 2005-11-01  Luca Ognibene  <luogni@tin.it>
21763
21764         * gst/gst.c:
21765           fix docs. popt is dead, long live GOption.
21766
21767 2005-10-31  Wim Taymans  <wim@fluendo.com>
21768
21769         * gst/gstbuffer.h:
21770         Small doc fix.
21771
21772 2005-10-31  Andy Wingo  <wingo@pobox.com>
21773
21774         * Boo!
21775
21776         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21777
21778         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21779         need to serialize property notifications on GLib 2.8. GLib 2.6 has
21780         the possibility of deadlocks here if code calling notify() or
21781         set() has a lock that can be taken in another notify handler (ABBA
21782         with class lock and e.g. python GIL state lock).
21783
21784 2005-10-28  Julien MOUTTE  <julien@moutte.net>
21785
21786         * gst/gstbus.c: Doc updates.
21787
21788 2005-10-28  Wim Taymans  <wim@fluendo.com>
21789
21790         * docs/design/part-TODO.txt:
21791         * gst/gstiterator.c:
21792         * gst/gstsystemclock.c:
21793         * gst/gstsystemclock.h:
21794         Doc updates.
21795
21796 2005-10-28  Edward Hervey  <edward@fluendo.com>
21797
21798         * docs/gst/gstreamer-docs.sgml:
21799         * docs/gst/gstreamer-sections.txt:
21800         the GstURIType documentation page is private, it only defines GstURIType
21801         which should be defined in the GstURIHandler page
21802         
21803 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21804
21805         * gst/gstbin.c: (gst_bin_class_init):
21806         * gst/gstbin.h:
21807         * gst/gstutils.c:
21808         Documentation updates.
21809
21810 2005-10-28  Wim Taymans  <wim@fluendo.com>
21811
21812         * docs/gst/gstreamer-sections.txt:
21813         * gst/gstclock.c:
21814         * gst/gstclock.h:
21815         Documented the clocks.
21816
21817 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
21818
21819         * docs/gst/gstreamer-sections.txt:
21820           move some macros to private sections
21821         * gst/gstminiobject.c:
21822         * gst/gstminiobject.h:
21823           add descriptions provided by ds and some more
21824         * gst/gstpad.h:
21825           mark macro as to be removed
21826
21827 2005-10-28  Wim Taymans  <wim@fluendo.com>
21828
21829         * docs/design/part-TODO.txt:
21830         Add an item to TODO.
21831
21832         * gst/gstiterator.c: (gst_iterator_fold),
21833         (gst_iterator_find_custom):
21834         * gst/gstiterator.h:
21835         Add iterator docs.
21836
21837 2005-10-28  Wim Taymans  <wim@fluendo.com>
21838
21839         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21840         (gst_base_transform_init):
21841         Don't leak class.
21842
21843         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21844         An EOS event marks the queue as completely filled.
21845
21846 2005-10-27  Wim Taymans  <wim@fluendo.com>
21847
21848         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21849         (gst_base_sink_do_sync), (gst_base_sink_get_position):
21850         Some more debugging.
21851
21852         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21853         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21854         (gst_base_transform_event), (gst_base_transform_getrange),
21855         (gst_base_transform_chain):
21856         * gst/base/gstbasetransform.h:
21857         Fix debugging,
21858         Protect transform and concurrent buffer alloc with a new lock.
21859         Try not to break ABI/API.
21860
21861 2005-10-27  Wim Taymans  <wim@fluendo.com>
21862
21863         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21864         (gst_base_src_init), (gst_base_src_query),
21865         (gst_base_src_default_newsegment),
21866         (gst_base_src_configure_segment), (gst_base_src_do_seek),
21867         (gst_base_src_send_event), (gst_base_src_event_handler),
21868         (gst_base_src_pad_get_range), (gst_base_src_loop),
21869         (gst_base_src_unlock), (gst_base_src_default_negotiate),
21870         (gst_base_src_start), (gst_base_src_deactivate),
21871         (gst_base_src_activate_push), (gst_base_src_change_state):
21872         Move some stuff around and cleanup things.
21873
21874 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
21875
21876         * gst/base/gstbasesrc.c: (gst_base_src_query):
21877           Add missing break statements.
21878
21879 2005-10-27  Wim Taymans  <wim@fluendo.com>
21880
21881         * check/gst/gstbin.c: (GST_START_TEST):
21882         An extra refcount is taken in basesrc.
21883
21884         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21885         (gst_base_src_get_range), (gst_base_src_pad_get_range),
21886         (gst_base_src_loop):
21887         Small cleanups, check for flushing after being unlocked from the 
21888         LIVE_LOCK. take refcounts correctly (not yet everywhere).
21889         Don't send out EOS when going to READY.
21890
21891 2005-10-27  Wim Taymans  <wim@fluendo.com>
21892
21893         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21894         (gst_base_sink_get_position):
21895         Some more debug.
21896
21897         * gst/gstbin.c: (message_check), (bin_replace_message),
21898         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21899         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21900         (bin_query_duration_init), (bin_query_duration_fold),
21901         (bin_query_duration_done), (bin_query_generic_fold),
21902         (gst_bin_query):
21903         * tools/gst-launch.c: (main):
21904         Remove old option.
21905
21906 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
21907
21908         * examples/controller/audio-example.c: (main):
21909         * examples/queue/queue.c: (event_loop):
21910         * gst/base/gstbasetransform.h:
21911         * gst/gstelement.c: (gst_element_send_event):
21912         * gst/gstevent.h:
21913         * gst/gstpad.c: (gst_pad_send_event):
21914           fixing examples
21915           fixing docs typos
21916           changing log priority in error situations
21917
21918 2005-10-25  Wim Taymans  <wim@fluendo.com>
21919
21920         * gst/gstbin.c: (message_check), (bin_replace_message),
21921         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21922         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21923         (bin_query_duration_init), (bin_query_duration_fold),
21924         (bin_query_duration_done), (bin_query_generic_fold),
21925         (gst_bin_query):
21926         Some doc and debug updates.
21927         Cache previously requested query DURATION for speed. invalidate
21928         cached duration if element posts a DURATION message.
21929
21930 2005-10-25  Wim Taymans  <wim@fluendo.com>
21931
21932         * docs/design/part-TODO.txt:
21933         Update TODO.
21934
21935         * gst/gstbin.c: (message_check), (bin_replace_message),
21936         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21937         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21938         (bin_query_duration_init), (bin_query_duration_fold),
21939         (bin_query_duration_done), (bin_query_generic_fold),
21940         (gst_bin_query):
21941         Handle SEGMENT_START/DONE messages correctly.
21942         More evolved query algorithm that handles duration queries
21943         correctly.
21944
21945         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21946         (gst_element_get_state_func), (gst_element_abort_state),
21947         (gst_element_commit_state), (gst_element_lost_state):
21948         Some more debugging.
21949
21950         * gst/gstmessage.h:
21951         Added doc.
21952
21953 2005-10-25  Wim Taymans  <wim@fluendo.com>
21954
21955         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21956         Don't use invalid stream_time.
21957
21958         * gst/gstevent.c: (gst_event_new_newsegment):
21959         stream_time in newsegment cannot be undefined.
21960
21961 2005-10-24  Wim Taymans  <wim@fluendo.com>
21962
21963         * gst/gstbus.c:
21964         Doc fix.
21965
21966         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21967         (gst_queue_loop):
21968         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21969
21970 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
21971
21972         * docs/libs/tmpl/gstdparam.sgml:
21973         * docs/libs/tmpl/gstdplinint.sgml:
21974         * docs/libs/tmpl/gstdpman.sgml:
21975         * docs/libs/tmpl/gstdpsmooth.sgml:
21976         * docs/libs/tmpl/gstunitconvert.sgml:
21977           these are obsolete
21978
21979 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21980
21981         * configure.ac:
21982           back to HEAD
21983
21984 === release 0.9.4 ===
21985
21986 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21987
21988         * configure.ac:
21989           releasing 0.9.4, "Tyrannosaurus Rex"
21990
21991 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
21992
21993         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21994         (gst_file_sink_get_current_offset):
21995           Use fseeko() and ftello() if available. When falling back on
21996           lseek() to get the current offset, fflush() first to make sure
21997           everything is up-to-date and we get the right offset.
21998
21999 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22000
22001         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22002         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22003         * gst/gsterror.c: (_gst_stream_errors_init):
22004         * gst/gsterror.h:
22005         * gst/gstqueue.c: (gst_queue_loop):
22006         * po/POTFILES.in:
22007           remove prematurely added error category and clean up the instances
22008
22009 2005-10-21  Wim Taymans  <wim@fluendo.com>
22010
22011         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22012         (gst_base_sink_get_position), (gst_base_sink_query),
22013         (gst_base_sink_change_state):
22014         Simply set the right flag when going to playing, that's all
22015         we need to do instead of calling a function inside the object
22016         lock (that could take the lock as well and deadlock)
22017
22018 2005-10-21  Wim Taymans  <wim@fluendo.com>
22019
22020         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22021         (gst_base_src_loop):
22022         Don't warn, the peer element knows what to do best when
22023         the seek failed, it might try something else.
22024
22025 2005-10-21  Wim Taymans  <wim@fluendo.com>
22026
22027         * gst/base/gstbasesrc.c: (gst_base_src_init),
22028         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22029         Fix seeking.
22030
22031 2005-10-21  Wim Taymans  <wim@fluendo.com>
22032
22033         * docs/design/part-segments.txt:
22034         More docs.
22035
22036         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22037         Correctly set caps, even on the subbufer.
22038
22039 2005-10-21  Wim Taymans  <wim@fluendo.com>
22040
22041         * docs/gst/gstreamer-docs.sgml:
22042         * docs/gst/gstreamer-sections.txt:
22043         * gst/gstelement.h:
22044         * gst/gstevent.c:
22045         * gst/gstevent.h:
22046         * gst/gstmessage.h:
22047         * gst/gstpad.h:
22048         * gst/gstparse.h:
22049         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22050         * gst/gsttask.h:
22051         * gst/gstutils.c:
22052         * gst/gstutils.h:
22053         And 2% more doc coverage.
22054
22055 2005-10-21  Andy Wingo  <wingo@pobox.com>
22056
22057         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22058         position reporting.
22059
22060 2005-10-20  Wim Taymans  <wim@fluendo.com>
22061
22062         * gst/gsterror.c: (gst_error_get_message):
22063         * gst/gstparse.h:
22064         * gst/gstquery.h:
22065         * gst/gststructure.c:
22066         * gst/gsttrace.c:
22067         * gst/gstutils.c:
22068         More docs.
22069
22070 2005-10-20  Wim Taymans  <wim@fluendo.com>
22071
22072         * gst/gstbuffer.h:
22073         * gst/gstpad.c:
22074         * gst/gstparse.c:
22075         Another 1% more coverage.
22076
22077 2005-10-20  Wim Taymans  <wim@fluendo.com>
22078
22079         * docs/gst/gstreamer-sections.txt:
22080         * gst/gstelement.c: (gst_element_get_state_func),
22081         (gst_element_abort_state), (gst_element_commit_state),
22082         (gst_element_lost_state):
22083         * gst/gstevent.h:
22084         * gst/gstquery.c: (gst_query_set_position),
22085         (gst_query_parse_position), (gst_query_set_duration),
22086         (gst_query_parse_duration), (gst_query_new_convert):
22087         * gst/gstutils.c:
22088         Yay! 1% more docs coverage.
22089
22090 2005-10-20  Wim Taymans  <wim@fluendo.com>
22091
22092         * gst/gstpad.h:
22093         * gst/gstquery.c: (gst_query_set_position),
22094         (gst_query_parse_position), (gst_query_set_duration),
22095         (gst_query_parse_duration), (gst_query_new_convert):
22096         * gst/gstquery.h:
22097         * gst/gstutils.c: (gst_element_query_convert):
22098         * gst/gstutils.h:
22099         Docs and consistency fixes.
22100
22101 2005-10-20  Wim Taymans  <wim@fluendo.com>
22102
22103         * gst/gsttask.c:
22104         * gst/gsttask.h:
22105         More docs.
22106
22107 2005-10-20  Wim Taymans  <wim@fluendo.com>
22108
22109         * gst/gstbin.c: (message_check), (bin_replace_message),
22110         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22111         (update_degree), (gst_bin_sort_iterator_next),
22112         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22113         Reworked the message handling a bit, cache the messages instead of
22114         only the senders. alows us to do more in the future.
22115
22116 2005-10-20  Wim Taymans  <wim@fluendo.com>
22117
22118         * docs/design/part-TODO.txt:
22119         Update TODO
22120
22121         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22122         (gst_base_sink_query):
22123         Don't use clock time to report position when in EOS.
22124
22125 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22126
22127         * tools/gst-inspect.c: (print_interfaces),
22128         (print_element_properties_info), (print_element_info):
22129           Fix interface output with gst-inspect -a; don't print
22130           newlines after double/float properties.
22131
22132 2005-10-20  Wim Taymans  <wim@fluendo.com>
22133
22134         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22135         (gst_base_sink_query):
22136         Speed up current position calculation.
22137
22138         * gst/base/gstbasesrc.c: (gst_base_src_query),
22139         (gst_base_src_default_newsegment):
22140         Correctly set stream position in newsegment.
22141
22142         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22143         (update_degree), (gst_bin_sort_iterator_next),
22144         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22145         * gst/gstmessage.c: (gst_message_new_custom):
22146         Clean up debugging info
22147
22148         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22149         (gst_queue_loop), (gst_queue_handle_src_query):
22150         Pause task faster.
22151
22152 2005-10-19  Wim Taymans  <wim@fluendo.com>
22153
22154         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22155         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22156         Fix query handling again.
22157
22158 2005-10-19  Wim Taymans  <wim@fluendo.com>
22159
22160         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22161         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22162         * gst/base/gstbasesrc.c: (gst_base_src_query):
22163         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22164         * gst/elements/gsttypefindelement.c:
22165         (gst_type_find_handle_src_query), (find_element_get_length),
22166         (gst_type_find_element_activate):
22167         API change fix.
22168
22169         * gst/gstquery.c: (gst_query_new_position),
22170         (gst_query_set_position), (gst_query_parse_position),
22171         (gst_query_new_duration), (gst_query_set_duration),
22172         (gst_query_parse_duration), (gst_query_set_segment),
22173         (gst_query_parse_segment):
22174         * gst/gstquery.h:
22175         Bundling query position/duration is not a good idea since duration
22176         does not change much and we don't want to recalculate it for every
22177         position query, so they are separated again..
22178         Base value in segment query is not needed.
22179
22180         * gst/gstqueue.c: (gst_queue_handle_src_query):
22181         * gst/gstutils.c: (gst_element_query_position),
22182         (gst_element_query_duration), (gst_pad_query_position),
22183         (gst_pad_query_duration):
22184         * gst/gstutils.h:
22185         Updates for query API change.
22186         Added some docs here and there.
22187
22188 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22189
22190         * check/gst/gstbin.c: (GST_START_TEST):
22191         * check/gst/gstghostpad.c: (GST_START_TEST):
22192         * check/pipelines/cleanup.c: (GST_START_TEST):
22193           wait on thread to die so we can check refcount correctly
22194
22195 2005-10-18  Wim Taymans  <wim@fluendo.com>
22196
22197         * check/pipelines/stress.c: (GST_START_TEST):
22198         Make check a little more time consuming.
22199
22200 2005-10-18  Wim Taymans  <wim@fluendo.com>
22201
22202         * check/Makefile.am:
22203         * check/pipelines/stress.c: (GST_START_TEST),
22204         (simple_launch_lines_suite), (main):
22205         Small state change torture test.
22206
22207         * docs/design/part-states.txt:
22208         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22209         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22210         (gst_base_sink_change_state):
22211         Never take state lock from streaming thread, clean up ugly
22212         hacks. Unfortunatly core does not yet support nice ways to
22213         async commit state.
22214         
22215         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22216         (bin_bus_handler):
22217         Start state recalc if a STATE_DIRTY message is posted, but only
22218         on the toplevel bin.
22219
22220         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22221         (gst_element_get_state_func), (gst_element_abort_state),
22222         (gst_element_commit_state), (gst_element_lost_state),
22223         (gst_element_set_state_func), (gst_element_change_state):
22224         * gst/gstelement.h:
22225         State variables are now protected with the LOCK, the state
22226         lock is only used to serialize _set_state().
22227
22228 2005-10-18  Wim Taymans  <wim@fluendo.com>
22229
22230         * check/gst/gstbin.c: (GST_START_TEST):
22231         * check/gst/gstmessage.c: (GST_START_TEST):
22232         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22233         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22234         (bin_bus_handler):
22235         * gst/gstelement.c: (gst_element_abort_state),
22236         (gst_element_commit_state), (gst_element_lost_state):
22237         * gst/gstmessage.c: (gst_message_new_state_changed),
22238         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22239         (gst_message_new_segment_done), (gst_message_new_duration),
22240         (gst_message_parse_state_changed),
22241         (gst_message_parse_segment_start),
22242         (gst_message_parse_segment_done), (gst_message_parse_duration):
22243         * gst/gstmessage.h:
22244         * tools/gst-launch.c: (event_loop):
22245         Seriously, this is better than a previous commit as we only need
22246         to notify the fact that an element changed state in a streaming
22247         thread, marking the state of the parents dirty, hence the 
22248         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22249         message.
22250
22251 2005-10-18  Wim Taymans  <wim@fluendo.com>
22252
22253         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22254         (gst_bin_recalc_func):
22255         * gst/gstelement.c: (gst_element_set_clock),
22256         (gst_element_abort_state), (gst_element_lost_state):
22257         Cleanups, prepare for state change fixes.
22258
22259 2005-10-18  Wim Taymans  <wim@fluendo.com>
22260
22261         * gst/gstbin.h:
22262         * gst/gstelement.c: (gst_element_class_init),
22263         (gst_element_set_state), (gst_element_set_state_func):
22264         * gst/gstelement.h:
22265         Pending ABI changes.
22266         GThreadPool in GstBinClass to monitor async state changes.
22267         state_cookie in GstElement to detect concurrent gst/set state.
22268         set_state is now virtual too in case a very complicated element
22269         has to be constructed.
22270
22271 2005-10-18  Wim Taymans  <wim@fluendo.com>
22272
22273         * check/gst/gstbin.c: (GST_START_TEST):
22274         * check/gst/gstmessage.c: (GST_START_TEST):
22275         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22276         * gst/gstbin.c: (bin_bus_handler):
22277         * gst/gstelement.c: (gst_element_commit_state),
22278         (gst_element_lost_state):
22279         * gst/gstmessage.c: (gst_message_new_state_changed),
22280         (gst_message_new_segment_start), (gst_message_new_segment_done),
22281         (gst_message_new_duration), (gst_message_parse_state_changed),
22282         (gst_message_parse_segment_start),
22283         (gst_message_parse_segment_done), (gst_message_parse_duration):
22284         * gst/gstmessage.h:
22285         * tools/gst-launch.c: (event_loop):
22286         Make messages future proof.
22287         state-change gets a flag if it was a message comming from the
22288         streaming thread.
22289         segment-start/stop can also be specified in other formats.
22290         A message to notify an app that a pipeline changed playback 
22291         duration.
22292         Also fix a GstMessage leak in -launch
22293
22294 2005-10-18  Andy Wingo  <wingo@pobox.com>
22295
22296         * gst/gstelement.c (gst_element_dispose): More helpful message.
22297
22298 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22299
22300         reviewed by: <delete if not using a buddy>
22301
22302         * common/gtk-doc.mak:
22303
22304 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22305
22306         * gst/gstregistry.c: (gst_registry_scan_path_level):
22307           unref a plug-in we get that was already initialized
22308
22309 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22310
22311         * docs/gst/gstreamer-sections.txt:
22312         * docs/libs/gstreamer-libs-sections.txt:
22313         * gst/gstelement.h:
22314           add new api entries
22315           hide internal macro
22316
22317 2005-10-17  Andy Wingo  <wingo@pobox.com>
22318
22319         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22320         cleanup.
22321
22322         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22323
22324         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22325
22326         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22327         (gst_element_get_state_func): Better debug message.
22328         (gst_element_commit_state): s/INFO/DEBUG/.
22329         (gst_element_lost_state, gst_element_change_state): 
22330
22331         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22332         (gst_message_new_custom): s/INFO/LOG/.
22333
22334 2005-10-17  Michael Smith <msmith@fluendo.com>
22335
22336         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22337           Check if end time is valid using end time, not start time.
22338
22339 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22340
22341         * check/gst-libs/controller.c: (GST_START_TEST),
22342         (gst_controller_suite):
22343         * libs/gst/controller/gstcontroller.c:
22344         (gst_controlled_property_set_interpolation_mode):
22345         * libs/gst/controller/gstcontroller.h:
22346         * libs/gst/controller/gstinterpolation.c:
22347         * testsuite/controller/.cvsignore:
22348         * testsuite/controller/Makefile.am:
22349         * testsuite/controller/interpolator.c:
22350           merge controller testsuites
22351           fix broken tests
22352           remove mem-chunk from docs
22353
22354 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22355
22356         * gst/gstmemchunk.c:
22357         * gst/gstmemchunk.h:
22358         * gst/gsttrashstack.c:
22359         * gst/gsttrashstack.h:
22360           out.  get out.  you're fired.  to the Attic !
22361
22362 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22363
22364         * gst/gstcaps.c: (gst_caps_intersect):
22365           fix signedness issues in a (hopefully) correct way
22366         * gst/gstelement.c: (gst_element_pads_activate):
22367           some debugging
22368         * gst/gstobject.c: (gst_object_set_parent):
22369           some debugging
22370
22371 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22372
22373         * gst/gstvalue.h: Fix prototypes.
22374
22375 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22376
22377         * docs/gst/gstreamer-sections.txt:
22378         * gst/gst.c: (gst_version_string):
22379         * gst/gst.h:
22380         * gst/gstversion.h.in:
22381         * win32/common/libgstreamer.def:
22382           add gst_version_string ()
22383
22384 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22385
22386         * configure.ac:
22387           clean up further
22388         * gst/gst.c: (init_post):
22389         * win32/common/config.h.in:
22390           it's PLUGINDIR now
22391         * gst/gstcaps.c: (gst_caps_intersect):
22392           use gint64, the range could be bigger than a guint
22393
22394 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22395
22396         * gst/gstclock.h:
22397           document potential problem in 2038
22398
22399 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22400
22401         * gst/gstcaps.c: (gst_caps_intersect):
22402           Fix guint j diving under 0
22403
22404 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22405
22406         * configure.ac:
22407         * win32/common/config.h:
22408         * win32/common/config.h.in:
22409           check for process.h, declares getpid() on Windows
22410         * gst/gstinfo.c:
22411           include process.h if we have it
22412         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22413         * gst/gstmemchunk.h:
22414           fix signedness issues
22415         * win32/common/libgstreamer.def:
22416           fix get_type's
22417
22418 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22419
22420         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22421         fix. Because of unsigned ints, caps intersection was going nuts and
22422         trying to access structures with G_MAXUINT index. That fixes
22423         videotestsrc ! ffmpegcolorspace ! fakesink
22424         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22425         consistency.
22426
22427 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22428
22429         * configure.ac:
22430           use the gettext macro
22431         * gst/elements/gstelements.c:
22432         * gst/gst.c:
22433         * gst/indexers/gstindexers.c:
22434           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22435         * win32/common/config.h:
22436           updated config.h
22437         * win32/common/config.h.in:
22438           add the template to generate config.h
22439         * win32/common/gstenumtypes.c:
22440         * win32/common/gstversion.h:
22441           updated copies
22442
22443 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22444
22445         * gst/gst.c: (gst_version):
22446         * gst/gstversion.h.in:
22447           add the nano
22448
22449 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22450
22451         * gst/gstevent.h:
22452           Oops, add missing closing bracket.
22453
22454 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22455
22456         * configure.ac:
22457           use common m4's for argument checking
22458
22459 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22460
22461         * docs/gst/gstreamer-sections.txt:
22462         * gst/gstevent.h:
22463           Add GST_EVENT_TYPE_NAME() macro.
22464
22465 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22466
22467         * gst/gstinfo.c:
22468         * gst/gstpluginfeature.c:
22469         * gst/gsttask.c:
22470           privatize more symbols
22471
22472 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22473
22474         * configure.ac:
22475           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22476           everything that uses GStreamer API should have the includes
22477
22478 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22479
22480         * docs/gst/gstreamer-sections.txt:
22481         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22482         * gst/gstvalue.h:
22483           give each value a _get_type, removes the DATA exports
22484
22485 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22486
22487         * gst/gst.c:
22488         * gst/gst.h:
22489           remove _gst_registry_auto_load, not used anymore
22490         * gst/gstbin.c: (gst_bin_get_type):
22491         * gst/gstbin.h:
22492         * gst/gstelement.c: (gst_element_get_type):
22493         * gst/gstelement.h:
22494         * gst/gstobject.c: (gst_object_get_type):
22495         * gst/gstobject.h:
22496         * gst/gstpad.c: (gst_pad_get_type):
22497         * gst/gstpad.h:
22498           make _get_type functions similar, fixes data export from library
22499
22500 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22501
22502         * configure.ac:
22503           correctly make conditionals
22504         * gst/elements/Makefile.am:
22505         * gst/elements/gstelements.c:
22506           fix typo causing fdsrc not to build
22507
22508 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22509
22510         * testsuite/Makefile.am:
22511         * testsuite/bytestream/.cvsignore:
22512         * testsuite/bytestream/Makefile.am:
22513         * testsuite/bytestream/filepadsink.c:
22514         * testsuite/bytestream/gstbstest.c:
22515         * testsuite/bytestream/test1.c:
22516         * testsuite/bytestream/testfile1:
22517         * testsuite/caps/normalisation.c:
22518         * testsuite/caps/random.c: (main):
22519         * testsuite/cleanup/.cvsignore:
22520         * testsuite/cleanup/Makefile.am:
22521         * testsuite/cleanup/cleanup1.c:
22522         * testsuite/cleanup/cleanup2.c:
22523         * testsuite/cleanup/cleanup3.c:
22524         * testsuite/cleanup/cleanup4.c:
22525         * testsuite/cleanup/cleanup5.c:
22526         * testsuite/controller/interpolator.c:
22527         * testsuite/debug/printf_extension.c: (main):
22528         * testsuite/elements/tee.c:
22529         * testsuite/negotiation/.cvsignore:
22530         * testsuite/negotiation/Makefile.am:
22531         * testsuite/negotiation/pad_link.c:
22532         * testsuite/pad/Makefile.am:
22533         * testsuite/pad/chainnopull.c:
22534         * testsuite/pad/getnopush.c:
22535         * testsuite/pad/link.c:
22536         * testsuite/refcounting/sched.c: (create_pipeline):
22537         * testsuite/registry/Makefile.am:
22538         * testsuite/registry/gst-print-formats.c:
22539         * testsuite/schedulers/.cvsignore:
22540         * testsuite/schedulers/142183-2.c:
22541         * testsuite/schedulers/142183.c:
22542         * testsuite/schedulers/143777-2.c:
22543         * testsuite/schedulers/143777.c:
22544         * testsuite/schedulers/147713.c:
22545         * testsuite/schedulers/147819.c:
22546         * testsuite/schedulers/147894-2.c:
22547         * testsuite/schedulers/147894.c:
22548         * testsuite/schedulers/Makefile.am:
22549         * testsuite/schedulers/group_link.c:
22550         * testsuite/schedulers/queue_link.c:
22551         * testsuite/schedulers/relink.c:
22552         * testsuite/schedulers/unlink.c:
22553         * testsuite/schedulers/unref.c:
22554         * testsuite/schedulers/useless_iteration.c:
22555         * testsuite/states/bin.c:
22556           clean out/remove some stuff from the testsuite directories
22557
22558 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22559
22560         * configure.ac:
22561           check for some headers
22562         * gst/elements/Makefile.am:
22563         * gst/elements/gstelements.c:
22564           don't compile fdsrc without sys/socket.h
22565         * gst/indexers/Makefile.am:
22566         * gst/indexers/gstindexers.c: (plugin_init):
22567           don't compile fileindex without mmap
22568
22569 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22570
22571         * configure.ac:
22572           reorganize
22573           clean up
22574           document more
22575           remove cruft
22576         * check/Makefile.am:
22577         * docs/gst/Makefile.am:
22578         * examples/helloworld/Makefile.am:
22579         * gst/Makefile.am:
22580         * gst/base/Makefile.am:
22581         * gst/check/Makefile.am:
22582         * gst/elements/Makefile.am:
22583         * gst/indexers/Makefile.am:
22584         * gst/parse/Makefile.am:
22585         * libs/gst/controller/Makefile.am:
22586         * libs/gst/dataprotocol/Makefile.am:
22587         * examples/helloworld/helloworld.c: (event_loop):
22588           compile fixes, though it's not being compiled currently
22589
22590 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22591
22592         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22593           Add some simple tests for the new taglist date API.
22594
22595 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22596
22597         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22598         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22599           Beautify 'last-message' output: print 'none' for buffer timestamps
22600           and durations if none is set; improve alignment with next messages.
22601
22602 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22603
22604         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22605         * gst/gstpluginfeature.h:
22606         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22607         * gst/gstregistry.h:
22608         * docs/gst/gstreamer-sections.txt:
22609           Add new API to check plugin feature version requirements.
22610
22611         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22612           Some basic tests for the above.         
22613
22614 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22615
22616         * gst/gststructure.c: (gst_structure_to_string):
22617           guard against NULL printf - happens when for example
22618           a message structure with GstClock gets serialized
22619
22620 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22621
22622         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22623           Fix presumable copy'n'pasto.
22624
22625 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22626
22627         * gst/elements/gstfakesrc.h:
22628         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22629         * gst/elements/gsttypefindelement.c:
22630           fix some signedness
22631         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22632           I wonder if this could actually write +2GB files before
22633
22634 2005-10-13  Andy Wingo  <wingo@pobox.com>
22635
22636         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22637         Fix Timmeke Waymans bug.
22638         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22639         string of the proper length to gst_caps_from_string. There's a
22640         potential for, before this fix, that this could cause someone
22641         connecting over the network to cause a segfault if the payload is
22642         not NUL-terminated.
22643
22644 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22645
22646         * docs/design/draft-push-pull.txt:
22647         * docs/design/part-overview.txt:
22648         * docs/random/TODO-pre-0.9:
22649         * docs/random/old/ChangeLog.gstreamer:
22650         * gst/base/gstpushsrc.c:
22651         * gst/gstclock.c:
22652           fixed typos
22653
22654 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22655
22656         * gst/glib-compat.c: (gst_flags_get_first_value):
22657         * gst/glib-compat.h:
22658         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22659         (gst_value_compare_double), (gst_value_serialize_flags):
22660           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22661           infinite loop
22662
22663 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22664
22665         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22666         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22667           fix up debugging
22668         * tools/gst-launch.c: (event_loop):
22669           print out clock nicely
22670
22671 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22672
22673         * docs/gst/gstreamer-sections.txt:
22674         * gst/gsttaglist.h:
22675         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22676         (gst_tag_list_get_date_index):
22677           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22678           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22679
22680 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22681
22682         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22683         (gst_collectpads_chain):
22684         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22685         in CollectData.
22686
22687 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22688
22689         * docs/gst/gstreamer-sections.txt:
22690         * gst/gst.c:
22691         * gst/gsterror.h:
22692         * tools/gst-inspect.c: (main):
22693         * tools/gst-launch.c: (main):
22694         * tools/gst-run.c: (main):
22695         * tools/gst-xmlinspect.c: (main):
22696           fix GOption context leaks
22697           doc fixes
22698
22699 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22700
22701         * gst/gstbus.c:
22702           use HAVE_UNISTD_H
22703         * win32/common/config.h:
22704           update config
22705         * win32/vs6/grammar.dsp:
22706         * win32/vs6/libgstelements.dsp:
22707         * win32/vs6/libgstreamer.dsp:
22708           update vs6 files
22709
22710 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22711
22712         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22713         * gst/base/gstbasesrc.c: (gst_base_src_query):
22714           fix more guint64<->gdouble conversions
22715
22716 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22717
22718         * Makefile.am:
22719           add win32-update target
22720         * win32/common/gstconfig.h:
22721         * win32/common/gstenumtypes.c:
22722         * win32/common/gstenumtypes.h:
22723         * win32/common/gstversion.h:
22724           add files that visual studio can't generate
22725
22726 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22727
22728         * Makefile.am:
22729           add a win32-update target
22730         * configure.ac:
22731
22732 2005-10-12  Wim Taymans  <wim@fluendo.com>
22733
22734         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22735         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22736         * gst/gstelement.c: (gst_element_commit_state),
22737         (gst_element_set_state):
22738         Protect flags with proper lock.
22739         unref provided cached clock in dispose.
22740
22741 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22742
22743         * gst/gst.c:
22744         * gst/gstminiobject.h:
22745         * gst/gstpad.h:
22746         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22747           removed unused flags from miniobject
22748           doc fixes
22749
22750 2005-10-12  Wim Taymans  <wim@fluendo.com>
22751
22752         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22753         (gst_file_sink_event), (gst_file_sink_render):
22754         Flush before seeking.
22755
22756 2005-10-12  Andy Wingo  <wingo@pobox.com>
22757
22758         * gst/gst.c (gst_init_check): Ignore unknown options, as has
22759         always been the case.
22760
22761 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22762
22763         * check/gst/gstbin.c: (GST_START_TEST):
22764         * docs/gst/gstreamer-sections.txt:
22765         * gst/base/gstbasesink.c: (gst_base_sink_init):
22766         * gst/base/gstbasesrc.c: (gst_base_src_init),
22767         (gst_base_src_get_range), (gst_base_src_check_get_range),
22768         (gst_base_src_start), (gst_base_src_stop):
22769         * gst/base/gstbasesrc.h:
22770         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22771         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22772         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22773         (bin_bus_handler):
22774         * gst/gstbin.h:
22775         * gst/gstbuffer.h:
22776         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22777         * gst/gstbus.h:
22778         * gst/gstelement.c: (gst_element_is_locked_state),
22779         (gst_element_set_locked_state), (gst_element_commit_state),
22780         (gst_element_set_state):
22781         * gst/gstelement.h:
22782         * gst/gstindex.c: (gst_index_init):
22783         * gst/gstindex.h:
22784         * gst/gstminiobject.h:
22785         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22786         (gst_object_set_parent):
22787         * gst/gstobject.h:
22788         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22789         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22790         * gst/gstpad.h:
22791         * gst/gstpadtemplate.h:
22792         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22793         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22794         * gst/gstpipeline.h:
22795         * gst/indexers/gstfileindex.c: (gst_file_index_load),
22796         (gst_file_index_commit):
22797         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22798         * testsuite/pad/link.c: (gst_test_src_init),
22799         (gst_test_filter_init), (gst_test_sink_init):
22800         * testsuite/states/locked.c: (main):
22801           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22802           moved bitshift from macro to enum definition
22803
22804 2005-10-12  Wim Taymans  <wim@fluendo.com>
22805
22806         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22807         * gst/elements/gstfilesink.c: (gst_file_sink_event),
22808         (gst_file_sink_render):
22809         Some more debugging info.
22810
22811 2005-10-12  Wim Taymans  <wim@fluendo.com>
22812
22813         * docs/design/part-states.txt:
22814         * tools/gst-launch.c: (main):
22815         Some doc updates.
22816         Revert non-intentional change.
22817
22818 2005-10-12  Wim Taymans  <wim@fluendo.com>
22819
22820         * check/gst/gstbin.c: (GST_START_TEST):
22821         * check/gst/gstelement.c: (GST_START_TEST):
22822         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22823         * check/gst/gstghostpad.c: (GST_START_TEST):
22824         * check/gst/gstpipeline.c: (GST_START_TEST):
22825         * check/pipelines/simple_launch_lines.c: (run_pipeline):
22826         * check/states/sinks.c: (GST_START_TEST):
22827         * gst/elements/gsttypefindelement.c: (stop_typefinding):
22828         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22829         (gst_bin_remove_func), (gst_bin_get_state_func),
22830         (gst_bin_recalc_state), (gst_bin_change_state_func),
22831         (bin_bus_handler):
22832         * gst/gstelement.c: (gst_element_get_state_func),
22833         (gst_element_get_state), (gst_element_abort_state),
22834         (gst_element_commit_state), (gst_element_set_state),
22835         (gst_element_change_state), (gst_element_change_state_func):
22836         * gst/gstelement.h:
22837         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22838         (gst_pipeline_provide_clock_func):
22839         * gst/gstutils.c: (gst_element_link_pads_filtered):
22840         * tools/gst-launch.c: (main):
22841         * tools/gst-typefind.c: (main):
22842         Use GstClockTime in _get_state() instead of GTimeVal.
22843         Remove old code in gstutils.c
22844
22845 2005-10-12  Andy Wingo  <wingo@pobox.com>
22846
22847         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22848         removed.
22849
22850         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22851         there is no task. Shouldn't affect any code, as nothing in our
22852         plugins checks this return value.
22853         (gst_pad_stop_task): Also take the stream lock if the pad has no
22854         task. Docs updated.
22855
22856 2005-10-12  Wim Taymans  <wim@fluendo.com>
22857
22858         * gst/gstpad.c: (pre_activate), (post_activate),
22859         (gst_pad_activate_pull), (gst_pad_activate_push):
22860         Cleanup activation code. Reset old state if
22861         activation failed.
22862
22863 2005-10-12  Wim Taymans  <wim@fluendo.com>
22864
22865         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22866         (gst_base_sink_change_state):
22867         No need to prerol after receiving EOS.
22868
22869         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22870         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22871         * gst/elements/gstidentity.c: (gst_identity_event):
22872         Print events more verbosely.
22873
22874 2005-10-12  Wim Taymans  <wim@fluendo.com>
22875
22876         * check/Makefile.am:
22877         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22878         * check/states/sinks2.c:
22879         Moved sinks2 testcode in sinks check.
22880
22881         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22882         (gst_bin_remove_func), (gst_bin_recalc_state),
22883         (gst_bin_change_state_func), (bin_bus_handler):
22884         Fix potential race condition when _get_state() iterated over an
22885         ASYNC element right before it posted a state completion.
22886
22887         * gst/gstclock.h:
22888         Do proper cast here.
22889
22890         * gst/gstevent.c: (gst_event_new_newsegment),
22891         (gst_event_parse_newsegment):
22892         A playback rate of 0.0 is not allowed.
22893
22894 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22895
22896         * win32/common/config.h:
22897         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22898         (_trewinddir), (_ttelldir), (_tseekdir):
22899         * win32/common/dirent.h:
22900         * win32/common/gtchar.h:
22901         * win32/common/libgstbase.def:
22902         * win32/common/libgstreamer.def:
22903         * win32/vs6/grammar.dsp:
22904         * win32/vs6/gst_inspect.dsp:
22905         * win32/vs6/gst_launch.dsp:
22906         * win32/vs6/gstreamer.dsw:
22907         * win32/vs6/libgstbase.dsp:
22908         * win32/vs6/libgstelements.dsp:
22909         * win32/vs6/libgstreamer.dsp:
22910           Visual Studio 6 project files, and a new common directory.
22911           Phear.
22912
22913 2005-10-11  Wim Taymans  <wim@fluendo.com>
22914
22915         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22916         (gst_base_sink_do_sync), (gst_base_sink_query),
22917         (gst_base_sink_change_state):
22918         * gst/base/gstbasesink.h:
22919         Correctly parse newsegment info.
22920
22921 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22922
22923         * gst/gst.c: (init_post):
22924           split plugin paths correctly
22925
22926 2005-10-11  Wim Taymans  <wim@fluendo.com>
22927
22928         * check/gst/gstevent.c: (GST_START_TEST):
22929         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22930         (gst_base_sink_change_state):
22931         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22932         * gst/base/gstbasetransform.c: (gst_base_transform_event):
22933         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22934         * gst/gstevent.c: (gst_event_new_newsegment),
22935         (gst_event_parse_newsegment):
22936         * gst/gstevent.h:
22937         Added extra flag to newsegment for future API freeze.
22938         Updated check and base elements.
22939
22940 2005-10-11  Julien MOUTTE  <julien@moutte.net>
22941
22942         * gst/base/gstcollectpads.c: (gst_collectpads_init),
22943         (gst_collectpads_add_pad), (gst_collectpads_pop),
22944         (gst_collectpads_event), (gst_collectpads_chain):
22945         * gst/base/gstcollectpads.h: Handle EOS correctly.
22946
22947 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22948
22949         * tools/gst-launch.c: (main):
22950           more null protecting
22951
22952 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22953
22954         * gst/gst-i18n-lib.h:
22955           check for ENABLE_NLS, not GETTEXT_PACKAGE
22956         * gst/gstregistry.c: (gst_registry_add_plugin),
22957         (gst_registry_scan_path_level),
22958         (_gst_registry_remove_cache_plugins):
22959           protect possibly NULL strings
22960         * gst/parse/types.h:
22961           config.h already included before
22962         * tools/gst-inspect.c: (main):
22963           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22964           check for ENABLE_NLS, not GETTEXT_PACKAGE
22965         * tools/gst-launch.c: (main):
22966           check for ENABLE_NLS, not GETTEXT_PACKAGE
22967
22968 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22969
22970         * configure.ac:
22971           if we don't have glib, fail before testing 2.8
22972         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22973           fix a leak, should fix plugins-base testsuite
22974
22975 2005-10-11  Andy Wingo  <wingo@pobox.com>
22976
22977         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22978         take the mode we're going to as an arg. Go head and set the mode
22979         and flushing flags now, so that if the activate function starts a
22980         thread all the flags will be in the right state.
22981         (post_activate): Renamed also. Just handle making sure streaming
22982         finishes for the deactivation case, and setting the deactivated
22983         mode.
22984         (gst_pad_set_active): Complain loudly if deactivation fails.
22985         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22986         (gst_pad_activate_push): Adapt to pre/post_activate changes,
22987         remove the terrible hack.
22988
22989 2005-10-11  Wim Taymans  <wim@fluendo.com>
22990
22991         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22992         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22993         (gst_bin_recalc_state), (gst_bin_change_state_func),
22994         (gst_bin_dispose), (bin_bus_handler):
22995         * gst/gstbin.h:
22996         Prepare to make current EOS message queue more generic.
22997         Fix some typos.
22998
22999         * gst/gstevent.c: (gst_event_new_newsegment),
23000         (gst_event_parse_newsegment):
23001         * gst/gstevent.h:
23002         Rename base to stream_time.
23003
23004         * gst/gstmessage.h:
23005         Fix typo in docs.
23006
23007 2005-10-11  Wim Taymans  <wim@fluendo.com>
23008
23009         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23010         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23011         (gst_bin_change_state_func), (bin_bus_handler):
23012         * gst/gstbin.h:
23013         Work on proper clock selection.
23014
23015 2005-10-11  Edward Hervey  <edward@fluendo.com>
23016
23017         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23018         * libs/gst/controller/gstcontroller.h:
23019         Added GList* version of _remove_properties() in order to be able to wrap
23020         it in bindings.
23021
23022 2005-10-11  Wim Taymans  <wim@fluendo.com>
23023
23024         * docs/design/part-states.txt:
23025         Some more docs.
23026
23027         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23028         (gst_bin_change_state_func), (bin_bus_handler):
23029         Doc updates. Don't distribute the same clock over and over again.
23030
23031         * gst/gstclock.c:
23032         * gst/gstclock.h:
23033         Doc updates.
23034
23035         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23036         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23037         (gst_pad_send_event):
23038         * gst/gstpad.h:
23039         Make probe emission threadsafe again.
23040         Register quarks and move _get_name() from utils.
23041         Doc updates.
23042
23043         * gst/gstpipeline.c: (gst_pipeline_class_init),
23044         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23045         Only redistribute the clock of it changed.
23046
23047         * gst/gstsystemclock.h:
23048         Doc updates. 
23049
23050         * gst/gstutils.c:
23051         * gst/gstutils.h:
23052         Moved the _flow_get_name() to GstPad.
23053
23054 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23055
23056         * check/gst-libs/gdp.c: (GST_START_TEST):
23057         * check/gst/gstcaps.c: (GST_START_TEST):
23058         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23059         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23060         (gst_dp_packet_from_caps):
23061           fix more valgrind warnings before turning up the heat
23062
23063 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23064
23065         * gst/parse/grammar.y:
23066           some cleanup before the hacking
23067
23068 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23069
23070         * gst/base/gstbasesrc.c: (gst_base_src_query):
23071           use conversions
23072         * gst/gstutils.c: (gst_guint64_to_gdouble),
23073         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23074         * gst/gstutils.h:
23075           externalize, basesrc uses it
23076           obviously the implementation needs testing
23077
23078 2005-10-10  Wim Taymans  <wim@fluendo.com>
23079
23080         * tests/sched/Makefile.am:
23081         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23082         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23083
23084 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23085
23086         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23087           apparently converting from guint64 to double is not implemented
23088           on MSVC
23089
23090 2005-10-10  Wim Taymans  <wim@fluendo.com>
23091
23092         * check/Makefile.am:
23093         * check/generic/states.c: (GST_START_TEST):
23094         * check/gst/gstbin.c: (GST_START_TEST):
23095         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23096         * check/states/sinks.c: (GST_START_TEST):
23097         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23098         (main):
23099         Check fixes, use API as stated in design docs, remove hacks.
23100
23101         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23102         (gst_base_sink_change_state):
23103         Catch stopping our task while we're shutting down.
23104
23105         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23106         (gst_bin_remove_func), (gst_bin_get_state_func),
23107         (gst_bin_recalc_state), (gst_bin_change_state_func),
23108         (bin_bus_handler):
23109         * gst/gstbin.h:
23110         * gst/gstelement.c: (gst_element_init),
23111         (gst_element_get_state_func), (gst_element_abort_state),
23112         (gst_element_commit_state), (gst_element_lost_state),
23113         (gst_element_set_state), (gst_element_change_state),
23114         (gst_element_change_state_func):
23115         * gst/gstelement.h:
23116         New state change algorithm (see #318116)
23117
23118         * gst/gstpipeline.c: (gst_pipeline_class_init),
23119         (gst_pipeline_init), (gst_pipeline_set_property),
23120         (gst_pipeline_get_property), (do_pipeline_seek),
23121         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23122         * gst/gstpipeline.h:
23123         Remove crude state change hacks.
23124
23125         * gst/gstutils.h:
23126         Remove crude hacks.
23127
23128         * tools/gst-launch.c: (main):
23129         Fixes for state change. Needs some more work to fully use the
23130         new stuff.
23131
23132 2005-10-10  Andy Wingo  <wingo@pobox.com>
23133
23134         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23135
23136         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23137         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23138         issue.
23139
23140 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23141
23142         * gst/gstiterator.c: (gst_iterator_new):
23143           Fix my previous commit: GTypes passed to gst_iterator_new()
23144           can be fundamental types.
23145
23146 2005-10-10  Wim Taymans  <wim@fluendo.com>
23147
23148         * gst/gstelement.c: (gst_element_iterate_pad_list),
23149         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23150         (gst_element_iterate_sink_pads):
23151         Use src/sink pads lists for the respective iterators instead
23152         of filtering.
23153
23154 2005-10-10  Andy Wingo  <wingo@pobox.com>
23155
23156         Merged in popt removal + GOption addition patch from Ronald, bug
23157         #169772.
23158
23159         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23160         GstElement macros around, remove popt-related symbols, add goption
23161         stuff.
23162
23163         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23164         
23165         * docs/gst/Makefile.am:
23166         * docs/libs/Makefile.am: No POPT_CFLAGS.
23167         
23168         * examples/manual/Makefile.am:
23169         * docs/manual/basics-init.xml: Doc updates with an example.
23170         
23171         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23172         (gst_init), (parse_one_option), (parse_goption_arg):
23173         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23174         bit of hand merging and debugging to get the GOption stuff working
23175         tho.
23176         
23177         * tests/Makefile.am:
23178         * tools/Makefile.am:
23179         * tools/gst-inspect.c: (main):
23180         * tools/gst-launch.c: (main):
23181         * tools/gst-run.c: (main):
23182         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23183
23184 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23185
23186         * gst/gstiterator.c: (gst_iterator_new):
23187           Add assertions to make sure passed GType is likely to really
23188           be a GType (as the compiler won't catch it if the size and
23189           GType arguments get mixed up, see #318447).
23190
23191 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23192
23193         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23194
23195         * gst/gstbin.c: (gst_bin_iterate_sorted):
23196           Pass GType and size arguments to gst_iterator_new() in the right
23197           order (maybe we should make _new() take the GType as first argument
23198           just like _new_list()?) (#318447).
23199           
23200
23201 2005-10-10  Wim Taymans  <wim@fluendo.com>
23202
23203         * gst/gstelement.c: (gst_element_finalize):
23204         And free the GStaticRecMutex too
23205
23206 2005-10-10  Andy Wingo  <wingo@pobox.com>
23207
23208         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23209         Allocate and free the mutex properly.
23210
23211         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23212         New macros.
23213         (GstElement): The state_lock is now recursive. Rebuild your
23214         plugins, suckers. Old macros adapted.
23215
23216         * docs/gst/gstreamer-sections.txt: Doc updates.
23217
23218         * gst/gstutils.h:
23219         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23220         (g_static_rec_cond_wait): Ported from state changes patch, while
23221         we wait on bug #317802 to be solved in a well-distributed GLib.
23222
23223         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23224         gst_element_change_state, variable name changes.
23225         (gst_element_change_state): Split out of gst_element_set_state in
23226         preparation for the state change merge. Doesn't pay attention to
23227         the 'transition' argument.
23228         (gst_element_set_state): Updates, hopefully purely cosmetic.
23229         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23230         state change patch.
23231         (gst_element_get_state_func): Renamed from get_state, cosmetic
23232         changes.
23233
23234 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23235
23236         * gst/elements/gstelements.c:
23237         * win32/GStreamer.vcproj:
23238         * win32/config.h:
23239         * win32/dirent.c: (_tseekdir):
23240         * win32/gst-inspect.vcproj:
23241         * win32/gst-launch.vcproj:
23242         * win32/gstconfig.h:
23243         * win32/gstelements.vcproj:
23244         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23245         * win32/gstreamer.def:
23246         * win32/msvc71.sln:
23247           updates for the win32 build (patch from Sebastien Moutte)
23248
23249 2005-10-10  Andy Wingo  <wingo@pobox.com>
23250
23251         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23252         gst_bin_get_state, cleaned up (but no logic changes).
23253         (bin_element_is_sink): Comment updates.
23254         (sink_iterator_filter): Remove needless cast.
23255         (gst_bin_iterate_sinks): Doc update.
23256         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23257         cleaned up (but no logic changes).
23258
23259         * check/states/sinks.c (test_src_sink): Cleanups from the state
23260         change patch.
23261         (test_livesrc_sink): Sync on the state.
23262
23263         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23264         the state change patch.
23265
23266         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23267         change patch.
23268
23269         * check/gst/gstbin.c: Merge in some style fixes and additional
23270         checks from Wim's state change patch.
23271
23272 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23273
23274         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23275         (gst_type_find_helper):
23276           Check whether we have the requested data already in our list of
23277           cached buffers before pulling a new buffer; also make the buffer
23278           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23279
23280 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23281
23282         * gst/gstcaps.c:
23283         * gst/gstevent.c:
23284           doc updates
23285         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23286           don't use long long, it's not portable.  Replacing with
23287           gint64 seems to work; let's hope no skeletons fall out of the closet.
23288
23289 2005-10-10  Andy Wingo  <wingo@pobox.com>
23290
23291         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23292
23293 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23294
23295         * docs/gst/gstreamer-sections.txt:
23296         * gst/gstevent.c:
23297         * gst/gstevent.h:
23298         * gst/gstinfo.c:
23299         * gst/gstinfo.h:
23300         * gst/gstmessage.c: (gst_message_parse_state_changed):
23301         * gst/gstpad.c:
23302         * gst/gstpad.h:
23303           more docs, fix compilation
23304
23305 2005-10-09  Philippe Khalaf <burger@speedy.org>
23306         * gst/gstmessage.c:
23307           Fixed a few forgotten variables on previous commit
23308
23309 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23310
23311         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23312           Fix evil typefind crasher: getrange() might return a short
23313           buffer at the end of a file, but gst_type_find_peek() must
23314           either return the full data as requested or NULL, but
23315           never a short buffer.
23316
23317 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23318
23319         * gst/gstmessage.c: (gst_message_new_state_changed),
23320         (gst_message_parse_state_changed):
23321         * gst/gstmessage.h:
23322           don't use "new", it's a C++ keyword
23323
23324 2005-10-08  Wim Taymans  <wim@fluendo.com>
23325
23326         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23327         * gst/gstelement.c: (gst_element_post_message):
23328         * gst/gstpipeline.c: (gst_pipeline_change_state):
23329         Small docs and debug updates.
23330
23331 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23332
23333         * docs/gst/gstreamer-sections.txt:
23334         * gst/gstelementfactory.c:
23335         * gst/gstevent.c:
23336         * gst/gsttaglist.c:
23337           more docs
23338
23339 2005-10-08  Wim Taymans  <wim@fluendo.com>
23340
23341         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23342         (gst_bin_dispose), (bin_bus_handler):
23343         Fix typos, add comments.
23344         Clear EOS list when going to PAUSED from any direction and do it
23345         in a threadsafe way.
23346         Get base time in a threadsafe way too.
23347         Fix confusing debug in the change_state function.
23348         Various other small cleanups.
23349         
23350         * gst/gstelement.c: (gst_element_post_message):
23351         Fix very verbose bus posting code.
23352
23353         * gst/gstpipeline.c: (gst_pipeline_class_init),
23354         (gst_pipeline_set_property), (gst_pipeline_get_property),
23355         (gst_pipeline_change_state):
23356         Small ARG_ -> PROP_ cleanup
23357
23358 2005-10-08  Wim Taymans  <wim@fluendo.com>
23359
23360         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23361         Do a less CPU demanding EOS check because we can.
23362
23363 2005-10-08  Wim Taymans  <wim@fluendo.com>
23364
23365         * libs/gst/dataprotocol/dataprotocol.c:
23366         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23367         (gst_dp_packet_from_event):
23368         * libs/gst/dataprotocol/dataprotocol.h:
23369         * libs/gst/dataprotocol/dp-private.h:
23370         It's about time we bump the version number.
23371         Since event types don't fit in the guint8 anymore describing
23372         the payload type, make payload type 16 bits wide.
23373
23374 2005-10-08  Wim Taymans  <wim@fluendo.com>
23375
23376         * docs/design/part-TODO.txt:
23377         * docs/design/part-clocks.txt:
23378         * docs/design/part-events.txt:
23379         * docs/design/part-gstbin.txt:
23380         * docs/design/part-gstelement.txt:
23381         * docs/design/part-gstpipeline.txt:
23382         * docs/design/part-live-source.txt:
23383         * docs/design/part-messages.txt:
23384         * docs/design/part-overview.txt:
23385         * docs/design/part-states.txt:
23386         Many doc updates.
23387
23388 2005-10-08  Wim Taymans  <wim@fluendo.com>
23389
23390         * gst/gstevent.c:
23391         * gst/gstevent.h:
23392         Fix event quark registration.
23393         Add some space between events so we can insert them in the
23394         right groups.
23395
23396 2005-10-08  Wim Taymans  <wim@fluendo.com>
23397
23398         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23399         (gst_base_sink_handle_buffer):
23400         Better log message.
23401
23402         * gst/gstbus.h:
23403         * gst/gstelement.h:
23404         More docs.
23405
23406         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23407         (gst_queue_set_property), (gst_queue_get_property):
23408         * gst/gstqueue.h:
23409         Remove old unused properties.
23410
23411 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23412         * docs/gst/gstreamer-sections.txt:
23413         * gst/gstmessage.c:
23414         * gst/gstmessage.h:
23415         * gst/gstminiobject.c:
23416         * gst/gstminiobject.h:
23417         * gst/gstobject.h:
23418         * gst/gstpad.h:
23419         * gst/gstutils.h:
23420           lots of new docs and doc fixes
23421
23422 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23423
23424         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23425         * gst/gstplugin.h:
23426         * gst/gstregistry.c: (gst_registry_lookup_locked),
23427         (gst_registry_scan_path_level):
23428         * gst/gstregistryxml.c: (load_plugin):
23429           Only ever load one plugin for a given plugin basename.
23430           This ensures correct overriding of GST_PLUGIN_PATH over
23431           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23432           system installed plugins.
23433
23434 2005-10-08  Wim Taymans  <wim@fluendo.com>
23435
23436         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23437         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23438         Prepare for doing QOS.
23439
23440 2005-10-08  Wim Taymans  <wim@fluendo.com>
23441
23442         * check/gst/gstbin.c: (GST_START_TEST):
23443         * check/pipelines/cleanup.c: (GST_START_TEST):
23444         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23445         Allow new clock message too.
23446
23447 2005-10-08  Wim Taymans  <wim@fluendo.com>
23448
23449         * gst/gstmessage.c: (gst_message_new_error),
23450         (gst_message_new_warning), (gst_message_new_tag),
23451         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23452         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23453         (gst_message_new_segment_start), (gst_message_new_segment_done),
23454         (gst_message_parse_state_changed),
23455         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23456         (gst_message_parse_new_clock):
23457         * gst/gstmessage.h:
23458         Also carry the clock in question.
23459
23460 2005-10-08  Wim Taymans  <wim@fluendo.com>
23461
23462         * gst/gstmessage.c: (gst_message_new_custom),
23463         (gst_message_new_eos), (gst_message_new_error),
23464         (gst_message_new_warning), (gst_message_new_tag),
23465         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23466         (gst_message_new_new_clock), (gst_message_new_segment_start),
23467         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23468         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23469         * gst/gstmessage.h:
23470         Clean up.
23471         Added clock related messages.
23472
23473         * gst/gstpipeline.c: (gst_pipeline_change_state):
23474         Post message when the clock changed.
23475
23476         * tools/gst-launch.c: (event_loop):
23477         Print new clock.
23478
23479 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23480
23481         * tools/gst-inspect.c: (print_element_properties_info):
23482           Can't pass NULL strings to g_print() on windows.
23483
23484 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23485
23486         * docs/Makefile.am:
23487         * docs/gst/Makefile.am:
23488         * docs/gst/gstreamer-docs.sgml:
23489         * docs/gst/running.xml:
23490         * docs/version.entities.in:
23491           add a chapter on running GStreamer.
23492           document GST_DEBUG and GST_PLUGIN* env vars
23493
23494 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23495
23496         * Makefile.am:
23497           remove include dir
23498         * configure.ac:
23499           remove PLUGINS_BUILDDIR stuff
23500         * gst/gst.c: (init_post):
23501           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23502         * idiottest.mak:
23503           remove, it was condescending and not needed
23504
23505 2005-10-08  Wim Taymans  <wim@fluendo.com>
23506
23507         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23508         (gst_base_sink_handle_object), (gst_base_sink_event),
23509         (gst_base_sink_wait), (gst_base_sink_handle_event),
23510         (gst_base_sink_change_state):
23511         * gst/base/gstbasesink.h:
23512         Repost EOS message while going to PLAYING if still EOS.
23513         Make sure that when receiving a FLUSH_START we don't attempt
23514         to sync on the clock anymore.
23515
23516 2005-10-08  Wim Taymans  <wim@fluendo.com>
23517
23518         * tools/gst-launch.c: (event_loop):
23519         Better message printout.
23520
23521 2005-10-08  Wim Taymans  <wim@fluendo.com>
23522
23523         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23524         (gst_bin_child_proxy_get_children_count):
23525         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23526         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23527         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23528         (gst_child_proxy_set_valist):
23529         * gst/parse/grammar.y:
23530         Make ChildProxy threadsafe and fix mem leaks.
23531
23532 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23533
23534         * gst/gst.c: (init_post):
23535           debug the GST_PLUGIN_ env vars
23536
23537 2005-10-08  Wim Taymans  <wim@fluendo.com>
23538
23539         * check/gst/gstbin.c: (GST_START_TEST):
23540         * check/gst/gstmessage.c: (GST_START_TEST):
23541         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23542         * gst/gstelement.c: (gst_element_commit_state),
23543         (gst_element_lost_state):
23544         * gst/gstmessage.c: (gst_message_new_state_changed),
23545         (gst_message_parse_state_changed):
23546         * gst/gstmessage.h:
23547         * tools/gst-launch.c: (event_loop):
23548         Added extra field to STATE_CHANGE message with the pending
23549         state, which will be different from the new state soon.
23550
23551 2005-10-08  Wim Taymans  <wim@fluendo.com>
23552
23553         * gst/gstbus.c: (gst_bus_pop):
23554         * gst/gstclock.c:
23555         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23556         Small cleanups and doc updates.
23557
23558 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23559
23560         * gst/gst.c: (init_pre):
23561         * gst/gstbin.c: (gst_bin_add_func):
23562           log distributing clocks and base time
23563         * gst/gstregistry.c: (gst_registry_add_plugin),
23564         (gst_registry_scan_path_level), (gst_registry_scan_path):
23565           clean up the debugging output a little
23566         * gst/gstutils.c: (gst_element_state_get_name):
23567           warn about a memleak (I've actually seen this be used, though
23568           it was probably a bug)
23569
23570 2005-10-07  Wim Taymans  <wim@fluendo.com>
23571
23572         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23573         (gst_base_src_init), (gst_base_src_default_newsegment),
23574         (gst_base_src_newsegment), (gst_base_src_do_seek),
23575         (gst_base_src_loop), (gst_base_src_start):
23576         * gst/base/gstbasesrc.h:
23577         Make the newsegment event customizable by subclasses.
23578
23579 2005-10-07  Wim Taymans  <wim@fluendo.com>
23580
23581         * gst/gstevent.c: (gst_event_new_buffersize),
23582         (gst_event_parse_buffersize):
23583         * gst/gstevent.h:
23584         New event for future idea.
23585
23586 2005-10-07  Andy Wingo  <wingo@pobox.com>
23587
23588         * gst/gstelement.c (gst_element_post_message): Doc update.
23589
23590         * docs/gst/gstreamer-sections.txt: Update.
23591
23592         * gst/gstmessage.c (gst_message_new_application): Made into a
23593         function like honest API calls.
23594         (gst_message_new_element): New message type.
23595
23596         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23597
23598         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23599         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23600         times.
23601
23602         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23603         NO_PREROLL from gst_element_change_state to fall through.
23604
23605 2005-10-07  Wim Taymans  <wim@fluendo.com>
23606
23607         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23608         (gst_ghost_pad_do_activate_push):
23609         Activating a ghostpad with no internal pad in push mode
23610         is ok.
23611
23612 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23613
23614         * gst/gstobject.h:
23615           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23616           Fixes compilation on Windows.
23617
23618 2005-10-07  Michael Smith <msmith@fluendo.com>
23619
23620         * tools/gst-inspect.c:
23621           Print out feature and plugin count at the end when printing out
23622           all features.
23623
23624 2005-10-04  Michael Smith <msmith@fluendo.com>
23625
23626         * gst/gsterror.c: (_gst_stream_errors_init):
23627           Add another error string used in a few existing plugins.
23628
23629         * gst/gstplugin.c:
23630         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23631         * tools/gst-inspect.c: (print_element_info):
23632           When a feature disappears from a plugin (and the feature exists in
23633           the cached registry file), things went horribly wrong. This isn't a
23634           complete fix, we should actually be removing the 'missing' features
23635           from the features list when we load the actual plugin. That's not
23636           yet implemented. 
23637
23638 2005-10-04  Johan Dahlin  <johan@gnome.org>
23639
23640         * check/gst/gstiterator.c: (GST_START_TEST):
23641         * gst/gstbin.c: (gst_bin_iterate_elements),
23642         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23643         * gst/gstelement.c: (gst_element_iterate_pads):
23644         * gst/gstformat.c: (gst_format_iterate_definitions):
23645         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23646         (gst_iterator_new_list), (gst_iterator_filter):
23647         * gst/gstiterator.h:
23648         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23649         Add a GType to GstIterator, update callsites and tests.
23650
23651 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23652
23653         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23654           give events a chance to be handled by event probes when the pad
23655           is not linked
23656
23657 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23658
23659         * gst/gstevent.c: (gst_event_type_get_name),
23660         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23661         * gst/gstevent.h:
23662           add string representations for event types
23663
23664 2005-10-06  Wim Taymans  <wim@fluendo.com>
23665
23666         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23667         Don't use NULL pointers.
23668
23669 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23670
23671         * gst/gst_private.h:
23672         * gst/gstbus.c:
23673         * gst/gstelement.c:
23674         * gst/gstinfo.c:
23675         * gst/gstpluginfeature.c:
23676           widen the debug category in output to fit the biggest one we have
23677           add a bus category and use it
23678           play with the colors
23679           fix up some categories
23680
23681 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23682
23683         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23684           add push activation of sink ghost pads.
23685           Andye, please verify
23686
23687 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23688
23689         * gst/gstutils.c: (gst_element_link_pads):
23690           fix a bug in the case where neither element has a pad
23691         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23692           add a test for that case
23693
23694 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23695
23696         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23697           emit have-data before checking for peers.  This allows
23698           for probe handlers to connect elements.  This helps autopluggers.
23699         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23700         (gst_pad_suite):
23701           add six checks, linked/unlinked with no/true/false probe
23702
23703 2005-10-04  Wim Taymans  <wim@fluendo.com>
23704
23705         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23706         (gst_fake_sink_event), (gst_fake_sink_preroll),
23707         (gst_fake_sink_render), (gst_fake_sink_change_state):
23708         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23709         (gst_fake_src_get_property), (gst_fake_src_create),
23710         (gst_fake_src_stop):
23711         * gst/elements/gstidentity.c: (gst_identity_stop):
23712         Protect last_message with lock.
23713
23714 2005-10-04  Edward Hervey  <edward@fluendo.com>
23715
23716         * gst/gstformat.h: 
23717         Added precision in the comments for GST_FORMAT_DEFAULT
23718
23719 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23720
23721         * tools/gst-launch.c: (main):
23722           Don't try to run erroneous pipelines.
23723
23724 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23725
23726         * gst/gstbus.c: We don't need this header.
23727
23728 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23729
23730         * configure.ac:
23731           back to development
23732
23733 === release 0.9.3 ===
23734
23735 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23736
23737         * README:
23738         * configure.ac:
23739           Releasing 0.9.3, "Unregistered"
23740
23741 2005-10-03  Andy Wingo  <wingo@pobox.com>
23742
23743         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23744         whereby calling a pad's activatepush() function can start a thread
23745         that starts to push or pull before the pad gets the FLUSHING flag
23746         unset. Hack around it by holding the stream lock until the flag is
23747         set. Need to replace this with a proper solution. Together with
23748         the ghost pad fixes, this fixes mp3 playing/tagreading.
23749
23750         * docs/design/part-gstghostpad.txt: Add a note about activation of
23751         proxy pads outside of ghost pads.
23752
23753         * gst/gstghostpad.c: Implement the ghost pad activation design.
23754
23755 2005-10-02  Andy Wingo  <wingo@pobox.com>
23756
23757         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23758         It is volatile, after all.
23759
23760         * docs/design/part-gstghostpad.txt: Flesh out activation with
23761         ghost pads.
23762
23763         * gst/base/gstbasesrc.c (gst_base_src_init): Use
23764         GST_DEBUG_FUNCPTR.
23765
23766 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
23767
23768         * configure.ac:
23769           Fix (unused) AM_CONDITIONAL tests.
23770
23771 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
23772
23773         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23774
23775         * gst/gstutils.c: (gst_pad_query_convert):
23776           Add assertion that makes sure src_val is >=0, just like
23777           gst_query_new_convert() has. (#315895)
23778
23779 2005-09-30  Edward Hervey  <edward@fluendo.com>
23780
23781         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23782         Let's not iterate pads we're not interested in, it avoids getting 
23783         sky-high refcounts on sinkpad.
23784
23785 2005-09-30  Wim Taymans  <wim@fluendo.com>
23786
23787         * gst/gstelement.c: (gst_element_set_state),
23788         (gst_element_change_state):
23789         Small tweak, element in ASYNC remains ASYNC.
23790
23791 2005-09-30  Wim Taymans  <wim@fluendo.com>
23792
23793         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23794         Only error is an error.
23795
23796         * gst/gstbin.c: (gst_bin_change_state):
23797         Better debugging.
23798
23799         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23800         Also call pad_block in pad alloc.
23801
23802         * gst/gstutils.c: (gst_flow_get_name):
23803         Better debugging.
23804
23805 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23806
23807         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23808         (gst_base_src_get_range):
23809           Fix documentation typos. Add some more debug info.
23810
23811 2005-09-29  David Schleef  <ds@schleef.org>
23812
23813         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23814           more end-user friendly.
23815         * tools/gst-inspect.c: (main): Check if command-line argument is
23816           a file and attempt to load that file as a plugin.
23817
23818 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23819
23820         * check/gst/gstbin.c:
23821         * check/states/sinks.c:
23822           fix tests for the new warning
23823         * check/gst/gstpipeline.c:
23824           add a test for pipeline and bus interaction
23825         * gst/gstelement.c:
23826           elements should be NULL if they get disposed; add a warning if not
23827
23828 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23829
23830         * gst/gstobject.c:
23831           for 2.6 refcounting, make debug log more correct by printing
23832           the actual refcounts at the time of swap (Wim)
23833
23834 2005-09-29  Andy Wingo  <wingo@pobox.com>
23835
23836         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23837         removes signal watches previously added via
23838         gst_bus_add_signal_watch.
23839         (gst_bus_add_signal_watch): Don't return the source id, just store
23840         it on the bus if there wasn't an id already.
23841
23842         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23843         add_signal_watch and remove_signal_watch.
23844
23845 2005-09-29  Edward Hervey  <edward@fluendo.com>
23846
23847         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
23848         Better if we actually iterate the list :)
23849
23850 2005-09-29  Wim Taymans  <wim@fluendo.com>
23851
23852         * check/gst/gstbin.c: (GST_START_TEST):
23853         Change for new bus API.
23854
23855         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23856         (send_messages), (GST_START_TEST), (gstbus_suite):
23857         Change for new bus signal API.
23858
23859         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23860         (gst_bus_source_prepare), (gst_bus_source_check),
23861         (gst_bus_create_watch), (gst_bus_add_watch_full),
23862         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23863         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23864         * gst/gstbus.h:
23865         Remove support for multiple GSources operating on different
23866         message types as it is too complex and unneeded when using
23867         signals.
23868         Added support for receiving signals from the bus.
23869
23870 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23871
23872         * docs/libs/tmpl/gstdataprotocol.sgml:
23873         * docs/manual/advanced-dataaccess.xml:
23874         * gst/elements/gstcapsfilter.c:
23875         * gst/gstutils.c:
23876           rename filter-caps to caps property
23877
23878 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23879
23880         * gst/gstvalue.c: (gst_value_deserialize_fraction):
23881           More robust fraction string parsing.
23882
23883         * docs/pwg/appendix-porting.xml:
23884           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23885
23886 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23887
23888         * gst/gstcaps.c: (gst_caps_do_simplify):
23889           Thou shalt not free a structure and then continue using it
23890           in the next loop iteration.
23891
23892         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23893         (gst_caps_suite):
23894           Add test case for caps simplification.
23895
23896 2005-09-29  Wim Taymans  <wim@fluendo.com>
23897
23898         * check/gst/gstbin.c: (GST_START_TEST):
23899         Oops.
23900
23901 2005-09-29  Wim Taymans  <wim@fluendo.com>
23902
23903         * check/gst/gstbin.c: (GST_START_TEST):
23904         Add bus to bin.
23905
23906         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23907         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23908         (find_element), (gst_bin_sort_iterator_next),
23909         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23910         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23911         (gst_bin_change_state), (gst_bin_dispose):
23912         A bin does not have a bus, it gets the bus from the parent.
23913
23914         * gst/gstelement.c: (gst_element_requires_clock),
23915         (gst_element_provides_clock), (gst_element_is_indexable),
23916         (gst_element_is_locked_state), (gst_element_change_state),
23917         (gst_element_set_bus_func):
23918         Small cleanups.
23919
23920         * gst/gstpipeline.c: (gst_pipeline_class_init),
23921         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23922         The pipeline provides a bus.
23923
23924 2005-09-28  Johan Dahlin  <johan@gnome.org>
23925
23926         * gst/gstmessage.c (gst_message_parse_state_changed): Use
23927         gst_structure_get_enum instead of gst_structure_get_int
23928
23929         * gst/gststructure.c (gst_structure_get_enum): Impl.
23930
23931         * gst/gststructure.h (gst_structure_get_enum): Add
23932
23933         * docs/gst/gstreamer-sections.txt: Ditto
23934
23935         * gst/gstmessage.c (gst_message_new_state_changed): Use
23936         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23937         which does introspection.
23938         Reviewed by Christian Schaller
23939
23940 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
23941
23942         * gst/gstinfo.c: (gst_debug_log_default):
23943           don't do dummy g_strdup()s
23944         * libs/gst/controller/gstcontroller.c:
23945         (on_object_controlled_property_changed),
23946         (gst_controlled_property_new), (gst_controller_new_valist),
23947         (gst_controller_new_list),
23948         (gst_controller_remove_properties_valist), (gst_controller_set),
23949         (gst_controller_get), (gst_controller_sync_values),
23950         (gst_controller_get_value_array), (_gst_controller_class_init),
23951         (gst_controller_get_type):
23952         * libs/gst/controller/gstcontroller.h:
23953         * libs/gst/controller/gstinterpolation.c:
23954         (gst_controlled_property_find_timed_value_node):
23955           convert // to /**/ comments
23956
23957 2005-09-28  Wim Taymans  <wim@fluendo.com>
23958
23959         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23960         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23961         (gst_bus_sync_signal_handler):
23962         * gst/gstbus.h:
23963         Added async-message and sync-message signals to the bus.
23964         Added helper BusFunc to emit signals for all posted messages.
23965
23966         * gst/gstmessage.c: (gst_message_type_get_name),
23967         (gst_message_type_to_quark), (gst_message_get_type):
23968         * gst/gstmessage.h:
23969         Register quarks for message names.
23970
23971 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
23972
23973         * docs/libs/gstreamer-libs-sections.txt:
23974         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23975         (gst_controller_new_list):
23976         * libs/gst/controller/gstcontroller.h:
23977           added another constructor for language bindings
23978
23979 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
23980
23981         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23982           add another check
23983         * gst/gstbus.c:
23984           add some doc
23985         * gst/gstinfo.c: (_gst_debug_init):
23986           slightly more readable color for refcount debugging
23987
23988 2005-09-28  Wim Taymans  <wim@fluendo.com>
23989
23990         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23991         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23992         (find_element), (gst_bin_sort_iterator_next),
23993         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23994         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23995         (gst_bin_change_state), (gst_bin_dispose):
23996         Small doc fixes. get_clock -> provide_clock.
23997
23998         * gst/gstelement.c: (gst_element_class_init),
23999         (gst_element_provides_clock), (gst_element_provide_clock),
24000         (gst_element_get_clock), (gst_element_commit_state),
24001         (gst_element_lost_state):
24002         * gst/gstelement.h:
24003         Make get/set_clock() symetric. Add provide_clock vmethod since
24004         that is actually what this function does.
24005
24006         * gst/gstpipeline.c: (gst_pipeline_class_init),
24007         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24008         (gst_pipeline_get_clock):
24009         get_clock -> provide_clock.
24010
24011 2005-09-28  Andy Wingo  <wingo@pobox.com>
24012
24013         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24014         lieu of real docs...
24015
24016         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24017
24018 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24019
24020         * gst/elements/gstcapsfilter.c:
24021         * gst/elements/gstfakesink.c:
24022         * gst/elements/gstfakesrc.c:
24023         * gst/elements/gstfdsink.c:
24024         * gst/elements/gstfdsrc.c:
24025         * gst/elements/gstfilesink.c:
24026         * gst/elements/gstfilesrc.c:
24027         * gst/elements/gstidentity.c:
24028         * gst/elements/gsttee.c:
24029         * gst/elements/gsttypefindelement.c:
24030           Make element details static.
24031
24032 2005-09-28  Wim Taymans  <wim@fluendo.com>
24033
24034         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24035         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24036         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24037         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24038         (gst_bin_change_state), (gst_bin_dispose):
24039         Some documentation updates.
24040         Clean up dispose handlers.
24041
24042         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24043         * gst/gstpad.c: (gst_pad_dispose):
24044         Clean up dispose handler.
24045
24046         * gst/gstpipeline.c: (gst_pipeline_change_state):
24047         Removed spurious UNLOCK.
24048
24049 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24050
24051         * docs/gst/gstreamer-sections.txt:
24052         * gst/base/gstbasesrc.h:
24053         * gst/gstelement.h:
24054         * gst/gstevent.h:
24055         * gst/gstobject.h:
24056         * gst/gstpad.h:
24057         * gst/gstpipeline.c:
24058         * gst/gstpipeline.h:
24059         * gst/gstutils.h:
24060         * gst/gstxml.h:
24061           added two new functions to the docs
24062                 documents all undocumented GstXXXFlags
24063                 completed some incomplete docs 
24064
24065 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24066
24067         * gst/gstbin.c: (gst_bin_dispose):
24068         * gst/gstelement.c: (gst_element_dispose):
24069           remove now useless and leaky resurrection code in dispose
24070         * gst/base/gstbasesrc.c: (gst_base_src_init):
24071         * gst/gstelementfactory.c: (gst_element_factory_create):
24072         * gst/gstobject.c: (gst_object_set_parent):
24073           add some debugging
24074
24075 2005-09-27  Wim Taymans  <wim@fluendo.com>
24076
24077         * docs/design/part-TODO.txt:
24078         Update TODO.
24079
24080         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24081         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24082         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24083         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24084         (gst_bin_change_state):
24085         * gst/gstelement.h:
24086         Remove element variable, we keep element info in the iterator now.
24087
24088 2005-09-27  Andy Wingo  <wingo@pobox.com>
24089
24090         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24091         values.
24092
24093 2005-09-27  Wim Taymans  <wim@fluendo.com>
24094
24095         * check/gst/gstbin.c: (GST_START_TEST):
24096         Enable check that works now.
24097
24098         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24099         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24100         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24101         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24102         (gst_bin_change_state):
24103         * gst/gstbin.h:
24104         Redid the state change algorithm using a topological sort algo.
24105         Handles all cases correctly.
24106         Exposed iterator for state change order.
24107
24108         * gst/gstelement.h:
24109         Temp storage for state changes. Need to get rid of this soon.
24110
24111 2005-09-27  Wim Taymans  <wim@fluendo.com>
24112
24113         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24114         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24115         (link_fold_func), (gst_pad_proxy_setcaps):
24116         Leak fixes, the fold functions need to unref the passed object and
24117         _get_parent_*() returns ref to parent.
24118
24119 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24120
24121         * check/gst/gstbuffer.c: (test_make_writable):
24122           Plug leak in test case and fix 'make check-valgrind'
24123
24124 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24125
24126         * gst/gstbuffer.c: (gst_subbuffer_init):
24127           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24128           works correctly in all circumstances (we could have just copied
24129           the parent buffer's readonly flag, but conceptually it seems
24130           cleaner to mark all subbuffers as read-only). (based on patch
24131           by Alessandro Decina, #314710).
24132         
24133         * check/gst/gstbuffer.c: (create_read_only_buffer),
24134         (test_make_writable), (test_subbuffer_make_writable),
24135         (gst_test_suite):
24136           Add some tests for gst_buffer_make_writable().
24137
24138 2005-09-27  Wim Taymans  <wim@fluendo.com>
24139
24140         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24141         use gst_object_has_ancestor().
24142
24143         * gst/gstobject.c: (gst_object_has_ancestor):
24144         * gst/gstobject.h:
24145         gst_object_has_ancestor() copied from gstbin.c as it is a
24146         useful function.
24147
24148         * tests/instantiate/create.c: (create_all_elements):
24149         * tests/lat.c: (handoff_src), (handoff_sink):
24150         * tests/sched/runxml.c: (main):
24151         * tests/seeking/seeking1.c: (main):
24152         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24153         (main):
24154         Fix compilation of some tests.
24155
24156 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24157
24158         * gst/gsterror.h:
24159           Remove comment. GST_TYPE_G_ERROR is here to stay,
24160           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24161           (#316961, #300610).
24162
24163 2005-09-26  Wim Taymans  <wim@fluendo.com>
24164
24165         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24166         Added check that shows error in state change order.
24167
24168 2005-09-26  Wim Taymans  <wim@fluendo.com>
24169
24170         * gst/gstbin.c: (gst_bin_change_state):
24171         Make state change function use 3 queues again, we were
24172         adding elements in the wrong order.
24173
24174         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24175         Some debug info,
24176
24177         * gst/gstpad.c: (gst_pad_dispose):
24178         Added some debug info first.
24179
24180 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24181
24182         * docs/design/draft-push-pull.txt:
24183         * docs/design/part-events.txt:
24184         * docs/design/part-overview.txt:
24185         * docs/design/part-scheduling.txt:
24186           Replace all _pull_region() with _pull_range()
24187           
24188 2005-09-26  Andy Wingo  <wingo@pobox.com>
24189
24190         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24191
24192         * check/gst-libs/controller.c: Update for controller api change.
24193
24194         * configure.ac: 
24195         * tests/Makefile.am:
24196         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24197         over by GLib bug 118439.
24198         
24199         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24200         routines to a function.
24201
24202         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24203
24204         * libs/gst/controller/gsthelper.c:
24205         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24206         (gst_object_sync_values): Renamed from sink_values. Ugh.
24207
24208         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24209
24210         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24211         Renamed from controller_key, as it is exported.
24212
24213         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24214
24215 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24216
24217         * gst/Makefile.am:
24218         * gst/gst.h:
24219         * gst/gstpad.h:
24220         * gst/gstpadtemplate.h:
24221         * gst/gstquery.c:
24222         * gst/gstquery.h:
24223         * gst/gstqueryutils.c:
24224         * gst/gstqueryutils.h:
24225           remove queryutils headers after moving the two used functions
24226           to gstquery.  also fixes build problem for gstsiddec
24227
24228 2005-09-26  Michael Smith <msmith@fluendo.com>
24229
24230         * tools/gst-launch.1.in:
24231         Correct documentation in manpage of debug syntax
24232
24233 2005-09-26  Wim Taymans  <wim@fluendo.com>
24234
24235         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24236         (gst_base_src_is_seekable), (gst_base_src_change_state):
24237         Some more debugging info.
24238
24239 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24240
24241         * docs/gst/gstreamer-sections.txt:
24242         * gst/base/gstbasetransform.h:
24243         * gst/gstindex.h:
24244           added more docs
24245
24246 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24247
24248         * docs/gst/.cvsignore:
24249         * docs/gst/tmpl/.cvsignore:
24250         * docs/gst/tmpl/gstpipeline.sgml:
24251         * docs/gst/tmpl/gstplugin.sgml:
24252         * gst/gstpipeline.c:
24253         * gst/gstplugin.c:
24254         * gst/gstplugin.h:
24255           inlined the last two docs files
24256           removed the tmpl directory from cvs (no more conflicts here!)
24257
24258 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24259
24260         * docs/gst/gstreamer-sections.txt:
24261         * docs/gst/tmpl/.cvsignore:
24262         * docs/gst/tmpl/gstpad.sgml:
24263         * docs/gst/tmpl/gstpadtemplate.sgml:
24264         * gst/Makefile.am:
24265         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24266         (gst_pad_finalize), (gst_pad_set_pad_template):
24267         * gst/gstpad.h:
24268         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24269         (gst_pad_template_class_init), (gst_pad_template_init),
24270         (gst_pad_template_dispose), (name_is_valid),
24271         (gst_static_pad_template_get), (gst_pad_template_new),
24272         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24273         (gst_pad_template_pad_created):
24274         * gst/gstpadtemplate.h:
24275           inlined two more docs
24276           factored gstpadtemplate out of gstpad
24277
24278 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24279
24280         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24281         (test_children_state_change_order_semi_sink):
24282           Fix test case: we can't rely on a fixed state change order when
24283           going from READY => PAUSED because the sink might commit its 
24284           new state first when the first buffer created by the source 
24285           reaches the sink before the source has finished its change state.
24286           (Test case still fails at times, see #316856, comment 5 onwards)
24287
24288 2005-09-24  Wim Taymans  <wim@fluendo.com>
24289
24290         * docs/design/part-events.txt:
24291         * docs/design/part-gstbus.txt:
24292         * docs/design/part-gstpipeline.txt:
24293         * docs/design/part-messages.txt:
24294         * docs/design/part-overview.txt:
24295         * docs/design/part-segments.txt:
24296         * gst/gstbin.c:
24297         * gst/gstbuffer.c:
24298         * gst/gstclock.c:
24299         * gst/gstelement.c:
24300         * gst/gstevent.c:
24301         * gst/gstfilter.c:
24302         * gst/gstiterator.c:
24303         Various documentation updates.
24304
24305 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24306
24307         * gst/gstclock.h:
24308           Well, that's embarassing.  Luckily we weren't using
24309           GST_CLOCK_DIFF anywhere.
24310
24311 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24312
24313         * common/gtk-doc.mak:
24314           don't fail on building XML, FC4 slave shows a bunch of doc
24315           missing bits that I don't get
24316         * gst/gstpad.c:
24317         * gst/gstpipeline.c:
24318         * gst/gststructure.c:
24319           some doc updates
24320
24321 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24322
24323         * docs/design/part-gstbin.txt:
24324         * docs/design/part-gstbus.txt:
24325         * gst/gstbus.c:
24326           Add blurb about how the bus goes into flushing mode and
24327           drops all messages when its bin goes from READY into NULL 
24328           state.
24329
24330 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24331
24332         * docs/gst/gstreamer-sections.txt:
24333         * gst/gststructure.c: (gst_structure_get_clock_time):
24334         * gst/gststructure.h:
24335           add a method to get a GstClockTime out of a structure
24336
24337 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24338
24339         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24340         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24341           Added test to check state change order in bins (can still be made
24342           to fail here under heavy disk load; bails out with 'Push on pad
24343           fakesink:sink0, but it was not activated in push mode').
24344
24345         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24346           Fix state change order when there is only a semi sink (#316856)
24347
24348         * gst/gstbus.c: (gst_bus_class_init):
24349           Use _class_peek_parent(), not _class_ref(); fix docs to say
24350           'default main context' instead of 'mainloop' where that is
24351           what's meant.
24352
24353         * gst/gstelement.c: (gst_element_commit_state),
24354         (gst_element_set_state):
24355           Fix typos in debug messages
24356
24357 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24358
24359         * docs/README:
24360         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24361         * gst/gstpluginfeature.c:
24362         * gst/gstutils.c:
24363           various doc updates
24364         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24365           change an assert into an error until it gets fixed properly
24366
24367 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24368
24369         * docs/gst/gstreamer-sections.txt:
24370         * docs/gst/tmpl/.cvsignore:
24371         * docs/gst/tmpl/gstelement.sgml:
24372         * docs/gst/tmpl/gstinfo.sgml:
24373         * docs/gst/tmpl/gstobject.sgml:
24374         * gst/gstelement.c:
24375         * gst/gstelement.h:
24376         * gst/gstinfo.c:
24377         * gst/gstinfo.h:
24378         * gst/gstobject.c: (gst_object_class_init):
24379         * gst/gstobject.h:
24380           inlined 3 more biiiig doc files and added some missing docs on the fly
24381
24382 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24383
24384         * check/gst/.cvsignore:
24385         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24386         * gst/gstregistryxml.c: (load_plugin),
24387         (gst_registry_xml_save_plugin):
24388           put back source in registry.  add checks for find_plugin.
24389         * testsuite/states/bin.c: (assert_state), (empty_bin),
24390         (test_adding_one_element), (main):
24391         * testsuite/states/locked.c: (main):
24392           some compile/run fixes
24393
24394 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24395
24396         * check/gst/gstvalue.c: (GST_START_TEST):
24397           fix leaks in the test itself
24398
24399 2005-09-22  Wim Taymans  <wim@fluendo.com>
24400
24401         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24402         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24403         (gst_base_sink_query):
24404         Prepare for more accurate position reporting and query
24405         handling.
24406
24407         * gst/gstelement.c: (gst_element_send_event),
24408         (gst_element_set_state):
24409         Add some comment.
24410
24411 2005-09-22  Wim Taymans  <wim@fluendo.com>
24412
24413         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24414         (gst_query_parse_segment):
24415         * gst/gstquery.h:
24416         More documentation.
24417         Add segment query for future use.
24418
24419 2005-09-22  Wim Taymans  <wim@fluendo.com>
24420
24421         * gst/gstbin.c: (gst_bin_add_func):
24422         Some more debug info.
24423
24424         * gst/gstelement.c: (gst_element_send_event):
24425         Simplify send_event
24426
24427         * gst/gstelement.h:
24428         Don't know how flags got broken.
24429
24430         * gst/gstquery.h:
24431         Added new query.
24432
24433 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24434
24435         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24436           Add simplistic test suite for GST_TYPE_DATE serialisation and
24437           deserialisation.
24438
24439 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24440
24441         * docs/gst/gstreamer-sections.txt:
24442         * gst/gststructure.c: (gst_structure_set_valist),
24443         (gst_structure_get_date):
24444         * gst/gststructure.h:
24445         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24446         (gst_date_copy), (gst_value_compare_date),
24447         (gst_value_serialize_date), (gst_value_deserialize_date),
24448         (gst_value_transform_date_string),
24449         (gst_value_transform_string_date), (_gst_value_initialize):
24450         * gst/gstvalue.h:
24451           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24452           bunch of utility functions along with a hack that checks that
24453           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24454           is required. Part of the grand scheme in #170777.
24455
24456 2005-09-22  Andy Wingo  <wingo@pobox.com>
24457
24458         * gst/gstconfig.h.in: Psych out gtk-doc.
24459
24460         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24461
24462         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24463
24464         * tools/gst-inspect.c (print_element_list): Plug some
24465         inconsequential leaks.
24466
24467         * gst/gstregistry.c (gst_registry_get_default): Doc.
24468
24469         * check/gst/gstplugin.c: 
24470         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24471         * gst/gstelementfactory.c (gst_element_factory_create): 
24472         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24473         refcount changes.
24474
24475         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24476         (gst_plugin_feature_load): Doc, don't eat refs.
24477
24478         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24479         (gst_plugin_list_free): Doc.
24480         (gst_plugin_load_file): Doc updates.
24481
24482         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24483         accessors returning refcounted objects, return a ref.
24484
24485         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24486         accessor for caps. IDEMPOTENCE. Oh yes.
24487
24488 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24489
24490         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24491
24492         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24493         (_gst_debug_register_funcptr):
24494           Add mutex to serialise access to the hash table with
24495           the function pointer => function name string mapping;
24496           make that hash table static scope (#316809).
24497
24498         * gst/registries/.cvsignore:
24499           Remove left-over file.
24500
24501 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24502
24503         * docs/pwg/appendix-porting.xml:
24504           And something about newsegment events and caps-on-buffers to
24505           the porting guide (feel free to improve).
24506
24507 2005-09-21  Andy Wingo  <wingo@pobox.com>
24508
24509         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24510         data and event probes on the same pad.
24511         (test_buffer_probe_once): Test that removing probes from within
24512         the probe functions works.
24513
24514 2005-09-21  Andy Wingo  <wingo@pobox.com>
24515
24516         * check/gst/gstutils.c: New file.
24517         (test_buffer_probe_n_times): A simple buffer probe test. More to
24518         come, foolios.
24519
24520         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24521         have-data::buffer, not have-data.
24522         (gst_pad_add_event_probe): Likewise for have-data::event.
24523         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24524         peer' isn't quite right yet though.
24525         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24526         (gst_pad_remove_data_probe): Change to take the guint handler_id
24527         as their arg, not the function+data, which is more glib-like.
24528
24529         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24530         the signal emission to indicate if the data is a buffer or an
24531         event.
24532         (gst_pad_get_type): Initialize buffer and event quarks.
24533         (gst_pad_class_init): have-data is now a detailed signal, yes it
24534         is.
24535
24536 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24537
24538         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24539         * gst/gstutils.c: (gst_util_set_value_from_string),
24540         (gst_util_set_object_arg):
24541           Don't put functional code in g_return_if_fail() or
24542           g_return_val_if_fail() statements, otherwise things will 
24543           break when G_DISABLE_CHECKS is defined during compilation.
24544
24545 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24546
24547         * docs/gst/tmpl/.cvsignore:
24548         * docs/gst/tmpl/gstvalue.sgml:
24549         * gst/gstvalue.c:
24550         * gst/gstvalue.h:
24551           inlied another one and added  some obvious docs
24552
24553 2005-09-21  Wim Taymans  <wim@fluendo.com>
24554
24555         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24556         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24557         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24558         (gst_fdsrc_get_property), (gst_fdsrc_create):
24559         * gst/elements/gstfdsrc.h:
24560         Properly implement fdsrc. Removed signal and timeout,
24561         better implemented somewhere else.
24562
24563 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24564
24565         * docs/gst/tmpl/.cvsignore:
24566         * docs/gst/tmpl/gstimplementsinterface.sgml:
24567         * gst/gstinterface.c:
24568           inlined more docs
24569
24570 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24571
24572         * docs/gst/gstreamer-sections.txt:
24573         * docs/gst/tmpl/.cvsignore:
24574         * docs/gst/tmpl/gstenumtypes.sgml:
24575           remove obsolete doc file
24576
24577 2005-09-21  David Schleef  <ds@schleef.org>
24578
24579         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24580         little beer, fix a little leak.
24581
24582 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24583
24584         * docs/gst/gstreamer-docs.sgml:
24585         * docs/gst/gstreamer-sections.txt:
24586         * docs/gst/tmpl/.cvsignore:
24587         * gst/Makefile.am:
24588         * gst/gst.h:
24589         * gst/gstbin.c:
24590         * gst/gstelement.h:
24591         * gst/gstindex.c: (gst_index_class_init):
24592         * gst/gstindex.h:
24593         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24594         (gst_index_factory_class_init), (gst_index_factory_init),
24595         (gst_index_factory_finalize), (gst_index_factory_new),
24596         (gst_index_factory_destroy), (gst_index_factory_find),
24597         (gst_index_factory_create), (gst_index_factory_make):
24598         * gst/gstindexfactory.h:
24599         * gst/gstpluginfeature.c:
24600         * gst/gstpluginfeature.h:
24601         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24602           more docs inlined, splitted gstindex.{c,h}
24603
24604 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24605
24606         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24607           fix a leak
24608
24609 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24610
24611         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24612           Set sync to FALSE by default.
24613
24614 2005-09-20  Wim Taymans  <wim@fluendo.com>
24615
24616         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24617         (gst_base_sink_init):
24618         Make sync property settable from subclass.
24619
24620         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24621         (gst_fake_sink_change_state):
24622         Set sync to FALSE by default.
24623
24624 2005-09-20  Wim Taymans  <wim@fluendo.com>
24625
24626         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24627         * tools/gst-launch.c: (main):
24628         The timeout handler should have lower priority than the source
24629         so we don't timeout before popping a message with 0 timeout.
24630         Dump error messages after failed state change.
24631
24632 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24633
24634         * tools/gst-inspect.c: (print_element_properties_info):
24635           Fix two typos.
24636
24637 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24638
24639         * check/gst/gstevent.c:
24640         * gst/elements/gstfakesink.c:
24641         * gst/elements/gstfakesink.h:
24642           remove the sync property from fakesink.
24643           has the side effect of setting sync TRUE
24644           for fakesink, which is a change.  Anyone who knows how
24645           to fix this nicely in a GObject-y way, feel free.
24646
24647 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24648
24649         * docs/gst/gstreamer-docs.sgml:
24650           remove probe refsection
24651
24652 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24653
24654         * check/Makefile.am:
24655           disable valgrinding the controller test again
24656         * docs/gst/gstreamer-sections.txt:
24657           update for api-changes
24658
24659 2005-09-20  Wim Taymans  <wim@fluendo.com>
24660
24661         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24662         (gst_base_sink_set_property), (gst_base_sink_get_property),
24663         (gst_base_sink_do_sync):
24664         * gst/base/gstbasesink.h:
24665         Added sync property to basesink to disable clock sync.
24666
24667 2005-09-20  Andy Wingo  <wingo@pobox.com>
24668
24669         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24670         eating the caller's refcount.
24671
24672         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24673         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24674         refcount.
24675
24676         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24677         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24678         of GLib 2.8 public, so we can know which refcount to check in
24679         tests.
24680
24681         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24682         (gst_object_init): Only set the gst refcount if we're going ahead
24683         with the refcount hack.
24684
24685 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24686
24687         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24688         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24689           more leaks plumbed, added more debug-logging
24690         * gst/gstmacros.h:
24691           whitespace fix
24692
24693 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24694
24695         * gst/gstmessage.c:
24696           remove include of gstmemchunk.h
24697
24698 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24699
24700         * gst/gstclock.c: (_gst_clock_id_free):
24701           Commit from the Political Party For More Atomic CVS Commits,
24702           so that people don't waste too much of their day fishing
24703           out obvious leaks out of massive commits.
24704           Oh, and fix a pretty damn obvious leak in the memchunk
24705           removal code.
24706
24707 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24708
24709         * check/Makefile.am:
24710         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24711           plug mem-leak, re-add to valgrindable tests
24712
24713 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24714
24715         * gst/gstplugin.h:
24716           unbreak the build for those who have chronic arthritis
24717           and typing "make check" is just too taxing on the hands
24718
24719 2005-09-20  Andy Wingo  <wingo@pobox.com>
24720
24721         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24722         really want it out, you should fix plugins at the same time.
24723
24724 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24725
24726         * configure.ac:
24727         * docs/gst/gstreamer-sections.txt:
24728         * gst/gstobject.c:
24729           added missing symbols to api docs
24730           disable ref-count hack if we have glib >= 2.8
24731
24732 2005-09-19  David Schleef  <ds@schleef.org>
24733
24734         * docs/gst/Makefile.am: Ignore a few more internal headers
24735         * docs/gst/gstreamer-docs.sgml: Remove old sections
24736         * docs/gst/gstreamer-sections.txt: Remove old sections
24737         * docs/gst/tmpl/gstobject.sgml: update
24738         * docs/gst/tmpl/gstplugin.sgml: update
24739         * docs/gst/tmpl/gstpluginfeature.sgml: update
24740         * docs/random/ds/0.9-suggested-changes: update.
24741         * gst/Makefile.am: remove memchunk and trashstack, since they're
24742           not used.
24743         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24744         * gst/gst.h: don't include some headers
24745         * gst/gstchildproxy.c: add gstmarshal.h
24746         * gst/gstclock.c: Don't use memchunks
24747         * gst/gstminiobject.c: Add some docs
24748         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24749         * gst/gstobject.h: same
24750         * gst/gstplugin.c: include gstmacros.h
24751         * gst/gstplugin.h: don't include gstmacros.h, since it's private
24752         * gst/gstquery.c: don't use memchunks
24753         * gst/gstregistry.c: rename gst_registry_deinit()
24754         * gst/gstregistry.h: same
24755
24756 2005-09-19  David Schleef  <ds@schleef.org>
24757
24758         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24759         * docs/libs/gstreamer-libs-sections.txt:
24760         * docs/libs/tmpl/gstgetbits.sgml:
24761         * docs/libs/tmpl/gstputbits.sgml:
24762
24763 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
24764
24765         * win32/gstenumtypes.c:
24766         * win32/gstenumtypes.h:
24767           Update.
24768
24769 2005-09-19  Wim Taymans  <wim@fluendo.com>
24770
24771         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24772         Automatically PAUSE and RESUME a pipeline when a flushing seek
24773         is performed.
24774
24775 2005-09-19  Andy Wingo  <wingo@pobox.com>
24776
24777         * gst/gstregistry.h: Spacing fixen.
24778
24779 2005-09-19  Wim Taymans  <wim@fluendo.com>
24780
24781         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24782         Handle state change failure more correctly.
24783
24784 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24785
24786         * check/Makefile.am:
24787         * check/pipelines/cleanup.c: (run_pipeline):
24788         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24789         (GST_START_TEST):
24790           enable cleanup again after fixing the leak
24791         * docs/README:
24792           some more info on docs
24793
24794 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24795
24796         * check/Makefile.am:
24797           re-enable tests now that leaks are plugged
24798         * check/gst/gst.c:
24799         * check/gst/gstbin.c:
24800         * check/gst/gstpipeline.c:
24801           add some more tests while fixing leaks
24802         * common/check.mak:
24803           make sure binaries are uptodate when valgrinding/gdbing
24804         * gst/gst.c:
24805         * gst/gstelementfactory.c:
24806           remove a ref too many, and add a FIXME for when we get
24807           round to disposing of classes
24808         * gst/gstplugin.c:
24809           fix the refcounting when loading a plugin from a file and
24810           the code pretends that the pointer is the same even though
24811           of course it can change
24812         * gst/gstpluginfeature.c:
24813           unref plugins marked cached (a bit confusing as a name)
24814           as the docs state should be done
24815           various doc additions to explain refcounting
24816         * gst/gstregistry.c:
24817         * gst/gstregistryxml.c:
24818           debugging
24819
24820 2005-09-19  Wim Taymans  <wim@fluendo.com>
24821
24822         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24823         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24824         (send_messages), (GST_START_TEST), (gstbus_suite):
24825         * check/gst/gstpipeline.c: (GST_START_TEST):
24826         * check/pipelines/cleanup.c: (run_pipeline):
24827         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24828         (GST_START_TEST):
24829         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24830         (gst_bus_source_check), (gst_bus_source_dispatch),
24831         (gst_bus_create_watch), (gst_bus_add_watch_full),
24832         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24833         * gst/gstbus.h:
24834         * tools/gst-launch.c: (event_loop):
24835         * tools/gst-md5sum.c: (event_loop):
24836         GstBusHandler -> GstBusFunc, return value has the same meaning as
24837         any other GSource (FALSE == remove source).
24838         _add_watch() and _add_watch_full() now take a MessageType mask to
24839         only handle specific types of messages.
24840         _poll() returns the GstMessage instead of the message type to avoid
24841         race conditions.
24842         _have_pending() takes a MessageType mask now too.
24843         Added testsuite for multiple bus watches.
24844         Fix testsuites and applications for new bus API.
24845
24846 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24847
24848         * check/Makefile.am:
24849           mark a bunch of the tests as to fix until we fix them
24850
24851 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24852
24853         * common/check.mak:
24854           use GST_PLUGIN settings for valgrind tests as well, so we're
24855           valgrinding the correct thing
24856         * gst/gst.c: (init_post):
24857           plug another leak
24858
24859 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24860
24861         * gst/gst.c: (init_post), (gst_deinit):
24862         * gst/gstelementfactory.c: (gst_element_factory_class_init),
24863         (gst_element_factory_finalize), (gst_element_factory_cleanup):
24864         * gst/gstindex.c: (gst_index_factory_class_init),
24865         (gst_index_factory_finalize):
24866         * gst/gstobject.c: (gst_object_dispose):
24867         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24868         (gst_plugin_load_file), (gst_plugin_desc_free):
24869         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24870         (gst_plugin_feature_finalize):
24871         * gst/gstregistry.c: (gst_registry_class_init),
24872         (gst_registry_init), (gst_registry_finalize),
24873         (gst_registry_get_default), (gst_registry_deinit):
24874         * gst/gstregistry.h:
24875         * gst/gstregistryxml.c: (load_feature), (load_plugin):
24876           various cleanups and memleak plugging.  make valgrind is happy now.
24877
24878 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24879
24880         * common/check.mak:
24881           add a check-valgrind target
24882
24883 2005-09-18  David Schleef  <ds@schleef.org>
24884
24885         * tools/gst-inspect.c: Revert the GOption code.
24886
24887 2005-09-17  David Schleef  <ds@schleef.org>
24888
24889         * check/Makefile.am: Fix environment variables.
24890         * check/gst/gstplugin.c: Fix for API changes.
24891         * tools/gst-inspect.c: Fix for API changes.
24892         * tools/gst-xmlinspect.c: Fix for API changes.
24893         * gst/gstelementfactory.c:
24894         * gst/gstplugin.c:
24895         * gst/gstplugin.h:
24896         * gst/gstpluginfeature.c:
24897         * gst/gstpluginfeature.h:
24898         * gst/gstregistry.c:
24899         * gst/gstregistry.h:
24900         * gst/gstregistryxml.c:
24901         * gst/gsttypefind.c:
24902         * gst/gsttypefindfactory.c:
24903         * gst/indexers/gstfileindex.c:
24904         * gst/indexers/gstmemindex.c:
24905         * gst/schedulers/Makefile.am:
24906           Change registry to keep track of both plugins and features,
24907           removing the feature tracking from plugins themselves.
24908
24909 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
24910
24911         * check/Makefile.am:
24912         * tools/gst-register.1.in:
24913           remove gst-register
24914
24915 2005-09-15  David Schleef  <ds@schleef.org>
24916
24917         * check/gst/gstplugin.c:
24918         * gst/gstelementfactory.c:
24919         * gst/gstplugin.c:
24920         * gst/gstpluginfeature.c:
24921         * gst/gstregistry.c:
24922           Getting tired of debugging.  Disabled all the unreffing of
24923           plugins and features, which fixes the segfaults, but of
24924           course leaks like crazy.  At least playbin works.
24925
24926 2005-09-15  David Schleef  <ds@schleef.org>
24927
24928         * check/gst/gstplugin.c: (register_check_elements),
24929         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24930         More testing
24931         * gst/elements/gsttypefindelement.c: Fix refcounting.
24932         * gst/gsttypefind.c:
24933         * gst/gsttypefindfactory.c:
24934         * gst/gsttypefindfactory.h:
24935
24936 2005-09-15  David Schleef  <ds@schleef.org>
24937
24938         * gst/gstindex.c: get refcounting correct.
24939         * gst/gstregistry.c: Handle the case where a feature/plugin is
24940           not found.
24941
24942 2005-09-15  David Schleef  <ds@schleef.org>
24943
24944         * check/Makefile.am:
24945         * check/gst/gstplugin.c: Add test
24946         * gst/gstplugin.c: Fix problems noticed by testsuite
24947         * gst/gstplugin.h:
24948         * gst/gstregistry.c: 
24949         * gst/gstregistry.h:
24950
24951 2005-09-15  David Schleef  <ds@schleef.org>
24952
24953         * gst/gstplugin.c: Implement semi-decent recounting and locking
24954           in plugins and plugin features.
24955         * gst/gstplugin.h:
24956         * gst/gstpluginfeature.c:
24957         * gst/gstpluginfeature.h:
24958         * gst/gstregistry.c:
24959
24960 2005-09-15  Michael Smith <msmith@fluendo.com>
24961
24962         * gst/gstregistry.c: (gst_registry_get_feature_list):
24963           Implement this. Makes oggdemux work; decodebin still broken.
24964
24965 2005-09-14  David Schleef  <ds@schleef.org>
24966
24967         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24968           #316076)
24969         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24970         * gst/check/Makefile.am:
24971         * libs/gst/controller/Makefile.am:
24972         * libs/gst/dataprotocol/Makefile.am:
24973
24974 2005-09-14  David Schleef  <ds@schleef.org>
24975
24976         * configure.ac: Remove getbits library.  Nothing uses it, and
24977           it should be in something like liboil if someone did want
24978           to use it.
24979         * libs/gst/Makefile.am:
24980         * libs/gst/getbits/Makefile.am:
24981         * libs/gst/getbits/gbtest.c:
24982         * libs/gst/getbits/getbits.c:
24983         * libs/gst/getbits/getbits.h:
24984         * libs/gst/getbits/gstgetbits_generic.c:
24985         * libs/gst/getbits/gstgetbits_i386.s:
24986         * libs/gst/getbits/gstgetbits_inl.h:
24987
24988 2005-09-14  David Schleef  <ds@schleef.org>
24989
24990         * gst/Makefile.am: Dist glib-compat.h
24991
24992 2005-09-14  David Schleef  <ds@schleef.org>
24993
24994         * configure.ac: Remove gst/registries, since it's no longer used.
24995         * gst/registries/Makefile.am:
24996         * gst/registries/gstlibxmlregistry.c:
24997         * gst/registries/gstlibxmlregistry.h:
24998         * gst/registries/gstxmlregistry.c:
24999         * gst/registries/gstxmlregistry.h:
25000         * gst/registries/registrytest.c:
25001
25002 2005-09-14  David Schleef  <ds@schleef.org>
25003
25004         * gst/glib-compat.h:
25005         * gst/gstregistryxml.c:
25006           Convergence is near.  Seriously.
25007
25008 2005-09-14  David Schleef  <ds@schleef.org>
25009
25010         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25011         * gst/glib-compat.h:
25012           Attempt #4 to appease the buildbots.
25013
25014 2005-09-14  David Schleef  <ds@schleef.org>
25015
25016         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25017           Attempt #3.
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 #2.
25023
25024 2005-09-14  David Schleef  <ds@schleef.org>
25025
25026         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25027           the new functions.
25028
25029 2005-09-14  David Schleef  <ds@schleef.org>
25030
25031         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25032         * gst/glib-compat.h: Add some functions that are in newer versions
25033           of glib than we care to require.
25034         * gst/gstregistryxml.c: Use them.
25035
25036 2005-09-14  David Schleef  <ds@schleef.org>
25037
25038         * po/POTFILES.in: remove gst-register.c
25039
25040 2005-09-14  David Schleef  <ds@schleef.org>
25041
25042         * docs/gst/gstreamer-docs.sgml:
25043         * docs/gst/gstreamer-sections.txt:
25044         * docs/gst/gstreamer.types:
25045         * docs/gst/tmpl/gstelement.sgml:
25046         * docs/gst/tmpl/gstplugin.sgml:
25047         * docs/gst/tmpl/gstpluginfeature.sgml:
25048           Documentation updates for registry changes.
25049
25050 2005-09-14  David Schleef  <ds@schleef.org>
25051
25052         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25053           because we don't require glib-2.8.
25054
25055 2005-09-14  David Schleef  <ds@schleef.org>
25056
25057         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25058           registries directory.
25059
25060 2005-09-14  David Schleef  <ds@schleef.org>
25061
25062         * check/Makefile.am:
25063         * check/generic/states.c:
25064         * gst/Makefile.am:
25065         * gst/gst.c:
25066         * gst/gst.h:
25067         * gst/gst_private.h:
25068         * gst/gstelementfactory.c:
25069         * gst/gstindex.c:
25070         * gst/gstinfo.c:
25071         * gst/gstplugin.c:
25072         * gst/gstplugin.h:
25073         * gst/gstpluginfeature.c:
25074         * gst/gstpluginfeature.h:
25075         * gst/gstregistry.c:
25076         * gst/gstregistry.h:
25077         * gst/gstregistrypool.c: remove
25078         * gst/gstregistrypool.h: remove
25079         * gst/gsttypefind.c:
25080         * gst/gsttypefindfactory.c:
25081         * gst/gsturi.c:
25082         * tools/Makefile.am:
25083         * tools/gst-compprep.c:
25084         * tools/gst-inspect.c:
25085         * tools/gst-register.c: remove
25086         * tools/gst-xmlinspect.c:
25087           Registry rewrite.  Changes registry from being a file created
25088           by a tool into a simple cache file created automatically by 
25089           libgstreamer.  Removed gst-register (because it's no longer
25090           needed).  Remove registry pools, because we only have one
25091           registry implementation (XML).  Fix up other subsystems as
25092           necessary.
25093
25094 2005-09-13  Michael Smith <msmith@fluendo.com>
25095
25096         * gst/gstconfig.h.in:
25097           Don't Use windows linking attributes for MinGW. Fixes #316157
25098
25099 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25100
25101         * gst/gstutils.c: (set_state_async_thread_func),
25102         (gst_element_set_state_async):
25103           Apparently people think it's better if this function doesn't
25104           try to set the state to whatever state was asked for on the first
25105           call to this function for any object.  Seriously.
25106
25107 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25108
25109         * check/gst/gstpipeline.c: (GST_START_TEST):
25110         * docs/gst/gstreamer-sections.txt:
25111         * gst/gstutils.c: (set_state_async_thread_func),
25112         (gst_element_set_state_async):
25113         * gst/gstutils.h:
25114           add a "gst_element_set_state_async" method that
25115           sets the state and starts a thread to make sure the state
25116           change completes as best as it can
25117
25118 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25119
25120         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25121           codify design+behaviour in testsuite after discussion
25122
25123 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25124
25125         * docs/gst/tmpl/gstelement.sgml:
25126         * docs/manual/appendix-quotes.xml:
25127           add a quote
25128         * gst/gstelement.c: (gst_element_set_state):
25129           add some debug
25130
25131 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25132
25133         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25134         (gst_base_transform_prepare_output_buf),
25135         (gst_base_transform_handle_buffer):
25136         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25137         (gst_capsfilter_prepare_buf):
25138           Remove the requirement for sub-classes to call the parent
25139           implementation of prepare_output_buffer with a wrapper function.
25140           
25141         * gst/gsttaglist.h:
25142         * gst/gsttagsetter.h:
25143           Fix #define wrapper
25144
25145 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25146
25147         * docs/gst/gstreamer-sections.txt:
25148           more doc cleanups
25149
25150 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25151
25152         * docs/gst/gstreamer-sections.txt:
25153         * docs/gst/tmpl/gstelement.sgml:
25154         * docs/gst/tmpl/gstplugin.sgml:
25155         * gst/gstminiobject.c:
25156         * gst/gstvalue.h:
25157           docs now stop throwing warnings
25158
25159 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25160
25161         * docs/gst/gstreamer-sections.txt:
25162         * docs/gst/gstreamer.types:
25163         * docs/gst/tmpl/gstpad.sgml:
25164         * docs/gst/tmpl/gsttypes.sgml:
25165         * gst/base/gstadapter.h:
25166         * gst/base/gstbasesink.h:
25167         * gst/base/gstbasesrc.h:
25168         * gst/gstbin.h:
25169         * gst/gstbuffer.h:
25170         * gst/gstbus.h:
25171         * gst/gstcaps.h:
25172         * gst/gstclock.h:
25173         * gst/gstelement.h:
25174         * gst/gstevent.h:
25175         * gst/gstmessage.h:
25176         * gst/gstpad.h:
25177         * gst/gststructure.c:
25178         * gst/registries/gstlibxmlregistry.h:
25179           various documentation fixes
25180
25181 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25182
25183         * docs/gst/gstreamer-sections.txt:
25184         * docs/gst/tmpl/gstvalue.sgml:
25185           rearrange gstvalue section
25186         * gst/gstutils.c: (gst_element_state_get_name):
25187           NONE -> VOID
25188         * gst/gstvalue.c: (_gst_value_initialize):
25189         * gst/gstvalue.h:
25190           doc updates
25191
25192 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25193
25194         * check/gst-libs/controller.c:
25195           Header include fix.
25196         * gst/base/gstbasetransform.c:
25197         (gst_base_transform_default_prepare_buf),
25198         (gst_base_transform_handle_buffer):
25199         * gst/base/gstbasetransform.h:
25200           Some more basetransform changes and fixes to enable sub-classes
25201           that modify buffer metadata only.
25202         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25203         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25204         (gst_capsfilter_prepare_buf):
25205           If the output pad has fixed allowed caps and input buffers 
25206           don't have any, set the fixed caps on outgoing buffers.
25207
25208 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25209         * check/elements/identity.c: (GST_START_TEST):
25210           Make the error a little clearer when the test fails because
25211           identity made a copy of the buffer.
25212         * docs/gst/gstreamer-sections.txt:
25213           New symbols in gstbasetransform.h
25214         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25215         (gst_base_transform_init), (gst_base_transform_transform_size),
25216         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25217         (gst_base_transform_default_prepare_buf),
25218         (gst_base_transform_get_unit_size),
25219         (gst_base_transform_buffer_alloc),
25220         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25221         (gst_base_transform_change_state),
25222         (gst_base_transform_set_passthrough),
25223         (gst_base_transform_set_in_place),
25224         (gst_base_transform_is_in_place):
25225         * gst/base/gstbasetransform.h:
25226           Change BaseTransform to separate in_place operate from same_caps
25227           output. in_place implies that the element can perform the transform
25228           on incoming buffers in-place, even if the caps on the output are
25229           different.
25230           Sub-class elements can now implement special buffer allocation
25231           methods for outgoing buffers if they wish to.
25232           Big documentation addition.
25233         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25234         * gst/elements/gstelements.c:
25235           Changes for basetransform modifications.
25236         * gst/elements/Makefile.am:
25237         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25238           Compile fix. Extra debug output.
25239
25240 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25241
25242         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25243         (gst_pad_suite):
25244           add tests for valid pad naming
25245         * gst/check/gstcheck.c: (gst_check_log_message_func),
25246         (gst_check_log_critical_func):
25247           add ASSERT_WARNING
25248           remove printing of code, it is fragile when the code contains
25249           % and the line number is enough info
25250         * gst/check/gstcheck.h:
25251         * gst/gstpad.c: (gst_pad_template_new):
25252           fix memleaks
25253
25254 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25255
25256         * configure.ac:
25257           say what CHECK flags we use
25258         * docs/libs/gstreamer-libs.types:
25259         * libs/gst/controller/Makefile.am:
25260         * libs/gst/controller/gst-controller.c:
25261         * libs/gst/controller/gst-controller.h:
25262         * libs/gst/controller/gst-helper.c:
25263         * libs/gst/controller/gst-interpolation.c:
25264         * libs/gst/controller/gstcontroller.c:
25265         * libs/gst/controller/gsthelper.c:
25266         * libs/gst/controller/gstinterpolation.c:
25267         * tools/gst-inspect.c: (print_plugin_info):
25268           we don't use dashes in header names
25269
25270 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25271
25272         * check/Makefile.am:
25273         * check/gst/.cvsignore:
25274         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25275         (gst_pipeline_suite), (main):
25276           adding a test for pipelines and state changes
25277         * gst/gstutils.c: (get_state_func):
25278           add some debugging
25279         * gstreamer.spec.in:
25280           fix up spec file
25281
25282 2005-09-08  Michael Smith <msmith@fluendo.com>
25283
25284         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25285         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25286         (gst_file_src_is_seekable), (gst_file_src_get_size),
25287         (gst_file_src_start):
25288         * gst/elements/gstfilesrc.h:
25289           Various fixes for unseekable, unmmapable, and non-normal files, so
25290           that fallback to read() rather than mmap() works.
25291         * gst/gstevent.c: (gst_event_new_newsegment):
25292           Allow newsegment events with segment_start == segment_end, as will
25293           correctly happen if you use filesrc on a zero-size file, for
25294           example.
25295
25296 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25297
25298         * gst/gstplugin.c: (gst_plugin_load_file):
25299           Call g_module_close when we don't load the module
25300
25301         * gst/registries/gstlibxmlregistry.c:
25302         (gst_xml_registry_get_property):
25303           Port leak fix from 0.8
25304
25305 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25306
25307         * docs/gst/gstreamer-docs.sgml:
25308         * docs/gst/tmpl/.cvsignore:
25309         * docs/gst/tmpl/gsttrace.sgml:
25310         * docs/gst/tmpl/gsttrashstack.sgml:
25311         * gst/Makefile.am:
25312         * gst/gst.h:
25313         * gst/gstelement.h:
25314         * gst/gstevent.h:
25315         * gst/gstmessage.c:
25316         * gst/gstmessage.h:
25317         * gst/gsttag.c:
25318         * gst/gsttag.h:
25319         * gst/gsttaginterface.c:
25320         * gst/gsttaginterface.h:
25321         * gst/gsttaglist.c:
25322         * gst/gsttaglist.h:
25323         * gst/gsttagsetter.c:
25324         * gst/gsttagsetter.h:
25325         * gst/gsttrace.c:
25326         * gst/gsttrace.h:
25327         * gst/gsttrashstack.c:
25328           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25329           inlined docs for gsttrace, gsttrashstack
25330
25331 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25332
25333         * gst/Makefile.am:
25334         * gst/elements/gstbufferstore.h:
25335         * gst/elements/gsttypefindelement.c:
25336         * gst/elements/gsttypefindelement.h:
25337         * gst/gst.h:
25338         * gst/gsttypefind.c:
25339         * gst/gsttypefind.h:
25340         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25341         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25342         (gst_type_find_factory_dispose),
25343         (gst_type_find_factory_unload_thyself),
25344         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25345         (gst_type_find_factory_get_caps),
25346         (gst_type_find_factory_get_extensions),
25347         (gst_type_find_factory_call_function):
25348         * gst/gsttypefindfactory.h:
25349         * gst/registries/gstlibxmlregistry.c:
25350         * gst/registries/gstxmlregistry.c:
25351           splitted gsttypefind into gsttypefind, gsttypefindfactory
25352
25353 2005-09-07  Andy Wingo  <wingo@pobox.com>
25354
25355         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25356         condition whereby the pad's task function is entered before the
25357         pad_mode variable was set.
25358
25359 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25360
25361         * gst/gstpad.c: (gst_pad_alloc_buffer):
25362           Catch misbehaving pad_alloc functions that don't
25363           set up caps and do it for them.
25364
25365 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25366
25367         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25368           test for pipe!=NULL
25369         * docs/gst/tmpl/.cvsignore:
25370         * docs/gst/tmpl/gstmemchunk.sgml:
25371         * docs/gst/tmpl/gstparse.sgml:
25372         * docs/gst/tmpl/gsttaglist.sgml:
25373         * docs/gst/tmpl/gsttagsetter.sgml:
25374         * docs/gst/tmpl/gsttypefind.sgml:
25375         * docs/gst/tmpl/gsttypefindfactory.sgml:
25376         * gst/gstmemchunk.c:
25377         * gst/gstparse.c:
25378         * gst/gsttag.c:
25379         * gst/gsttaginterface.c:
25380         * gst/gsttypefind.c:
25381         * gst/gsttypefind.h:
25382           inlined more docs
25383
25384 === release 0.9.2 ===
25385
25386 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25387
25388         * NEWS:
25389         * RELEASE:
25390         * configure.ac:
25391           releasing 0.9.2, "South"
25392
25393 2005-09-05  Andy Wingo  <wingo@pobox.com>
25394
25395         * gst/registries/gstxmlregistry.h:
25396         * gst/registries/gstxmlregistry.c: Um... resurrect...
25397         
25398         * gst/registries/gstxmlregistry.h:
25399         * gst/registries/gstxmlregistry.c: and update to newer API.
25400         Incidentally they should be a bit faster now that they don't have
25401         to parse the caps.
25402         
25403 2005-09-05  Andy Wingo  <wingo@pobox.com>
25404
25405         * gst/registries/gstxmlregistry.h:
25406         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25407         replaced by the libxml registry a while back
25408
25409 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25410
25411         * docs/gst/tmpl/gstplugin.sgml:
25412         * gst/elements/gstelements.c:
25413         * gst/gst.c:
25414         * gst/gstplugin.c: (gst_plugin_register_func),
25415         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25416         (gst_plugin_get_source):
25417         * gst/gstplugin.h:
25418         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25419         (gst_xml_registry_save_plugin):
25420         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25421         (gst_xml_registry_save_plugin):
25422         * tools/gst-inspect.c: (print_plugin_info):
25423           add a "source" plugin description field, to represent the source
25424           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25425           will set it to PACKAGE, which is automake's idea of the name of
25426           the source project.
25427
25428 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25429
25430         * Makefile.am:
25431         * autogen.sh:
25432         * configure.ac:
25433         * docs/Makefile.am:
25434         * docs/faq/Makefile.am:
25435         * docs/gst/tmpl/gstelement.sgml:
25436         * docs/gst/tmpl/gsttypes.sgml:
25437         * docs/htmlinstall.mak:
25438         * docs/manual/Makefile.am:
25439         * docs/pwg/Makefile.am:
25440           reorganize doc build a little
25441           split out docbook and gtk-doc stuff
25442           have two separate --enable's and enable them through autogen
25443           but disable by default in configure (to be similar to other
25444           projects)
25445         * gstreamer.spec.in:
25446           clean up docs install
25447         * po/af.po:
25448         * po/az.po:
25449         * po/ca.po:
25450         * po/cs.po:
25451         * po/de.po:
25452         * po/en_GB.po:
25453         * po/fr.po:
25454         * po/it.po:
25455         * po/nb.po:
25456         * po/nl.po:
25457         * po/ru.po:
25458         * po/sq.po:
25459         * po/sr.po:
25460         * po/sv.po:
25461         * po/tr.po:
25462         * po/uk.po:
25463         * po/vi.po:
25464           translation updates
25465
25466 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25467
25468         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25469           Add comment.
25470           
25471         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25472         (gst_fake_sink_change_state):
25473           Make state change function thread-safe.
25474           
25475         * gst/gstpad.c: (gst_pad_alloc_buffer):
25476           Set offset on generic buffer allocated by fallback.
25477
25478 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25479
25480         * docs/gst/gstreamer-sections.txt:
25481         * docs/gst/tmpl/gstelement.sgml:
25482         * gst/gstpad.c:
25483         * libs/gst/controller/gst-controller.c:
25484         (gst_controlled_property_set_interpolation_mode),
25485         (gst_controlled_property_new),
25486         (gst_controller_find_controlled_property):
25487          run the wingo-magic script against the docs
25488
25489 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25490
25491         * docs/gst/gstreamer-docs.sgml:
25492         * docs/gst/gstreamer-sections.txt:
25493         * docs/gst/tmpl/.cvsignore:
25494         * docs/gst/tmpl/gstelementdetails.sgml:
25495         * docs/gst/tmpl/gstelementfactory.sgml:
25496         * gst/gst.c:
25497         * gst/gstbus.c:
25498         * gst/gstelementfactory.c:
25499         * gst/gstelementfactory.h:
25500           merged elementdetails docs into elementfactory docs
25501           inlined both
25502
25503 2005-09-02  Andy Wingo  <wingo@pobox.com>
25504
25505         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25506         consider this enum an enum and not a flags.
25507
25508 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25509
25510         * docs/gst/gstreamer-docs.sgml:
25511         * docs/gst/tmpl/.cvsignore:
25512         * docs/gst/tmpl/gstghostpad.sgml:
25513         * docs/gst/tmpl/gstiterator.sgml:
25514         * docs/gst/tmpl/gstmacros.sgml:
25515         * docs/gst/tmpl/gstrealpad.sgml:
25516         * docs/gst/tmpl/gstregistry.sgml:
25517         * docs/gst/tmpl/gstregistrypool.sgml:
25518         * docs/gst/tmpl/gststructure.sgml:
25519         * docs/gst/tmpl/gstsystemclock.sgml:
25520         * docs/gst/tmpl/gsttrace.sgml:
25521         * gst/gstghostpad.c:
25522         * gst/gstmacros.h:
25523         * gst/gstmemchunk.c:
25524         * gst/gstmemchunk.h:
25525         * gst/gstqueue.c:
25526         * gst/gstregistry.c:
25527         * gst/gstregistrypool.c:
25528         * gst/gststructure.c:
25529         * gst/gstsystemclock.c:
25530           more docs inlined
25531
25532 2005-09-02  Andy Wingo  <wingo@pobox.com>
25533
25534         * gst/gstelement.h (GstState): Renamed from GstElementState,
25535         changed to be a normal enum instead of flags.
25536         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25537         munged to be GST_STATE_CHANGE_*.
25538         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25539         work with the new state representation.
25540         (GstStateChange): New enumeration of possible state transitions.
25541         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25542         (GstElementClass::change_state): Pass the GstStateChange along as
25543         an argument. Helps language bindings, so they don't have to use
25544         tricky lock-needing macros like GST_STATE_CHANGE ().
25545
25546         * scripts/update-states (file): New script. Run it on a file to
25547         update it for state naming and API changes. Updates files in
25548         place.
25549
25550         * All files updated for the new API.
25551
25552 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25553
25554         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25555         * gst/gstutils.c: (gst_util_set_value_from_string),
25556         (gst_util_set_object_arg):
25557           fix a bunch of unchecked return values
25558         * tools/gst-complete.c: (main):
25559         * gstreamer.spec.in:
25560           clean up a little
25561
25562 2005-09-01  Wim Taymans  <wim@fluendo.com>
25563
25564         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25565         (gst_base_sink_event), (gst_base_sink_do_sync),
25566         (gst_base_sink_handle_event):
25567         * gst/base/gstbasesink.h:
25568         Handle newsegments more correctly.
25569
25570         * gst/gstbus.c:
25571         Fix docs.
25572
25573         * gst/gstevent.c: (gst_event_new_newsegment):
25574         A newsegment cannot have a start_time of -1
25575
25576 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25577
25578         * win32/gstenumtypes.c:
25579         * win32/gstenumtypes.h:
25580           Update
25581
25582 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25583
25584         * libs/gst/controller/gst-controller.c:
25585         (gst_controlled_property_set_interpolation_mode),
25586         (gst_controlled_property_new):
25587          fixed boolean again
25588
25589 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25590
25591         * docs/faq/gst-uninstalled:
25592           add -good
25593         * gst/gstevent.c:
25594         * gst/gstevent.h:
25595           remove wrong docs
25596         * gst/gstutils.c: (gst_element_link_filtered):
25597         * gst/gstutils.h:
25598           add gst_element_link_filtered
25599
25600 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25601
25602         * docs/gst/gstreamer-docs.sgml:
25603         * docs/gst/gstreamer-sections.txt:
25604         * docs/gst/tmpl/.cvsignore:
25605         * docs/gst/tmpl/gsterror.sgml:
25606         * docs/gst/tmpl/gstfilter.sgml:
25607         * docs/gst/tmpl/gsturihandler.sgml:
25608         * docs/gst/tmpl/gsturitype.sgml:
25609         * docs/gst/tmpl/gstutils.sgml:
25610         * docs/gst/tmpl/gstxml.sgml:
25611         * gst/gsterror.c:
25612         * gst/gsterror.h:
25613         * gst/gstfilter.c:
25614         * gst/gsturi.c:
25615         * gst/gsturitype.c:
25616         * gst/gstutils.c:
25617         * gst/gstxml.c:
25618           inlined more docs, fixed double id-ref
25619
25620 2005-08-31  Wim Taymans  <wim@fluendo.com>
25621
25622         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25623         (gst_base_transform_handle_buffer):
25624         Passthrough elements don't need the caps as they don't care.
25625
25626 2005-08-31  Wim Taymans  <wim@fluendo.com>
25627
25628         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25629         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25630         Don't leak refcounts on buffers.
25631
25632 2005-08-31  Wim Taymans  <wim@fluendo.com>
25633
25634         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25635         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25636         (gst_base_transform_chain), (gst_base_transform_change_state):
25637         * gst/base/gstbasetransform.h:
25638         Handle the case where we are not negotiated more gracefully.
25639
25640 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25641
25642         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25643         (gst_file_src_map_region):
25644           Set READONLY flag on mmap'ed buffers, otherwise
25645           gst_buffer_make_writable() won't work properly (#314708).
25646
25647 2005-08-31  Wim Taymans  <wim@fluendo.com>
25648
25649         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25650         passthrough elements can even do inplace on non writable
25651         buffers (as they don't touch them).
25652
25653 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25654
25655         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25656         (gst_test_mono_source_set_property),
25657         (gst_test_mono_source_class_init), (GST_START_TEST),
25658         (gst_controller_suite):
25659           more tests (hehe I have the most)
25660         * gst/gstbus.c:
25661           describe popping messages whenusing mulltiple sources
25662         * libs/gst/controller/gst-controller.c:
25663         (gst_controlled_property_set_interpolation_mode),
25664         (gst_controlled_property_new):
25665         * libs/gst/controller/gst-controller.h:
25666         * libs/gst/controller/gst-interpolation.c:
25667           implement boolean properties
25668
25669 2005-08-31  Wim Taymans  <wim@fluendo.com>
25670
25671         * gst/gstminiobject.c: (gst_mini_object_ref):
25672         Cannot assert that the refcount has to be positive
25673         since a disposed object can be resurrected.
25674
25675 2005-08-31  Wim Taymans  <wim@fluendo.com>
25676
25677         * gst/gstpad.c: (gst_pad_init):
25678         Revert change, need to first fix badly behaving 
25679         apps.
25680
25681 2005-08-30  Wim Taymans  <wim@fluendo.com>
25682
25683         * check/elements/fakesrc.c: (setup_fakesrc):
25684         * check/elements/identity.c: (setup_identity):
25685         Activate pads before using them.
25686
25687 2005-08-30  Wim Taymans  <wim@fluendo.com>
25688
25689         * gst/base/gstadapter.c: (gst_adapter_flush):
25690         Flushing out 0 bytes is ok for this function.
25691
25692         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25693         no newsegment gives a warning and sets the start/stop to 
25694         invalid.
25695
25696         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25697         (gst_base_transform_set_passthrough):
25698         Some debug info.
25699
25700         * gst/gstminiobject.c: (gst_mini_object_ref):
25701         Check refcount here too.
25702
25703         * gst/gstpad.c: (gst_pad_init):
25704         Pads are initially flushing and refusing data.
25705
25706         * gst/gstutils.c: (gst_element_link_pads_filtered):
25707         When adding a capsfilter element make sure it has the
25708         same state as the parent bin.
25709
25710 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25711
25712         * docs/gst/tmpl/.cvsignore:
25713         * docs/gst/tmpl/gstformat.sgml:
25714         * docs/gst/tmpl/gstversion.sgml:
25715         * gst/gstbus.h:
25716         * gst/gstformat.c:
25717         * gst/gstformat.h:
25718         * gst/gstversion.h.in:
25719           more docs and two more inlined
25720
25721 2005-08-30  Wim Taymans  <wim@fluendo.com>
25722
25723         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25724         Don't sync to clock.
25725
25726 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25727
25728         * docs/gst/gstreamer-sections.txt:
25729           ultral33t func10ns deserve to appear in the docs actually
25730         * docs/gst/tmpl/.cvsignore:
25731         * docs/gst/tmpl/gstcompat.sgml:
25732         * docs/gst/tmpl/gstconfig.sgml:
25733         * gst/check/gstcheck.c:
25734         * gst/gstcompat.h:
25735         * gst/gstconfig.h.in:
25736           inlined more docs
25737
25738 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25739
25740         * docs/gst/tmpl/.cvsignore:
25741         * docs/gst/tmpl/gstquery.sgml:
25742         * docs/gst/tmpl/gstutils.sgml:
25743         * gst/gstquery.c:
25744         * gst/gstquery.h:
25745           inlined and extended docs
25746
25747 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25748
25749         * check/gst-libs/controller.c: (GST_START_TEST),
25750         (gst_controller_suite):
25751           more tests
25752         * docs/gst/tmpl/gstutils.sgml:
25753         * docs/libs/gstreamer-libs-sections.txt:
25754         * docs/libs/tmpl/gstdataprotocol.sgml:
25755           include path fixes
25756         * examples/controller/audio-example.c: (main):
25757           controller example works now
25758         * gst/gstclock.h:
25759           doc fixes
25760         * tools/gst-inspect.c: (print_element_properties_info):
25761           show param spec flags
25762
25763 2005-08-29  Andy Wingo  <wingo@pobox.com>
25764
25765         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25766
25767 2005-08-28  Andy Wingo  <wingo@pobox.com>
25768
25769         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25770         as having two arguments instead of just one. Allows superclasses
25771         to access information on subclasses -- see the terrible for() loop
25772         in gtype.c:g_type_create_instance for the reason why. All callers
25773         changed.
25774
25775 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25776
25777         * docs/design/part-messages.txt:
25778           update info
25779         * docs/gst/tmpl/.cvsignore:
25780         * docs/gst/tmpl/gstcaps.sgml:
25781         * docs/gst/tmpl/gstclock.sgml:
25782         * gst/gstbus.c:
25783         * gst/gstcaps.c:
25784         * gst/gstcaps.h:
25785         * gst/gstclock.c:
25786         * gst/gstclock.h:
25787         * gst/gstmessage.c:
25788           added descriptions for bus and message
25789           inline caps and clock docs
25790
25791 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25792
25793         * gst/gstmessage.c:
25794         * gst/gstmessage.h:
25795           doc fixes
25796
25797 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25798
25799         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25800           fix div-by-zero
25801
25802 2005-08-26  Andy Wingo  <wingo@pobox.com>
25803
25804         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25805         element_set_state's return val.
25806         (test_2_elements): Add test that's been disabled for months.
25807
25808         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25809         can-activate-pull properties.
25810
25811         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25812         can-activate-pull properties. Implement is_seekable so fakesrc can
25813         operate in pull mode.
25814
25815         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25816         properties.
25817         (gst_base_sink_activate, gst_base_sink_activate_pull)
25818         (gst_base_sink_activate_push): Make activation mode choosing work.
25819         Cleanups.
25820         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25821         is right. Make pull mode work. Post an eos before pausing in pull
25822         mode.
25823         (gst_base_sink_change_state): Pay attention to the core's
25824         change_state() return val.
25825         
25826         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25827         has-getrange properties. Cleanups.
25828         
25829         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25830         has_getrange and replace with can_activate_pull and
25831         can_activate_push.
25832
25833         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25834         locking comments. Remove has_loop, has_chain and replace with
25835         can_activate_pull and can_activate_push.
25836
25837 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
25838
25839         * configure.ac:
25840         * examples/Makefile.am:
25841         * examples/metadata/Makefile.am:
25842         * examples/metadata/read-metadata.c: (message_loop),
25843         (have_pad_handler), (make_pipeline), (print_tag), (main):
25844           Add metadata reading example that loops over a list of filenames,
25845           dumping any tags found.
25846
25847         * gst/gstbus.c: (gst_bus_dispose):
25848         * gst/gstelement.c: (gst_element_dispose):
25849           Release a few potentially-held references in dispose.
25850
25851 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25852
25853         * docs/gst/tmpl/gstminiobject.sgml:
25854           do *not* add tmpl/*.sgml files to CVS!
25855
25856 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25857
25858         * libs/gst/bytestream/.cvsignore:
25859         * libs/gst/bytestream/Makefile.am:
25860         * libs/gst/bytestream/adapter.c:
25861         * libs/gst/bytestream/adapter.h:
25862         * libs/gst/bytestream/bytestream.c:
25863         * libs/gst/bytestream/bytestream.h:
25864         * libs/gst/bytestream/filepad.c:
25865         * libs/gst/bytestream/filepad.h:
25866           removing obsolete files
25867
25868 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25869
25870         * docs/gst/gstreamer-docs.sgml:
25871         * docs/libs/gstreamer-libs-docs.sgml:
25872           disabed additional index entries again, as this makes docs-gen just
25873           slow and they aren't useful yet
25874         * docs/libs/gstreamer-libs-sections.txt:
25875           little -section.txt cleanup for libs
25876
25877 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
25878
25879         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25880         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25881           fix up some debugging
25882         (gst_base_transform_get_unit_size),
25883         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25884         (gst_base_transform_handle_buffer):
25885         * gst/base/gstbasetransform.h:
25886           handle and store timed NEWSEGMENT events so that subclasses that
25887           calculate time by counting samples have a segment_start time they
25888           need to add to their timestamps - see audioresample
25889
25890 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25891
25892         * gst/gstbin.h:
25893           removed ';' from the end of macro defs
25894         * docs/gst/gstreamer-docs.sgml:
25895         * docs/gst/gstreamer-sections.txt:
25896         * docs/gst/tmpl/.cvsignore:
25897         * gst/gstbus.h:
25898         * gst/gstelement.c: (gst_element_class_init),
25899         (gst_element_set_state), (activate_pads),
25900         (gst_element_save_thyself):
25901         * gst/gstevent.c: (gst_event_new_newsegment):
25902         * gst/gstevent.h:
25903         * gst/gstiterator.c:
25904         * gst/gstiterator.h:
25905         * gst/gstpad.c:
25906         * gst/gstprobe.h:
25907         * gst/gstutils.c: (gst_pad_query_convert):
25908         * gst/gstutils.h:
25909           fixed parameter name mismatches between source, header and docs
25910           added some more docs, resolved the last batch of unused elements in
25911           docs (now someone needs to doc them)
25912
25913 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25914
25915         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25916         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25917           don't walk through the plugins backwards.  Where is all this
25918           reversed logic coming from ?
25919
25920 2005-08-25  Wim Taymans  <wim@fluendo.com>
25921
25922         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25923         (gst_base_transform_transform_size),
25924         (gst_base_transform_configure_caps),
25925         (gst_base_transform_get_unit_size),
25926         (gst_base_transform_buffer_alloc),
25927         (gst_base_transform_change_state):
25928         * gst/base/gstbasetransform.h:
25929         Cache caps unit_size.
25930         Make sure we cannot negotiate up and downstream at the
25931         same time.
25932
25933 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25934
25935         * gst/gst.c: (init_pre), (init_post):
25936           register the installed plugin path after the env var
25937         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25938         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25939           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25940           directories, so the tests can prefer uninstalled over installed
25941
25942 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25943
25944         * gst/base/gstbasetransform.h:
25945           comment
25946         * gst/gstpad.c:
25947           add to docs
25948
25949 2005-08-25  Wim Taymans  <wim@fluendo.com>
25950
25951         * gst/gstbin.c: (bin_bus_handler):
25952         Be a bit more conservative about the posted message.
25953         
25954         * gst/gstbus.c: (gst_bus_post):
25955         Some cleanups, warn wrong return values.
25956
25957 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
25958
25959         * check/gst/gstbin.c: (GST_START_TEST):
25960         * gst/gstbin.c: (bin_bus_handler):
25961         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25962         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25963         (gst_message_new_warning), (gst_message_new_tag),
25964         (gst_message_new_state_changed), (gst_message_new_segment_start),
25965         (gst_message_new_segment_done), (gst_message_new_custom):
25966         * gst/gstmessage.h:
25967         * tools/gst-launch.c: (event_loop):
25968         * tools/gst-md5sum.c: (event_loop):
25969           Revert unpopular change for GST_MESSAGE_SRC to GObject.
25970
25971 2005-08-25  Wim Taymans  <wim@fluendo.com>
25972
25973         * check/generic/states.c: (GST_START_TEST):
25974         Cleanup can be done at the end.
25975
25976         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25977         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25978         (gst_task_get_state), (gst_task_start), (gst_task_pause):
25979         Oh boy.. Thanks for finding this, Thomas. 
25980
25981 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
25982
25983         * docs/gst/gstreamer.types:
25984           added missing types
25985
25986 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
25987
25988         * docs/gst/gstreamer-docs.sgml:
25989         * docs/gst/gstreamer-sections.txt:
25990         * docs/gst/tmpl/.cvsignore:
25991         * gst/gstbin.c:
25992         * gst/gstiterator.c:
25993         * gst/gstutils.c:
25994         * gst/registries/gstxmlregistry.h:
25995           added missing classes and symbols (123 more to go)
25996           removed removed symbols from section file
25997           fixed many doc-comments
25998
25999 2005-08-24  Wim Taymans  <wim@fluendo.com>
26000
26001         * check/generic/states.c: (GST_START_TEST):
26002         Make sure all tasks are stopped.
26003
26004         * check/gst/gstbin.c: (GST_START_TEST):
26005         Unref after usage for proper valgrinding.
26006
26007         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26008         Really wait for the task to stop before destroying the
26009         mutex.
26010
26011         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26012         (gst_queue_src_activate_push):
26013         Small cleanups. Don't stop the task when we did not start
26014         it.
26015
26016         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26017         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26018         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26019         (gst_task_join):
26020         * gst/gsttask.h:
26021         Protect the stream lock with the object lock.
26022         Disallow setting the stream lock when running.
26023         Add cleanup_all to wait for the threadpool to finish.
26024         Remove code to autoallocate a mutex if none was provided.
26025         Add _join() to wait for a task to stop.
26026         Protect the thread pool with a global lock.
26027
26028 2005-08-24  Wim Taymans  <wim@fluendo.com>
26029
26030         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26031         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26032         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26033         * gst/base/gstbasesink.h:
26034         Handle newsegment events correctly.
26035         Drop buffers out of the segment range.
26036
26037 2005-08-22  Andy Wingo  <wingo@pobox.com>
26038
26039         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26040         macro, implements an interface and gstimplementsinterface for a
26041         new type.
26042
26043 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26044
26045         * check/Makefile.am:
26046         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26047           add a test that does a bunch of state changes on elements
26048           needs some fixing for valgrind
26049         * check/states/sinks.c: (gst_object_suite):
26050           whitespace
26051         * gst/gstcaps.h:
26052           add prototype for gst_caps_is_equal_fixed
26053         * gst/gstplugin.c:
26054         * gst/gstregistrypool.c:
26055           doc fixes
26056
26057 2005-08-24  Andy Wingo  <wingo@pobox.com>
26058
26059         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26060         convert a negative value. Doesn't make much sense. Mostly this is
26061         here to force callers to ensure -1 maps to -1.
26062
26063 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26064
26065         * docs/pwg/advanced-types.xml:
26066           Well done to Michael for catching my deliberate introduction
26067           of this spelling mistake. 
26068         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26069         * gst/gstelement.h:
26070           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26071           unlink pads before removing the element from the bin.
26072
26073 2005-08-24  Andy Wingo  <wingo@pobox.com>
26074
26075         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26076         the same thing as GST_DEBUG=*:4.
26077         (parse_debug_level, parse_debug_category): New helper parsers.
26078
26079 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26080
26081         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26082         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26083         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26084         (gst_base_transform_buffer_alloc),
26085         (gst_base_transform_handle_buffer):
26086           use gboolean return values and pointers to size so we can use the
26087           full GST_BUFFER_SIZE range (guint) for buffer sizes
26088           use GstPadDirection for transform_caps
26089         * gst/base/gstbasetransform.h:
26090           rename get_size to get_unit_size since that's what it is
26091         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26092           use GstPadDirection for transform_caps
26093         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26094         * gst/gstutils.h:
26095           cleanup and debugging
26096
26097 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26098
26099         * gst/gstelement.c: (gst_element_class_init),
26100         (gst_element_set_state), (activate_pads),
26101         (gst_element_save_thyself):
26102         * tools/gst-compprep.c: (main):
26103         * tools/gst-inspect.c: (print_element_properties_info):
26104         * tools/gst-xmlinspect.c: (print_element_properties):
26105           Fixed long standing mem-leak
26106
26107 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26108
26109         * check/gst/gstbin.c: (GST_START_TEST):
26110         * gst/gstbin.c: (bin_bus_handler):
26111         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26112         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26113         (gst_message_new_warning), (gst_message_new_tag),
26114         (gst_message_new_state_changed), (gst_message_new_segment_start),
26115         (gst_message_new_segment_done), (gst_message_new_custom):
26116         * gst/gstmessage.h:
26117         * tools/gst-launch.c: (event_loop):
26118         * tools/gst-md5sum.c: (event_loop):
26119           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26120           that applications can sensibly post custom messages with references
26121           to their own objects.
26122
26123 2005-08-24  Andy Wingo  <wingo@pobox.com>
26124
26125         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26126         already.
26127
26128 2005-08-24  Wim Taymans  <wim@fluendo.com>
26129
26130         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26131         (gst_base_transform_transform_caps),
26132         (gst_base_transform_transform_size),
26133         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26134         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26135         (gst_base_transform_handle_buffer):
26136         * gst/base/gstbasetransform.h:
26137         Many fixes and new features added by Thomas. Can now also do
26138         transforms with variable sizes and a custom fixate_caps function.
26139
26140 2005-08-24  Wim Taymans  <wim@fluendo.com>
26141
26142         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26143         Some debugging.
26144
26145         * gst/gstclock.h:
26146         Cast to ClockTime before formatting to time.
26147
26148         * gst/gstutils.h:
26149         Cleanups.
26150
26151 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26152
26153         * check/gst-libs/controller.c: (GST_START_TEST),
26154         (gst_controller_suite):
26155         * docs/gst/tmpl/gstcaps.sgml:
26156         * docs/gst/tmpl/gstghostpad.sgml:
26157         * docs/gst/tmpl/gstquery.sgml:
26158         * docs/gst/tmpl/gstutils.sgml:
26159         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26160         (gst_object_sink_values), (gst_object_get_value_arrays),
26161         (gst_object_get_value_array):
26162           gracefully handle helper method calls to objects that are not beeing
26163           controlled, added test case for that          
26164
26165 2005-08-23  Wim Taymans  <wim@fluendo.com>
26166
26167         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26168         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26169         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26170         (gst_event_parse_qos), (gst_event_new_seek),
26171         (gst_event_parse_seek):
26172         * gst/gstevent.h:
26173         Some more debugging output and doc cleanups.
26174
26175         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26176         Fix possible deadlock.
26177
26178 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26179
26180         * docs/gst/gstreamer-docs.sgml:
26181         * docs/gst/gstreamer-sections.txt:
26182         * docs/gst/gstreamer.types:
26183         * docs/gst/tmpl/.cvsignore:
26184         * gst/gstbin.h:
26185         * gst/gstbus.c:
26186         * gst/gstelement.c:
26187         * gst/gstevent.h:
26188           added 100 symbols from gstreamer-unused.txt to the right sections
26189           fixed more broken comments
26190           added GstBus to docs
26191
26192 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26193
26194         * docs/gst/gstreamer-sections.txt:
26195         * docs/gst/tmpl/.cvsignore:
26196         * docs/gst/tmpl/gstbin.sgml:
26197         * docs/gst/tmpl/gstbuffer.sgml:
26198         * gst/base/gstbasesrc.c:
26199         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26200         * gst/gstbuffer.c:
26201         * gst/gstbuffer.h:
26202         * tools/gst-launch.1.in:
26203           inlined more doc comments, added missing comments and fixed comments
26204           fixed typos
26205
26206 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26207
26208         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26209           some debugging
26210         * gst/gstcaps.h:
26211           whitespace fixes
26212         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26213           more debugging
26214         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26215         * gst/gststructure.h:
26216           add a fixate function for booleans; add a FIXME that these func
26217           names should probably be gst_structure_fixate_*
26218
26219 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26220
26221         * docs/gst/gstreamer-docs.sgml:
26222         * docs/gst/gstreamer-sections.txt:
26223         * gst/Makefile.am:
26224         * gst/gstbin.c: (gst_bin_get_type),
26225         (gst_bin_child_proxy_get_child_by_index),
26226         (gst_bin_child_proxy_get_children_count),
26227         (gst_bin_child_proxy_init):
26228         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26229         (gst_child_proxy_get_child_by_index),
26230         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26231         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26232         (gst_child_proxy_get), (gst_child_proxy_set_property),
26233         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26234         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26235         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26236         * gst/gstchildproxy.h:
26237         * gst/parse/grammar.y:
26238         * tools/gst-inspect.c: (print_interfaces),
26239         (print_element_properties_info), (print_element_info):
26240           ported gstchildproxy over from 0.8
26241           ported gst-inspect fixes and enhancements over from 0.8
26242
26243 2005-08-22  Wim Taymans  <wim@fluendo.com>
26244
26245         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26246         (gst_base_transform_handle_buffer):
26247         Also call the transform function if we have ANY caps.
26248
26249         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26250         Fix debug info.
26251
26252 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26253
26254         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26255           Don't pretend to handle seek events if the source is not seekable
26256
26257 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26258
26259         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26260           Remove extra parameter to debug output
26261
26262         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26263         (gst_base_src_do_seek), (gst_base_src_activate_push):
26264           Fix seek event handling.
26265
26266         * gst/gstpipeline.c: (gst_pipeline_change_state):
26267         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26268         (gst_queue_src_activate_push):
26269           Don't start the src pad task on FLUSH_STOP if the pad
26270           isn't linked.
26271           Debug changes.
26272
26273 2005-08-22  Wim Taymans  <wim@fluendo.com>
26274
26275         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26276         Added check for gst_static_caps_get() refcounting.
26277
26278 2005-08-22  Wim Taymans  <wim@fluendo.com>
26279
26280         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26281         Make _static_caps_get() refcounting sane.
26282         
26283         * gst/gstelement.c: (gst_element_set_state):
26284         Add g_return_val_if_fail() to protect against segfaults.
26285
26286 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26287
26288         * docs/gst/tmpl/gstevent.sgml:
26289         * gst/gstevent.c:
26290         * gst/gstevent.h:
26291           inlined remaining docs, added missing doc comments
26292
26293 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26294
26295         * check/gst/gstbin.c: (GST_START_TEST):
26296           since we don't know when preroll is done, use refcount range
26297           check for the sink
26298         * gst/check/gstcheck.h:
26299           add macro for checking refcount range
26300
26301 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26302
26303         * check/Makefile.am:
26304           clean up environment for when registry gets built versus
26305           when actual tests are run; valgrind seems to not report
26306           leaks if GST_PLUGIN_PATH is set to some specific values
26307         * check/gst/gstbin.c: (GST_START_TEST):
26308           add more refcounting checks; maybe this exposes a
26309           preroll lock bug ?
26310         * common/check.mak:
26311         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26312         * gst/check/gstcheck.h:
26313         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26314         (gst_bin_change_state):
26315         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26316           add/fix debugging/whitespace
26317
26318 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26319
26320         * check/gst/gstevent.c: (event_probe), (test_event),
26321         (GST_START_TEST):
26322          Er, don't call gst_bin_watch_for_state_change you idiot.
26323
26324 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26325
26326         * check/Makefile.am:
26327           Use CHECK_CFLAGS and CHECK_LIBS
26328         * check/gst/gstevent.c: (event_probe), (test_event),
26329         (GST_START_TEST):
26330           Don't leak events.
26331         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26332         (gst_base_src_start), (gst_base_src_stop),
26333         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26334         (gst_base_src_change_state):
26335           Sprinkle gst_base_src_stop liberally around error paths to fix
26336           problems reusing a source after failed state changes.
26337         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26338         (helper_find_suggest), (gst_type_find_helper):
26339           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26340         * gst/gstevent.h:
26341         * docs/gst/tmpl/gstevent.sgml:
26342           Migrate part of the docs from the SGML file. Wait for ensonic to
26343           tell me how I did it wrong ;)
26344         * tools/gst-typefind.c: (main):
26345           Extra robustness to state changes between files.
26346
26347 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26348
26349         * check/Makefile.am:
26350           don't valgrind the controller test - it's leaking - Stefan, HELP
26351         * gst/check/gstcheck.c: (gst_check_message_error),
26352         (gst_check_chain_func), (gst_check_setup_element),
26353         (gst_check_teardown_element), (gst_check_setup_src_pad),
26354         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26355         (gst_check_teardown_sink_pad):
26356         * gst/check/gstcheck.h:
26357           add a bunch of methods to set up elements, and src and sink pads
26358         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26359         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26360         (GST_START_TEST):
26361           use them
26362         * gst/gstmessage.c:
26363         * gst/gsttag.h:
26364           whitespace/doc fixes
26365
26366 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26367
26368         * gst/gstelement.h:
26369           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26370           be handled by the application and not always printed as well
26371
26372 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26373
26374         * check/Makefile.am:
26375           set GST_TOOLS_DIR
26376         * gst/check/gstcheck.c: (gst_check_message_error):
26377         * gst/check/gstcheck.h:
26378           add a fail_unless_equals_int
26379           add fail_unless for error messages
26380
26381 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26382
26383         * check/Makefile.am:
26384         * check/gst.supp:
26385         * common/Makefile.am:
26386         * common/check.mak:
26387         * common/gst.supp:
26388           factor out some of the common stuff so we can use it
26389
26390 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26391
26392         * check/Makefile.am:
26393         * check/gst/gstiterator.c: (GST_START_TEST):
26394         * check/gst/gstsystemclock.c: (GST_START_TEST),
26395         (gst_systemclock_suite):
26396         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26397         * gst/gstclock.c:
26398           valgrind more tests
26399
26400 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26401
26402         * check/elements/.cvsignore:
26403         * check/elements/gstfakesrc.c:
26404           rename to name of element
26405         * check/elements/identity.c: (chain_func), (event_func),
26406         (setup_identity), (cleanup_identity), (GST_START_TEST),
26407         (identity_suite), (main):
26408           add a test for identity
26409         * check/Makefile.am:
26410         * pkgconfig/Makefile.am:
26411         * pkgconfig/gstreamer-check.pc.in:
26412         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26413         * gst/check:
26414         * gst/Makefile.am:
26415         * configure.ac:
26416           move the check stuff to a library that gets installed
26417         * check/gst-libs/controller.c: (GST_START_TEST):
26418         * check/gst-libs/gdp.c:
26419         * check/gst/gst.c: (GST_START_TEST):
26420         * check/gst/gstbin.c:
26421         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26422         * check/gst/gstbus.c:
26423         * check/gst/gstcaps.c: (GST_START_TEST):
26424         * check/gst/gstelement.c:
26425         * check/gst/gstghostpad.c:
26426         * check/gst/gstiterator.c:
26427         * check/gst/gstmessage.c:
26428         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26429         * check/gst/gstobject.c:
26430         * check/gst/gstpad.c: (GST_START_TEST):
26431         * check/gst/gststructure.c: (GST_START_TEST):
26432         * check/gst/gstsystemclock.c: (GST_START_TEST),
26433         (gst_systemclock_suite):
26434         * check/gst/gsttag.c: (gst_tag_suite):
26435         * check/gst/gstvalue.c:
26436         * check/pipelines/cleanup.c:
26437         * check/pipelines/simple_launch_lines.c:
26438         * check/states/sinks.c:
26439           change include statement
26440
26441         * docs/gst/gstreamer-sections.txt:
26442         * docs/gst/tmpl/gstpad.sgml:
26443           document more pad stuff
26444         * gst/gstminiobject.c: (gst_mini_object_ref),
26445         (gst_mini_object_unref):
26446           debug refcounting
26447
26448 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26449
26450         * docs/gst/tmpl/gst.sgml:
26451         * gst/gst.c:
26452           eliminate another tmpl file, fix spelling in the long-description
26453
26454 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26455
26456         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26457         (test_event), (timediff), (gstevents_suite):
26458           Should fix build on 64-bit arch's
26459
26460 2005-08-18  Andy Wingo  <wingo@pobox.com>
26461
26462         Make sure that when a pipeline goes to PLAYING, that data has
26463         actually hit the sink.
26464
26465         * check/states/sinks.c (test_sink): A sink that doesn't get any
26466         data shouldn't return SUCCESS for going to either PLAYING or
26467         PAUSED. Test also the return values on the way back down.
26468
26469         * gst/gstelement.c (gst_element_set_state): When changing the
26470         state of an element currently changing state asynchronously, go to
26471         lost-state after commiting the pending state. Makes future calls
26472         to get_state continue to return ASYNC.
26473
26474         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26475         ASYNC when going to PLAYING if we still don't have preroll, as can
26476         happen with live sources.
26477
26478 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26479
26480         * docs/pwg/advanced-types.xml:
26481           Hack long paragraph into 2 chunks as a workaround for buggy
26482           jadetex version in sid and breezy that loops infinitely and
26483           eats all RAM.
26484
26485 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26486
26487         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26488         (test_event), (timediff), (gstevents_suite):
26489           Provide more error margin in clock measurements to allow for 
26490           g_get_current_time inaccuracies.
26491
26492 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26493
26494         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26495         (test_event), (timediff), (gstevents_suite):
26496            Fix error message output so I might be able to tell why the
26497            test works here but fails on the build farm.
26498
26499 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26500
26501         * check/Makefile.am:
26502         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26503         (test_event), (timediff), (gstevents_suite), (main):
26504           I wrote a test!
26505
26506         * docs/design/part-seeking.txt:
26507           Spelling correction
26508
26509         * docs/gst/tmpl/gstevent.sgml:
26510         * docs/gst/tmpl/gstfakesrc.sgml:
26511           Docs updates.
26512
26513         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26514           Treat a buffer-without-newsegment the same as a receiving 
26515           a newsegment not in time format, and disable syncing to the clock
26516           with a warning.
26517
26518         * gst/gstbus.c: (gst_bus_set_sync_handler):
26519           Assert if anyone tries to replace the existing sync_handler for bus, 
26520           as only the owner should be setting it.
26521
26522         * gst/gstevent.h:
26523           Have a fixed set of custom event enums with events identified by
26524           their structure name (as in 0.8), rather than a free-for-all
26525           allowing collisions between enum values from different plugins.
26526
26527         * gst/gstpad.c: (gst_pad_class_init):
26528           Docs change.
26529           
26530         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26531           Handle out-of-band downstream events from the sending thread.
26532
26533 2005-08-17  Andy Wingo  <wingo@pobox.com>
26534
26535         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26536         play-timeout==0 to mean no timeout at all. In that case, don't
26537         bother with a get_state or a warning, just return directly, even
26538         if it's ASYNC.
26539
26540         * gst/base/gstbasetransform.c: Debug changes.
26541
26542         * gst/gstutils.h:
26543         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26544         ensure bins post state change messages. A bit of a hack but I can't
26545         think of a way to avoid it.
26546
26547         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26548
26549 2005-08-16  Andy Wingo  <wingo@pobox.com>
26550
26551         * gst/base/gstadapter.h:
26552         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26553         peek() but you own the data. Not terribly efficient atm.
26554
26555 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26556
26557         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26558         (gst_element_found_tags):
26559         * gst/gstutils.h:
26560           Add two utility functions for tag handling.
26561
26562 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26563
26564         * docs/manual/advanced-dataaccess.xml:
26565         * docs/manual/basics-helloworld.xml:
26566           Fix docs to use _bin_add() before _link(), which fixes the examples
26567           with recent core versions (reported by Madhan Raj M
26568           <raj_madan@rediffmail.com>, #313199).
26569
26570 2005-08-16  Wim Taymans  <wim@fluendo.com>
26571
26572         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26573         Added subtract checks.
26574
26575         * docs/design/part-events.txt:
26576         Some more docs about newsegment
26577
26578         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26579         Fix FIXME
26580
26581         * gst/gstcaps.c: (gst_caps_to_string):
26582         Add comments, cleanups.
26583         
26584         * gst/gstelement.c: (gst_element_save_thyself):
26585         cleanups
26586         
26587         * gst/gstvalue.c: (gst_value_collect_int_range),
26588         (gst_string_unwrap), (gst_value_union_int_int_range),
26589         (gst_value_union_int_range_int_range),
26590         (gst_value_intersect_int_int_range),
26591         (gst_value_intersect_int_range_int_range),
26592         (gst_value_intersect_double_double_range),
26593         (gst_value_intersect_double_range_double_range),
26594         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26595         (gst_value_subtract_int_range_int),
26596         (gst_value_subtract_double_range_double),
26597         (gst_value_subtract_double_range_double_range),
26598         (gst_value_subtract_from_list), (gst_value_subtract_list),
26599         (gst_value_can_compare), (gst_value_compare_fraction):
26600         Cleanups, add comments, remove unneeded asserts.
26601
26602 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26603
26604         * tools/gst-launch.c: (event_loop):
26605           don't convert NULL structures to strings
26606
26607 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26608
26609         * docs/gst/gstreamer-sections.txt:
26610           made some defines private
26611         * docs/gst/tmpl/gstconfig.sgml:
26612         * docs/gst/tmpl/gstqueue.sgml:
26613         * docs/gst/tmpl/gsttaglist.sgml:
26614         * docs/gst/tmpl/gsttypes.sgml:
26615         * docs/gst/tmpl/gstutils.sgml:
26616         * docs/pwg/appendix-porting.xml:
26617         * gst/base/gstbasesink.h:
26618         * gst/base/gstbasesrc.c:
26619         * gst/base/gstbasesrc.h:
26620         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26621         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26622         * gst/gstelement.c: (gst_element_class_init):
26623         * gst/gstpad.c: (gst_pad_class_init):
26624         * gst/gstqueue.c: (gst_queue_class_init):
26625         * gst/gstxml.c: (gst_xml_class_init):
26626           documented all undocumented signal inline
26627         * libs/gst/controller/gst-controller.h:
26628           added padding
26629
26630 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26631
26632         * docs/pwg/appendix-porting.xml:
26633           Document _set_link_function -> _set_setcaps_function.
26634
26635 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26636
26637         * check/Makefile.am:
26638           add a .check target for running the check
26639         * check/gst-libs/controller.c: (GST_START_TEST):
26640           cosmetic fixups
26641         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26642           complete checks for gstbuffer; would be nice if I could get the
26643           gcov stuff to work so I can see if I actually completed gstbuffer.c
26644         * check/gstcheck.h:
26645           add ASSERT_BUFFER_REFCOUNT
26646
26647 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26648
26649         * docs/gst/gstreamer-sections.txt:
26650         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26651         * gst/gsttag.h:
26652           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26653           spew out a warning if a tag that is already registered
26654           is re-registered, unless it is re-registered with a 
26655           different type (#308438).
26656
26657 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26658
26659         * docs/pwg/appendix-porting.xml:
26660         * docs/pwg/building-state.xml:
26661           Add some paragraphs about state changes in 0.9 to the PWG
26662           and the porting guide, in particular about the new meaning
26663           of GST_STATE_PAUSED and how to write state change functions
26664           with concurrent access by multiple threads in mind.
26665
26666 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26667
26668         * docs/gst/gstreamer-docs.sgml:
26669         * docs/libs/gstreamer-libs-docs.sgml:
26670           added deprecation and since indexes
26671         * libs/gst/controller/gst-controller.c:
26672         * libs/gst/controller/gst-helper.c:
26673           added since tags
26674
26675
26676 2005-08-11  Wim Taymans  <wim@fluendo.com>
26677
26678         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26679         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26680         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26681         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26682         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26683         (gst_ghost_pad_set_target):
26684         Actually implement (re)setting the target on a ghostpad
26685         as described in the docs.
26686
26687 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26688
26689         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26690           Check whether GST_DEBUG_NO_COLOR environment variable is
26691           set and disable coloured debug output if that is the case.
26692
26693 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26694
26695         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26696         (gst_type_find_helper):
26697           The memory returned by gst_type_find_peek() needs to
26698           stay valid until the end of a typefind function, and
26699           typefind functions may keep results from different 
26700           offsets around, so we can't just unref the buffer from
26701           the previous _peek(), but have to save all buffers 
26702           returned by _peek() until typefinding is done and only
26703           free them then.
26704
26705 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26706
26707         * docs/gst/gstreamer-sections.txt:
26708         * gst/gstutils.h:
26709           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26710
26711 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26712
26713         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26714           Fix a pretty good memleak.
26715
26716 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26717
26718         * gst/gstiterator.h:
26719           Fix wrong include and 'make distcheck'.
26720
26721 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26722
26723         * gst/gstbin.c: (bin_bus_handler):
26724           Use gst_element_post_message() instead.
26725
26726 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26727
26728         * gst/base/gstadapter.h:
26729         * gst/base/gstbasesink.h:
26730         * gst/base/gstbasesrc.h:
26731         * gst/base/gstbasetransform.h:
26732         * gst/base/gstcollectpads.h:
26733         * gst/base/gstpushsrc.h:
26734         * gst/gstiterator.h:
26735           Add padding to our base elements' class and instance structs and
26736           to GstIterator (you will need to rebuild all plugins and apps!)
26737
26738 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26739
26740         * gst/gstbin.c: (bin_bus_handler):
26741           Make default message forwarding from child->bus to bin->bus
26742           threadsafe and make it not emit warnings if the parent has no bus.
26743
26744 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26745
26746         * gst/gstelement.c: (activate_pads):
26747           On paused->ready, set pad->caps to NULL, as is the documented
26748           behaviour in this state change. Fixes playback of series of
26749           media files when visualization is enabled in Totem.
26750
26751 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26752
26753         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26754           Allow NULL as filter-caps (which means "any").
26755
26756 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26757
26758         * docs/libs/gstreamer-libs-sections.txt:
26759         * libs/gst/controller/gst-controller.c:
26760         * libs/gst/controller/gst-controller.h:
26761         * libs/gst/controller/gst-helper.c:
26762           adding more entries to the docs and fix small doc-bugs
26763
26764 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26765
26766         * docs/gst/gstreamer-docs.sgml:
26767         * docs/gst/gstreamer-sections.txt:
26768         * docs/gst/gstreamer.types:
26769         * docs/gst/tmpl/gstbasesink.sgml:
26770         * docs/gst/tmpl/gstbasesrc.sgml:
26771         * docs/gst/tmpl/gstbasetransform.sgml:
26772         * docs/gst/tmpl/gstfakesrc.sgml:
26773         * gst/base/gstcollectpads.c:
26774         * gst/base/gstcollectpads.h:
26775         * libs/gst/controller/gst-controller.c:
26776         * libs/gst/controller/gst-controller.h:
26777         * libs/gst/controller/gst-helper.c:
26778         * libs/gst/controller/gst-interpolation.c:
26779         * libs/gst/controller/lib.c:
26780           added long/short desc for controller docs
26781           added collectpads base class docs
26782           added correct includes to base-class docs
26783
26784 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26785
26786         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26787         (gst_test_mono_source_set_property),
26788         (gst_test_mono_source_class_init), (GST_START_TEST),
26789         (gst_controller_suite):
26790         * docs/gst/gstreamer-docs.sgml:
26791         * docs/gst/gstreamer-sections.txt:
26792         * docs/gst/gstreamer.types:
26793         * docs/libs/gstreamer-libs-docs.sgml:
26794         * docs/libs/gstreamer-libs-sections.txt:
26795         * gst/base/gstadapter.c:
26796         * libs/gst/controller/gst-controller.c:
26797         (gst_controlled_property_new), (gst_controlled_property_free),
26798         (gst_controller_new_valist),
26799         (gst_controller_remove_properties_valist),
26800         (gst_controller_sink_values), (_gst_controller_finalize):
26801         * libs/gst/controller/gst-controller.h:
26802         * libs/gst/controller/gst-helper.c:
26803         (gst_object_control_properties), (gst_object_uncontrol_properties),
26804         (gst_object_get_controller), (gst_object_set_controller),
26805         (gst_object_sink_values), (gst_object_get_value_arrays),
26806         (gst_object_get_value_array):
26807           more tests (and fixes) for the controller
26808           more docs for the controller
26809           integrated companies docs for the adapter 
26810
26811 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
26812
26813         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26814         (GST_START_TEST), (fakesrc_suite):
26815           add tests for sizetype
26816
26817 2005-08-04  Andy Wingo  <wingo@pobox.com>
26818
26819         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26820         fixes buffer_alloc proxying among other things.
26821
26822         * gst/base/gstbasetransform.c:
26823         * gst/base/gstbasetransform.h:
26824         Revert patch to gstbasetransform from 7-28 removing
26825         delay_configure.
26826
26827         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26828         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26829         Semantics changed, should return not the size of the output buffer
26830         but the byte size of a buffer with a given caps.
26831
26832         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26833         debug object.
26834         (gst_base_transform_configure_caps): Don't set out_size here: (in,
26835         out) are not the pad caps until setcaps finishes.
26836         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26837         not-in-place case as well. Deal with changing from in-place to
26838         not-in-place within calling pad_alloc_buffer. Still a bit
26839         concerned about the overhead here...
26840
26841 2005-08-03  Andy Wingo  <wingo@pobox.com>
26842
26843         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26844         fixating is an error.
26845
26846 2005-08-04  Edward Hervey  <edward@fluendo.com>
26847
26848         * gst/base/gstadapter.h: 
26849         Added gst_adapter_get_type() to the header
26850
26851 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26852
26853         * check/Makefile.am:
26854         * check/gst-libs/controller.c:
26855         * libs/gst/controller/gst-controller.c:
26856         (gst_controller_new_valist):
26857           added check test suite for the controller
26858         * gst/base/gstpushsrc.c:
26859           fixed a doc typo
26860
26861 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26862
26863         * docs/gst/Makefile.am:
26864         * docs/gst/gstreamer-docs.sgml:
26865         * docs/gst/gstreamer-sections.txt:
26866         * docs/gst/gstreamer.types:
26867         * docs/gst/tmpl/gstfakesrc.sgml:
26868         * gst/base/README:
26869         * gst/base/gstbasesink.c:
26870         * gst/base/gstbasesink.h:
26871         * gst/base/gstbasesrc.c:
26872         * gst/base/gstbasesrc.h:
26873         * gst/base/gstbasetransform.c:
26874         * gst/base/gstpushsrc.c:
26875         * gst/base/gstpushsrc.h:
26876           add short/long description docs to base classes
26877           add pushsrc to the docs
26878           remove consolidated doc fragments
26879
26880 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26881
26882         * configure.ac:
26883         * docs/libs/Makefile.am:
26884         * docs/libs/gstreamer-libs-docs.sgml:
26885         * docs/libs/gstreamer-libs-sections.txt:
26886         * docs/libs/gstreamer-libs.types:
26887         * examples/Makefile.am:
26888         * examples/controller/.cvsignore:
26889         * examples/controller/Makefile.am:
26890         * examples/controller/audio-example.c: (main):
26891         * libs/gst/Makefile.am:
26892         * libs/gst/controller/.cvsignore:
26893         * libs/gst/controller/Makefile.am:
26894         * libs/gst/controller/gst-controller.c:
26895         (on_object_controlled_property_changed), (gst_timed_value_compare),
26896         (gst_timed_value_find),
26897         (gst_controlled_property_set_interpolation_mode),
26898         (gst_controlled_property_new), (gst_controlled_property_free),
26899         (gst_controller_find_controlled_property),
26900         (gst_controller_new_valist), (gst_controller_new),
26901         (gst_controller_remove_properties_valist),
26902         (gst_controller_remove_properties), (gst_controller_set),
26903         (gst_controller_set_from_list), (gst_controller_unset),
26904         (gst_controller_get), (gst_controller_get_all),
26905         (gst_controller_sink_values), (gst_controller_get_value_arrays),
26906         (gst_controller_get_value_array),
26907         (gst_controller_set_interpolation_mode),
26908         (_gst_controller_finalize), (_gst_controller_init),
26909         (_gst_controller_class_init), (gst_controller_get_type):
26910         * libs/gst/controller/gst-controller.h:
26911         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26912         (g_object_uncontrol_properties), (g_object_get_controller),
26913         (g_object_set_controller), (g_object_sink_values),
26914         (g_object_get_value_arrays), (g_object_get_value_array):
26915         * libs/gst/controller/gst-interpolation.c:
26916         (gst_controlled_property_find_timed_value_node),
26917         (interpolate_none_get), (interpolate_trigger_get),
26918         (interpolate_trigger_get_value_array):
26919         * libs/gst/controller/lib.c: (gst_controller_init):
26920         * pkgconfig/Makefile.am:
26921         * pkgconfig/gstreamer-control-uninstalled.pc.in:
26922         * pkgconfig/gstreamer-control.pc.in:
26923         * testsuite/Makefile.am:
26924         * testsuite/controller/.cvsignore:
26925         * testsuite/controller/Makefile.am:
26926         * testsuite/controller/interpolator.c: (main):
26927           added controller code
26928           removed dparam pc files
26929
26930 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
26931         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26932         (gst_collectpads_stop):
26933           Broadcast the condition when shutting down, to make sure we wake all
26934           threads up. Shut down pads on finalize, for safety.
26935
26936 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
26937         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26938         (gst_base_transform_handle_buffer),
26939         (gst_base_transform_change_state):
26940           Handle PAUSED->READY->PAUSED transition after negotiation
26941           occurred already.
26942         * gst/gstmessage.c: (gst_message_init):
26943           Extra piece of debug for new messages.
26944
26945 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
26946
26947         * configure.ac:
26948         * docs/gst/tmpl/gstbasesrc.sgml:
26949         * docs/gst/tmpl/gstelement.sgml:
26950         * docs/gst/tmpl/gstevent.sgml:
26951         * docs/gst/tmpl/gstfakesrc.sgml:
26952         * docs/gst/tmpl/gstformat.sgml:
26953         * docs/gst/tmpl/gstghostpad.sgml:
26954         * docs/gst/tmpl/gstpad.sgml:
26955         * docs/gst/tmpl/gstquery.sgml:
26956         * docs/gst/tmpl/gststructure.sgml:
26957         * docs/gst/tmpl/gsttaglist.sgml:
26958         * docs/gst/tmpl/gstvalue.sgml:
26959         * docs/libs/gstreamer-libs-docs.sgml:
26960         * docs/libs/gstreamer-libs-sections.txt:
26961         * docs/libs/gstreamer-libs.types:
26962         * libs/gst/Makefile.am:
26963         * libs/gst/control/.cvsignore:
26964         * libs/gst/control/Makefile.am:
26965         * libs/gst/control/control.c:
26966         * libs/gst/control/control.h:
26967         * libs/gst/control/dparam.c:
26968         * libs/gst/control/dparam.h:
26969         * libs/gst/control/dparam_smooth.c:
26970         * libs/gst/control/dparam_smooth.h:
26971         * libs/gst/control/dparamcommon.h:
26972         * libs/gst/control/dparammanager.c:
26973         * libs/gst/control/dparammanager.h:
26974         * libs/gst/control/dplinearinterp.c:
26975         * libs/gst/control/dplinearinterp.h:
26976         * libs/gst/control/unitconvert.c:
26977         * libs/gst/control/unitconvert.h:
26978         * testsuite/Makefile.am:
26979         * testsuite/dynparams/.cvsignore:
26980         * testsuite/dynparams/Makefile.am:
26981         * testsuite/dynparams/dparamstest.c:
26982         * tools/Makefile.am:
26983         * tools/gst-inspect.c: (print_element_info), (main):
26984         * tools/gst-xmlinspect.c: (print_element_info), (main):
26985           deactivate and remove dparams (libgstcontrol)
26986
26987 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
26988
26989         * gst/elements/gsttypefindelement.c:
26990         (gst_type_find_element_have_type), (gst_type_find_element_init),
26991         (stop_typefinding), (gst_type_find_element_handle_event),
26992         (gst_type_find_element_chain), (gst_type_find_element_getrange):
26993         * gst/elements/gsttypefindelement.h:
26994           Set caps on all outgoing buffers, not just the first one.
26995
26996 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
26997
26998         * gst/elements/gsttypefindelement.c:
26999         (gst_type_find_element_have_type),
27000         (gst_type_find_element_check_set_buffer_caps),
27001         (gst_type_find_element_init), (stop_typefinding),
27002         (gst_type_find_element_handle_event),
27003         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27004         * gst/elements/gsttypefindelement.h:
27005           Set caps on first outgoing buffer when we've found the type.
27006
27007 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27008
27009         * docs/gst/gstreamer-docs.sgml:
27010         * docs/gst/gstreamer-sections.txt:
27011         * docs/gst/tmpl/gstscheduler.sgml:
27012         * docs/gst/tmpl/gstschedulerfactory.sgml:
27013           Remove some old cruft from docs.
27014
27015 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27016
27017         * gst/gstpad.h:
27018           Fix inline docs for GstPadLinkReturn.
27019           
27020         * gst/gststructure.c: (gst_structure_has_name):
27021         * gst/gststructure.h:
27022         * docs/gst/gstreamer-sections.txt:
27023           New API: gst_structure_has_name().
27024
27025 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27026
27027         * configure.ac:
27028           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27029           and _LARGEFILE_SOURCE in config.h as required. Do not 
27030           export those flags in our .pc files any longer (#142209).
27031
27032           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27033
27034         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27035         (gst_file_sink_do_seek), (gst_file_sink_event),
27036         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27037           Redo seek/tell calls with large file support in mind; add some
27038           debugging messages; add log message that tells us when large
27039           file support is unavailable or not enabled for some reason.
27040
27041         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27042           Add log message that tells us when large file support 
27043           is unavailable or not enabled for some reason.
27044
27045 2005-07-29  Wim Taymans  <wim@fluendo.com>
27046
27047         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27048         Added test for removing an element with ghostpad from a bin.
27049         Fixed test as current implementation does the right thing.
27050
27051         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27052         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27053         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27054         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27055         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27056         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27057         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27058         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27059         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27060         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27061         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27062         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27063         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27064         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27065         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27066         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27067         * gst/gstghostpad.h:
27068         Clean up ghostpads, remove properties for internal stuff.
27069         Make threadsafe.
27070         Fix refcounting.
27071         Prepare for switching targets, not all use cases work yet.
27072
27073 2005-07-29  Wim Taymans  <wim@fluendo.com>
27074
27075         * docs/design/part-gstghostpad.txt:
27076         Small update.
27077
27078         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27079         (gst_bin_remove_func):
27080         Unlinking pads while holding the bin LOCK is not a good
27081         idea.
27082
27083         * gst/gstpad.c: (gst_pad_class_init),
27084         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27085         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27086         No prob setting template after creating the pad.
27087
27088 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27089
27090         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27091         (gst_bus_peek), (gst_bus_source_dispatch),
27092         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27093         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27094           gst_bus_poll may be called from other threads. Handle
27095           this nicely by not making poll_data disappear off the
27096           stack once gst_bus_poll returns.
27097           gst_bus_peek now increments the refcount on the returned
27098           message.
27099
27100 2005-07-29  Wim Taymans  <wim@fluendo.com>
27101
27102         * docs/design/part-gstghostpad.txt:
27103         Overview of current GhostPad datastructures and use
27104         cases for changing the target.
27105
27106 2005-07-28  Wim Taymans  <wim@fluendo.com>
27107
27108         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27109         Added checks for hierarchy consistency whan adding linked
27110         elements to bins.
27111
27112         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27113         Added check to test element scheduling without bin/pipeline.
27114
27115         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27116         First add elements to bin, then link.
27117         
27118         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27119         (gst_bin_remove_func):
27120         Unlink pads from elements added/removed from bin to maintain
27121         hierarchy consistency.
27122
27123 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27124
27125         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27126         (gst_base_transform_handle_buffer):
27127         * gst/base/gstbasetransform.h:
27128           Remove broken delay_configure (fixes renegotiation of software
27129           scaling pipelines); remove some leftover printf()s.
27130
27131 2005-07-28  Wim Taymans  <wim@fluendo.com>
27132
27133         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27134         Added some more tests for wrong hierarchy
27135
27136         * docs/design/part-overview.txt:
27137         Some updates.
27138
27139         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27140         Cleanups.
27141
27142         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27143         (gst_element_dispose):
27144         Some more cleanups.
27145
27146         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27147         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27148         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27149         (gst_pad_set_caps), (gst_pad_send_event):
27150         Check for correct hierarchy when linking pads. Moving to
27151         strict requirement for ghostpads when linking elements in
27152         different bins.
27153
27154         * gst/gstpad.h:
27155         Clean ups. Added WRONG_HIERARCHY return value.
27156
27157 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27158
27159         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27160           Better debug if no transform is possible.
27161
27162 2005-07-27  Wim Taymans  <wim@fluendo.com>
27163
27164         * docs/random/wtay/network-transp:
27165         Some old doc I had.
27166
27167 2005-07-27  Wim Taymans  <wim@fluendo.com>
27168
27169         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27170         (gst_dp_event_from_packet):
27171         Fix serialization of seek events.
27172
27173 2005-07-27  Wim Taymans  <wim@fluendo.com>
27174
27175         * check/gst-libs/gdp.c: (GST_START_TEST):
27176         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27177         Fix compilation and fix event serialization.
27178
27179 2005-07-27  Wim Taymans  <wim@fluendo.com>
27180
27181         * CHANGES-0.9:
27182         * docs/design/part-TODO.txt:
27183         * docs/design/part-events.txt:
27184         Some docs updates
27185
27186         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27187         (gst_base_sink_event), (gst_base_sink_do_sync),
27188         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27189         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27190         (gst_base_src_do_seek), (gst_base_src_event_handler),
27191         (gst_base_src_loop):
27192         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27193         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27194         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27195         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27196         (gst_base_transform_set_passthrough),
27197         (gst_base_transform_is_passthrough):
27198         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27199         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27200         Event updates.
27201
27202         * gst/gstbuffer.h:
27203         Use faster casts.
27204
27205         * gst/gstelement.c: (gst_element_seek):
27206         * gst/gstelement.h:
27207         Update gst_element_seek.
27208
27209         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27210         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27211         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27212         (gst_event_new_eos), (gst_event_new_newsegment),
27213         (gst_event_parse_newsegment), (gst_event_new_tag),
27214         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27215         (gst_event_parse_qos), (gst_event_new_seek),
27216         (gst_event_parse_seek), (gst_event_new_navigation):
27217         * gst/gstevent.h:
27218         Make GstEvent use GstStructure. Add parsing code, make sure the
27219         API is sufficiently generic.
27220         Mark possible directions of events and serialization.
27221
27222         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27223         (_gst_message_copy), (gst_message_new_segment_start),
27224         (gst_message_new_segment_done), (gst_message_new_custom),
27225         (gst_message_parse_segment_start),
27226         (gst_message_parse_segment_done):
27227         Small cleanups.
27228
27229         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27230         (gst_pad_set_caps), (gst_pad_send_event):
27231         Update for new events. 
27232         Catch events sent in wrong directions.
27233
27234         * gst/gstqueue.c: (gst_queue_link_src),
27235         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27236         (gst_queue_handle_src_query):
27237         Event updates.
27238
27239         * gst/gsttag.c:
27240         * gst/gsttag.h:
27241         Remove event code from this file.
27242
27243         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27244         (gst_dp_event_from_packet):
27245         Event updates.
27246
27247 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27248
27249         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27250         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27251         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27252           Make debugging actually useful.
27253
27254 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27255
27256         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27257         (gst_pad_fixate_caps):
27258           Implement default fixation once again, so that gst_pad_fixate()
27259           actually does anything at all. This probably needs to be some
27260           sort of a last resort, and use profile-based fixation first, but
27261           since that doesn't exist yet, this is the best we have. Fixes
27262           visualization in Totem.
27263
27264 2005-07-22  Wim Taymans  <wim@fluendo.com>
27265
27266         * docs/design/part-events.txt:
27267         Small update.
27268
27269         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27270         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27271         (gst_base_sink_activate_pull):
27272         Some more comments.
27273
27274         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27275         (gst_fake_src_create):
27276         Fix handoff marshall.
27277
27278         * gst/elements/gstidentity.c: (gst_identity_class_init),
27279         (gst_identity_transform_ip):
27280         We're a real inplace element.
27281
27282         * gst/gstbus.c: (gst_bus_post):
27283         Added some comments.
27284
27285         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27286         * tests/muxing/case1.c: (main):
27287         * tests/sched/dynamic-pipeline.c: (main):
27288         * tests/sched/interrupt1.c: (main):
27289         * tests/sched/interrupt2.c: (main):
27290         * tests/sched/interrupt3.c: (main):
27291         * tests/sched/runxml.c: (main):
27292         * tests/sched/sched-stress.c: (main):
27293         * tests/seeking/seeking1.c: (event_received), (main):
27294         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27295         (main):
27296         * tests/threadstate/threadstate3.c: (main):
27297         * tests/threadstate/threadstate4.c: (main):
27298         * tests/threadstate/threadstate5.c: (main):
27299         Fix the tests.
27300
27301 2005-07-21  Wim Taymans  <wim@fluendo.com>
27302
27303         * docs/design/part-seeking.txt:
27304         Some small additions.
27305
27306         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27307         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27308         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27309         * gst/base/gstbasesink.h:
27310         discont values are gint64, handle the math correctly.
27311
27312         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27313         Make the basesrc report error if the source pad is not linked.
27314
27315         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27316         (gst_queue_loop), (gst_queue_handle_src_query),
27317         (gst_queue_src_activate_push):
27318         Make queue collect data even if the srcpad is not linked.
27319         Start pushing out data as soon as it is linked.
27320
27321         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27322         * gst/gstutils.h:
27323         Added gst_flow_get_name() to ease error reporting.
27324
27325 2005-07-20  Wim Taymans  <wim@fluendo.com>
27326
27327         * gst/gstmessage.c: (gst_message_new_segment_start),
27328         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27329         (gst_message_parse_segment_done):
27330         * gst/gstmessage.h:
27331         Added a bunch of messages for advanced seeking.
27332
27333         * gst/parse/grammar.y:
27334         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27335         (gst_dpman_state_changed):
27336         Fix some new-pad -> pad-added signals
27337
27338 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27339
27340         * docs/manual/appendix-porting.xml:
27341         * docs/pwg/appendix-porting.xml:
27342           Document new-pad/state-change signal renames and the FixedList
27343           type rename.
27344
27345 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27346
27347         * docs/manual/advanced-autoplugging.xml:
27348         * docs/manual/basics-helloworld.xml:
27349         * docs/manual/basics-pads.xml:
27350         * docs/random/ds/0.9-suggested-changes:
27351         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27352         * gst/gstelement.h:
27353         * gst/gstevent.h:
27354         * gst/gstformat.h:
27355         * gst/gstquery.h:
27356         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27357         (gst_structure_parse_array), (gst_structure_parse_value):
27358         * gst/gstvalue.c: (gst_type_is_fixed),
27359         (gst_value_list_prepend_value), (gst_value_list_append_value),
27360         (gst_value_list_get_size), (gst_value_list_get_value),
27361         (gst_value_transform_array_string), (gst_value_serialize_array),
27362         (gst_value_deserialize_array), (gst_value_intersect_array),
27363         (gst_value_is_fixed), (_gst_value_initialize):
27364         * gst/gstvalue.h:
27365           GstElement::new-pad -> pad-added, GstElement::state-change ->
27366           state-changed, GstValueFixedList -> GstValueArray, add format and
27367           flags as their own arguments in gst_element_seek() (should improve
27368           "bindeability"), remove function generators since they don't work
27369           under a whole bunch of compilers (they were deprecated already
27370           anyway).
27371
27372 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27373
27374         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27375         (_gst_debug_register_funcptr):
27376         * gst/gstinfo.h:
27377           Fix illegal cast on some platforms (#309253).
27378
27379 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27380
27381         * gst/gstmessage.c: (gst_message_new_custom):
27382         * gst/gstmessage.h:
27383           Add _new_custom, make _new_application a macro to _new_custom.
27384
27385 2005-07-20  Wim Taymans  <wim@fluendo.com>
27386
27387         * gst/base/gstbasesrc.c: (gst_base_src_init),
27388         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27389         * gst/base/gstbasesrc.h:
27390         Add a gboolean to decide when to push out a discont.
27391
27392         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27393         (gst_queue_loop), (gst_queue_handle_src_query),
27394         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27395         (gst_queue_set_property), (gst_queue_get_property):
27396         Some cleanups.
27397
27398         * tests/threadstate/threadstate1.c: (main):
27399         Make a thread test compile and run... very silly..
27400
27401
27402 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27403
27404         * docs/manual/appendix-porting.xml:
27405           Mention removal of libgstgconf-0.9.la and existence of gconf
27406           elements.
27407
27408 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27409
27410         * docs/pwg/advanced-clock.xml:
27411         * docs/pwg/appendix-porting.xml:
27412         * docs/pwg/intro-preface.xml:
27413         * docs/pwg/other-base.xml:
27414         * docs/pwg/other-manager.xml:
27415         * docs/pwg/other-nton.xml:
27416         * docs/pwg/other-ntoone.xml:
27417         * docs/pwg/other-oneton.xml:
27418         * docs/pwg/pwg.xml:
27419           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27420           demuxer), remove n-to-n (was never written), fix some code examples
27421           and links and update the porting section to include all this.
27422
27423 2005-07-19  Wim Taymans  <wim@fluendo.com>
27424
27425         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27426         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27427         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27428         (gst_queue_src_activate_push), (gst_queue_change_state),
27429         (gst_queue_get_property):
27430         * gst/gstqueue.h:
27431         Propagate GstFlowReturn more intelligently upstream and output
27432         an ERROR/EOS when streaming stopped due to fatal error.
27433
27434 2005-07-19  Wim Taymans  <wim@fluendo.com>
27435
27436         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27437         Don't block forever for the state change to complete, the
27438         pipeline already did with a sensible timeout.
27439
27440 2005-07-19  Wim Taymans  <wim@fluendo.com>
27441
27442         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27443         Make sure we never call the create function is we
27444         got deactivated.
27445
27446 2005-07-19  Andy Wingo  <wingo@pobox.com>
27447
27448         * gst/parse/parse.l: Attempt to solve bug #172815.
27449
27450 2005-07-19  Wim Taymans  <wim@fluendo.com>
27451
27452         * docs/design/part-clocks.txt:
27453         * docs/design/part-events.txt:
27454         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27455         Small docs updates.
27456         Only update the seeking values when we are not
27457         busy streaming.
27458
27459 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27460
27461         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27462           Oops, ignore the result of gst_pad_push_event here.
27463
27464 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27465
27466         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27467         (gst_base_src_activate_push):
27468           Send discont event from the loop function, as pads
27469           aren't activated yet in the activate_push handler.
27470
27471         * gst/gstbin.c: (bin_bus_handler):
27472           Don't leak element name.
27473
27474 2005-07-18  Andy Wingo  <wingo@pobox.com>
27475
27476         * configure.ac: Use AS_LIBTOOL_TAGS.
27477
27478 2005-07-18  Wim Taymans  <wim@fluendo.com>
27479
27480         * docs/gst/gstreamer.types:
27481         Remove deleted types.
27482
27483 2005-07-18  Wim Taymans  <wim@fluendo.com>
27484
27485         * check/elements/gstfakesrc.c: (GST_START_TEST):
27486         * configure.ac:
27487         * gst/Makefile.am:
27488         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27489         (init_popt_callback):
27490         * gst/gst.h:
27491         * gst/gst_private.h:
27492         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27493         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27494         * gst/gstbin.h:
27495         * gst/gstbus.h:
27496         * gst/gstconfig.h.in:
27497         * gst/gstelement.c: (gst_element_class_init),
27498         (gst_element_set_base_time), (gst_element_get_base_time),
27499         (iterator_fold_with_resync), (gst_element_change_state),
27500         (gst_element_dispose), (gst_element_get_bus):
27501         * gst/gstelement.h:
27502         * gst/gstelementfactory.h:
27503         * gst/gsterror.c: (_gst_core_errors_init):
27504         * gst/gsterror.h:
27505         * gst/gstevent.h:
27506         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27507         * gst/gstindex.c:
27508         * gst/gstinfo.c: (_gst_debug_init):
27509         * gst/gstmessage.c: (_gst_message_copy):
27510         * gst/gstmessage.h:
27511         * gst/gstminiobject.h:
27512         * gst/gstobject.c:
27513         * gst/gstobject.h:
27514         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27515         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27516         * gst/gstpad.h:
27517         * gst/gstparse.h:
27518         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27519         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27520         (gst_pipeline_get_last_stream_time):
27521         * gst/gstpipeline.h:
27522         * gst/gstpluginfeature.h:
27523         * gst/gstquery.h:
27524         * gst/gstscheduler.c:
27525         * gst/gstscheduler.h:
27526         * gst/gststructure.h:
27527         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27528         (gst_task_finalize), (gst_task_func), (gst_task_create),
27529         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27530         (gst_task_stop), (gst_task_pause):
27531         * gst/gsttask.h:
27532         * gst/gsttypefind.h:
27533         * gst/gsttypes.h:
27534         * gst/registries/gstlibxmlregistry.c: (load_feature),
27535         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27536         * gst/registries/gstxmlregistry.c:
27537         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27538         * gst/schedulers/threadscheduler.c:
27539         * libs/gst/control/dparammanager.h:
27540         * tools/gst-inspect.c: (print_element_list),
27541         (print_plugin_features), (print_element_features):
27542         * tools/gst-xmlinspect.c: (print_element_list),
27543         (print_plugin_info), (main):
27544         Removed plugable schedulers.
27545         Removed Scheduler/Manager from elements.
27546         Removed gsttypes.h, rearranged includes.
27547         Removed dependency pad<->element, element<>pipeline, and
27548         various others,  fix includes.
27549         implement gst_pad_get_parent() with gst_object_get_parent()
27550         Make GstTask sefcontained.
27551         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27552         timeout.
27553         Fix endless loop in iterator_fold_with_resync.
27554
27555
27556 2005-07-18  Wim Taymans  <wim@fluendo.com>
27557
27558         * gst/Makefile.am:
27559         * gst/gstarch.h:
27560         Remove old file.
27561
27562 2005-07-18  Wim Taymans  <wim@fluendo.com>
27563
27564         * gst/Makefile.am:
27565         No more cothreads.h
27566
27567 2005-07-18  Wim Taymans  <wim@fluendo.com>
27568
27569         * gst/cothreads.c:
27570         * gst/cothreads.h:
27571         Let's remove these.
27572
27573 2005-07-18  Wim Taymans  <wim@fluendo.com>
27574
27575         * docs/design/part-dynamic.txt:
27576         * docs/design/part-events.txt:
27577         * docs/design/part-seeking.txt:
27578         Some more docs in the works.
27579
27580         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27581         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27582         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27583         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27584         (gst_base_transform_handle_buffer),
27585         (gst_base_transform_sink_activate_push),
27586         (gst_base_transform_src_activate_pull),
27587         (gst_base_transform_set_passthrough),
27588         (gst_base_transform_is_passthrough):
27589         Refcounting fixes.
27590
27591         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27592         Cleanups.
27593
27594         * gst/gstevent.c: (gst_event_finalize):
27595         Set SRC to NULL.
27596
27597         * gst/gstutils.c: (gst_element_unlink),
27598         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27599         (gst_pad_proxy_setcaps):
27600         * gst/gstutils.h:
27601         Add _get_parent_element() to get a pads parent as an element.
27602
27603 2005-07-18  Wim Taymans  <wim@fluendo.com>
27604
27605         * check/gst/gstbin.c: (GST_START_TEST):
27606         Remove bogus test.
27607
27608 2005-07-18  Wim Taymans  <wim@fluendo.com>
27609
27610         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27611         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27612         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27613         (gst_base_sink_event), (gst_base_sink_do_sync),
27614         (gst_base_sink_chain), (gst_base_sink_loop),
27615         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27616         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27617         Refcounting fixes.
27618         Fix logic for returning ASYNC when not prerolled.
27619
27620 2005-07-18  Wim Taymans  <wim@fluendo.com>
27621
27622         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27623         Fix nasty refcount bug.
27624
27625 2005-07-16 Philippe Khalaf <burger@speedy.org>
27626
27627         * gst/elements/gstfdsrc.c:
27628         * gst/elements/gstfdsrc.h:
27629         * gst/elements/gstelements.c:
27630         * gst/elements/Makefile.am:
27631         Ported fdsrc to 0.9.
27632
27633 2005-07-16  Wim Taymans  <wim@fluendo.com>
27634
27635         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27636         (gst_base_sink_do_sync):
27637         Fix compile error.
27638
27639 2005-07-16  Wim Taymans  <wim@fluendo.com>
27640
27641         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27642         (gst_base_sink_event), (gst_base_sink_get_times),
27643         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27644         * gst/base/gstbasesink.h:
27645         Store and use discont values when syncing buffers as described
27646         in design docs.
27647         
27648         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27649         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27650         (gst_base_src_activate_push):
27651         Push discont event when starting.
27652
27653         * gst/elements/gstidentity.c: (gst_identity_transform):
27654         Small cleanups.
27655
27656         * gst/gstbin.c: (gst_bin_change_state):
27657         Small cleanups in base_time  distribution.
27658
27659         * gst/gstelement.c: (gst_element_set_base_time),
27660         (gst_element_get_base_time), (gst_element_change_state):
27661         * gst/gstelement.h:
27662         Added methods for the base_time of the element.
27663         Some MT fixes.
27664
27665         * gst/gstpipeline.c: (gst_pipeline_send_event),
27666         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27667         (gst_pipeline_get_last_stream_time):
27668         * gst/gstpipeline.h:
27669         MT fixes.
27670         Handle seeking as described in design doc, remove stream_time
27671         hack.
27672         Cleanups clock and stream_time selection code. Added accessors
27673         for the stream_time.
27674         
27675
27676 2005-07-16  Andy Wingo  <wingo@pobox.com>
27677
27678         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27679         (#305291).
27680
27681 2005-07-16  Wim Taymans  <wim@fluendo.com>
27682
27683         * check/gst/gstbin.c: (GST_START_TEST):
27684         Make elements silent as the deep_notify refs the
27685         parent, which might make the test fail.
27686
27687         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27688         Don't hold the lock for too long.
27689
27690 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27691
27692         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27693           Don't unref the caps we passed to gst_caps_make_writable() after
27694           passing them. gst_caps_make_writable() will do that for us.
27695
27696 2005-07-15  Andy Wingo  <wingo@pobox.com>
27697
27698         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27699         (#157311).
27700
27701         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27702         own marshalling function for the handoff signal. Properly type the
27703         buffer as a buffer. Fixes some warnings. Should do a more general
27704         solution.
27705         (gst_identity_class_init): Plug into the right marshaller.
27706
27707 2005-07-15  Wim Taymans  <wim@fluendo.com>
27708
27709         * docs/design/part-TODO.txt:
27710         * docs/design/part-clocks.txt:
27711         * docs/design/part-element-sink.txt:
27712         * docs/design/part-events.txt:
27713         * docs/design/part-gstpipeline.txt:
27714         Updated docs, mostly DISCONT related.
27715
27716 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27717
27718         * docs/pwg/building-pads.xml:
27719           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27720
27721 2005-07-15  Andy Wingo  <wingo@pobox.com>
27722
27723         * tools/gst-typefind.c: Update, add copyright block.
27724
27725         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27726         Normalize and truncate caps before fixation.
27727
27728         * gst/gstcaps.h:
27729         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27730         discards all but the first structure from its argument.
27731
27732 2005-07-15  Wim Taymans  <wim@fluendo.com>
27733
27734         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27735         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27736         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27737         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27738         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27739         (gst_base_transform_chain), (gst_base_transform_change_state),
27740         (gst_base_transform_set_passthrough),
27741         (gst_base_transform_is_passthrough):
27742         * gst/base/gstbasetransform.h:
27743         Make passthrough work using the bufferpools.
27744         Changed API a bit, subclasses have to write into a buffer
27745         provided by the base class.
27746         More debug info in nego functions.
27747         
27748         * gst/elements/gstidentity.c: (gst_identity_init),
27749         (gst_identity_transform):
27750         Port to new base class.
27751
27752 2005-07-15  Wim Taymans  <wim@fluendo.com>
27753
27754         * gst/gstmessage.c: (gst_message_new_state_changed):
27755         * tools/gst-launch.c: (event_loop), (main):
27756         Totally dump messages in -launch with the -m option.
27757         Fix message name for State messages,
27758
27759 2005-07-14  Wim Taymans  <wim@fluendo.com>
27760
27761         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27762         Post error messages on errors.
27763
27764 2005-07-14  Wim Taymans  <wim@fluendo.com>
27765
27766         * gst/gstcaps.c: (gst_caps_do_simplify):
27767         Remove debug info.
27768
27769         * gst/gsterror.h:
27770         Define error for stream stopped.
27771
27772         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27773         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27774         Do proper return values.
27775
27776         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27777         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27778         (gst_pad_get_range):
27779         Better return values.
27780
27781         * gst/gstpad.h:
27782         Reorganise return values, add macro to check for fatal errors.
27783
27784         * gst/gstqueue.c: (gst_queue_chain):
27785         Return proper GstFlowReturn values,
27786
27787 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
27788
27789         * docs/gst/gstreamer-sections.txt:
27790         * docs/gst/gstreamer.types:
27791         * docs/gst/tmpl/gst.sgml:
27792         * docs/gst/tmpl/gstbasesink.sgml:
27793         * docs/gst/tmpl/gstbasesrc.sgml:
27794         * docs/gst/tmpl/gstbasetransform.sgml:
27795         * docs/gst/tmpl/gstbin.sgml:
27796         * docs/gst/tmpl/gstbuffer.sgml:
27797         * docs/gst/tmpl/gstcaps.sgml:
27798         * docs/gst/tmpl/gstclock.sgml:
27799         * docs/gst/tmpl/gstcompat.sgml:
27800         * docs/gst/tmpl/gstconfig.sgml:
27801         * docs/gst/tmpl/gstelement.sgml:
27802         * docs/gst/tmpl/gstelementdetails.sgml:
27803         * docs/gst/tmpl/gstelementfactory.sgml:
27804         * docs/gst/tmpl/gstenumtypes.sgml:
27805         * docs/gst/tmpl/gsterror.sgml:
27806         * docs/gst/tmpl/gstevent.sgml:
27807         * docs/gst/tmpl/gstfakesink.sgml:
27808         * docs/gst/tmpl/gstfakesrc.sgml:
27809         * docs/gst/tmpl/gstfilesink.sgml:
27810         * docs/gst/tmpl/gstfilesrc.sgml:
27811         * docs/gst/tmpl/gstfilter.sgml:
27812         * docs/gst/tmpl/gstformat.sgml:
27813         * docs/gst/tmpl/gstghostpad.sgml:
27814         * docs/gst/tmpl/gstimplementsinterface.sgml:
27815         * docs/gst/tmpl/gstindex.sgml:
27816         * docs/gst/tmpl/gstindexfactory.sgml:
27817         * docs/gst/tmpl/gstinfo.sgml:
27818         * docs/gst/tmpl/gstiterator.sgml:
27819         * docs/gst/tmpl/gstmacros.sgml:
27820         * docs/gst/tmpl/gstmemchunk.sgml:
27821         * docs/gst/tmpl/gstminiobject.sgml:
27822         * docs/gst/tmpl/gstobject.sgml:
27823         * docs/gst/tmpl/gstpad.sgml:
27824         * docs/gst/tmpl/gstpadtemplate.sgml:
27825         * docs/gst/tmpl/gstparse.sgml:
27826         * docs/gst/tmpl/gstpipeline.sgml:
27827         * docs/gst/tmpl/gstplugin.sgml:
27828         * docs/gst/tmpl/gstpluginfeature.sgml:
27829         * docs/gst/tmpl/gstquery.sgml:
27830         * docs/gst/tmpl/gstqueue.sgml:
27831         * docs/gst/tmpl/gstregistry.sgml:
27832         * docs/gst/tmpl/gstregistrypool.sgml:
27833         * docs/gst/tmpl/gstscheduler.sgml:
27834         * docs/gst/tmpl/gstschedulerfactory.sgml:
27835         * docs/gst/tmpl/gststructure.sgml:
27836         * docs/gst/tmpl/gstsystemclock.sgml:
27837         * docs/gst/tmpl/gsttaglist.sgml:
27838         * docs/gst/tmpl/gsttagsetter.sgml:
27839         * docs/gst/tmpl/gsttrace.sgml:
27840         * docs/gst/tmpl/gsttrashstack.sgml:
27841         * docs/gst/tmpl/gsttypefind.sgml:
27842         * docs/gst/tmpl/gsttypefindfactory.sgml:
27843         * docs/gst/tmpl/gsttypes.sgml:
27844         * docs/gst/tmpl/gsturihandler.sgml:
27845         * docs/gst/tmpl/gsturitype.sgml:
27846         * docs/gst/tmpl/gstutils.sgml:
27847         * docs/gst/tmpl/gstvalue.sgml:
27848         * docs/gst/tmpl/gstversion.sgml:
27849         * docs/gst/tmpl/gstxml.sgml:
27850         * docs/libs/tmpl/gstcontrol.sgml:
27851         * docs/libs/tmpl/gstdataprotocol.sgml:
27852         * docs/libs/tmpl/gstdparam.sgml:
27853         * docs/libs/tmpl/gstdplinint.sgml:
27854         * docs/libs/tmpl/gstdpman.sgml:
27855         * docs/libs/tmpl/gstdpsmooth.sgml:
27856         * docs/libs/tmpl/gstgetbits.sgml:
27857         * docs/libs/tmpl/gstunitconvert.sgml:
27858         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27859         (gst_push_src_base_init), (gst_push_src_class_init),
27860         (gst_push_src_init), (gst_push_src_create):
27861         * gst/base/gstpushsrc.h:
27862         * gst/elements/gstelements.c:
27863         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27864         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27865         (gst_fake_sink_init), (gst_fake_sink_set_property),
27866         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27867         (gst_fake_sink_event), (gst_fake_sink_preroll),
27868         (gst_fake_sink_render), (gst_fake_sink_change_state):
27869         * gst/elements/gstfakesink.h:
27870         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27871         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27872         (gst_fake_src_base_init), (gst_fake_src_class_init),
27873         (gst_fake_src_init), (gst_fake_src_event_handler),
27874         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27875         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27876         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27877         (gst_fake_src_create_buffer), (gst_fake_src_create),
27878         (gst_fake_src_start), (gst_fake_src_stop):
27879         * gst/elements/gstfakesrc.h:
27880         * gst/elements/gstfilesink.c: (_do_init),
27881         (gst_file_sink_base_init), (gst_file_sink_class_init),
27882         (gst_file_sink_init), (gst_file_sink_dispose),
27883         (gst_file_sink_set_location), (gst_file_sink_set_property),
27884         (gst_file_sink_get_property), (gst_file_sink_open_file),
27885         (gst_file_sink_close_file), (gst_file_sink_query),
27886         (gst_file_sink_event), (gst_file_sink_render),
27887         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27888         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27889         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27890         * gst/elements/gstfilesink.h:
27891         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27892         (gst_file_src_class_init), (gst_file_src_init),
27893         (gst_file_src_finalize), (gst_file_src_set_location),
27894         (gst_file_src_set_property), (gst_file_src_get_property),
27895         (gst_file_src_map_region), (gst_file_src_map_small_region),
27896         (gst_file_src_create_mmap), (gst_file_src_create_read),
27897         (gst_file_src_create), (gst_file_src_is_seekable),
27898         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27899         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27900         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27901         (gst_file_src_uri_handler_init):
27902         * gst/elements/gstfilesrc.h:
27903           more autistic cleanliness in functions/names/defines
27904
27905 2005-07-13  Andy Wingo  <wingo@pobox.com>
27906
27907         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27908         source couldn't negotiate.
27909
27910         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27911         connections again.
27912
27913         * gst/gstutils.h:
27914         * gst/gstutils.c (gst_element_link_pads_filtered): New old
27915         function. I am channeling Hades. Put your boots on suckers!!!
27916
27917 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
27918
27919         * testsuite/caps/Makefile.am:
27920         * testsuite/caps/value_compare.c:
27921         * testsuite/caps/value_intersect.c:
27922         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27923           move two testsuite apps over to the check dir
27924
27925 2005-07-12  Wim Taymans  <wim@fluendo.com>
27926
27927         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27928         Added more debug info in the negotiate process.
27929
27930         * gst/gstmessage.h:
27931         Prepare for segment playback.
27932
27933         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27934         Better debugging.
27935
27936         * gst/gstutils.c:
27937         Some more docs.
27938
27939         * tools/gst-launch.c: (main):
27940         NULL pipeline on errors.
27941
27942 2005-07-12  Andy Wingo  <wingo@pobox.com>
27943
27944         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27945         not it comes from a malloc region. Make sure our copy gets freed.
27946
27947 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
27948
27949         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27950         * check/gst/gstmessage.c: (GST_START_TEST):
27951         * check/gst/gststructure.c: (GST_START_TEST),
27952         (gst_structure_suite), (main):
27953           more testing
27954         * gst/gstelement.c: (gst_element_message_full):
27955           clean up GError and debug string now that they get copied
27956         * gst/gstmessage.c: (gst_message_new_error),
27957         (gst_message_new_warning), (gst_message_parse_error),
27958         (gst_message_parse_warning):
27959           use GST_TYPE_G_ERROR for structure_new, and take copies of
27960           arguments, so that we don't mess up refcounting
27961
27962 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
27963
27964         * check/Makefile.am:
27965           add per-test valgrind targets
27966         * check/gst-libs/gdp.c: (GST_START_TEST),
27967         (gst_data_protocol_suite), (main):
27968           clean up
27969
27970 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
27971
27972         * check/Makefile.am:
27973           instate more valgrindable tests
27974         * check/elements/gstfakesrc.c: (chain_func), (event_func),
27975         (GST_START_TEST), (fakesrc_suite):
27976         * check/gst/gstpad.c: (GST_START_TEST):
27977         * check/gst/gststructure.c: (GST_START_TEST):
27978           fix test leaks
27979         * docs/gst/tmpl/gstminiobject.sgml:
27980         * gst/gstpad.c: (gst_pad_finalize):
27981           fix the static mutex leak
27982
27983 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
27984
27985         * check/Makefile.am:
27986           add two more tests for valgrinding
27987         * check/gst/gstvalue.c: (GST_START_TEST):
27988           test refcount of deserialized buffer, found a leak
27989         * docs/gst/gstreamer-docs.sgml:
27990         * docs/gst/gstreamer-sections.txt:
27991         * docs/gst/gstreamer.types:
27992         * docs/gst/tmpl/gstminiobject.sgml:
27993           add miniobject to docs
27994         * gst/gstminiobject.c:
27995           add some docs
27996         * gst/gstvalue.c: (gst_value_deserialize_buffer),
27997         (gst_string_unwrap):
27998           fix a hard-to-find invalid write for one of the tests
27999           fix a leak for deserialized buffers
28000
28001 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28002
28003         * docs/pwg/advanced-events.xml:
28004         * docs/pwg/advanced-request.xml:
28005         * docs/pwg/advanced-scheduling.xml:
28006         * docs/pwg/appendix-porting.xml:
28007         * docs/pwg/building-boiler.xml:
28008         * docs/pwg/intro-preface.xml:
28009         * docs/pwg/other-ntoone.xml:
28010           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28011           of example code and explanation for pad activation, loop() and
28012           getrange() functions and a bit more. Remove old comments pointing
28013           to loop-functions.
28014         * examples/pwg/Makefile.am:
28015           Add loop/getrange examples.
28016
28017 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28018
28019         * configure.ac:
28020           check for valgrind binary + some fixes
28021         * check/gst.supp:
28022           valgrind suppressions for the tests
28023         * check/Makefile.am:
28024           add a valgrind: target that valgrinds the unit tests
28025         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28026         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28027         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28028         * check/gst/gstghostpad.c:
28029           added some cleanup
28030         * check/gst/gstdata.c:
28031           removed
28032         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28033         (thread_unref), (gst_mini_object_suite), (main):
28034           added
28035         * gst/gst.c: (gst_deinit):
28036         * gst/gst.h:
28037           add a method to clean up.
28038         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28039         (gst_system_clock_obtain):
28040           allow for disposing the system clock.
28041         * tools/gst-launch.c: (main):
28042           deinit
28043
28044 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28045
28046         * docs/gst/tmpl/gstbasesrc.sgml:
28047         * docs/gst/tmpl/gstfakesrc.sgml:
28048         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28049         (gst_base_src_init), (gst_base_src_set_property),
28050         (gst_base_src_get_property), (gst_base_src_get_range),
28051         (gst_base_src_start):
28052         * gst/base/gstbasesrc.h:
28053           add num-buffers property
28054         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28055         (gst_fakesrc_init), (gst_fakesrc_set_property),
28056         (gst_fakesrc_get_property), (gst_fakesrc_create),
28057         (gst_fakesrc_start):
28058           remove num-buffers property
28059
28060 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28061
28062         * docs/gst/gstreamer-sections.txt:
28063         * docs/gst/tmpl/gstbasesink.sgml:
28064         * docs/gst/tmpl/gstbasesrc.sgml:
28065         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28066         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28067         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28068         (gst_base_sink_set_property), (gst_base_sink_get_property),
28069         (gst_base_sink_handle_object), (gst_base_sink_event),
28070         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28071         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28072         (gst_base_sink_loop), (gst_base_sink_deactivate),
28073         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28074         (gst_base_sink_change_state):
28075         * gst/base/gstbasesink.h:
28076         * gst/base/gstbasesrc.h:
28077         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28078         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28079         (gst_filesink_init):
28080           more macro splitting
28081
28082 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28083
28084         * gst/gstelement.c: (gst_element_get_bus):
28085           add debug
28086         * tools/gst-launch.c: (check_intr), (event_loop):
28087           fix bus leaks
28088
28089 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28090
28091         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28092           fix a caps leak
28093
28094 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28095
28096         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28097         (gst_base_src_finalize):
28098           add finalize method and clean up properly
28099         * gst/gstpipeline.c: (gst_pipeline_dispose):
28100           add debug
28101
28102 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28103
28104         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28105         (gst_bin_suite):
28106           add more things to check
28107         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28108         * gst/gstelement.c:
28109           more debug
28110
28111 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28112
28113         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28114         (GST_START_TEST), (fakesrc_suite):
28115         * check/gst-libs/gdp.c: (GST_START_TEST):
28116         * check/gst/gst.c: (GST_START_TEST):
28117         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28118         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28119         * check/gst/gstbus.c: (GST_START_TEST):
28120         * check/gst/gstcaps.c: (GST_START_TEST):
28121         * check/gst/gstdata.c: (GST_START_TEST):
28122         * check/gst/gstelement.c: (GST_START_TEST):
28123         * check/gst/gstghostpad.c: (GST_START_TEST):
28124         * check/gst/gstiterator.c: (GST_START_TEST):
28125         * check/gst/gstmessage.c: (GST_START_TEST):
28126         * check/gst/gstobject.c: (GST_START_TEST):
28127         * check/gst/gstpad.c: (GST_START_TEST):
28128         * check/gst/gststructure.c: (GST_START_TEST):
28129         * check/gst/gstsystemclock.c: (GST_START_TEST),
28130         (gst_systemclock_suite):
28131         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28132         * check/gst/gstvalue.c: (GST_START_TEST):
28133         * check/pipelines/cleanup.c: (GST_START_TEST):
28134         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28135         * check/states/sinks.c: (GST_START_TEST):
28136         * check/gstcheck.c: (gst_check_init):
28137         * check/gstcheck.h:
28138           add debugging category
28139           use GST_START_TEST now, so we add a debug line
28140
28141 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28142
28143         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28144           add test for state change message on a bin
28145         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28146           add another test
28147         * gst/gstbin.c: (gst_bin_init):
28148         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28149         * gst/gstelement.c: (gst_element_post_message),
28150         (gst_element_set_state):
28151         * gst/gstelementfactory.c: (gst_element_factory_create):
28152         * gst/gstmessage.c: (gst_message_new):
28153         * gst/gstscheduler.c:
28154           various debugging additions and cleanups
28155
28156 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28157
28158         * check/Makefile.am:
28159         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28160         (main):
28161           adding tests for elements
28162         * gst/gstelement.c: (gst_element_dispose):
28163
28164 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28165
28166         * gst/registries/gstlibxmlregistry.c: (load_feature):
28167           plug more leaks.  A simple gst_init() now is leakfree, yay.
28168
28169 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28170
28171         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28172         (gst_xml_registry_load):
28173           plug another memleak
28174
28175 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28176
28177         * configure.ac:
28178           use GST_SET_ERROR_CFLAGS
28179         * docs/faq/cvs.xml:
28180           change to ERROR_CFLAGS
28181
28182 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28183
28184         * configure.ac:
28185           make GST_ERROR_CFLAGS overridable and re-enable Werror
28186         * docs/faq/cvs.xml:
28187           add a note about error CFLAGS
28188         * docs/gst/tmpl/gstfakesrc.sgml:
28189         * gst/elements/gstfakesrc.c:
28190           comment out some unused code
28191         * gst/gst.c: (split_and_iterate):
28192         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28193         (load_feature):
28194           plug some memleaks
28195
28196 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28197
28198         * common/Makefile.am:
28199         * common/gtk-doc.mak:
28200         * docs/gst/Makefile.am:
28201           factor out gtk-doc.mak
28202
28203 2005-07-07  Wim Taymans  <wim@fluendo.com>
28204
28205         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28206         (gst_thread_scheduler_dispose):
28207         Unlock the STREAM_LOCK completely.
28208
28209 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28210
28211         * check/Makefile.am:
28212         * check/elements/.cvsignore:
28213         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28214         (START_TEST), (fakesrc_suite), (main):
28215         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28216         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28217         (gst_fakesrc_create), (gst_fakesrc_start):
28218         * gst/elements/gstfakesrc.h:
28219           adding a first element test
28220
28221 2005-07-07  Andy Wingo  <wingo@pobox.com>
28222
28223         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28224         debug message.
28225
28226 2005-07-07  Wim Taymans  <wim@fluendo.com>
28227
28228         * gst/gstquery.c:
28229         * gst/gstquery.h:
28230         Remove old types
28231
28232 2005-07-07  Wim Taymans  <wim@fluendo.com>
28233
28234         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28235         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28236         Allow subclasses to implement their own negotiation.
28237
28238 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28239
28240         * docs/design/part-gstbin.txt:
28241         * docs/design/part-gstpipeline.txt:
28242           Update design notes to reflect the movement of
28243           responsibility for bus handling from GstPipeline to
28244           GstBin
28245
28246 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28247
28248         * configure.ac:
28249           Remove unnecessary queue2/3/4 examples.
28250
28251 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28252
28253         * examples/Makefile.am:
28254         * examples/helloworld/helloworld.c: (event_loop), (main):
28255         * examples/queue/queue.c: (event_loop), (main):
28256         * examples/queue2/queue2.c: (main):
28257           Update a couple of the examples to work again.
28258
28259         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28260         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28261          Spelling corrections and extra debug.
28262         
28263         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28264         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28265         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28266         * gst/gstbin.h:
28267         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28268         (gst_pipeline_change_state):
28269         * gst/gstpipeline.h:
28270           Move the bus handler for children to the GstBin, and create a
28271           separate bus for receiving messages from children to the one the
28272           bus sends 'upwards' on.
28273
28274 2005-07-06  Wim Taymans  <wim@fluendo.com>
28275
28276         * gst/base/README:
28277         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28278         (gst_base_sink_handle_object), (gst_base_sink_loop),
28279         (gst_base_sink_change_state):
28280         * gst/base/gstbasesink.h:
28281         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28282         (gst_base_src_init), (gst_base_src_setcaps),
28283         (gst_base_src_getcaps), (gst_base_src_loop),
28284         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28285         (gst_base_src_start), (gst_base_src_change_state):
28286         * gst/base/gstbasesrc.h:
28287         Make basesrc negotiate.
28288         Handle the case where preroll fails in basesink.
28289         Update README.
28290
28291 2005-07-06  Wim Taymans  <wim@fluendo.com>
28292
28293         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28294         Implement the fixate function.
28295         Clean up acceptcaps.
28296
28297 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28298
28299         * docs/pwg/building-filterfactory.xml:
28300         * docs/pwg/pwg.xml:
28301           Remove never-written filter-factory chapter; I'll add the various
28302           base classes to part 4 ("other element types") later on.
28303
28304 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28305
28306         * docs/pwg/advanced-negotiation.xml:
28307         * docs/pwg/building-boiler.xml:
28308         * docs/pwg/building-pads.xml:
28309         * docs/pwg/pwg.xml:
28310         * examples/pwg/Makefile.am:
28311           Add a chapter on caps negotiation, simplify the original code
28312           samples a bit w.r.t. caps negotiation, add link to the advanced
28313           section. Add a bunch of examples showing different use cases of
28314           different types of caps negotiation. Upstream renegotiation isn't
28315           fully documented yet since nobody knows how that works.
28316
28317 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28318
28319         * check/gst/gstpad.c:
28320         * check/gstcheck.c:
28321         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28322           if pad has no parent, return NULL as list of internal links
28323
28324 2005-07-05  Andy Wingo  <wingo@pobox.com>
28325
28326         * gst/elements/gstfilesrc.c:
28327         * gst/elements/gstfakesrc.c: 
28328         * gst/base/gstpushsrc.c:
28329         * gst/base/gstbasesrc.h: 
28330         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28331         
28332 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28333
28334         * Makefile.am:
28335           better report generation target (lcov needs a patch)
28336
28337 2005-07-05  Andy Wingo  <wingo@pobox.com>
28338
28339         * gst/elements, testsuite: Null if we got it...
28340
28341 2005-07-05  Wim Taymans  <wim@fluendo.com>
28342
28343         * configure.ac:
28344         * libs/gst/dataprotocol/Makefile.am:
28345         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28346         * libs/gst/dataprotocol/dataprotocol.h:
28347         * pkgconfig/Makefile.am:
28348         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28349         * pkgconfig/gstreamer-dataprotocol.pc.in:
28350         Ported dataprotol to 0.9. 
28351         Added pkgconfig files.
28352
28353 2005-07-05  Andy Wingo  <wingo@pobox.com>
28354
28355         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28356         Default to returning TRUE for the case when tranform_caps returns
28357         a fixed caps, like for identity or volume.
28358
28359         * check/gst/gstbus.c (pound_bus_with_messages): 
28360         * check/gst/gstmessage.c (START_TEST): 
28361         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28362         message API change.
28363
28364         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28365         logic weaks here: always run transform_caps, trying passthrough
28366         operation only if the original caps intersects with the transform.
28367
28368         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28369         source and sink caps.
28370
28371         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28372         Intersect the peer caps with the pad template before going into
28373         transform_caps.
28374         (gst_base_transform_transform_caps): More debugging.
28375
28376         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28377         src argument.
28378
28379 2005-07-04  Edward Hervey  <edward@fluendo.com>
28380
28381         * gst/gstutils.c:
28382         * gst/gstutils.h:
28383         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28384         in bindings.
28385
28386 2005-07-04  Andy Wingo  <wingo@pobox.com>
28387
28388         * check/gst/gstpad.c: Only set explicit caps on pads.
28389
28390 2005-07-01  Andy Wingo  <wingo@pobox.com>
28391
28392         * tests/network-clock.scm: Commentary update.
28393
28394         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28395         Didn't really make sense, not implementable with basetransform,
28396         etc.
28397         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28398         attempt at implementing the sync property, needs an unlock method.
28399
28400         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28401         New func, by default returns the same caps (the identity
28402         transformation).
28403         (gst_base_transform_getcaps): Uses transform_caps to return
28404         something sensible.
28405         (gst_base_transform_setcaps): Complicated logic to get caps on
28406         both pads, even if they are different, and to call set_caps once
28407         for every time both pads get their caps set.
28408         (gst_base_transform_handle_buffer): Give the ref to the transform
28409         function. Allows in-place modification of the buffer.
28410
28411         * gst/base/gstbasetransform.h (transform_caps): New class method.
28412         Given caps on one side, what can I do on the other.
28413         (set_caps): Take two caps, one for each side of the element.
28414
28415         * gst/gstpad.h:
28416         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28417         caps in place. This is safe because we can check the mutability of
28418         the caps, and a good idea because fixate functions are just called
28419         as a matter of last resort. (Not actually implemented.)
28420         (gst_pad_set_caps): If the caps we're setting is actually the same
28421         as the existing pad caps, just update the pointer without calling
28422         setcaps. Assert that caps is either NULL or fixed, as per the
28423         docs.
28424
28425         * gst/gstghostpad.c: Update for fixate changes.
28426
28427 2005-07-02  Andy Wingo  <wingo@pobox.com>
28428
28429         * gst/gstcaps.c:
28430         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28431         two refcounts makes it immutable, which is enough. Doc more.
28432
28433 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28434
28435         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28436           Put the mini_object into GValue as a mini_object,
28437           not a gpointer, since that's how we declared
28438           the signal.
28439
28440 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28441
28442         * examples/pwg/Makefile.am:
28443           Fix buildbot again.
28444
28445 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28446
28447         * docs/pwg/building-testapp.xml:
28448           Add extra check.
28449         * examples/pwg/Makefile.am:
28450           Fix buildbot.
28451
28452 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28453
28454         * configure.ac:
28455         * examples/Makefile.am:
28456         * examples/pwg/Makefile.am:
28457         * examples/pwg/extract.pl:
28458           Enable building the PWG examples.
28459         * docs/pwg/advanced-interfaces.xml:
28460           Add URI interface stub.
28461         * docs/pwg/advanced-types.xml:
28462         * docs/pwg/other-autoplugger.xml:
28463         * docs/pwg/appendix-porting.xml:
28464         * docs/pwg/pwg.xml:
28465           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28466         * docs/pwg/building-boiler.xml:
28467         * docs/pwg/building-chainfn.xml:
28468         * docs/pwg/building-pads.xml:
28469         * docs/pwg/building-props.xml:
28470         * docs/pwg/building-state.xml:
28471         * docs/pwg/building-testapp.xml:
28472           Update the building-*.xml parts for 0.9 changes. All examples
28473           code blocks compile in examples/pwg/*.
28474
28475 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28476
28477         * docs/manual/advanced-autoplugging.xml:
28478         * docs/manual/appendix-checklist.xml:
28479         * docs/manual/appendix-integration.xml:
28480         * docs/manual/highlevel-components.xml:
28481           Fix playbin/decodebin examples, update docs a bit, mention bus
28482           instead of signals in various places, mention kmplayer and
28483           kaffeine since they have a working GStreamer backend in the KDE
28484           section.
28485
28486 2005-06-30  Wim Taymans  <wim@fluendo.com>
28487
28488         * CHANGES-0.9:
28489         * docs/design/draft-ghostpads.txt:
28490         * docs/design/draft-push-pull.txt:
28491         * docs/design/draft-query.txt:
28492         * docs/design/part-TODO.txt:
28493         * docs/design/part-query.txt:
28494         Added CHANGES-0.9 doc, updated status of other docs.
28495         
28496         * gst/gstquery.h:
28497         Remove "hmm" macro
28498
28499 2005-06-30  Wim Taymans  <wim@fluendo.com>
28500
28501         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28502         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28503         (gst_base_sink_change_state):
28504         * gst/base/gstbasesink.h:
28505         Some tweaks, only EOS and a buffer complete a preroll.
28506
28507 2005-06-30  Andy Wingo  <wingo@pobox.com>
28508
28509         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28510         activate_push down to the internal pad as well.
28511
28512 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28513
28514         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28515
28516         * gst/gsttaginterface.c:
28517           Some documentation fixes (#307394 and #307397).
28518
28519 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28520
28521         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28522
28523         * gst/gstvalue.c: (gst_value_intersect_list):
28524           Fix memleak (#309125).
28525
28526 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28527
28528         * docs/manual/advanced-dataaccess.xml:
28529           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28530         * docs/manual/basics-pads.xml:
28531           Add reference for filtered caps to above chapter.
28532
28533 2005-06-30  Wim Taymans  <wim@fluendo.com>
28534
28535         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28536         (gst_bin_change_state):
28537         Probes are gone.
28538         Lame attempt at making the state change function a bit
28539         more readable.
28540
28541 2005-06-30  Wim Taymans  <wim@fluendo.com>
28542
28543         * docs/design/part-clocks.txt:
28544         * docs/design/part-element-sink.txt:
28545         * docs/design/part-events.txt:
28546         * docs/design/part-preroll.txt:
28547         * docs/design/part-states.txt:
28548         Some more tweeks and additions to the docs.
28549
28550 2005-06-30  Wim Taymans  <wim@fluendo.com>
28551
28552         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28553         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28554         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28555         (gst_pad_check_pull_range), (gst_pad_get_range),
28556         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28557         * gst/gstpad.h:
28558         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28559         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28560         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28561         (gst_pad_remove_buffer_probe):
28562         Removed atomic operations, use existing LOCK.
28563         Move exception handling out of main code path.
28564
28565 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28566
28567         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28568         (silly_return_true_function), (gst_pad_class_init),
28569         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28570         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28571         (gst_pad_send_event):
28572           Fix accumulator, add default value by using _emitv() instead
28573           of _emit() for signal emission.
28574
28575 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28576
28577         * docs/manual/advanced-dataaccess.xml:
28578         * examples/manual/Makefile.am:
28579           Add probe example.
28580         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28581           Make work (??).
28582
28583 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28584
28585         * gst/elements/gstfilesink.c: (gst_filesink_render):
28586           Simplify code so that we don't have to handle short
28587           writes and return GST_FLOW_ERROR if an error occured.
28588
28589 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28590
28591         * docs/gst/gstreamer-docs.sgml:
28592           Remove probes more.
28593
28594 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28595
28596         * docs/gst/gstreamer-sections.txt:
28597         * docs/gst/tmpl/gstpad.sgml:
28598         * docs/gst/tmpl/gstprobe.sgml:
28599         * gst/Makefile.am:
28600         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28601         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28602         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28603         (gst_pad_push_event), (gst_pad_send_event):
28604         * gst/gstpad.h:
28605         * gst/gstutils.c: (gst_pad_add_data_probe),
28606         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28607         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28608         (gst_pad_remove_buffer_probe):
28609         * gst/gstutils.h:
28610           Remove old probes, add new g-signal-based probes and some utility
28611           functions.
28612
28613 2005-06-29  Edward Hervey  <edward@fluendo.com>
28614
28615         * gst/gstelementfactory.c:
28616         * gst/gstutils.h:
28617         * gst/gstutils.c:
28618         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28619         the definition to the header file.
28620
28621 2005-06-29  Andy Wingo  <wingo@pobox.com>
28622
28623         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28624         plugins from the source directory.
28625
28626 2005-06-29  Wim Taymans  <wim@fluendo.com>
28627
28628         * docs/gst/tmpl/gstbuffer.sgml:
28629         * docs/gst/tmpl/gstclock.sgml:
28630         Some fixings for blantently wrong text.
28631
28632 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28633
28634         * check/Makefile.am:
28635         * gst/gst.c: (add_path_func), (init_pre):
28636         * gst/gstregistry.c: (gst_registry_add_path):
28637           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28638           only scan the GST_PLUGIN_PATH locations, and not add
28639           system locations
28640
28641 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28642
28643         * docs/gst/gstreamer-sections.txt:
28644         * docs/gst/tmpl/gstbasesrc.sgml:
28645         * gst/gstelement.c:
28646         * gst/gstelement.h:
28647         * gst/gstevent.c:
28648         * gst/gstutils.c:
28649           doc fixes
28650
28651 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28652
28653         * docs/manual/advanced-autoplugging.xml:
28654           Fix autoplugging example.
28655
28656 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28657
28658         * docs/manual/advanced-autoplugging.xml:
28659         * docs/manual/mime-world.fig:
28660           Try to get autoplugging working, fix type detection. Fix text
28661           in hello-world image.
28662
28663 2005-06-29  Wim Taymans  <wim@fluendo.com>
28664
28665         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28666         (gst_base_sink_change_state):
28667         Small debug line.
28668
28669         * gst/gstclock.h:
28670         map SIGNAL and BROADCAST to the right function.
28671
28672         * gst/gstobject.h:
28673         Remove redundant braces.
28674
28675         * gst/gstpad.c: (gst_pad_set_caps):
28676         Don't call setcaps function when reseting caps to NULL.
28677
28678         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28679         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28680         (gst_system_clock_id_unschedule):
28681         Use BROADCAST as this is what we do.
28682
28683 2005-06-29  Wim Taymans  <wim@fluendo.com>
28684
28685         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28686         We are actually prerolling before commiting the state
28687         change. 
28688
28689 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28690
28691         * docs/manual/advanced-clocks.xml:
28692         * docs/manual/advanced-interfaces.xml:
28693         * docs/manual/advanced-metadata.xml:
28694         * docs/manual/advanced-position.xml:
28695         * docs/manual/advanced-schedulers.xml:
28696         * docs/manual/advanced-threads.xml:
28697         * docs/manual/appendix-porting.xml:
28698         * docs/manual/basics-bins.xml:
28699         * docs/manual/basics-bus.xml:
28700         * docs/manual/basics-elements.xml:
28701         * docs/manual/basics-helloworld.xml:
28702         * docs/manual/basics-pads.xml:
28703         * docs/manual/highlevel-components.xml:
28704         * docs/manual/manual.xml:
28705         * docs/manual/thread.fig:
28706           Update (until threads/scheduling) Application Development Manual;
28707           remove GstThread, add GstBus, add simple porting checklist, add
28708           documentation for tag writing, clocks, make all examples until this
28709           part compile and run.
28710         * examples/manual/Makefile.am:
28711           Update from changes to Application Development Manual; add bus
28712           example, remove thread example.
28713
28714 2005-06-28  Wim Taymans  <wim@fluendo.com>
28715
28716         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28717         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28718         (gst_bus_source_dispatch):
28719         Add debugging messages.
28720         Make internal methods static.
28721         Handle the case where the bus is flushed in the handler.
28722         
28723         * gst/gstelement.c: (gst_element_get_bus):
28724         Fix refcount in _get_bus();
28725
28726         * gst/gstpipeline.c: (gst_pipeline_change_state),
28727         (gst_pipeline_get_clock_func):
28728         Clock refcounting fixes.
28729         Handle the case where preroll timed out more gracefully.
28730         
28731         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28732         Clean up the internal thread in dispose. This is needed
28733         for subclasses that actually get disposed.
28734         
28735         * gst/schedulers/threadscheduler.c:
28736         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28737         (gst_thread_scheduler_dispose):
28738         Free thread pool in dispose.
28739
28740 2005-06-28  Andy Wingo  <wingo@pobox.com>
28741
28742         * tests/network-clock-utils.scm (debug, print-event): New utils.
28743
28744         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28745         (*packet-loss*): Unified loss probability.
28746         (network-time): Report out-of-band events.
28747
28748         * tests/plot-data: Add support for out-of-band events. Hack it
28749         into this script instead of passing it down the pipe; should fix
28750         this later.
28751
28752 2005-06-28  Wim Taymans  <wim@fluendo.com>
28753
28754         * docs/gst/gstreamer.types:
28755         * docs/gst/tmpl/gstbasesrc.sgml:
28756         * docs/gst/tmpl/gstpad.sgml:
28757         Docs fixes.
28758
28759 2005-06-28  Wim Taymans  <wim@fluendo.com>
28760
28761         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28762         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28763         (gst_proxy_pad_do_fixatecaps):
28764         Correctly proxy the check_pull_range function.
28765
28766 2005-06-28  Andy Wingo  <wingo@pobox.com>
28767
28768         * tests/network-clock.scm: Removed need for slib.
28769         
28770 2005-06-28  Wim Taymans  <wim@fluendo.com>
28771
28772         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28773         (gst_basesink_preroll_queue_flush):
28774         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28775         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28776         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28777         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28778         (gst_proxy_pad_set_property):
28779         * gst/gstpad.c:
28780         * gst/gstpad.h:
28781         * gst/gstqueue.c: (gst_queue_init):
28782         The deprecated pad loop function is removed now.
28783
28784 2005-06-28  Andy Wingo  <wingo@pobox.com>
28785
28786         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28787         New parameters, simulate network packet loss.
28788
28789         * tests/network-clock-utils.scm: Initialize the RNG.
28790
28791 2005-06-28  Wim Taymans  <wim@fluendo.com>
28792
28793         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28794         (gst_basesink_event), (gst_basesink_deactivate):
28795         Flushing the preroll queue always needs to unlock the waiters.
28796
28797 2005-06-28  Edward Hervey  <edward@fluendo.com>
28798
28799         * gst/gstpipeline.c: (gst_pipeline_send_event): 
28800         Wheen a seek was successful on a pipeline, set the stream_time to the
28801         seek offset in order to have a synchronized stream_time.
28802
28803 2005-06-28  Wim Taymans  <wim@fluendo.com>
28804
28805         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28806         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28807         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28808         (gst_proxy_pad_do_fixatecaps):
28809         Call wrapper function instead of just calling the function
28810         pointers. This takes care of any locking and whatmore.
28811
28812 2005-06-28  Wim Taymans  <wim@fluendo.com>
28813
28814         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28815         (gst_pad_pull_range):
28816         * gst/gstpad.h:
28817         CONNECTED -> LINKED.
28818
28819 2005-06-28  Andy Wingo  <wingo@pobox.com>
28820
28821         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28822         source-munging commit!!!
28823
28824         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
28825         (gst_object_sink): Take gpointer arguments, not GstObject --
28826         avoids casts. Like GLib.
28827
28828         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28829         activate.
28830
28831 2005-06-27  Andy Wingo  <wingo@pobox.com>
28832
28833         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28834         remaining buffer.
28835
28836         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28837         returns a sorted copy of the trace list.
28838         (gst_alloc_trace_print_live): New API, only prints traces with
28839         live objects. Sort the list.
28840         (gst_alloc_trace_print_all): Sort the list.
28841         (gst_alloc_trace_print): Align columns.
28842
28843         * gst/elements/gstttypefindelement.c:
28844         * gst/elements/gsttee.c:
28845         * gst/base/gstbasesrc.c:
28846         * gst/base/gstbasesink.c:
28847         * gst/base/gstbasetransform.c:
28848         * gst/gstqueue.c: Adapt for pad activation changes.
28849
28850         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28851         sched.
28852         (gst_pipeline_dispose): Drop ref on sched.
28853
28854         * gst/gstpad.c (gst_pad_init): Set the default activate func.
28855         (gst_pad_activate_default): Push mode by default.
28856         (pre_activate_switch, post_activate_switch): New stubs, things to
28857         do before and after switching activation modes on pads.
28858         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28859         the pad's activate function to choose which mode to activate.
28860         Shortcut on deactivation and call the right function directly.
28861         (gst_pad_activate_pull): New API, (de)activates a pad in pull
28862         mode.
28863         (gst_pad_activate_push): New API, same for push mode.
28864         (gst_pad_set_activate_function) 
28865         (gst_pad_set_activatepull_function) 
28866         (gst_pad_set_activatepush_function): Setters for new API.
28867
28868         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28869         Trace all miniobjects.
28870         (gst_mini_object_make_writable): Unref the arg if we copy, like
28871         gst_caps_make_writable.
28872
28873         * gst/gstmessage.c (_gst_message_initialize): No trace init.
28874
28875         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
28876         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28877         Adapt for new pad API.
28878
28879         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28880
28881         * gst/gstelement.h:
28882         * gst/gstelement.c (gst_element_iterate_src_pads) 
28883         (gst_element_iterate_sink_pads): New API functions.
28884         
28885         * gst/gstelement.c (iterator_fold_with_resync): New utility,
28886         should fold into gstiterator.c in some form.
28887         (gst_element_pads_activate): Simplified via use of fold and
28888         delegation of decisions to gstpad->activate.
28889
28890         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28891         help in debugging.
28892
28893         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28894         class once in init, like gstmessage. Didn't run into this issue
28895         but it seems correct. Don't initialize a trace, gstminiobject does
28896         that.
28897
28898         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28899         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28900         to the bus.
28901         (assert_live_count): New util function, uses alloc traces to check
28902         cleanup.
28903
28904         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28905         To be modified when unlink drops the internal pad.
28906
28907 2005-06-27  Wim Taymans  <wim@fluendo.com>
28908
28909         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28910         (gst_bin_change_state):
28911         Cleanup the get_state() function a little, make sure it
28912         iterates the same set of elements.
28913         Added stub iterate_state_order().
28914
28915 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
28916
28917         * docs/gst/gstreamer-docs.sgml:
28918         * docs/gst/gstreamer-sections.txt:
28919         * docs/gst/gstreamer.types:
28920         * docs/gst/tmpl/gstbasesink.sgml:
28921         * docs/gst/tmpl/gstbasesrc.sgml:
28922         * docs/gst/tmpl/gstbasetransform.sgml:
28923         * docs/gst/tmpl/gstelement.sgml:
28924         * docs/gst/tmpl/gstiterator.sgml:
28925         * gst/base/gstbasesrc.c:
28926         * gst/base/gstbasesrc.h:
28927         * gst/base/gstbasetransform.h:
28928         * gst/gstelement.c:
28929         * gst/gstiterator.h:
28930           adding basetransform and iterator docs
28931
28932 2005-06-27  Andy Wingo  <wingo@pobox.com>
28933
28934         * docs/design/part-activation.txt: Notes on how activation should
28935         work -- not quite implemented yet.
28936
28937 2005-06-25  Wim Taymans  <wim@fluendo.com>
28938
28939         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28940         At least get the chain function correct, needs more
28941         fixing.
28942
28943 2005-06-25  Wim Taymans  <wim@fluendo.com>
28944
28945         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28946         (gst_basesink_handle_object), (gst_basesink_event),
28947         (gst_basesink_do_sync), (gst_basesink_handle_event),
28948         (gst_basesink_change_state):
28949         * gst/gsttask.h:
28950         Right, two problems here: ghostpads don't take locks and
28951         glib _rec_mutex_lock_full() with depth==0 still locks.
28952         Catch illegal locking and g_warn them.
28953
28954 2005-06-25  Wim Taymans  <wim@fluendo.com>
28955
28956         * check/states/sinks.c: (START_TEST), (gst_object_suite):
28957         Have to check for completion now...
28958
28959 2005-06-25  Wim Taymans  <wim@fluendo.com>
28960
28961         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28962         (gst_basesink_handle_object), (gst_basesink_event),
28963         (gst_basesink_do_sync), (gst_basesink_handle_event),
28964         (gst_basesink_change_state):
28965         * gst/gstpad.h:
28966         Unlock STREAM_LOCK whatever the recursion was.
28967
28968 2005-06-25  Wim Taymans  <wim@fluendo.com>
28969
28970         * gst/base/gstbasesink.c: (gst_basesink_set_property),
28971         (gst_basesink_preroll_queue_empty),
28972         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28973         (gst_basesink_event), (gst_basesink_do_sync),
28974         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28975         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28976         (gst_basesink_change_state):
28977         Reworked the base sink, handle event and buffer serialisation
28978         correctly and removed possible deadlock.
28979         Handle EOS correctly.
28980
28981 2005-06-25  Wim Taymans  <wim@fluendo.com>
28982
28983         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28984         (gst_pipeline_change_state):
28985         * tools/gst-launch.c: (check_intr), (event_loop), (main):
28986         Allow elements to post EOS in the state change function.
28987         Fix up -launch, make it exit the poll loop when the
28988         pipeline actually changed state.
28989         Fix up warning parsing in -launch.
28990
28991 2005-06-25  Wim Taymans  <wim@fluendo.com>
28992
28993         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28994         (gst_tee_sink_activate):
28995         Core takes STREAM_LOCK for us now.
28996
28997 2005-06-25  Wim Taymans  <wim@fluendo.com>
28998
28999         * gst/gstelement.c: (gst_element_get_state_func),
29000         (gst_element_set_state):
29001         * gst/gstelement.h:
29002         * gst/gstmessage.c: (gst_message_parse_error),
29003         (gst_message_parse_warning):
29004         Keep track of current target state while performing a state
29005         change so that subclasses can do something interesting.
29006         Fix parsing of warning/error messages when GError is NULL.
29007
29008 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29009
29010         * docs/gst/Makefile.am:
29011         * docs/gst/gstreamer-docs.sgml:
29012         * docs/gst/gstreamer-sections.txt:
29013         * docs/gst/gstreamer.types:
29014         * docs/gst/tmpl/gstbasesink.sgml:
29015         * docs/gst/tmpl/gstbasesrc.sgml:
29016         * docs/gst/tmpl/gstbin.sgml:
29017         * docs/gst/tmpl/gstcompat.sgml:
29018         * docs/gst/tmpl/gstfakesink.sgml:
29019         * docs/gst/tmpl/gstfakesrc.sgml:
29020         * docs/gst/tmpl/gstfilesink.sgml:
29021         * docs/gst/tmpl/gstfilesrc.sgml:
29022         * docs/gst/tmpl/gstindex.sgml:
29023         * docs/manual/appendix-quotes.xml:
29024         * gst/base/gstbasesrc.h:
29025         * gst/elements/gstfakesrc.h:
29026         * gst/gstmessage.h:
29027           start pulling in base classes and elements in our docs
29028
29029 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29030
29031         * docs/gst/Makefile.am:
29032         * docs/libs/Makefile.am:
29033           fixed make distcheck with gtk-doc 1.3
29034
29035 2005-06-23  Wim Taymans  <wim@fluendo.com>
29036
29037         * gst/gstelement.c: (gst_element_get_state_func),
29038         (gst_element_set_state), (gst_element_change_state):
29039         When the state did not change, also report NO_PREROLL
29040         when it matters.
29041
29042 2005-06-23  Wim Taymans  <wim@fluendo.com>
29043
29044         * gst/gstpad.c: (gst_pad_event_default):
29045         * gst/gstqueue.c: (gst_queue_loop):
29046         No unsafe task pausing please.
29047
29048 2005-06-23  Wim Taymans  <wim@fluendo.com>
29049
29050         * gst/schedulers/threadscheduler.c:
29051         (gst_thread_scheduler_task_start),
29052         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29053         Ref the task before pushing it on the threadpool. This
29054         makes sure that we have a ref when the threadfunction is
29055         actually called.
29056
29057 2005-06-23  Andy Wingo  <wingo@pobox.com>
29058
29059         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29060         offset is greater than the file's size.
29061
29062         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29063         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29064         * gst/gstobject.c (gst_object_class_init): Make the class lock
29065         recursive. Wim won't let me drop deep_notify. Decodebin works
29066         again, whoopdy doo.
29067
29068         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29069         internal pad, and hacks accordingly. Doesn't do it on the target
29070         pad because we change its caps. Probably catches all cases of
29071         interest tho.
29072         (gst_ghost_pad_set_property): Connect to notify::caps as
29073         appropritate.
29074
29075         * tests/network-clock.scm (plot-simulation): Pipe data to the
29076         elite python skript.
29077
29078         * tests/network-clock-utils.scm (define-parameter): New macro,
29079         defines a parameter that can be set via the command line.
29080         (set-parameter!, parse-parameter-arguments): Command line args
29081         parser.
29082
29083         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29084         stdin.
29085
29086 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29087
29088         * gst/elements/gsttypefindelement.c:
29089         (gst_type_find_element_handle_event):
29090           Don't restart typefinding on a discont.
29091         * gst/gstelement.c: (gst_element_set_state):
29092           Debug spelling fix.
29093         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29094           Allow changing mode of an active pad.
29095           Debug output fixes.
29096         * gst/registries/gstlibxmlregistry.c: (load_feature):
29097           Don't cast a static pad template to a normal pad template.
29098
29099 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29100
29101         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29102         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29103           remove gst_strtoll completely, since it didn't actually do
29104           anything more than what g_ascii_strtoull already does.
29105           check for range errors when deserializing
29106           do a cast for the unsigned cases; but further fixing needs
29107           a decision on what the interpretation of "(int)" and
29108           deserialization should be for values that fall outside the
29109           type's boundaries (ie, refuse, or interpret as casting)
29110
29111 2005-06-23  Wim Taymans  <wim@fluendo.com>
29112
29113         * check/Makefile.am:
29114         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29115         * docs/design/part-live-source.txt:
29116         * docs/design/part-states.txt:
29117         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29118         (gst_basesrc_set_live), (gst_basesrc_is_live),
29119         (gst_basesrc_get_range), (gst_basesrc_activate),
29120         (gst_basesrc_change_state):
29121         * gst/base/gstbasesrc.h:
29122         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29123         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29124         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29125         * gst/gstelement.c: (gst_element_get_state_func),
29126         (gst_element_set_state):
29127         * gst/gstelement.h:
29128         * gst/gsttypes.h:
29129         * tools/gst-launch.c: (event_loop), (main):
29130         Added support for live sources and other elements that
29131         cannot do preroll.
29132         Updated design docs, added live-source design doc.
29133         Implemented live source functionality in basesrc
29134         Fix error condition in _bin_get_state()
29135         Implement live source handling in -launch.
29136         Added check for live sources.
29137         Fixed case in GstBin where elements were changed state
29138         multiple times.
29139
29140
29141 2005-06-23  Andy Wingo  <wingo@pobox.com>
29142
29143         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29144         borken refcounting.
29145
29146         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29147         gst_caps_replace takes care of this for us.
29148
29149         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29150         gst_pad_set_caps on the target, not just its setcaps() function.
29151
29152         * tests/network-clock.scm: 
29153         * tests/network-clock-utils.scm: A network clock simulator.
29154         Something of an algorithmic testbed before doing something in C.
29155
29156 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29157
29158         * check/Makefile.am:
29159         * check/gst/capslist.h:
29160           copy over from 0.8, and add two with bitmasks specified with
29161           (int) 0xFF...
29162         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29163           add test to parse everything from capslist.h
29164         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29165         (main):
29166           add test for structure deserialization
29167         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29168           add tests for deserialization of strings to int types
29169         * gst/gststructure.c: (gst_structure_nth_field_name):
29170         * gst/gststructure.h:
29171           add a way to get the name of a field referenced by index
29172         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29173           instead of checking if the resulting long long lies between
29174           min and max, we check if the long long would fit into
29175           a number of bytes for the final type.
29176           This fixes cases where a string represents 2^32 - 1, which
29177           when cast to int would be the (valid) -1, but is bigger than
29178           G_MAXINT
29179
29180 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29181
29182         * gst/parse/grammar.y:
29183           add a log line for type deserialization
29184
29185 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29186
29187         * check/gst/gstvalue.c: (START_TEST):
29188         * gst/gstvalue.c: (gst_value_deserialize):
29189           return long long, not int, so gint64 deserialization actually
29190           works.  Is there any flag that makes the compiler check this ?
29191           Fixes #308559
29192
29193 2005-06-22  Wim Taymans  <wim@fluendo.com>
29194
29195         * gst/gstbuffer.h:
29196         Added convenience macros for setting buffers in GValue.
29197
29198 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29199
29200         * check/gst/.cvsignore:
29201         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29202           add a test deserializing int64, and comment part out because
29203           it fails, yay !
29204
29205 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29206
29207         * check/Makefile.am:
29208         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29209         * testsuite/Makefile.am:
29210         * testsuite/caps/Makefile.am:
29211         * testsuite/caps/value_serialize.c:
29212         * testsuite/test_gst_init.c:
29213           move a value_serialize test over
29214
29215 2005-06-20  Wim Taymans  <wim@fluendo.com>
29216
29217         * gst/gstpad.c:
29218         Small doc updates.
29219         
29220         * gst/gstvalue.c: (gst_value_compare_buffer),
29221         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29222         (gst_value_compare_flags), (gst_value_serialize_flags),
29223         (gst_value_deserialize_flags), (_gst_value_initialize):
29224         Fix serialisation of buffers, they are not boxed types anymore
29225
29226 2005-06-20  Wim Taymans  <wim@fluendo.com>
29227
29228         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29229         Testcase to show error in buffer-on-caps serialisation.
29230
29231 2005-06-20  Andy Wingo  <wingo@pobox.com>
29232
29233         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29234         will be adding to later.
29235
29236         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29237         if its socks fill with rocks.
29238         (gst_system_clock_obtain): Set the name on object construction.
29239         Avoid double-checked locking.
29240
29241 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29242
29243         * gst/gsturi.c: (gst_element_make_from_uri):
29244           Fix potential endless loop.
29245
29246 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29247
29248         * check/Makefile.am:
29249           add gsttag
29250         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29251         (main):
29252           move over from testsuite dir and clean up
29253         * configure.ac:
29254         * gst/gsttag.c:
29255         * testsuite/Makefile.am:
29256         * testsuite/tags/.cvsignore:
29257         * testsuite/tags/Makefile.am:
29258         * testsuite/tags/merge.c:
29259           remove testsuite/tags
29260
29261 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29262
29263         * docs/gst/gstreamer-sections.txt:
29264         * docs/gst/tmpl/gstenumtypes.sgml:
29265         * win32/gstenumtypes.c:
29266           clean up documentation build a little
29267
29268 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29269
29270         * check/gstcheck.h:
29271           add macros for checking refcounts on objects and caps
29272         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29273           add some more unit tests
29274         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29275         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29276           fix leaked refcounts (I hope :)) so unittest works
29277         * gst/gstpad.h:
29278           whitespace removal
29279
29280 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29281
29282         * configure.ac: back to HEAD
29283
29284 === release 0.9.1 ===
29285
29286 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29287
29288         * NEWS:
29289         * RELEASE:
29290           updated
29291
29292 2005-06-17  Andy Wingo  <wingo@pobox.com>
29293
29294         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29295         assert; it's always possible that the pad gets deactivated in
29296         between the checks in gstpad.c and the implementation. Rely on
29297         finish_preroll() to return a FLUSHING or similar instead of on the
29298         assert.
29299         
29300         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29301         clock and post an EOS message if we come out of finish_preroll in
29302         the playing state.
29303
29304 2005-06-16  David Schleef  <ds@schleef.org>
29305
29306         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29307         (gst_capsfilter_set_property): Allow NULL as possible value
29308         for filter_caps property, indicating GST_CAPS_ANY.
29309
29310 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29311
29312         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29313           fix debug output
29314         * gst/schedulers/Makefile.am:
29315           use libgst prefix
29316         * gstreamer.spec.in:
29317           fix spec for it
29318
29319 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29320
29321         * gstreamer.spec.in:
29322           clean up
29323
29324 2005-06-08  Andy Wingo  <wingo@pobox.com>
29325
29326         * gst/gstutils.c: RPAD fixes all around.
29327         (gst_element_link_pads): Refcounting fixes.
29328
29329         * tools/gst-inspect.c:
29330         * tools/gst-xmlinspect.c:
29331         * parse/grammar.y:
29332         * gst/base/gsttypefindhelper.c:
29333         * gst/base/gstbasesink.c:
29334         * gst/gstqueue.c: RPAD fixes.
29335
29336         * gst/gstghostpad.h:
29337         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29338         pads. The tricky thing is they provide both source and sink
29339         interfaces, since they proxy the internal pad for the external
29340         pad, and vice versa. Implement with lower-level ProxyPad objects,
29341         with the interior proxy pad as a child of the exterior ghost pad.
29342         Should write a doc on this.
29343         
29344         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29345         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29346         gst_object API.
29347         
29348         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29349         pads are real pads. No ghost pads in this file. Not documenting
29350         the myriad s/RPAD/PAD/ and REALIZE fixes.
29351         (gst_pad_class_init): Add properties for "direction" and
29352         "template". Both are construct-only, so they can't change during
29353         the life of the pad. Fixes properly deriving from GstPad.
29354         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29355         derived objects, just set properties when creating the objects via
29356         g_object_new.
29357         (gst_pad_get_parent): Implement as a function, return NULL if the
29358         parent is not an element.
29359         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29360         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29361         
29362         * gst/gstobject.c (gst_object_class_init): Make name a construct
29363         property. Don't set it in the object init.
29364
29365         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29366         with UNKNOWN direction.
29367         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29368         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29369         (gst_element_remove_pad): Remove ghost-pad special cases.
29370         (gst_element_pads_activate): Remove rpad cruft.
29371
29372         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29373         catch the pad's-parent-not-an-element case.
29374
29375         * gst/gst.h: Include gstghostpad.h.
29376
29377         * gst/gst.c (init_post): No more real, ghost pads.
29378
29379         * gst/Makefile.am: Add gstghostpad.[ch].
29380
29381         * check/Makefile.am:
29382         * check/gst/gstbin.c:
29383         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29384         into a bin creates ghost pads, and that the refcounts are right.
29385         Partly moved from gstbin.c.
29386
29387 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29388
29389         * check/gst-libs/.cvsignore:
29390         * check/gst/.cvsignore:
29391         * check/pipelines/.cvsignore:
29392           ignore more
29393         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29394         (START_TEST), (cleanup_suite), (main):
29395           add some tests related to cleanup after running pipelines
29396
29397 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29398
29399         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29400           add a testsuite for GstBuffer
29401
29402 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29403
29404         * gst/gstminiobject.h:
29405           add defines for accessing the refcount
29406
29407 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29408
29409         * Makefile.am: added support for html unit test coverage reports
29410
29411 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29412
29413         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29414           Free existing caps if the capsfilter changes. Add a FIXME about
29415           setting those caps on the pads.
29416
29417         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29418           Before adding a ghost pad to a parent bin, check that there isn't
29419           already one for the element on the bin. Prevents infinite recursion
29420           when using decodebin in parse pipelines. Andy says he'll rewrite the
29421           way this works anyway, so ignore the hack.
29422
29423 2005-06-02  Andy Wingo  <wingo@pobox.com>
29424
29425         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29426         file size, pass it on to the type find helper.
29427
29428         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29429         segment_start and segment_end properly according to the seek
29430         method. Segment_end is still a bit flaky because offset can be
29431         negative for CUR and END cases, but it takes -1 as an "unset"
29432         value.
29433
29434 2005-06-02  Wim Taymans  <wim@fluendo.com>
29435
29436         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29437         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29438         (gst_basesink_activate):
29439         * gst/base/gstbasesink.h:
29440         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29441         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29442         (gst_pad_query), (gst_pad_start_task):
29443         * gst/gstpad.h:
29444         * gst/gstqueue.c: (gst_queue_bufferalloc),
29445         (gst_queue_handle_sink_event), (gst_queue_chain):
29446         Bufferalloc: return GstFlowReturn to more accuratly report
29447         why allocation failed.
29448
29449 2005-06-02  Wim Taymans  <wim@fluendo.com>
29450
29451         * gst/gstpipeline.c: (gst_pipeline_send_event):
29452         Take snapshot of state without blocking.
29453
29454 2005-06-02  Wim Taymans  <wim@fluendo.com>
29455
29456         * docs/design/part-TODO.txt:
29457         * docs/design/part-caps.txt:
29458         * docs/design/part-clocks.txt:
29459         * docs/design/part-negotiation.txt:
29460         * docs/design/part-preroll.txt:
29461         Small doc updates 
29462
29463 2005-05-30  Wim Taymans  <wim@fluendo.com>
29464
29465         * gst/elements/gstidentity.c: (gst_identity_event),
29466         (gst_identity_transform), (gst_identity_get_property):
29467         Protect last_message property as it is accessed from
29468         multiple threads.
29469
29470 2005-05-30  Wim Taymans  <wim@fluendo.com>
29471
29472         * gst/gstelement.c: (gst_element_init),
29473         (gst_element_pads_activate), (gst_element_change_state):
29474         Slicker pad activation code.
29475
29476 2005-05-30  Wim Taymans  <wim@fluendo.com>
29477
29478         * gst/Makefile.am:
29479         * gst/gstelement.h:
29480         * gst/gstelementfactory.h:
29481         * gst/gsttypes.h:
29482         Move elementfactory methods to separate .h file.
29483
29484 2005-05-30  Wim Taymans  <wim@fluendo.com>
29485
29486         * docs/design/part-overview.txt:
29487         * gst/gstsystemclock.h:
29488         Small typo fixes, doc updates.
29489
29490 2005-05-30  Wim Taymans  <wim@fluendo.com>
29491
29492         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29493         (init_popt_callback):
29494         Remove cpu-opt flag.
29495
29496 2005-05-30  Wim Taymans  <wim@fluendo.com>
29497
29498         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29499         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29500         * gst/gstbuffer.h:
29501         Avoid typechecking in places where not needed.
29502         Added accessor for malloc_data.
29503
29504 2005-05-30  Wim Taymans  <wim@fluendo.com>
29505
29506         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29507         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29508         (gst_pad_configure_sink), (gst_pad_configure_src),
29509         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29510         (gst_pad_start_task):
29511         Propagate errors from _set_caps() in configure_src/sink
29512         functions instead of returning TRUE.
29513         FLUSH events can travel up and downstream
29514
29515
29516 2005-05-30  Wim Taymans  <wim@fluendo.com>
29517
29518         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29519         (gst_basesink_activate):
29520         Handle EOS in preroll.
29521
29522 2005-05-30  Wim Taymans  <wim@fluendo.com>
29523
29524         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29525         (gst_queue_loop), (gst_queue_handle_src_event):
29526         Remove old pieces of code
29527         Flushing the queue in an upstream event is a very bad idea.
29528
29529 2005-05-26  Andy Wingo  <wingo@pobox.com>
29530
29531         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29532         gst_value_set_mini_object so as to add a ref on the object (which
29533         will be removed when the value is unset).
29534
29535         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29536         arg type in ::handoff.
29537
29538         * gst/gstelement.c (gst_element_change_state): Also deactivate
29539         pads in READY->NULL, just in case the element didn't make it to
29540         PAUSED. Wingo tested, Wim approved.
29541
29542 2005-05-26  Wim Taymans  <wim@fluendo.com>
29543
29544         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29545         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29546         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29547         A flushing pad cannot be used to alloc_buffer from.
29548
29549 2005-05-26  Wim Taymans  <wim@fluendo.com>
29550
29551         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29552         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29553         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29554         (gst_bus_create_watch), (gst_bus_add_watch_full):
29555         * gst/gstbus.h:
29556         Implement a real GSource and use g_main_context_wakeup() to
29557         signal new messages instead of the socketpair.
29558
29559 2005-05-25  Wim Taymans  <wim@fluendo.com>
29560
29561         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29562         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29563         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29564         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29565         (gst_pad_send_event), (gst_pad_start_task):
29566         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29567         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29568         (gst_queue_sink_activate), (gst_queue_src_activate),
29569         (gst_queue_change_state):
29570         * gst/gstqueue.h:
29571         Fix state changes for non sinks. We now change sinks, then elements
29572         with unconnected srcpads, then the rest.
29573         More efficient queue unlocking in flush and state changes.
29574         Set the pad activate mode even if it does not have an activate
29575         function.
29576
29577 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29578
29579         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29580           Don't go in pull mode for non-seekable sources.
29581         * gst/elements/gsttypefindelement.h:
29582         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29583         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29584         (free_entry), (stop_typefinding),
29585         (gst_type_find_element_handle_event), (find_peek),
29586         (gst_type_find_element_chain), (do_pull_typefind),
29587         (gst_type_find_element_change_state):
29588           Allow typefinding (w/o seeking) in push-mode, simplified version
29589           of what was in 0.8.
29590         * gst/gstutils.c: (gst_buffer_join):
29591         * gst/gstutils.h:
29592           gst_buffer_join() from 0.8.
29593
29594 2005-05-25  Wim Taymans  <wim@fluendo.com>
29595
29596         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29597         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29598         (gst_pad_send_event), (gst_pad_start_task):
29599         Disable attempt at mode switching until it is figured out.
29600
29601 2005-05-25  Wim Taymans  <wim@fluendo.com>
29602
29603         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29604         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29605         (gst_basesink_finish_preroll), (gst_basesink_chain),
29606         (gst_basesink_loop), (gst_basesink_activate),
29607         (gst_basesink_change_state):
29608         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29609         (gst_basesrc_get_range), (gst_basesrc_loop),
29610         (gst_basesrc_activate):
29611         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29612         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29613         (gst_real_pad_init), (gst_real_pad_set_property),
29614         (gst_real_pad_get_property), (gst_pad_set_active),
29615         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29616         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29617         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29618         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29619         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29620         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29621         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29622         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29623         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29624         (gst_pad_stop_task):
29625         * gst/gstpad.h:
29626         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29627         (gst_queue_loop), (gst_queue_src_activate):
29628         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29629         (gst_task_get_state):
29630         * gst/gsttask.h:
29631         * gst/schedulers/threadscheduler.c:
29632         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29633         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29634         in task function.
29635         Remove ACTIVE pad flag, use FLUSHING everywhere
29636         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29637         functions.
29638         Add locks around IS_FLUSHING when reading.
29639         Take STREAM lock in chain(), get_range() functions so plugins
29640         don't need to take it anymore.
29641         
29642
29643
29644 2005-05-25  Wim Taymans  <wim@fluendo.com>
29645
29646         * tools/gst-launch.c: (event_loop):
29647         Unref message after using its contents instead of
29648         before.
29649
29650 2005-05-24  Wim Taymans  <wim@fluendo.com>
29651
29652         * docs/design/draft-ghostpads.txt:
29653         * docs/design/draft-push-pull.txt:
29654         * docs/design/draft-query.txt:
29655         * docs/design/part-overview.txt:
29656         Docs updates, added general overview doc.
29657
29658 2005-05-21  David Schleef  <ds@schleef.org>
29659
29660         * docs/gst/tmpl/old/GstBin.sgml:
29661         * docs/gst/tmpl/old/GstBuffer.sgml:
29662         * docs/gst/tmpl/old/GstCaps.sgml:
29663         * docs/gst/tmpl/old/GstClock.sgml:
29664         * docs/gst/tmpl/old/GstCompat.sgml:
29665         * docs/gst/tmpl/old/GstData.sgml:
29666         * docs/gst/tmpl/old/GstElement.sgml:
29667         * docs/gst/tmpl/old/GstEvent.sgml:
29668         * docs/gst/tmpl/old/GstIndex.sgml:
29669         * docs/gst/tmpl/old/GstStructure.sgml:
29670         * docs/gst/tmpl/old/GstTag.sgml:
29671         * docs/gst/tmpl/old/cothreads.sgml:
29672         * docs/gst/tmpl/old/cothreads_compat.sgml:
29673         * docs/gst/tmpl/old/gettext.sgml:
29674         * docs/gst/tmpl/old/gobject2gtk.sgml:
29675         * docs/gst/tmpl/old/grammar.tab.sgml:
29676         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29677         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29678         * docs/gst/tmpl/old/gst_private.sgml:
29679         * docs/gst/tmpl/old/gstaggregator.sgml:
29680         * docs/gst/tmpl/old/gstarch.sgml:
29681         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29682         * docs/gst/tmpl/old/gstbufferstore.sgml:
29683         * docs/gst/tmpl/old/gstdata_private.sgml:
29684         * docs/gst/tmpl/old/gstdisksink.sgml:
29685         * docs/gst/tmpl/old/gstdisksrc.sgml:
29686         * docs/gst/tmpl/old/gstelementfactory.sgml:
29687         * docs/gst/tmpl/old/gstextratypes.sgml:
29688         * docs/gst/tmpl/old/gstfakesink.sgml:
29689         * docs/gst/tmpl/old/gstfakesrc.sgml:
29690         * docs/gst/tmpl/old/gstfdsink.sgml:
29691         * docs/gst/tmpl/old/gstfdsrc.sgml:
29692         * docs/gst/tmpl/old/gstfilesink.sgml:
29693         * docs/gst/tmpl/old/gstfilesrc.sgml:
29694         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29695         * docs/gst/tmpl/old/gstidentity.sgml:
29696         * docs/gst/tmpl/old/gstindexfactory.sgml:
29697         * docs/gst/tmpl/old/gstmarshal.sgml:
29698         * docs/gst/tmpl/old/gstmd5sink.sgml:
29699         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29700         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29701         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29702         * docs/gst/tmpl/old/gstpipefilter.sgml:
29703         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29704         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29705         * docs/gst/tmpl/old/gstshaper.sgml:
29706         * docs/gst/tmpl/old/gstspider.sgml:
29707         * docs/gst/tmpl/old/gstspideridentity.sgml:
29708         * docs/gst/tmpl/old/gststatistics.sgml:
29709         * docs/gst/tmpl/old/gsttee.sgml:
29710         * docs/gst/tmpl/old/gsttimecache.sgml:
29711         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29712         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29713         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29714         * docs/gst/tmpl/old/types.sgml:
29715           I didn't intend to add these or check them in.
29716
29717 2005-05-19  David Schleef  <ds@schleef.org>
29718
29719         * configure.ac: Use -no-common everywhere.  In a sane world, it
29720           would be the default in libtool, because without it, you can't
29721           build DLLs on Windows.
29722         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29723         * docs/gst/gstreamer-sections.txt:
29724         * docs/gst/tmpl/gstcpu.sgml:
29725         * docs/gst/tmpl/gstdata.sgml:
29726         * docs/gst/tmpl/gstthread.sgml:
29727
29728 2005-05-19  David Schleef  <ds@schleef.org>
29729
29730         * gst/gstminiobject.c: (gst_value_set_mini_object),
29731         (gst_value_take_mini_object), (gst_value_get_mini_object):
29732         * gst/gstminiobject.h: Add GValue set/get functions.
29733
29734 2005-05-19  Wim Taymans  <wim@fluendo.com>
29735
29736         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29737         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29738         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29739         * gst/gstbuffer.h:
29740         * gst/gstbus.c: (gst_bus_post):
29741         * gst/gstelement.c: (gst_element_get_random_pad):
29742         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29743         Make subbufer unref the parent in finalize.
29744         some more debugging info.
29745
29746
29747 2005-05-19  Wim Taymans  <wim@fluendo.com>
29748
29749         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29750         (gst_basesink_init), (gst_basesink_finalize),
29751         (gst_basesink_activate), (gst_basesink_change_state):
29752         Don't free preroll queue too early.
29753
29754 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29755
29756         * gst/Makefile.am:
29757         * gst/ROADMAP:
29758           Hi, I'm outdated. Please shoot me.
29759
29760 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29761
29762         * gst/gstpipeline.c: (gst_pipeline_send_event):
29763           Do not access variables after they have been deleted.
29764
29765 2005-05-19  Wim Taymans  <wim@fluendo.com>
29766
29767         * tools/gst-inspect.c: (print_plugin_features):
29768         A plugin feature does unfortunatly not use the
29769         object name yet...
29770
29771 2005-05-18  Wim Taymans  <wim@fluendo.com>
29772
29773         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29774         Port _span() functions to new subbuffers.
29775
29776 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29777
29778         * gst/gstbin.c: (gst_bin_add_func):
29779           Fix clock settery in bins when adding kids after the clock has
29780           been selected.
29781
29782 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29783
29784         * gst/elements/gstidentity.c: (gst_identity_class_init):
29785           Workaround until signals support GstMiniObject.
29786
29787 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
29788
29789         * gst/gstbuffer.c:
29790         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29791
29792 2005-05-18  Wim Taymans  <wim@fluendo.com>
29793
29794         * gst/base/Makefile.am:
29795         * gst/base/gstadapter.c: (gst_adapter_base_init),
29796         (gst_adapter_class_init), (gst_adapter_init),
29797         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29798         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29799         (gst_adapter_flush), (gst_adapter_available),
29800         (gst_adapter_available_fast):
29801         * gst/base/gstadapter.h:
29802         Ported and added adapter to the base classes.
29803
29804 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29805
29806         * gst/gst.c:
29807         * gst/gstmessage.c:
29808           Make sure the class is reffed/unreffed once before threads can be
29809           used.  Fixes #304551.
29810
29811 2005-05-17  Wim Taymans  <wim@fluendo.com>
29812
29813         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29814         (gst_basesink_chain_unlocked), (gst_basesink_activate):
29815         * gst/gstminiobject.c: (gst_mini_object_get_type),
29816         (gst_mini_object_free):
29817         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29818         (gst_pad_push), (gst_pad_push_event):
29819         * gst/gstqueue.c: (gst_queue_change_state):
29820         Don't queue buffers in basesink when we are flushing.
29821         Unref buffer when flushing in basesink.
29822         Flush queue when going to READY
29823         Unref buffer when _push() returns an error.
29824         Don't free MiniObject instance when refcount is incremented
29825         in _finalize() so that we can recover objects.
29826
29827 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29828
29829         * docs/manual/advanced-schedulers.xml:
29830         * docs/manual/appendix-checklist.xml:
29831         * docs/pwg/advanced-clock.xml:
29832         * docs/pwg/advanced-interfaces.xml:
29833         * docs/pwg/advanced-request.xml:
29834         * docs/pwg/advanced-types.xml:
29835         * docs/pwg/intro-preface.xml:
29836         * examples/plugins/example.c: (gst_example_get_type),
29837         (gst_example_class_init), (gst_example_chain),
29838         (gst_example_set_property), (gst_example_get_property),
29839         (gst_example_change_state), (plugin_init):
29840         * examples/plugins/example.h:
29841           small doc fixes
29842
29843 2005-05-17  Wim Taymans  <wim@fluendo.com>
29844
29845         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29846         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29847         * gst/gstqueue.c: (gst_queue_change_state):
29848         Clear queue when going to READY.
29849         Remove IN_SETCAPS flag too.
29850
29851 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
29852
29853         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29854           Remove implicit cast from gboolean to GstElementStateReturn;
29855           make sure we still return failure in paused => ready case if
29856           the parent class fails to change state and our own stop 
29857           vfunc succeeds.
29858
29859 2005-05-17  Wim Taymans  <wim@fluendo.com>
29860
29861         * tools/gst-launch.c: (event_loop):
29862         Message was unreffed too soon.
29863
29864 2005-05-16  Andy Wingo  <wingo@pobox.com>
29865
29866         * gst/gstbin.c (sink_iterator_filter): Err... um...
29867
29868         * check/gst/gstbin.c (test_ghost_pads): New test for the
29869         ghosting-if-elements-not-in-same-bin behavior.
29870
29871 2005-05-16  David Schleef  <ds@schleef.org>
29872
29873         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29874         accessing refcount directly.
29875
29876 2005-05-15  David Schleef  <ds@schleef.org>
29877
29878         * check/Makefile.am: remove GstData checks
29879         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29880         * gst/Makefile.am: add miniobject, remove data
29881         * gst/gst.h: add miniobject, remove data
29882         * gst/gstdata.c: remove
29883         * gst/gstdata.h: remove
29884         * gst/gstdata_private.h: remove
29885         * gst/gsttypes.h: remove GstEvent and GstMessage
29886         * gst/gstelement.c: (gst_element_post_message): fix for API changes
29887         * gst/gstmarshal.list: change BOXED -> OBJECT
29888
29889         Implement GstMiniObject.
29890         * gst/gstminiobject.c:
29891         * gst/gstminiobject.h:
29892
29893         Modify to be subclasses of GstMiniObject.
29894         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29895         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29896         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29897         (gst_subbuffer_get_type), (gst_subbuffer_init),
29898         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29899         (gst_buffer_span):
29900         * gst/gstbuffer.h:
29901         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29902         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29903         (_gst_event_copy), (gst_event_new):
29904         * gst/gstevent.h:
29905         * gst/gstmessage.c: (_gst_message_initialize),
29906         (gst_message_get_type), (gst_message_class_init),
29907         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29908         (gst_message_new), (gst_message_new_error),
29909         (gst_message_new_warning), (gst_message_new_tag),
29910         (gst_message_new_state_changed), (gst_message_new_application):
29911         * gst/gstmessage.h:
29912         * gst/gstprobe.c: (gst_probe_perform),
29913         (gst_probe_dispatcher_dispatch):
29914         * gst/gstprobe.h:
29915         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29916         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29917         (_gst_query_copy), (gst_query_new):
29918
29919         Update elements for GstData -> GstMiniObject changes
29920         * gst/gstquery.h:
29921         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29922         (gst_queue_chain), (gst_queue_loop):
29923         * gst/elements/gstbufferstore.c:
29924         (gst_buffer_store_add_buffer_func),
29925         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29926         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29927         (gst_fakesink_render):
29928         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29929         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29930         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29931         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29932         (gst_filesrc_create_read):
29933         * gst/elements/gstidentity.c: (gst_identity_class_init):
29934         * gst/elements/gsttypefindelement.c:
29935         (gst_type_find_element_src_event), (free_entry_buffers),
29936         (gst_type_find_element_handle_event):
29937         * libs/gst/dataprotocol/dataprotocol.c:
29938         (gst_dp_header_from_buffer):
29939         * libs/gst/dataprotocol/dataprotocol.h:
29940         * libs/gst/dataprotocol/dp-private.h:
29941
29942 2005-05-15  David Schleef  <ds@schleef.org>
29943
29944         * gst/elements/gstelements.c: Don't include headers that were
29945         just removed.
29946
29947 2005-05-15  David Schleef  <ds@schleef.org>
29948
29949         * gst/elements/Makefile.am: Remove some elements that don't
29950         need to be in the core (or even exist at all).
29951         * gst/elements/gstaggregator.c:
29952         * gst/elements/gstaggregator.h:
29953         * gst/elements/gstmd5sink.c:
29954         * gst/elements/gstmd5sink.h:
29955         * gst/elements/gstmultifilesrc.c:
29956         * gst/elements/gstmultifilesrc.h:
29957         * gst/elements/gstpipefilter.c:
29958         * gst/elements/gstpipefilter.h:
29959         * gst/elements/gstshaper.c:
29960         * gst/elements/gstshaper.h:
29961         * gst/elements/gststatistics.c:
29962         * gst/elements/gststatistics.h:
29963         * po/POTFILES.in: Remove above files.
29964
29965 2005-05-14  Andy Wingo  <wingo@pobox.com>
29966
29967         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29968         so as to get the refs right.
29969         (sink_iterator_filter): New function, wraps bin_element_is_sink,
29970         unreffing objects that don't pass the filter.
29971
29972         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29973         gst_element_set_bus.
29974         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29975         normal cases, this will destroy the bus.
29976
29977         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29978         object.
29979
29980         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29981         has no sinks.
29982
29983 2005-05-13  Andy Wingo  <wingo@pobox.com>
29984
29985         * gst/gstutils.c (gst_element_link_pads): Instead of calling
29986         gst_pad_link, call pad_link_maybe_ghosting,
29987         (pad_link_maybe_ghosting): Links pads, making sure that the
29988         elements being linked are in the same bin.
29989         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29990         Helpers for pad_link_maybe_ghosting.
29991
29992 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
29993
29994         * configure.ac:
29995           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
29996
29997 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
29998
29999         * docs/design/part-element-source.txt:
30000           Mention GstPushSrc
30001
30002 2005-05-12  Wim Taymans  <wim@fluendo.com>
30003
30004         * gst/base/gstbasesink.c: (gst_basesink_init),
30005         (gst_basesink_activate):
30006         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30007         (gst_basesrc_is_seekable):
30008         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30009         (bin_element_is_sink), (gst_bin_change_state):
30010         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30011         * gst/gstelement.h:
30012         Identify sinks by their flag to avoid overly complicated
30013         checks (fow now).
30014         Do state changes even for elements not reachable from the
30015         sinks.
30016         BaseSink is a sink now :)
30017         Some more debugging info in the basesrc.
30018
30019
30020 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30021
30022         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30023           Implement _query on a bin, similar to _send_event.
30024
30025 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30026
30027         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30028           Discont event offset format should be GST_FORMAT_BYTES,
30029           not GST_FORMAT_TIME.
30030
30031 2005-05-12  Wim Taymans  <wim@fluendo.com>
30032
30033         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30034         Same fix as Ronald's but without the signal. 
30035
30036 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30037
30038         * gst/gstutils.c: (gst_element_query_position):
30039           No, an element is not a pad.
30040
30041 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30042
30043         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30044         (gst_bin_get_state):
30045           If a child is removed from a bin while we remove the child from
30046           the bin and while we're retrieving its state, signal this to the
30047           get_state function so we abort the wait (instead of waiting for
30048           a timeout) and can immediately re-iterate over all other elements.
30049
30050 2005-05-12  Wim Taymans  <wim@fluendo.com>
30051
30052         * gst/base/Makefile.am:
30053         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30054         (gst_basesrc_start):
30055         * gst/base/gstbasesrc.h:
30056         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30057         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30058         (gst_pushsrc_init), (gst_pushsrc_create):
30059         * gst/base/gstpushsrc.h:
30060         Added is_seekable to BaseSrc
30061         Added simple PushSrc.
30062
30063 2005-05-11  Wim Taymans  <wim@fluendo.com>
30064
30065         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30066         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30067         (gst_element_link_pads), (gst_element_query_position),
30068         (gst_element_query_convert), (intersect_caps_func),
30069         (gst_pad_query_position), (gst_pad_query_convert):
30070         Fix refcounting in utils function.
30071         No point in trying to activate a pad when it's added, it could
30072         be added from the state change function and then we deadlock, the
30073         element has to decide what to do.
30074
30075 2005-05-10  Andy Wingo  <wingo@pobox.com>
30076
30077         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30078         *all* the arguments.
30079
30080         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30081         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30082         lock (according to the docs -- if this is wrong change the docs).
30083
30084         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30085         flush messages in the NULL state.
30086
30087         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30088         message immediately and return.
30089         (gst_bus_set_flushing): New function. If a bus is flushing, it
30090         flushes out any queued messages and immediately unrefs new
30091         messages. This is so when an element goes to NULL, all of the
30092         unhandled messages coming from it can be freed, and their
30093         references to the element dropped. In other words: message source
30094         ref considered harmful :P
30095
30096         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30097         we're finished with it.
30098
30099         * gst/gstmessage.c (gst_message_new_state_changed): 
30100
30101 2005-05-10  Wim Taymans  <wim@fluendo.com>
30102
30103         * gst/gstvalue.c: (gst_value_compare_flags),
30104         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30105         (_gst_value_initialize):
30106         Added flags serialize/deserialize/compare code.
30107
30108 2005-05-09  Andy Wingo  <wingo@pobox.com>
30109
30110         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30111         Intersect the peer's caps with our caps.
30112
30113 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30114
30115         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30116         * gst/elements/gsttypefindelement.c: (find_peek):
30117           Handle negative offsets better. Fixes decodebin.
30118
30119 2005-05-09  Wim Taymans  <wim@fluendo.com>
30120
30121         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30122         (gst_base_transform_event):
30123         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30124         Implement accept_caps.
30125         Fix silly lock/unlock mismatch in base class.
30126
30127 2005-05-09  Wim Taymans  <wim@fluendo.com>
30128
30129         * docs/design/draft-push-pull.txt:
30130         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30131         * gst/elements/gstfilesink.c: (gst_filesink_init),
30132         (gst_filesink_query):
30133         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30134         (gst_type_find_handle_src_query), (find_element_get_length):
30135         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30136         * gst/gstelement.h:
30137         * gst/gstmessage.c:
30138         * gst/gstmessage.h:
30139         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30140         (gst_real_pad_get_caps_unlocked),
30141         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30142         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30143         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30144         (gst_real_pad_dispose), (gst_real_pad_finalize),
30145         (gst_pad_load_and_link), (gst_pad_save_thyself),
30146         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30147         (gst_pad_check_pull_range), (gst_pad_pull_range),
30148         (gst_pad_template_get_type), (gst_pad_template_class_init),
30149         (gst_pad_template_init), (gst_pad_template_dispose),
30150         (name_is_valid), (gst_static_pad_template_get),
30151         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30152         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30153         (gst_pad_get_element_private), (gst_pad_start_task),
30154         (gst_pad_pause_task), (gst_pad_stop_task),
30155         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30156         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30157         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30158         (gst_ghost_pad_new):
30159         * gst/gstpad.h:
30160         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30161         (gst_query_new_position), (gst_query_set_position),
30162         (gst_query_parse_position), (gst_query_new_convert),
30163         (gst_query_set_convert), (gst_query_parse_convert):
30164         * gst/gstquery.h:
30165         * gst/gstqueryutils.c:
30166         * gst/gstqueryutils.h:
30167         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30168         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30169         (gst_queue_handle_src_query):
30170         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30171         (gst_element_query_position), (gst_element_query_convert),
30172         (intersect_caps_func), (gst_pad_query_position),
30173         (gst_pad_query_convert):
30174         * gst/gstutils.h:
30175         * tools/gst-inspect.c: (print_pad_info):
30176         * tools/gst-xmlinspect.c: (print_element_info):
30177         Remove old query functions. Ported old code.
30178         Added position/convert helper functions to gstutils.
30179         Reordered gstpad.c code, grouping relevant things.
30180         Remove gst_message_new(), always need to speficy a specific
30181         message.
30182
30183
30184 2005-05-09  Andy Wingo  <wingo@pobox.com>
30185
30186         * gst/gstiterator.h: Add some includes.
30187
30188         * gst/gstqueryutils.h: Include more headers.
30189
30190         * gst/gstpad.h:
30191         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30192         some uses of gst_pad_query.
30193
30194         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30195         NULL out parameters.
30196         (gst_query_new_position): New proc, allocates a new position
30197         query.
30198
30199         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30200         gstqueryutils.c to the build.
30201
30202         * gst/gststructure.c (gst_structure_set_valist): Implement with
30203         the generic G_VALUE_COLLECT.
30204         
30205 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30206
30207         * gst/Makefile.am: (gst_headers):
30208         Added gstqueryutils.h to the list of headers to install, that was
30209         a 'nachty' move wingo :)
30210
30211 2005-05-06  Andy Wingo  <wingo@pobox.com>
30212
30213         * gst/gstquery.h
30214         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30215         GstData, init a memchunk.
30216         (standard_definitions): Add a few query types, deprecate a few.
30217         (gst_query_get_type): New proc.
30218         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30219         implementation.
30220         (gst_query_new_application, gst_query_get_structure): New public
30221         procs.
30222
30223         * docs/design/draft-query.txt: Removed LINKS from the query types,
30224         because all the rest can be dispatched to other pads -- seemed
30225         ugly to have a query that couldn't be dispatched. internal_links
30226         is fine as a pad method.
30227
30228         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30229         in gstpad.c, but maintain binary compatibility for the moment.
30230         Will fix before 0.9 is out.
30231
30232         * gst/gstqueryutils.c: 
30233         * gst/gstqueryutils.h: New files, implement 3 methods for each
30234         query type: parse_query, parse_response, and set. Probably need an
30235         allocator as well.
30236
30237         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30238
30239         * gst/elements/gstfilesink.c (gst_filesink_query2):
30240         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30241         query_types, and formats methods.
30242
30243         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30244         (gst_pad_set_query2_function): New functions.
30245         (gst_real_pad_init): Set query2_default as the default query2
30246         function. Basically just dispatches to internally linked pads.
30247
30248         Needs review!
30249         
30250         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30251         without using the atomic operations. Only one thread can possibly
30252         be accessing the data at this point. Changed so as to avoid
30253         gst_atomic operations.
30254
30255 2005-05-06  Wim Taymans  <wim@fluendo.com>
30256
30257         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30258         Also set caps if we use the fallback buffer alloc.
30259
30260 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30261
30262         * docs/gst/Makefile.am:
30263         * docs/gst/gstreamer-docs.sgml:
30264         * docs/gst/gstreamer-sections.txt:
30265         * docs/gst/tmpl/gstatomic.sgml:
30266         * docs/gst/tmpl/gstmemchunk.sgml:
30267         * testsuite/elements/struct_i386.h:
30268         * win32/GStreamer.vcproj:
30269         * win32/Makefile:
30270           Purge GstAtomic stuff from docs and win32 makefiles as well
30271
30272 2005-05-06  Wim Taymans  <wim@fluendo.com>
30273
30274         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30275         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30276         * gst/gstpad.c: (gst_pad_peer_get_caps):
30277         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30278         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30279         (gst_queue_src_activate), (gst_queue_change_state):
30280         * gst/gstqueue.h:
30281         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30282         (intersect_caps_func):
30283         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30284         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30285         Some fixes for the peer_get_caps() change.
30286
30287 2005-05-06  Wim Taymans  <wim@fluendo.com>
30288
30289         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30290         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30291         (gst_basesink_activate):
30292         Actually do something with error codes returned from the push
30293         functions.
30294
30295 2005-05-06  Wim Taymans  <wim@fluendo.com>
30296
30297         * docs/design/part-element-sink.txt:
30298         * docs/design/part-element-source.txt:
30299         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30300         (gst_basesink_event), (gst_basesink_activate):
30301         * gst/base/gstbasesink.h:
30302         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30303         (gst_basesrc_activate):
30304         * gst/base/gstbasesrc.h:
30305         * gst/gstelement.c: (gst_element_pads_activate):
30306         Some more documentation.
30307         Fixed scheduling decision in _pads_activate().
30308
30309 2005-05-05  Andy Wingo  <wingo@pobox.com>
30310
30311         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30312         the test suite.
30313
30314 2005-05-05  Wim Taymans  <wim@fluendo.com>
30315
30316         * gst/base/Makefile.am:
30317         * gst/base/gstbasesink.h:
30318         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30319         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30320         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30321         (gst_collectpads_class_init), (gst_collectpads_init),
30322         (gst_collectpads_finalize), (gst_collectpads_new),
30323         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30324         (find_pad), (gst_collectpads_remove_pad),
30325         (gst_collectpads_is_active), (gst_collectpads_collect),
30326         (gst_collectpads_collect_range), (gst_collectpads_start),
30327         (gst_collectpads_stop), (gst_collectpads_peek),
30328         (gst_collectpads_pop), (gst_collectpads_available),
30329         (gst_collectpads_read), (gst_collectpads_flush),
30330         (gst_collectpads_chain):
30331         * gst/base/gstcollectpads.h:
30332         * gst/elements/Makefile.am:
30333         * gst/elements/gstelements.c:
30334         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30335         (gst_fakesink_get_times), (gst_fakesink_event),
30336         (gst_fakesink_preroll), (gst_fakesink_render):
30337         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30338         (gst_filesink_init), (gst_filesink_set_location),
30339         (gst_filesink_open_file), (gst_filesink_close_file),
30340         (gst_filesink_pad_query), (gst_filesink_event),
30341         (gst_filesink_render), (gst_filesink_change_state):
30342         * gst/elements/gstfilesink.h:
30343         Added object to help in making collect pad based elements.
30344         Ported filesink.
30345         Make event function in sink baseclass return gboolean.
30346
30347 2005-05-05  Wim Taymans  <wim@fluendo.com>
30348
30349         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30350         (gst_bin_get_by_name):
30351         * gst/gstbuffer.h:
30352         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30353         (gst_clock_finalize):
30354         * gst/gstdata.c: (gst_data_replace):
30355         * gst/gstdata.h:
30356         * gst/gstelement.c: (gst_element_request_pad),
30357         (gst_element_pads_activate):
30358         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30359         (gst_object_unref):
30360         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30361         (gst_pad_set_checkgetrange_function),
30362         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30363         (gst_pad_check_pull_range), (gst_pad_pull_range),
30364         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30365         (gst_pad_pause_task), (gst_pad_stop_task):
30366         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30367         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30368         Fix name lookup in GstBin.
30369         Added _data_replace() function and _buffer_replace()
30370         Use finalize method to clean up clock.
30371         Fix refcounting on request pads.
30372         Fix pad schedule mode error.
30373         Some more object refcounting debug info,
30374
30375
30376 2005-05-04  Andy Wingo <wingo@pobox.com>
30377
30378         * check/Makefile.am:
30379         * docs/gst/tmpl/gstatomic.sgml:
30380         * docs/gst/tmpl/gstplugin.sgml:
30381         * gst/base/gstbasesink.c: (gst_basesink_activate):
30382         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30383         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30384         (gst_basesrc_query), (gst_basesrc_set_property),
30385         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30386         (gst_basesrc_activate):
30387         * gst/base/gstbasesrc.h:
30388         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30389         (gst_base_transform_src_activate):
30390         * gst/elements/gstelements.c:
30391         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30392         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30393         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30394         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30395         (gst_type_find_element_checkgetrange),
30396         (gst_type_find_element_activate):
30397         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30398         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30399         (gst_caps_load_thyself):
30400         * gst/gstelement.c: (gst_element_pads_activate),
30401         (gst_element_save_thyself), (gst_element_restore_thyself):
30402         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30403         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30404         * gst/gstpad.h:
30405         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30406         (gst_xml_parse_file), (gst_xml_parse_memory),
30407         (gst_xml_get_element), (gst_xml_make_element):
30408         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30409         (_file_index_id_save_xml), (gst_file_index_commit):
30410         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30411         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30412         (load_paths):
30413         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30414         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30415         * tools/gst-complete.c: (main):
30416         * tools/gst-compprep.c: (main):
30417         * tools/gst-inspect.c: (print_element_properties_info):
30418         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30419         * tools/gst-xmlinspect.c: (print_element_properties):
30420         GCC 4 fixen.
30421         
30422 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30423
30424         * gst/gstplugin.c: (gst_plugin_check_module),
30425         (gst_plugin_check_file), (gst_plugin_load_file):
30426             apply patch from #172526 to make register work on MacOSX
30427
30428 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30429
30430         * docs/gst/tmpl/gstconfig.sgml:
30431         * gst/gstconfig.h.in:
30432           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30433         * testsuite/debug/printf_extension.c: (main):
30434           Do not use GST_PTR_FORMAT on pointers to types with
30435           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30436         * testsuite/elements/property.h:
30437           use correct printf format
30438
30439 2005-05-02  Wim Taymans  <wim@fluendo.com>
30440
30441         * docs/design/draft-push-pull.txt:
30442         * docs/design/draft-query.txt:
30443         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30444         (gst_basesrc_start):
30445         Added draft for new query API.
30446         Added draft for better selecting scheduling methods.
30447         Make basesrc ignore length if the subclass does not support
30448         it.
30449
30450 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30451
30452         * gst/Makefile.am:
30453           possible fixes for automake-1.5 - _LIBADD is reserved
30454
30455 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30456
30457         * docs/faq/Makefile.am:
30458         * docs/manual/Makefile.am:
30459         * docs/manuals.mak:
30460         * docs/pwg/Makefile.am:
30461         * gst/Makefile.am:
30462           possible fixes for automake-1.5
30463
30464 2005-04-28  Wim Taymans  <wim@fluendo.com>
30465
30466         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30467         (gst_basesink_pad_getcaps), (gst_basesink_init),
30468         (gst_basesink_do_sync):
30469         * gst/gstclock.c: (gst_clock_entry_new):
30470         * gst/gstevent.c: (gst_event_discont_get_value):
30471         * gst/gstpipeline.c: (pipeline_bus_handler),
30472         (gst_pipeline_change_state):
30473         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30474         Better debugging of clocking info.
30475         Allow NULL values when getting discont values.
30476
30477 2005-04-27  Wim Taymans  <wim@fluendo.com>
30478
30479         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30480         * check/gst/gstpad.c: (gst_pad_suite):
30481         Increase timeout for checks.
30482
30483 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30484
30485         * check/Makefile.am:
30486           fix the broken rule for cleanup.  Apparently this rule is
30487           only needed on FC2, so maybe this warrants further autotool
30488           inspection.
30489
30490 2005-04-26  Wim Taymans  <wim@fluendo.com>
30491
30492         * gst/gsttrashstack.h:
30493         Ooohh. a nasty one! After having a failed pop() from the stack,
30494         it's possible that the stack is empty. In that case, don't
30495         follow the NULL pointer.
30496
30497 2005-04-25  Wim Taymans  <wim@fluendo.com>
30498
30499         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30500         (gst_pad_set_checkgetrange_function),
30501         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30502         (gst_pad_check_pull_range), (gst_pad_pull_range),
30503         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30504         (gst_pad_pause_task), (gst_pad_stop_task):
30505         * gst/gstplugin.c: (gst_plugin_load):
30506         * gst/gstplugin.h:
30507         Remove gst_library_load as it does more harm than good with
30508         the new g_module flags.
30509         Revert bogus caps template check in pad linking, pad caps
30510         are important when linking not the template, which is more
30511         general than the current caps.
30512
30513 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30514
30515         * gst/autoplug/.cvsignore:
30516         * gst/autoplug/Makefile.am:
30517         * gst/autoplug/gstsearchfuncs.c:
30518         * gst/autoplug/gstsearchfuncs.h:
30519         * gst/autoplug/gstspider.c:
30520         * gst/autoplug/gstspider.h:
30521         * gst/autoplug/gstspideridentity.c:
30522         * gst/autoplug/gstspideridentity.h:
30523         * gst/autoplug/spidertest.c:
30524           Die, spider, die.
30525
30526 2005-04-25  Wim Taymans  <wim@fluendo.com>
30527
30528         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30529         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30530         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30531         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30532         * gst/gstpad.h:
30533         Added stubs for unimplemented functions. 
30534
30535 2005-04-24  David Schleef  <ds@schleef.org>
30536
30537         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30538         please fix.
30539
30540 2005-04-24  David Schleef  <ds@schleef.org>
30541
30542         Convert everything from GstAtomicInt to g_atomic_int_*, and
30543         remove gstatomic.
30544         * gst/Makefile.am:
30545         * gst/gstatomic.c:
30546         * gst/gstatomic.h:
30547         * gst/gstatomic_impl.h:
30548         * gst/gstbuffer.c:
30549         * gst/gstcaps.c:
30550         * gst/gstcaps.h:
30551         * gst/gstclock.c:
30552         * gst/gstclock.h:
30553         * gst/gstdata.c:
30554         * gst/gstdata.h:
30555         * gst/gstdata_private.h:
30556         * gst/gstevent.c:
30557         * gst/gstinfo.c:
30558         * gst/gstinfo.h:
30559         * gst/gstmessage.c:
30560         * gst/gstobject.c:
30561         * gst/gstobject.h:
30562         * gst/gststructure.c:
30563         * gst/gststructure.h:
30564         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30565         * gst/gstutils.h:
30566
30567 2005-04-24  David Schleef  <ds@schleef.org>
30568
30569         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30570         make the regressions tests work.  Remove some code that is no
30571         longer true.
30572         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30573         Disable warning for pads without templates.
30574
30575 2005-04-24  David Schleef  <ds@schleef.org>
30576
30577         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30578         functions that handle filtered links.
30579         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30580         removed functions.
30581         * gst/gstutils.c: Fix/remove utility functions that handle
30582         filtered caps.
30583         * gst/gstutils.h:
30584         * gst/gstvalue.c: Add serialization/deserialization of caps
30585         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30586         requires fixing so that the filter caps notation creates
30587         a capsfilter element and sets the filter_caps property.  I
30588         think everyone probably wants to keep the shorthand notation.
30589         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30590         * docs/gst/tmpl/gstpad.sgml:
30591
30592         * gst/elements/gstelements.c: Register capsfilter element.
30593         * gst/Makefile.am: fix spacing
30594         * docs/random/ds/0.9-suggested-changes: random
30595
30596 2005-04-23  David Schleef  <ds@schleef.org>
30597
30598         * gst/elements/Makefile.am:
30599         * gst/elements/gstcapsfilter.c: New element that acts like an
30600         identity, but filters caps.  Will eventually replace filtered
30601         caps in pad linking.
30602         * gst/gstutils.c: (gst_element_create_all_pads): New function
30603         to create all the ALWAYS pads that are registered with an
30604         element class.  This functionality should eventually be
30605         merged in with GstElement initialization.
30606         * gst/gstutils.h:
30607         * testsuite/trigger/README: part of trigger test code that should
30608         have been checked in a long time ago.
30609
30610 2005-04-23  David Schleef  <ds@schleef.org>
30611
30612         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30613         needed with new versions of libtool (nobody will confirm this),
30614         and hard to carry around.
30615         * gst/autoplug/Makefile.am:
30616         * gst/base/Makefile.am:
30617         * gst/elements/Makefile.am:
30618         * gst/indexers/Makefile.am:
30619         * gst/schedulers/Makefile.am:
30620         * libs/gst/bytestream/Makefile.am:
30621         * libs/gst/control/Makefile.am:
30622         * libs/gst/dataprotocol/Makefile.am:
30623         * libs/gst/getbits/Makefile.am:
30624
30625 2005-04-21  Wim Taymans  <wim@fluendo.com>
30626
30627         * docs/design/draft-push-pull.txt:
30628         * docs/design/part-MT-refcounting.txt:
30629         * docs/design/part-TODO.txt:
30630         * docs/design/part-caps.txt:
30631         * docs/design/part-events.txt:
30632         * docs/design/part-gstbus.txt:
30633         * docs/design/part-gstpipeline.txt:
30634         * docs/design/part-messages.txt:
30635         * docs/design/part-push-pull.txt:
30636         * docs/design/part-query.txt:
30637         Some more docs.
30638
30639 2005-04-21  Wim Taymans  <wim@fluendo.com>
30640
30641         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30642         (gst_message_new), (gst_message_new_error),
30643         (gst_message_new_warning), (gst_message_new_tag),
30644         (gst_message_new_state_changed), (gst_message_new_application),
30645         (gst_message_get_structure):
30646         * gst/gstmessage.h:
30647         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30648         (gst_structure_copy_conditional):
30649         Use parent refcount in GstMessage to ensure GstStructure
30650         consistency.
30651         Cleaned up headers a bit.
30652         
30653
30654 2005-04-20  Wim Taymans  <wim@fluendo.com>
30655
30656         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30657         (gst_basesink_pad_getcaps), (gst_basesink_init),
30658         (gst_basesink_chain_unlocked):
30659         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30660         (gst_type_find_helper):
30661         * gst/elements/gsttypefindelement.c:
30662         (gst_type_find_element_have_type), (gst_type_find_element_init),
30663         (stop_typefinding), (gst_type_find_element_handle_event),
30664         (find_suggest), (gst_type_find_element_chain),
30665         (gst_type_find_element_checkgetrange),
30666         (gst_type_find_element_getrange), (do_typefind),
30667         (gst_type_find_element_activate):
30668         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30669         (gst_buffer_default_free), (gst_buffer_default_copy),
30670         (gst_buffer_set_caps):
30671         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30672         (gst_caps_replace):
30673         * gst/gstmessage.c: (gst_message_new),
30674         (gst_message_new_state_changed):
30675         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30676         (gst_pad_set_checkgetrange_function),
30677         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30678         (gst_pad_set_caps), (gst_pad_check_pull_range),
30679         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30680         * gst/gstpad.h:
30681         * gst/gsttypefind.c: (gst_type_find_register):
30682         Make gst_caps_replace() work like other _replace() functions.
30683         Use _caps_replace() where possible.
30684         Make sure _message_new() initialises its field.
30685         Add gst_static_pad_template_get_caps()
30686
30687
30688 2005-04-18  Andy Wingo  <wingo@pobox.com>
30689
30690         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30691         on the peer, not the pad. I think that was a typo. Pass an extra
30692         arg to see if random access is possible. Activate the pads as
30693         PULL_RANGE if possible.
30694
30695         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30696
30697         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30698         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30699         to PROP_....
30700
30701 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30702
30703         * docs/faq/using.xml:
30704           Add note on gstreamer-properties (#154996).
30705
30706 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30707
30708         * docs/random/bbb/optional-properties:
30709           Some analysis on optional properties.
30710
30711 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30712
30713         * docs/gst/tmpl/gstelementfactory.sgml:
30714         * gst/gstelement.h:
30715         * gst/gstelementfactory.c: (gst_element_factory_init),
30716         (gst_element_factory_cleanup), (gst_element_register),
30717         (__gst_element_factory_add_static_pad_template),
30718         (gst_element_factory_get_static_pad_templates),
30719         (gst_element_factory_can_src_caps),
30720         (gst_element_factory_can_sink_caps):
30721         * gst/registries/Makefile.am:
30722         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30723         (gst_xml_registry_class_init), (gst_xml_registry_init),
30724         (gst_xml_registry_new), (gst_xml_registry_set_property),
30725         (gst_xml_registry_get_property), (get_time), (make_dir),
30726         (gst_xml_registry_get_perms_func),
30727         (plugin_times_older_than_recurse), (plugin_times_older_than),
30728         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30729         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30730         (add_to_char_array), (read_string), (read_uint), (read_enum),
30731         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30732         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30733         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30734         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30735         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30736         (gst_xml_registry_rebuild):
30737         * gst/registries/gstlibxmlregistry.h:
30738         * tools/gst-compprep.c: (main):
30739         * tools/gst-inspect.c: (print_pad_templates_info):
30740         * tools/gst-xmlinspect.c: (print_element_info):
30741           Use libxml2 for registry parsing, use staticpadtemplates in
30742           elementfactories. Makes gst_init() +/- 10x faster.
30743
30744 2005-04-12  Wim Taymans  <wim@fluendo.com>
30745
30746         * gst/base/Makefile.am:
30747         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30748         (gst_basesink_pad_getcaps), (gst_basesink_init),
30749         (gst_basesink_event), (gst_basesink_change_state):
30750         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30751         (gst_basesrc_init), (gst_basesrc_query),
30752         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30753         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30754         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30755         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30756         (gst_basesrc_stop), (gst_basesrc_activate),
30757         (gst_basesrc_change_state):
30758         * gst/base/gsttypefindhelper.c: (helper_find_peek),
30759         (helper_find_suggest), (gst_type_find_helper):
30760         * gst/base/gsttypefindhelper.h:
30761         * gst/elements/Makefile.am:
30762         * gst/elements/gstelements.c:
30763         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30764         (gst_fakesink_get_times), (gst_fakesink_event),
30765         (gst_fakesink_preroll), (gst_fakesink_render):
30766         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30767         (gst_fakesrc_init), (gst_fakesrc_event_handler),
30768         (gst_fakesrc_get_property), (gst_fakesrc_create),
30769         (gst_fakesrc_start), (gst_fakesrc_stop):
30770         * gst/elements/gstfakesrc.h:
30771         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30772         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30773         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30774         (gst_filesrc_create_read), (gst_filesrc_create),
30775         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30776         (gst_filesrc_start):
30777         * gst/elements/gsttypefindelement.c:
30778         (gst_type_find_element_have_type), (gst_type_find_element_init),
30779         (start_typefinding), (stop_typefinding), (push_buffer_store),
30780         (gst_type_find_element_handle_event),
30781         (gst_type_find_element_chain),
30782         (gst_type_find_element_checkgetrange),
30783         (gst_type_find_element_getrange), (do_typefind),
30784         (gst_type_find_element_activate),
30785         (gst_type_find_element_change_state):
30786         * gst/elements/gsttypefindelement.h:
30787         * gst/gstpipeline.c: (pipeline_bus_handler):
30788         Added typefind helper.
30789         Small preroll fix in the base sink.
30790         Disable typefind code in basesrc.
30791         Crude port of typefindelement.
30792         Fakesrc cleanups.
30793
30794
30795 2005-04-11  Wim Taymans  <wim@fluendo.com>
30796
30797         * check/gst/gstbus.c: (gstbus_suite):
30798         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30799         * check/gstcheck.h:
30800           Fix up the timeout so that the test does not fail.
30801
30802 2005-04-06  Wim Taymans  <wim@fluendo.com>
30803
30804         * gst/base/README:
30805         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30806         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30807         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30808         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30809         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30810         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30811         (gst_basesrc_stop), (gst_basesrc_activate),
30812         (gst_basesrc_change_state), (basesrc_find_peek),
30813         (basesrc_find_suggest), (gst_basesrc_type_find):
30814         * gst/base/gstbasesrc.h:
30815         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30816         (gst_filesrc_class_init), (gst_filesrc_init),
30817         (gst_filesrc_finalize), (gst_filesrc_set_location),
30818         (gst_filesrc_set_property), (gst_filesrc_get_property),
30819         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30820         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30821         (gst_filesrc_create_read), (gst_filesrc_create),
30822         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30823         * gst/elements/gstfilesrc.h:
30824         * gst/gstelement.c: (gst_element_get_state_func),
30825         (gst_element_lost_state), (gst_element_pads_activate):
30826         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30827         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30828         (gst_pad_pull_range):
30829         * gst/gstpad.h:
30830         More work on the generic source base class, implement seeking,
30831         query.
30832         Make filesrc extend the base source class.
30833         Added gst_pad_set_checkgetrange_function to GstPad.
30834
30835 2005-04-06  Andy Wingo  <wingo@pobox.com>
30836
30837         * pkgconfig/gstreamer-base.pc.in:
30838         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30839
30840         * pkgconfig/Makefile.am:
30841         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30842
30843 2005-04-04  Wim Taymans  <wim@fluendo.com>
30844
30845         * gst/base/Makefile.am:
30846         * gst/base/README:
30847         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30848         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30849         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30850         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30851         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30852         (gst_basesrc_base_init), (gst_basesrc_class_init),
30853         (gst_basesrc_init), (gst_basesrc_get_formats),
30854         (gst_basesrc_get_query_types), (gst_basesrc_query),
30855         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30856         (gst_basesrc_set_property), (gst_basesrc_get_property),
30857         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30858         (gst_basesrc_loop), (gst_basesrc_activate),
30859         (gst_basesrc_change_state):
30860         * gst/base/gstbasesrc.h:
30861         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30862         (gst_fakesrc_class_init), (gst_fakesrc_init),
30863         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30864         (gst_fakesrc_get_property), (gst_fakesrc_create):
30865         * gst/elements/gstfakesrc.h:
30866         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30867         (gst_filesrc_open_file), (gst_filesrc_loop),
30868         (gst_filesrc_activate), (filesrc_find_peek),
30869         (gst_filesrc_type_find):
30870         Made base source class, make fakesrc extend it.
30871         Add comments to basesink class.
30872         Some filesrc cleanup.
30873
30874 2005-03-31  David Schleef  <ds@schleef.org>
30875
30876         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30877         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30878         expected to link against libgstreamer.
30879         * gst/base/Makefile.am: link against libgstreamer
30880         * gst/elements/Makefile.am: same
30881
30882 2005-03-31  Andy Wingo  <wingo@pobox.com>
30883
30884         * tests/instantiate/Makefile.am:
30885         * tests/instantiate/caps.c: Add test to test speed of caps copy
30886         and free.
30887
30888         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30889         GMemChunk to be fair.
30890
30891         * gst/gsttrashstack.h: Remove warning about using the fallback
30892         trash stack implementation, it's still faster than malloc.
30893
30894 2005-03-30  Andy Wingo  <wingo@pobox.com>
30895
30896         * tests/complexity.c: Add a copyright.
30897
30898 2005-03-31  Wim Taymans  <wim@fluendo.com>
30899
30900         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30901         (gst_base_transform_class_init), (gst_base_transform_init),
30902         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30903         (gst_base_transform_get_property),
30904         (gst_base_transform_sink_activate),
30905         (gst_base_transform_src_activate),
30906         (gst_base_transform_change_state):
30907         * gst/base/gstbasetransform.h:
30908         * gst/elements/gstidentity.c: (gst_identity_class_init),
30909         (gst_identity_event), (gst_identity_check_perfect),
30910         (gst_identity_transform), (gst_identity_start),
30911         (gst_identity_stop):
30912         Added start/stop methods to transform base class so subclasses 
30913         don't need to deal with state changes even.
30914
30915 2005-03-31  Wim Taymans  <wim@fluendo.com>
30916
30917         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30918         (gst_event_new_discontinuous), (gst_event_discont_get_value):
30919         * gst/gstevent.h:
30920         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30921         (gst_pad_pull_range):
30922         Added rate to the discont event to prepare for variable speed
30923         and reverse playback.
30924
30925 2005-03-29  David Schleef  <ds@schleef.org>
30926
30927         * configure.ac:
30928         * testsuite/trigger/Makefile.am:
30929         * testsuite/trigger/trigger.c: A little example program to show
30930         how trigger-based elements can work.
30931
30932 2005-03-29  Wim Taymans  <wim@fluendo.com>
30933
30934         * gst/base/Makefile.am:
30935         * gst/base/README:
30936         * gst/base/gstbasesink.c: (gst_basesink_get_type),
30937         (gst_basesink_base_init), (gst_basesink_class_init),
30938         (gst_basesink_pad_getcaps), (gst_basesink_init),
30939         (gst_basesink_activate), (gst_basesink_change_state):
30940         * gst/base/gstbasesink.h:
30941         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30942         (gst_base_transform_base_init), (gst_base_transform_finalize),
30943         (gst_base_transform_class_init), (gst_base_transform_init),
30944         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30945         (gst_base_transform_event), (gst_base_transform_getrange),
30946         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30947         (gst_base_transform_set_property),
30948         (gst_base_transform_get_property),
30949         (gst_base_transform_sink_activate),
30950         (gst_base_transform_src_activate),
30951         (gst_base_transform_change_state):
30952         * gst/base/gstbasetransform.h:
30953         * gst/elements/gstidentity.c: (gst_identity_finalize),
30954         (gst_identity_class_init), (gst_identity_init),
30955         (gst_identity_event), (gst_identity_check_perfect),
30956         (gst_identity_transform), (gst_identity_set_property),
30957         (gst_identity_get_property), (gst_identity_change_state):
30958         * gst/elements/gstidentity.h:
30959         * gst/gstelement.c: (gst_element_get_state_func),
30960         (gst_element_lost_state), (gst_element_pads_activate):
30961         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30962         (gst_pad_check_pull_range), (gst_pad_pull_range):
30963         * gst/gstpad.h:
30964         Simplify pad activation.
30965         Added function to check if pull_range can be performed.
30966         Error out when pulling inactive or flushing pads.
30967         Removed const from refcounted types as it does not make sense.
30968         Simplify pad templates in basesink
30969         Added base class for simple 1-to-1 transforms.
30970         Make identity subclass the base transform.
30971
30972 2005-03-29  Andy Wingo  <wingo@pobox.com>
30973
30974         * docs/libs/gstreamer-libs-overrides.txt: 
30975         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30976         really don't understand what's going on, but like whatever. I want
30977         green buildbot!
30978
30979         * docs/gst/Makefile.am:
30980         * docs/libs/Makefile.am: Dist the overrides files.
30981
30982         * check/Makefile.am (clean-local): Remove .libs directories.
30983
30984         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30985         elements to EXTRA_DIST, so po/ files are happy.
30986
30987         * po/POTFILES.in: Er, remove it here.
30988
30989         * po/POTFILES: Remove gstspider.c.
30990
30991         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30992
30993         * docs/libs/gstreamer-libs-docs.sgml: 
30994         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
30995         bytestream.
30996
30997         * tests/complexity.c (main): Set the length of the preroll queue
30998         on the sinks to prevent a lockup.
30999
31000         * libs/gst/dataprotocol/Makefile.am: 
31001         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31002         the same as the one in check/gst-libs/gdp.c.
31003
31004         * po/, docs/gst/: Commit automatic changes to docs and po files.
31005
31006         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31007         the versioned libgstbase.
31008
31009         * check/Makefile.am: Depend on an unversioned gst-register, seems
31010         to make autoconf happier.
31011
31012         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31013
31014 2005-03-28  Wim Taymans  <wim@fluendo.com>
31015
31016         * configure.ac:
31017         * docs/design/part-gstelement.txt:
31018         * docs/design/part-negotiation.txt:
31019         * docs/design/part-preroll.txt:
31020         * docs/design/part-scheduling.txt:
31021         * docs/design/part-states.txt:
31022         * gst/Makefile.am:
31023         * gst/base/Makefile.am:
31024         * gst/base/README:
31025         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31026         (gst_basesink_base_init), (gst_basesink_class_init),
31027         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31028         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31029         (gst_basesink_set_pad_functions),
31030         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31031         (gst_basesink_set_property), (gst_basesink_get_property),
31032         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31033         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31034         (gst_basesink_preroll_queue_push),
31035         (gst_basesink_preroll_queue_empty),
31036         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31037         (gst_basesink_event), (gst_basesink_get_times),
31038         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31039         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31040         (gst_basesink_loop), (gst_basesink_activate),
31041         (gst_basesink_change_state):
31042         * gst/base/gstbasesink.h:
31043         * gst/elements/Makefile.am:
31044         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31045         (gst_fakesink_class_init), (gst_fakesink_init),
31046         (gst_fakesink_set_property), (gst_fakesink_get_property),
31047         (gst_fakesink_get_times), (gst_fakesink_event),
31048         (gst_fakesink_preroll), (gst_fakesink_render),
31049         (gst_fakesink_change_state):
31050         * gst/elements/gstfakesink.h:
31051         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31052         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31053         * gst/gstelement.c: (gst_element_add_pad),
31054         (gst_element_get_state_func), (gst_element_abort_state),
31055         (gst_element_commit_state), (gst_element_lost_state),
31056         (gst_element_set_state), (gst_element_pads_activate):
31057         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31058         * gst/gstpipeline.c: (gst_pipeline_send_event),
31059         (gst_pipeline_change_state):
31060         Added state change code.
31061         Added/updated docs.
31062         Added sink base class, make fakesink extend the base class.
31063         Small cleanups in GstPipeline.
31064
31065 2005-03-26  David Schleef  <ds@schleef.org>
31066
31067         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31068         is broken and should be implemented in a different library.
31069         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31070         * gst/gst.h: remove gstcpu.h
31071         * gst/gstcpu.c: remove
31072         * gst/gstcpu.h: remove
31073         * gst/Makefile.am.future: Remove this file.  It's ancient.
31074
31075 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31076
31077         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31078         (gst_bin_send_event):
31079           Add default event/set_manager handlers. The set_manager handler
31080           takes care that the manager is distributed over kids that were
31081           already in the bin before the manager was set. The event handler
31082           is a utility virtual function that sends the event over all sinks,
31083           so that gst_element_send_event (bin, event); has the expected
31084           behaviour.
31085         * gst/gstpad.c: (gst_pad_event_default):
31086           Re-install default event handling for discontinuities, so that
31087           seeking works without requiring hacks in applications or extra
31088           code in sinks.
31089         * gst/gstpipeline.c: (gst_pipeline_class_init),
31090         (gst_pipeline_send_event):
31091           Half hack, half utility: set a pipeline to PAUSED for seek events,
31092           since that is the only way we can guarantee a/v sync. Means that
31093           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31094           and it "just works".
31095
31096 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31097
31098         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31099           Lock/unlock mismatch.
31100
31101 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31102
31103         * docs/faq/gst-uninstalled:
31104           add gst-plugins-base
31105         * docs/gst/Makefile.am:
31106           don't error out until docs are fixed
31107         * docs/gst/gstreamer.types:
31108           remove thread
31109
31110 2005-03-22  Wim Taymans  <wim@fluendo.com>
31111
31112         * check/Makefile.am:
31113         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31114         * gst/gststructure.c: (gst_structure_set_valist),
31115         (gst_structure_copy_conditional):
31116         Activated more tests.
31117         Added message test.
31118         Added G_TYPE_POINTER to GstStructure.
31119         
31120
31121 2005-03-22  Wim Taymans  <wim@fluendo.com>
31122
31123         * docs/design/part-TODO.txt:
31124         * docs/design/part-events.txt:
31125         * docs/design/part-gstbin.txt:
31126         * docs/design/part-gstbus.txt:
31127         * docs/design/part-gstpipeline.txt:
31128         * docs/design/part-messages.txt:
31129         * gst/gstbus.c:
31130         * gst/gstmessage.c:
31131         Docs updates
31132
31133 2005-03-21  Wim Taymans  <wim@fluendo.com>
31134
31135         * gst/gstbus.c: (gst_bus_post):
31136         Fix copy-and-paste error.
31137
31138 2005-03-21  Wim Taymans  <wim@fluendo.com>
31139
31140         * check/Makefile.am:
31141         * gst/Makefile.am:
31142         * gst/elements/Makefile.am:
31143         * gst/elements/gstelements.c:
31144         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31145         (gst_fakesink_event), (gst_fakesink_chain):
31146         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31147         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31148         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31149         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31150         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31151         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31152         (gst_fakesrc_loop), (gst_fakesrc_activate),
31153         (gst_fakesrc_change_state):
31154         * gst/elements/gstfakesrc.h:
31155         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31156         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31157         (gst_filesrc_open_file), (gst_filesrc_loop),
31158         (gst_filesrc_activate), (gst_filesrc_change_state),
31159         (filesrc_find_peek), (filesrc_find_suggest),
31160         (gst_filesrc_type_find):
31161         * gst/elements/gstidentity.c: (gst_identity_finalize),
31162         (gst_identity_class_init), (gst_identity_init),
31163         (gst_identity_proxy_getcaps), (identity_queue_push),
31164         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31165         (gst_identity_getrange), (gst_identity_chain),
31166         (gst_identity_sink_loop), (gst_identity_src_loop),
31167         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31168         (gst_identity_set_property), (gst_identity_get_property),
31169         (gst_identity_change_state):
31170         * gst/elements/gstidentity.h:
31171         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31172         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31173         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31174         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31175         (gst_tee_sink_activate):
31176         * gst/elements/gsttee.h:
31177         * gst/gst.c: (gst_register_core_elements), (init_post):
31178         * gst/gst.h:
31179         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31180         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31181         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31182         (gst_bin_change_state):
31183         * gst/gstbin.h:
31184         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31185         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31186         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31187         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31188         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31189         (bus_watch_callback), (bus_watch_destroy),
31190         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31191         (poll_timeout), (gst_bus_poll):
31192         * gst/gstbus.h:
31193         * gst/gstcaps.h:
31194         * gst/gstdata.h:
31195         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31196         (gst_element_post_message), (gst_element_message_full),
31197         (gst_element_get_state_func), (gst_element_get_state),
31198         (gst_element_abort_state), (gst_element_commit_state),
31199         (gst_element_lost_state), (gst_element_set_state),
31200         (gst_element_pads_activate), (gst_element_change_state),
31201         (gst_element_dispose), (gst_element_set_manager_func),
31202         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31203         (gst_element_set_manager), (gst_element_get_manager),
31204         (gst_element_set_bus), (gst_element_get_bus),
31205         (gst_element_set_scheduler), (gst_element_get_scheduler):
31206         * gst/gstelement.h:
31207         * gst/gstevent.c: (gst_event_new_segment_seek),
31208         (gst_event_new_flush):
31209         * gst/gstevent.h:
31210         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31211         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31212         (gst_message_new_eos), (gst_message_new_error),
31213         (gst_message_new_warning), (gst_message_new_tag),
31214         (gst_message_new_state_changed), (gst_message_new_application),
31215         (gst_message_get_structure), (gst_message_parse_tag),
31216         (gst_message_parse_state_changed), (gst_message_parse_error),
31217         (gst_message_parse_warning):
31218         * gst/gstmessage.h:
31219         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31220         (gst_real_pad_set_property), (gst_pad_set_active),
31221         (gst_pad_is_active), (gst_pad_set_blocked_async),
31222         (gst_pad_set_blocked), (gst_pad_is_blocked),
31223         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31224         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31225         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31226         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31227         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31228         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31229         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31230         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31231         (gst_pad_set_caps), (gst_pad_configure_sink),
31232         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31233         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31234         (gst_real_pad_dispose), (gst_real_pad_finalize),
31235         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31236         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31237         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31238         * gst/gstpad.h:
31239         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31240         (pipeline_bus_handler), (gst_pipeline_change_state),
31241         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31242         * gst/gstpipeline.h:
31243         * gst/gstprobe.h:
31244         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31245         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31246         (gst_queue_link_src), (gst_queue_bufferalloc),
31247         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31248         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31249         (gst_queue_loop), (gst_queue_handle_src_event),
31250         (gst_queue_handle_src_query), (gst_queue_src_activate),
31251         (gst_queue_change_state):
31252         * gst/gstqueue.h:
31253         * gst/gstscheduler.c: (gst_scheduler_init),
31254         (gst_scheduler_dispose), (gst_scheduler_create_task),
31255         (gst_scheduler_factory_create):
31256         * gst/gstscheduler.h:
31257         * gst/gststructure.c: (gst_structure_get_type),
31258         (gst_structure_copy_conditional):
31259         * gst/gststructure.h:
31260         * gst/gsttaginterface.h:
31261         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31262         (gst_task_init), (gst_task_dispose), (gst_task_create),
31263         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31264         (gst_task_pause):
31265         * gst/gsttask.h:
31266         * gst/gstthread.c:
31267         * gst/gstthread.h:
31268         * gst/gsttypes.h:
31269         * gst/schedulers/Makefile.am:
31270         * gst/schedulers/cothreads_compat.h:
31271         * gst/schedulers/entryscheduler.c:
31272         * gst/schedulers/faircothreads.c:
31273         * gst/schedulers/faircothreads.h:
31274         * gst/schedulers/fairscheduler.c:
31275         * gst/schedulers/gstbasicscheduler.c:
31276         * gst/schedulers/gstoptimalscheduler.c:
31277         * gst/schedulers/gthread-cothreads.h:
31278         * gst/schedulers/threadscheduler.c:
31279         (gst_thread_scheduler_task_get_type),
31280         (gst_thread_scheduler_task_class_init),
31281         (gst_thread_scheduler_task_init),
31282         (gst_thread_scheduler_task_start),
31283         (gst_thread_scheduler_task_stop),
31284         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31285         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31286         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31287         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31288         (plugin_init):
31289         * libs/gst/Makefile.am:
31290         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31291         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31292         (gst_file_pad_parent_set):
31293         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31294         (gst_dp_event_from_packet):
31295         * tests/complexity.c: (main):
31296         * tests/mass_elements.c: (main):
31297         * testsuite/states/locked.c: (message_received), (main):
31298         * testsuite/states/parent.c: (main):
31299         * tools/gst-inspect.c: (print_element_flag_info),
31300         (print_implementation_info), (print_pad_info):
31301         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31302         (main):
31303         * tools/gst-md5sum.c: (event_loop), (main):
31304         * tools/gst-typefind.c: (main):
31305         * tools/gst-xmlinspect.c: (print_element_info):
31306         Next big merge.
31307         Added GstBus for mainloop integration.
31308         Added GstMessage for sending notifications on the bus.
31309         Added GstTask as an abstraction for pipeline entry points.
31310         Removed GstThread.
31311         Removed Schedulers.
31312         Simplified GstQueue for multithreaded core.
31313         Made _link threadsafe, removed old capsnego.
31314         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31315         Added pad blocking functions.
31316         Reworked scheduling functions in GstPad to prepare for
31317         scheduling updates soon.
31318         Moved events out of data stream.
31319         Simplified GstEvent types.
31320         Added return values to push/pull.
31321         Removed clocking from GstElement.
31322         Added prototypes for state change function for next merge.
31323         Removed iterate from bins and state change management.
31324         Fixed some elements, disabled others for now.
31325         Fixed -inspect and -launch.
31326         Added check for GstBus.
31327
31328 2005-03-10  Wim Taymans  <wim@fluendo.com>
31329
31330         * docs/design/part-MT-refcounting.txt:
31331         * docs/design/part-clocks.txt:
31332         * docs/design/part-gstelement.txt:
31333         * docs/design/part-gstobject.txt:
31334         * docs/design/part-standards.txt:
31335         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31336         (gst_bin_remove_func), (gst_bin_remove):
31337         * gst/gstbin.h:
31338         * gst/gstbuffer.c:
31339         * gst/gstcaps.h:
31340         * testsuite/clock/clock1.c: (main):
31341         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31342         (main):
31343         * testsuite/dlopen/loadgst.c: (do_test):
31344         * testsuite/refcounting/bin.c: (add_remove_test1),
31345         (add_remove_test2), (main):
31346         * testsuite/refcounting/element.c: (main):
31347         * testsuite/refcounting/element_pad.c: (main):
31348         * testsuite/refcounting/pad.c: (main):
31349         * tools/gst-launch.c: (sigint_handler_sighandler):
31350         * tools/gst-typefind.c: (main):
31351         Doc updates.
31352         Added doc about clock.
31353         removed gst_bin_iterate_recurse_up(), marked methods
31354         for removal.
31355         Fix more testsuites.
31356
31357 2005-03-09  Wim Taymans  <wim@fluendo.com>
31358
31359         * gst/gstpad.c: (gst_pad_get_direction),
31360         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31361         (gst_pad_collect_valist):
31362         * testsuite/bins/interface.c: (main):
31363         * testsuite/caps/audioscale.c: (test_caps):
31364         * testsuite/caps/caps.c: (test1), (test2), (test3):
31365         * testsuite/caps/deserialize.c: (main):
31366         * testsuite/caps/enumcaps.c: (main):
31367         * testsuite/caps/filtercaps.c: (main):
31368         * testsuite/caps/intersect2.c: (main):
31369         * testsuite/caps/random.c: (main):
31370         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31371         * testsuite/caps/sets.c: (check_caps):
31372         * testsuite/caps/simplify.c: (check_caps), (main):
31373         * testsuite/caps/subtract.c: (check_caps):
31374         Fix _pad_get_direction wrt ghostpads.
31375         Fix caps testsuite.
31376
31377 2005-03-09  Wim Taymans  <wim@fluendo.com>
31378
31379         * check/Makefile.am:
31380         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31381         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31382         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31383         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31384         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31385         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31386         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31387         (bin_element_is_sink), (gst_bin_iterate_sinks),
31388         (gst_bin_iterate_all_by_interface):
31389         * gst/gstbin.h:
31390         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31391         (gst_element_change_state), (gst_element_dispose),
31392         (gst_element_finalize), (gst_element_set_loop_function):
31393         * gst/gstelement.h:
31394         * gst/gstiterator.c: (find_custom_fold_func):
31395         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31396         (gst_pad_collectv), (gst_pad_collect_valist),
31397         (gst_pad_template_new):
31398         * gst/gstpipeline.c: (gst_pipeline_class_init),
31399         (gst_pipeline_dispose), (gst_pipeline_set_property),
31400         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31401         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31402         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31403         * gst/gstutils.h:
31404         * gst/schedulers/entryscheduler.c:
31405         * gst/schedulers/gstbasicscheduler.c:
31406         (gst_basic_scheduler_cothreaded_chain),
31407         (gst_basic_scheduler_chain_add_element):
31408         * testsuite/bins/interface.c: (main):
31409         Added GstBin test.
31410         Added GstSystemClock test.
31411         Implemented clock distribution code in GstBin.
31412         Implemented iterate sinks method for future use.
31413         Rearranged gstelement.h
31414         Fix GstIterator comparison bug.
31415         Moved some code to GstPipeline, mostly clocking related.
31416
31417 2005-03-09  Wim Taymans  <wim@fluendo.com>
31418
31419         * configure.ac:
31420         * gst/gst_private.h:
31421         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31422         (gst_bin_remove_func), (gst_bin_remove),
31423         (gst_bin_get_by_name_recurse_up):
31424         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31425         (gst_clock_id_compare_func), (gst_clock_id_wait),
31426         (gst_clock_id_wait_async), (gst_clock_init),
31427         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31428         * gst/gstelement.h:
31429         * gst/gstinfo.c: (_gst_debug_init):
31430         * gst/gstobject.h:
31431         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31432         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31433         * gst/gstpad.h:
31434         Bump version number, we're now 0.9.0
31435         Add future debugging category.
31436         Fix NULL _unref() in _get_by_name_recurse_up
31437         Rearrange gstpad.h.
31438         Update some docs.
31439
31440 2005-03-08  Wim Taymans  <wim@fluendo.com>
31441
31442         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31443         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31444         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31445         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31446         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31447         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31448         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31449         * gst/elements/gstidentity.c: (gst_identity_class_init):
31450         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31451         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31452         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31453         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31454         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31455         (gst_tee_link):
31456         * gst/gstelement.c: (gst_element_class_init),
31457         (gst_element_base_class_init), (gst_element_init),
31458         (gst_element_get_random_pad), (gst_element_wait_state_change),
31459         (gst_element_change_state), (gst_element_dispose),
31460         (gst_element_finalize), (gst_element_set_loop_function):
31461         * gst/gstelement.h:
31462         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31463         * gst/gstthread.c: (gst_thread_class_init),
31464         (gst_thread_release_children_locks), (gst_thread_change_state):
31465         * gst/schedulers/gstbasicscheduler.c:
31466         (gst_basic_scheduler_loopfunc_wrapper),
31467         (gst_basic_scheduler_chain_wrapper),
31468         (gst_basic_scheduler_src_wrapper),
31469         (gst_basic_scheduler_remove_element):
31470         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31471         Remove threadsafe properties. Fix elements because GObject
31472         complains when installing a property before declaring a
31473         set/get_property handler.
31474         Rearrange gstelement.h file, use STATE macros for state locks.
31475         Free mutexes in the finalize method instead of dispose.
31476
31477 2005-03-08  Wim Taymans  <wim@fluendo.com>
31478
31479         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31480         * gst/gstthread.c: (gst_thread_release_children_locks):
31481         Added parentage check.
31482         Fix build og GstThread again.
31483
31484 2005-03-08  Wim Taymans  <wim@fluendo.com>
31485
31486         * docs/design/part-MT-refcounting.txt:
31487         * docs/design/part-conventions.txt:
31488         * docs/design/part-gstobject.txt:
31489         * docs/design/part-relations.txt:
31490         * docs/design/part-standards.txt:
31491         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31492         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31493         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31494         (gst_bin_iterate_all_by_interface):
31495         * gst/gstbuffer.h:
31496         * gst/gstclock.h:
31497         * gst/gstelement.c: (gst_element_class_init),
31498         (gst_element_change_state), (gst_element_set_loop_function):
31499         * gst/gstelement.h:
31500         * gst/gstiterator.c:
31501         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31502         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31503         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31504         (gst_object_set_parent), (gst_object_unparent),
31505         (gst_object_check_uniqueness):
31506         * gst/gstobject.h:
31507         Docs updates, clean up some headers.
31508
31509 2005-03-07  Wim Taymans  <wim@fluendo.com>
31510
31511         * check/.cvsignore:
31512         * check/Makefile.am:
31513         * check/gst-libs/.cvsignore:
31514         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31515         * check/gst/.cvsignore:
31516         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31517         (START_TEST), (gstbus_suite), (main):
31518         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31519         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31520         (gst_data_suite), (main):
31521         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31522         (add_fold_func), (gstiterator_suite), (main):
31523         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31524         (thread_name_object), (thread_name_object_default),
31525         (gst_object_name_compare), (gst_object_suite), (main):
31526         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31527         (gst_pad_suite), (main):
31528         * check/gstcheck.c: (gst_check_log_message_func),
31529         (gst_check_log_critical_func), (gst_check_init):
31530         * check/gstcheck.h:
31531         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31532         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31533         Added checks.
31534
31535 2005-03-07  Wim Taymans  <wim@fluendo.com>
31536
31537         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31538         (gst_list_iterator_next), (gst_list_iterator_resync),
31539         (gst_list_iterator_free), (gst_iterator_new_list),
31540         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31541         (gst_iterator_free), (gst_iterator_push), (filter_next),
31542         (filter_resync), (filter_uninit), (filter_free),
31543         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31544         (gst_iterator_foreach), (find_custom_fold_func),
31545         (gst_iterator_find_custom):
31546         * gst/gstiterator.h:
31547         Added missing files.
31548
31549 2005-03-07  Wim Taymans  <wim@fluendo.com>
31550
31551         * Makefile.am:
31552         * configure.ac:
31553         * docs/design/part-MT-refcounting.txt:
31554         * docs/design/part-conventions.txt:
31555         * docs/design/part-gstobject.txt:
31556         * docs/design/part-relations.txt:
31557         * examples/mixer/mixer.c: (main):
31558         * examples/thread/thread.c: (eos), (main):
31559         * gst/Makefile.am:
31560         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31561         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31562         (gst_spider_plug_from_srcpad):
31563         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31564         (gst_spider_identity_change_state),
31565         (gst_spider_identity_sink_loop_type_finding):
31566         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31567         * gst/elements/gstidentity.c: (gst_identity_init):
31568         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31569         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31570         * gst/elements/gsttypefindelement.c: (free_entry):
31571         * gst/gst.c:
31572         * gst/gst.h:
31573         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31574         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31575         (gst_bin_set_index), (gst_bin_set_element_sched),
31576         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31577         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31578         (gst_bin_iterate_elements), (iterate_child_recurse),
31579         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31580         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31581         (compare_interface), (gst_bin_get_by_interface),
31582         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31583         * gst/gstbin.h:
31584         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31585         (gst_buffer_default_free), (gst_buffer_default_copy),
31586         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31587         (gst_buffer_create_sub):
31588         * gst/gstbuffer.h:
31589         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31590         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31591         (gst_caps_unref), (gst_static_caps_get),
31592         (gst_caps_remove_and_get_structure), (gst_caps_append),
31593         (gst_caps_append_structure), (gst_caps_remove_structure),
31594         (gst_caps_copy_nth), (gst_caps_set_simple),
31595         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31596         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31597         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31598         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31599         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31600         (gst_caps_structure_figure_out_union),
31601         (gst_caps_switch_structures), (gst_caps_do_simplify),
31602         (gst_caps_replace), (gst_caps_from_string),
31603         (gst_caps_copy_conditional):
31604         * gst/gstcaps.h:
31605         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31606         (_gst_clock_id_free), (gst_clock_id_unref),
31607         (gst_clock_id_compare_func), (gst_clock_id_wait),
31608         (gst_clock_id_wait_async), (gst_clock_class_init),
31609         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31610         (gst_clock_get_time), (gst_clock_set_time_adjust),
31611         (gst_clock_set_property), (gst_clock_get_property):
31612         * gst/gstclock.h:
31613         * gst/gstcompat.h:
31614         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31615         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31616         * gst/gstdata.h:
31617         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31618         (gst_element_requires_clock), (gst_element_provides_clock),
31619         (gst_element_set_clock), (gst_element_clock_wait),
31620         (gst_element_wait), (gst_element_set_time_delay),
31621         (gst_element_is_indexable), (gst_element_add_pad),
31622         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31623         (pad_compare_name), (gst_element_get_static_pad),
31624         (gst_element_request_pad), (gst_element_get_request_pad),
31625         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31626         (gst_element_class_get_pad_template_list),
31627         (gst_element_class_get_pad_template), (gst_element_error_func),
31628         (gst_element_get_random_pad), (gst_element_get_event_masks),
31629         (gst_element_send_event), (gst_element_seek),
31630         (gst_element_get_query_types), (gst_element_query),
31631         (gst_element_get_formats), (gst_element_convert),
31632         (gst_element_is_locked_state), (gst_element_set_locked_state),
31633         (gst_element_sync_state_with_parent), (gst_element_change_state),
31634         (gst_element_finalize), (gst_element_yield),
31635         (gst_element_interrupt), (gst_element_set_scheduler),
31636         (gst_element_get_scheduler), (gst_element_set_loop_function):
31637         * gst/gstelement.h:
31638         * gst/gstevent.h:
31639         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31640         (gst_format_get_by_nick), (gst_format_get_details),
31641         (gst_format_iterate_definitions):
31642         * gst/gstformat.h:
31643         * gst/gstindex.c: (gst_index_gtype_resolver):
31644         * gst/gstinfo.c:
31645         * gst/gstinfo.h:
31646         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31647         (gst_mem_chunk_free):
31648         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31649         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31650         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31651         (gst_object_dispatch_properties_changed),
31652         (gst_object_set_name_default), (gst_object_set_name),
31653         (gst_object_get_name), (gst_object_set_name_prefix),
31654         (gst_object_get_name_prefix), (gst_object_set_parent),
31655         (gst_object_get_parent), (gst_object_unparent),
31656         (gst_object_check_uniqueness), (gst_object_save_thyself),
31657         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31658         (gst_object_set_property), (gst_object_get_property),
31659         (gst_object_get_path_string):
31660         * gst/gstobject.h:
31661         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31662         (gst_real_pad_init), (gst_real_pad_get_property),
31663         (gst_pad_custom_new), (gst_pad_get_direction),
31664         (gst_pad_set_active), (gst_pad_is_active),
31665         (gst_pad_set_event_function), (gst_pad_is_linked),
31666         (gst_pad_link_free), (gst_pad_link_intersect),
31667         (gst_pad_link_fixate), (gst_pad_set_caps),
31668         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31669         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31670         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31671         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31672         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31673         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31674         (gst_pad_realize), (gst_pad_get_allowed_caps),
31675         (gst_real_pad_dispose), (gst_real_pad_finalize),
31676         (gst_pad_collectv), (gst_pad_collect_valist),
31677         (gst_pad_template_dispose), (gst_pad_template_new),
31678         (gst_pad_get_internal_links):
31679         * gst/gstpad.h:
31680         * gst/gstpipeline.c: (gst_pipeline_dispose),
31681         (gst_pipeline_change_state):
31682         * gst/gstpipeline.h:
31683         * gst/gstplugin.c:
31684         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31685         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31686         * gst/gstpluginfeature.h:
31687         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31688         * gst/gstquery.c: (_gst_query_type_initialize),
31689         (gst_query_type_register), (gst_query_type_get_by_nick),
31690         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31691         * gst/gstquery.h:
31692         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31693         * gst/gstscheduler.c: (gst_scheduler_add_element),
31694         (gst_scheduler_factory_create):
31695         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31696         (gst_structure_free), (gst_structure_set_name),
31697         (gst_structure_id_set_value), (gst_structure_set_value),
31698         (gst_structure_set_valist), (gst_structure_remove_field),
31699         (gst_structure_remove_fields),
31700         (gst_structure_remove_fields_valist),
31701         (gst_structure_remove_all_fields), (gst_structure_foreach),
31702         (gst_structure_map_in_place),
31703         (gst_caps_structure_fixate_field_nearest_int),
31704         (gst_caps_structure_fixate_field_nearest_double):
31705         * gst/gststructure.h:
31706         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31707         (gst_system_clock_init), (gst_system_clock_dispose),
31708         (gst_system_clock_async_thread),
31709         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31710         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31711         * gst/gstsystemclock.h:
31712         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31713         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31714         * gst/gsttaginterface.c:
31715         * gst/gstthread.c: (gst_thread_dispose),
31716         (gst_thread_release_children_locks), (gst_thread_change_state),
31717         (gst_thread_main_loop):
31718         * gst/gsttrashstack.h:
31719         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31720         * gst/gsttypes.h:
31721         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31722         (gst_element_request_pad), (gst_element_get_pad_from_template),
31723         (gst_element_request_compatible_pad),
31724         (gst_element_get_compatible_pad_filtered),
31725         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31726         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31727         (gst_element_link_many), (gst_element_link),
31728         (gst_element_link_pads), (gst_element_unlink_pads),
31729         (gst_element_unlink_many), (gst_element_unlink),
31730         (gst_pad_can_link_filtered), (gst_pad_can_link),
31731         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31732         (gst_object_default_error), (gst_bin_add_many),
31733         (gst_bin_remove_many), (gst_element_populate_std_props),
31734         (gst_element_class_install_std_props), (gst_buffer_merge),
31735         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31736         (link_fold_func), (gst_pad_proxy_setcaps):
31737         * gst/gstutils.h:
31738         * gst/gstvalue.c: (gst_value_deserialize_string):
31739         * gst/parse/grammar.y:
31740         * gst/schedulers/gstbasicscheduler.c:
31741         (gst_basic_scheduler_cothreaded_chain),
31742         (gst_basic_scheduler_chain_recursive_add),
31743         (gst_basic_scheduler_pad_link):
31744         * gst/schedulers/gstoptimalscheduler.c:
31745         (get_group_schedule_function),
31746         (gst_opt_scheduler_state_transition),
31747         (gst_opt_scheduler_add_element), (element_get_reachables_func):
31748         * libs/gst/bytestream/bytestream.c:
31749         * libs/gst/dataprotocol/dataprotocol.c:
31750         (gst_dp_header_from_buffer):
31751         * po/nb.po:
31752         * po/ru.po:
31753         * tests/threadstate/threadstate2.c: (eos):
31754         * tools/gst-compprep.c: (main):
31755         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31756         (print_pad_info), (print_children_info):
31757         * tools/gst-launch.c: (idle_func), (main):
31758         * tools/gst-md5sum.c: (idle_func), (main):
31759         * tools/gst-xmlinspect.c: (print_element_info):
31760         First THREADED backport attempt, focusing on adding locks and
31761         making sure the API is threadsafe. Needs more work. More docs
31762         follow this week.
31763
31764 2005-02-24  Andy Wingo  <wingo@pobox.com>
31765
31766         * tests/bench-complexity.scm:
31767         * tests/complexity.gnuplot: New files, good for running complexity
31768         benchmarks.
31769
31770         * tests/Makefile.am:
31771         * tests/complexity.c: New test, sets up N elements, at each level
31772         teeing into M streams per element. Eeeenteresting.
31773
31774         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31775         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31776         running bench-mass_elements.scm.
31777
31778         * tests/bench-mass_elements.scm: New script, runs mass_elements
31779         for various numbers of identities, outputting the results to a
31780         file. Requires guile 1.6. Just for testing.
31781
31782 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
31783
31784         * gst/schedulers/fairscheduler.c:
31785           compile with debug disabled
31786
31787 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
31788
31789         * configure.ac:
31790           hunting season on 0.9 is now OPEN