docs/design/part-TODO.txt: Refer to the framestepping document.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * docs/design/part-TODO.txt:
4         Refer to the framestepping document.
5
6 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
7
8         * gst/gstbin.c: (bin_handle_async_start),
9         (gst_bin_handle_message_func), (gst_bin_query):
10         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
11         (gst_base_sink_event), (gst_base_sink_change_state):
12         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13         (gst_base_src_loop), (gst_base_src_change_state):
14         Copy seqnums from events to messages so that they can all be related
15         back to eachother.
16
17 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
18
19         * tools/gst-launch.c: (event_loop):
20         Print the message seqnums.
21
22 2008-11-04  Andy Wingo  <wingo@pobox.com>
23
24         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
25
26 2008-11-04  Andy Wingo  <wingo@pobox.com>
27
28         Add sequence numbers to events and messages. See #559250.
29
30         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
31         API: New functions.
32
33         * gst/gstevent.h:
34         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
35         events with a new sequence number, and copy it when copying.
36         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
37         an event's sequence number.
38
39         * gst/gstmessage.h:
40         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
41         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
42         so with messages.
43
44         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
45
46 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
47
48         * docs/manual/advanced-position.xml:
49         * docs/manual/basics-bins.xml:
50         * docs/manual/basics-bus.xml:
51         * docs/manual/basics-pads.xml:
52         * docs/manual/intro-gstreamer.xml:
53         * docs/manual/intro-preface.xml:
54         Some Application Development Manual fixes thanks to
55         Andrew Feren. Fixes #558459.
56
57 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
58
59         * gst/gstregistrybinary.c:
60           Don't bother with the GTimer if we don't output the results.
61
62 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
63
64         Patch by: David Schleef  <ds@schleef.org>
65
66         * libs/gst/net/Makefile.am:
67         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
68
69 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
70
71         * gst/gstregistrybinary.c:
72           Oh my, studip, stupid me. Remove double stat() call.
73
74 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
75
76         * gst/gstpreset.c:
77           Use g_unlink instead of unlink.
78
79         * gst/gststructure.c:
80           Use glib type.
81
82         * gst/gstutils.c:
83           Add a FIXME:.
84
85         * gst/gsttaglist.c:
86         * gst/gsttypefind.c:
87         * gst/gstvalue.c:
88           Formatting & whitespaces.
89
90 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
91
92         * plugins/elements/gstidentity.c:
93           Doc typo. Use return value of parent_class->event.
94   
95         * plugins/elements/gsttypefindelement.c:
96           Chain up at the end for consistency.
97   
98 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
99
100         * docs/Makefile.am:
101         * docs/gst/gstreamer-docs.sgml:
102         * docs/gst/gstreamer-sections.txt:
103         * docs/gst/running.xml:
104         * docs/libs/gstreamer-libs-docs.sgml:
105           Change to xinclude based build - its faster and easier to maintain.
106
107 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
108
109         * gst/gstregistrybinary.c:
110         * gst/gstregistryxml.c:
111           Use g_unlink() as none of these are directories.
112
113 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
114
115         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
116         Some more comments.
117
118 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
119
120         * libs/gst/base/gstbasetransform.c:
121         (gst_base_transform_find_transform), (gst_base_transform_getrange):
122         If we have a fixate function, call it even if we already have fixed caps
123         because the subclass might add some caps. Makes audioconvert add a
124         default channel layout.
125
126 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
127
128         * libs/gst/base/gstbasetransform.c:
129         (gst_base_transform_prepare_output_buffer),
130         (gst_base_transform_getrange):
131         Clear the output buffer variable.
132         Cleanups to the error path in the getrange function.
133         Fixes #557649.
134
135 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
136
137         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
138         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
139         Use gst_buffer_try_new_and_alloc() and handle errors instead of
140         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
141         be allocated.
142
143 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
144
145         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
146         Set the last_stop to a more meaningful position when configuring the
147         segment. ie. the start/stop of the segment or clipped against the
148         updated segment boundaries.
149
150         * tests/check/gst/gstsegment.c: (GST_START_TEST):
151         Add some unit tests for the last_stop.
152
153 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
154
155         * libs/gst/base/gstbytereader.c:
156         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
157         copies of them.
158
159 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
160
161         * docs/gst/gstreamer-sections.txt:
162         * gst/gstutils.h:
163         API: Move float endianness conversion macros from libgstfloatcast
164         to core as it's useful in general, even in core. Fixes bug #555196.
165         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
166         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
167         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
168
169         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
170         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
171         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
172         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
173
174 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
175
176         * docs/libs/gstreamer-libs-sections.txt:
177         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
178         (gst_byte_reader_peek_data):
179         * libs/gst/base/gstbytereader.h:
180         * win32/common/libgstbase.def:
181         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
182         to get a pointer to the data at the current position and have
183         a guaranteed size.
184
185 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
186
187         * configure.ac:
188         Fix a bug in the output of the configure script summary
189         when --gst-disable-registry is supplied
190
191 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
192
193         * libs/gst/base/gstbitreader.c:
194         * libs/gst/base/gstbytereader.c:
195         Fix the names of 2 functions in the docs strings.
196
197 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
198
199         * libs/gst/base/gstbasetransform.c:
200         (gst_base_transform_prepare_output_buffer),
201         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
202         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
203         refcount problems as seen in banshee and maybe also in farsight2.
204         Remove atomic int now that we need to take the lock anyways.
205
206 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
207
208         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
209         (gst_base_sink_default_prepare_seek_segment),
210         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
211         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
212         (gst_base_sink_query):
213         Implement more seeking in pull mode.
214         Use pad convert functions to convert position to the requested format.
215         Fix position/duration reporting in pull mode.
216         Implement position and duration reporting in other formats than time.
217
218         * libs/gst/base/gstbasesink.h:
219         Add member to keep track of when the segment is playing.
220
221 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
222
223         * gst/gstpad.c: (gst_pad_configure_src):
224         When we use gst_pad_alloc_buffer() without wanting to set the caps we
225         also don't need to check if the caps are compatible because the caller
226         presumably is going to perform its own custom checks. Fixes some cases
227         where basetransform elements would error out when it was not needed.
228
229 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
230
231         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
232         Update comment.
233
234         * libs/gst/base/gstbasetransform.c:
235         (gst_base_transform_handle_buffer),
236         (gst_base_transform_reconfigure):
237         Add some debug info.
238
239         * win32/common/libgstbase.def:
240         Add new method.
241
242 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
243
244         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
245           Remove duplicated assignment and log a message in failure case.
246
247 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
248
249         Patch by: Dig Ge <dig.ge.cn at gmail com>
250
251         * tests/examples/helloworld/helloworld.c: (main):
252           Fix copy'n'paste bug in hello world example (#556900).
253
254 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
255
256         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
257         (gst_base_sink_query):
258         Query the total number of bytes when activating the pad in pull mode.
259         Implement duration query in pull mode by using the installed pad convert
260         function to convert from bytes to the requested format.
261
262 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
263
264         * docs/libs/gstreamer-libs-sections.txt:
265         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
266         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
267         (gst_base_sink_event), (gst_base_sink_perform_seek),
268         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
269         (gst_base_sink_send_event), (gst_base_sink_change_state):
270         * libs/gst/base/gstbasesink.h:
271         Add method to commit the state in subclasses.
272         Refactor the flush_start and flush_stop code because we need it for
273         flushing while seeking too.
274         Implement the beginnings of seeking in pull mode.
275         Use the segment last_stop field for the pulling offset.
276         Fix the pause method in pull mode.
277         Configure the segment to BYTES for pull mode.
278         API: GstBaseSink::gst_base_sink_do_preroll()
279
280 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
281
282         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
283         Update some docs.
284
285 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
286
287         * gst/gstquark.c: (_priv_gst_quarks_initialize):
288           Fix printf format warning.
289
290 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
291
292         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
293         Fix flow aggregation of tee. Error out immediately for all flow returns
294         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
295         and return OK if at least one pad is linked.
296
297         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
298         and otherwise returned the flow return of the last pad, which is wrong.
299         
300         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
301         (GST_START_TEST), (tee_suite):
302         Add unit tests for the flow aggregation.
303
304 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
305
306         * docs/design/part-TODO.txt:
307         Remove item from the todo list because it was fixed with the latency
308         state change rewrites.
309
310         * docs/design/part-seeking.txt:
311         * docs/design/part-segments.txt:
312         Update some docs.
313
314         * gst/gstevent.c: (gst_event_new_new_segment_full),
315         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
316         (gst_event_parse_buffer_size), (gst_event_new_qos),
317         (gst_event_parse_qos), (gst_event_new_seek),
318         (gst_event_parse_seek), (gst_event_new_latency),
319         (gst_event_parse_latency):
320         Use quarks to construct and parse events.
321
322         * gst/gstquark.c: (_priv_gst_quarks_initialize):
323         * gst/gstquark.h:
324         Add some more quarks to the table.
325         Emit a warning when the quark tables are not in sync.
326
327         * tests/check/gst/gstbus.c: (GST_START_TEST):
328         Add an assert.
329
330 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
331
332         * plugins/elements/Makefile.am:
333         * plugins/indexers/Makefile.am:
334           Don't install static libs for plugins. Fixes #550851 for core.
335
336 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
337
338         * gst/gstbus.c: (gst_bus_source_finalize),
339         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
340         (gst_bus_enable_sync_message_emission),
341         (gst_bus_disable_sync_message_emission),
342         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
343         Fix deadlock, g_source_get_id() cannot be called in finalize.
344         Keep track of the watch source by keeping a pointer to the source object
345         instead.
346         Use the bus lock to protect access to the pointer to the current
347         watch source.
348
349 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
350
351         Base on Patch by: Olivier Crete <tester at tester dot ca>
352
353         * gst/gstbus.c: (gst_bus_source_finalize),
354         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
355         Only allow one bus watch to be set at a time. This is necessary
356         because the dispatcher pops the message from the bus and the second
357         watcher will then get NULL or the next message (and the first won't
358         get this next message then, etc). If more than one "watcher" is
359         required signal watches should be used. Fixes bug #526044.
360
361 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
362
363         * tools/gst-launch.c:
364         Change the printing of the 'buffering...' output to avoid putting
365         a \r in a translateable string (flagged by the TP).
366
367 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
368
369         * gst/gstxml.c:
370         Clarify that the save_thyself() and restore_thyself() virtual
371         functions of GstObject need to be overriden, not
372         gst_object_(save|restore)_thyself() which is impossible.
373         Fixes bug #555700.
374
375 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
376
377         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
378         Revert a patch from 21 months ago that broke caps negotiation in pull
379         mode. Basically, having a buffer pass over a pad will trigger the
380         setcaps function when caps change, just like in push mode.
381
382 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
383
384         * docs/design/part-negotiation.txt:
385         Update the docs some more.
386
387         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
388         If we pull a buffer with non-trivial caps, suggest those caps with the
389         max probability.
390
391 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
392
393         * docs/design/part-TODO.txt:
394         Add another limitation of pad-blocking with segment seeks not pushing
395         EOS events.
396
397 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
398
399         * win32/common/libgstbase.def:
400         * win32/common/libgstreamer.def:
401         Add new symbols to the win32 defs files
402
403 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
404
405         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
406         (gst_bin_handle_message_func):
407         The message src can be NULL, don't try to print the object names in that
408         case.
409
410         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
411         Add some more debug info.
412
413         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
414         (GST_START_TEST):
415         Add some debug.
416         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
417         scheduling modes.
418
419 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
420
421         * docs/design/part-negotiation.txt:
422         Small doc update.
423
424         * docs/libs/gstreamer-libs-sections.txt:
425         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
426         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
427         (gst_base_sink_init), (gst_base_sink_set_blocksize),
428         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
429         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
430         (gst_base_sink_loop), (gst_base_sink_pad_activate),
431         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
432         (gst_base_sink_change_state):
433         * libs/gst/base/gstbasesink.h:
434         Add blocksize property and methods to control the amount of data
435         to pull.
436         Negotiate first before activating upstream in pull mode so that they can
437         negotiate themselves.
438         When we operate in pull mode, we only accept the caps that we
439         negotiated.
440         Make the sink go ASYNC to PAUSED, like all other sinks.
441         API: GstBaseSink::gst_base_sink_set_blocksize()
442         API: GstBaseSink::gst_base_sink_get_blocksize()
443         API: GstBaseSink::blocksize
444
445         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
446         (gst_base_src_set_live), (gst_base_src_is_live),
447         (gst_base_src_set_format), (gst_base_src_query_latency),
448         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
449         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
450         (gst_base_src_set_property), (gst_base_src_get_property):
451         * libs/gst/base/gstbasesrc.h:
452         Add typechecking in public API functions.
453         Add methods to control the blocksize in subclasses.
454         API: GstBaseSrc::gst_base_src_set_blocksize()
455         API: GstBaseSrc::gst_base_src_get_blocksize()
456
457 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
458
459         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
460         (buffer_probe), (event_probe), (GST_START_TEST):
461         We now see 3 events go through our pad, since basesink now sends
462         upstream latency events.
463
464 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
465
466         * gst/gstpipeline.c: (gst_pipeline_change_state):
467         Release the object lock before trying to flush the bus.
468
469 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
470
471         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
472         Forward LATENCY events upstreams so that elements know about the total
473         pipeline latency. Fixes #555307.
474
475 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
476
477         * plugins/elements/gstqueue.c:
478         Allow through queries when we don't know how
479         to adjust them (not TIME or BYTES), as otherwise it's
480         not possible to query the current position in order
481         to seek in other formats at all.
482
483 2008-10-08  Andy Wingo  <wingo@pobox.com>
484
485         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
486
487 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
488
489         * gst/gstghostpad.c:
490         * gst/gstghostpad.h:
491         Unbreak -good build, private is a reserved c++ keyword.
492
493 2008-10-08  Andy Wingo  <wingo@pobox.com>
494
495         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
496         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
497         removal: re-add GST_GHOST_PAD_CAST to the header.
498
499         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
500         (GstGhostPadClass): Publically expose these structures so as to
501         allow easy subclassing from C. Hide the member data behind a
502         private opaque data pointer.
503
504         * gst/gstghostpad.c: Adapt to store instance data in the type
505         instance's private data region, not in the public struct.
506
507 2008-10-08  Andy Wingo  <wingo@pobox.com>
508
509         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
510         template via g_object_get(), be sure to unref it.
511
512         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
513
514 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
515
516         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
517         If we can't get a cache file don't try to save something to it.
518         Dereferencing NULL pointers usually isn't a good idea.
519
520 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
521
522         * tests/check/Makefile.am:
523         * tests/check/gst/gstabi.c:
524         * tests/check/gst/struct_sparc.h:
525         * tests/check/libs/libsabi.c:
526         * tests/check/libs/struct_sparc.h:
527         Add Sparc ABI checks
528
529         * tests/check/gst/gstvalue.c: (GST_START_TEST):
530         Cast signed integer to unsigned to avoid a compiler warning.
531
532 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
533
534         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
535         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
536         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
537         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
538         (gst_byte_reader_peek_int24_be):
539         Use new GST_READ_UINT24_(LE|BE) macros.
540
541 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
542
543         * docs/gst/gstreamer-sections.txt:
544         * gst/gstutils.h:
545         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
546         as it's too easy to break the ISO C strict aliasing rules with simple
547         casts to the corresponding type and this would introduce hard to debug
548         bugs. Fixes bug #545714.
549
550         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
551
552 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
553
554         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
555         * gst/gstghostpad.c: (gst_ghost_pad_construct):
556           Add 'Since' bits to gtk-doc chunks for new API.
557
558 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
559
560         * docs/gst/gstreamer-sections.txt:
561         Fix documentation
562
563 2008-10-06  Andy Wingo  <wingo@pobox.com>
564
565         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
566         that will be called on the malloc_data to free it. Basically a way
567         to avoid subclassing when all you need is a different free
568         function, i.e. free() instead of g_free().
569
570         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
571         calling the free function.
572         (gst_buffer_init): Initialize the free function to g_free.
573
574 2008-10-06  Andy Wingo  <wingo@pobox.com>
575
576         * gst/gstghostpad.h:
577         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
578         finishes the initialization of ghost pad. Useful for language
579         bindings and subclassers of GstGhostPad. Fixes #539108.
580         (gst_ghost_pad_new_full): Use the new constructor.
581
582 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
583
584         Base on Patch by: Olivier Crete <tester at tester dot ca>
585
586         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
587         (gst_bin_remove_func), (update_degree),
588         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
589         Keep track of pads that are being linked/unlinked and resync the state
590         changes.
591
592         * gst/gstpad.c: (gst_pad_get_direction),
593         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
594         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
595         (gst_pad_link_prepare), (gst_pad_link),
596         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
597         (gst_pad_check_pull_range), (gst_pad_get_range),
598         (gst_pad_pull_range):
599         Some code cleanups, use macros to check pad direction.
600         Don't need to take the lock on the pad direction.
601         Post structure change when pads are linked/unlinked.
602         Change some checks into _return_if_fail().
603
604         * tests/check/gst/gstbin.c:
605         (test_link_structure_change_state_changed_sync_cb),
606         (GST_START_TEST), (gst_bin_suite):
607         Add testcase for pad link/unlinke resync during a state change.
608         Fixes #510354.
609
610 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
611
612         * docs/gst/gstreamer-sections.txt:
613         * gst/gstmessage.c: (gst_message_new_structure_change),
614         (gst_message_parse_structure_change):
615         * gst/gstmessage.h:
616         Implement STRUCTURE_CHANGED messages. These messages will be used to
617         signal the parent bin of link/unlink operations that could require a
618         resync when doing a state change. See ##510354.
619         API: gst_message_new_structure_change()
620         API: gst_message_parse_structure_change()
621
622 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
623
624         * gst/gstquark.c:
625         * gst/gstquark.h:
626         Add some more quarks for new message. See #510354.
627
628 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
629
630         * docs/libs/gstreamer-libs-docs.sgml:
631         * docs/libs/gstreamer-libs-sections.txt:
632         * libs/gst/base/Makefile.am:
633         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
634         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
635         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
636         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
637         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
638         (gst_bit_reader_skip_to_byte):
639         * libs/gst/base/gstbitreader.h:
640         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
641         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
642         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
643         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
644         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
645         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
646         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
647         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
648         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
649         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
650         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
651         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
652         * libs/gst/base/gstbytereader.h:
653         * tests/check/Makefile.am:
654         * tests/check/libs/bitreader.c: (GST_START_TEST),
655         (gst_bit_reader_suite):
656         * tests/check/libs/bytereader.c: (GST_START_TEST),
657         (gst_byte_reader_suite):
658         API: Add bit reader and byte reader classes, including documentation
659         and an extensive unit test suite. Fixes bug #553554.
660
661 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
662
663         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
664         (gst_base_sink_query):
665         Improve position reporting while flushing and other intermediate state
666         changes. Fixes #553874.
667
668 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
669
670         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
671
672         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
673         Original patch by : Simon Descaries
674         Fix small refount leak in caps compatibility check.
675         Fixes #551676.
676
677 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
678
679         * docs/pwg/advanced-request.xml:
680           Fix 0.8 api usage in example. Fixes #554561
681
682         * docs/pwg/appendix-porting.xml:
683           Change 0.9 to 0.10 here.
684
685 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
686
687         * docs/manual/basics-data.xml:
688           Change "event-event interaction" to "element-element interaction".
689           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
690           updates.
691
692 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
693
694         * configure.ac:
695         Back to development -> 0.10.21.1
696
697 === release 0.10.21 ===
698
699 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
700
701         * configure.ac:
702           releasing 0.10.21, "Take These Things From Me"
703
704 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
705
706         * configure.ac:
707         0.10.20.4 pre-release
708
709 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
710
711         * libs/gst/base/gstbasetransform.c:
712         * plugins/elements/gstcapsfilter.c:
713         * tests/check/Makefile.am:
714         * tests/check/elements/.cvsignore:
715         * tests/check/elements/capsfilter.c:
716         Fix assertion in basetransform when the subclass chooses not to
717         allocate a buffer in prepare_buffer(), and make capsfilter error out
718         cleanly if requested to apply caps that don't completely specify the
719         buffer. Fixes #551509
720
721 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
722
723         * libs/gst/base/gstbasetransform.c:
724         (gst_base_transform_prepare_output_buffer):
725         Take new caps ref because our old one might have been gone when the
726         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
727
728 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
729
730         * configure.ac:
731           Do not probe availability of check unit test library when cross
732           compiling, as test would not work anyway. Also cleanup verbose output
733           of the check test. Fixes #551952.
734
735 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
736
737         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
738
739         * gst/gstelement.c: (gst_element_sync_state_with_parent):
740         Avoid leaking the parent ref when we fail changing the state of the
741         element using gst_element_sync_state_with_parent(). Fixes #551978.
742
743 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
744
745         * docs/manual/intro-motivation.xml::
746           Remove some bits that no longer apply, update others (#551642).
747
748 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
749
750         * configure.ac:
751         0.10.20.2 pre-release
752
753         * po/LINGUAS:
754         * po/id.po:
755         * po/pt_BR.po:
756
757         New translations.
758
759 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
760
761         * win32/common/config.h.in:
762           Add GST_DATADIR, hard-code cpu to x86.
763
764         * win32/common/libgstreamer.def:
765           Spaces to tabs.
766
767 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
768
769         * gst/gsttaglist.h:
770           Fix Since: markers for new geo tags.
771
772 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
773
774         * gst/gsttaglist.h:
775           Fix actual tag name define after renaming from altitude to elevation.
776
777 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
778
779         * gst/gstpad.c: (add_unref_pad_to_list),
780         (gst_pad_get_internal_links_default):
781         Add fallback when calling the deprecated function on an element that
782         implements the new internal_link handler.
783
784 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
785
786         * docs/gst/gstreamer-sections.txt:
787         * gst/gsttaglist.c:
788         * gst/gsttaglist.h:
789           Add new tags for geo location and clarify purpose of existing location
790           tag. Fixes #481169
791
792 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
793
794         Patch by: Olivier Crete <tester at tester dot ca>
795
796         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
797         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
798         Use thread-safe internal links iterator. Fixes #549504.
799
800 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
801
802         Based on patch by: Olivier Crete <tester at tester dot ca>
803
804         * docs/gst/gstreamer-sections.txt:
805         * win32/common/libgstreamer.def:
806         * gst/gstpad.c: (gst_pad_init),
807         (gst_pad_set_iterate_internal_links_function),
808         (int_link_iter_data_free), (iterate_pad),
809         (gst_pad_iterate_internal_links_default),
810         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
811         * gst/gstpad.h:
812         Add threadsafe replacement functions for getting internal links of an
813         element. Deprecate the old internal links functions.
814         API:GstPad::gst_pad_set_iterate_internal_links_function()
815         API:GstPad::GstPadIterIntLinkFunction
816         API:GstPad::gst_pad_iterate_internal_links()
817         API:GstPad::gst_pad_iterate_internal_links_default()
818
819         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
820         (gst_proxy_pad_init):
821         Implement threadsafe internal links.
822
823         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
824         Unit test for internal links on tee. See #549504.
825
826 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
827
828         * tests/check/Makefile.am:
829         libs/transform1 test requires libs/test_transform.c
830
831 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
832
833         * gst/gstpad.c: (gst_pad_get_internal_links_default):
834         Die evil deadlock, die !
835
836 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
837
838         * gst/gstutils.c: (gst_element_get_compatible_pad):
839         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
840         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
841         Fix all leaks due to the bug in gst_pad_template_new() by which it does
842         not steal the refcount of the given caps as stated.
843
844         REVERT THIS COMMIT ONCE FIXED !
845         REVERT THIS COMMIT ONCE FIXED !
846         REVERT THIS COMMIT ONCE FIXED !
847         REVERT THIS COMMIT ONCE FIXED !
848         REVERT THIS COMMIT ONCE FIXED !
849         REVERT THIS COMMIT ONCE FIXED !
850
851 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
852
853         * gst/gstiterator.c:
854         * gst/gstiterator.h:
855         After 3 years it's about time to revise the documentation of the
856         iterator objects.
857
858 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
859
860         * gst/gstpad.c: (gst_pad_get_internal_links_default):
861         Make the internal links function less thread-unsafe and add some
862         comments, dunno why.
863
864 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
865
866         * gst/gst_private.h:
867           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
868           build with --disable-gst-debug.
869
870 2008-08-28  David Schleef  <ds@schleef.org>
871
872         * gst/gstpadtemplate.c: Revert last change, since it breaks
873           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
874           but shouldn't be enabled until we've released fixed versions
875           of -good and -ffmpeg.
876
877 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
878
879         * gst/gstobject.c:
880           Put the gst_object_get_name() back in.
881
882 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
883
884         * gst/gstpadtemplate.c:
885           The old behaviour was that gst_pad_template_new() takes ownership of
886           the caps. As we now call g_object_new() which calls g_object_set() and
887           which copies the caps, we have to unref them to not leak them. Fixes
888           make valgrid for me.
889
890 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
891
892         * gst/gsturi.c:
893           Don't segfault on input like "tel:+1-123-555-1234".
894
895 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
896
897         * gst/gstobject.c:
898           Due to popular request also include ObjectType in
899           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
900
901 2008-08-26  David Schleef  <ds@schleef.org>
902
903         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
904           src_val must be positive, because that's not a requirement.
905           This causes problems with converting negative granulepos
906           values for Dirac.
907         * gst/gstquery.c: Same, gst_query_new_convert().
908
909 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
910
911         * gst/gstclock.c: (gst_clock_add_observation):
912         Add some more debugging to the clock slaving code.
913
914         * win32/common/libgstbase.def:
915         Add new basetransform method.
916
917 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
918
919         * gst/gstbin.c: (gst_bin_element_set_state):
920         Take the (recursive) state lock between getting the locked state of an
921         element and changing the element state. This allows the application to
922         lock an element's state and then change its state without races.
923
924 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
925
926         * gst/gstbin.c: (gst_bin_element_set_state):
927         When an element is in the locked state we still want to update the
928         base_time of the element.
929
930 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
931
932         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
933         Use the result from gst_pad_set_caps() instead of assuming the element
934         always accepted the caps computed by the default negotiate function.
935
936 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
937
938         * docs/libs/gstreamer-libs-sections.txt:
939         * libs/gst/base/gstbasetransform.c:
940         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
941         (gst_base_transform_chain), (gst_base_transform_suggest),
942         (gst_base_transform_reconfigure):
943         * libs/gst/base/gstbasetransform.h:
944         Implement method for reconfiguring basetransform.
945         API: GstBaseTransform::gst_base_transform_reconfigure()
946
947 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
948
949         patch by: Murray Cumming <murrayc@murrayc.com>
950
951         * gst/gstutils.c:
952           Mention that this is just like gst_buffer_merge() but with extra
953           unreffing for C coders. Advise language bindings not to wrap it.
954           Fixes Bug #533856.
955           
956           Also fix file comment.
957
958 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
959
960         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
961
962         * plugins/elements/gstfakesink.c:
963         * plugins/elements/gstfakesrc.c:
964           Call super::event() when not handling it. Fixes #544855.
965
966 2008-08-19  Michael Smith <msmith@songbirdnest.com>
967
968         Patch by: Alessandro Decina <alessandro@nnva.org>
969         * plugins/elements/gstfilesrc.c:
970           Use 64 bit variants of stat functions on win32, to enable support
971           of large files there.
972           Fixes #547277.
973
974 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
975
976         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
977         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
978         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
979         (gst_base_sink_get_position), (gst_base_sink_change_state):
980         Improve position reporting in the flushing state.
981         Also report the position when we are not yet prerolled but we
982         have a newsegment event. Fixes #543444.
983         Improve the pull-based negotiation code.
984
985         * tests/check/elements/fakesink.c: (GST_START_TEST),
986         (fakesink_suite):
987         Add testcase for position reporting while flushing in PAUSED and
988         PLAYING.
989
990         * tests/check/generic/sinks.c: (GST_START_TEST):
991         Update unit-test, we can now query the position as soon as we receive a
992         NEWSEGMENT event.
993
994 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
995
996         Based on patch by: Jason Zhao <e3423c at motorola dot com>
997
998         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
999         When the subclass event handler releases the PREROLL_LOCK, we could be
1000         in the flushing state and we have to ignore the event. Fixes #548394.
1001
1002 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1003
1004         * tools/gst-launch.1.in:
1005           Document GST_REGISTRY_UPDATE environment variable.
1006
1007 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1008
1009         * libs/gst/base/gstbasetransform.c:
1010         (gst_base_transform_prepare_output_buffer):
1011         If the element is configured in passthrough mode but the
1012         prepare_output_buffer gave us a new output buffer, discard that buffer
1013         and reuse the input buffer.
1014
1015 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1016
1017         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1018
1019         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1020         (gst_tee_request_new_pad), (gst_tee_release_pad),
1021         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1022         * plugins/elements/gsttee.h:
1023         Protect pad_alloc with a new lock so that we can be sure that nothing is
1024         performing a pad_alloc when removing the pad. Fixes #547835.
1025
1026         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1027         (buffer_alloc_harness_teardown), (app_thread_func),
1028         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1029         Added testcase for shutdown race.
1030
1031 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1032
1033         * gst/gstpad.h:
1034         Add doc
1035
1036 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1037
1038         * libs/gst/base/gstbasetransform.c:
1039         (gst_base_transform_prepare_output_buffer),
1040         (gst_base_transform_buffer_alloc):
1041         Go over the buffer_alloc function again and make sure we always end up
1042         allocating a buffer.
1043         Add some more docs.
1044         Avoid doing pad alloc when we have a pending suggestion because we
1045         cannot yet deal with changing caps in that case. Fixes #547728
1046
1047 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1048
1049         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1050
1051         * docs/manual/advanced-clocks.xml:
1052         * docs/manual/clocks.png:
1053         * docs/manual/diagrams-clocks.svg:
1054           Add one more image showing different times together with a describing
1055           paragraph. Fixes #547729.
1056
1057 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1058
1059         * win32/common/libgstbase.def:
1060         Add new method.
1061
1062 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1063
1064         * libs/gst/base/gstbasetransform.c:
1065         (gst_base_transform_transform_caps),
1066         (gst_base_transform_prepare_output_buffer),
1067         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1068         Don't overwrite the outsize when calculating the expected size of a new
1069         buffer because we still need it in case we cannot process the new
1070         buffer.
1071         When converting the size of the new buffer to an upstream size, actually
1072         use the expected size of the buffer, not some other random value.
1073         Use an atomic int to signal that a new upstream caps suggestion is
1074         available.
1075         When we can convert the current buffer to a new format, check if the
1076         buffer size is of the expected size and allocate a new buffer of the
1077         expected size when this is not the case. Fixes #546883.
1078
1079         * tests/check/libs/transform1.c: (GST_START_TEST):
1080         remove ifdeffed code from the unit test.
1081
1082 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1083
1084         * pkgconfig/gstreamer-uninstalled.pc.in:
1085         * pkgconfig/gstreamer.pc.in:
1086           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1087           called gstcontroller-0.10.
1088
1089 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1090
1091         * gst/gstchildproxy.h:
1092         * gst/gstpreset.h:
1093           Remove double interface from doc-string.        
1094
1095 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1096
1097         * libs/gst/base/gstbasesrc.c:
1098         * libs/gst/base/gstbasetransform.c:
1099           Fix headings in docs and gtk-doc warnings.
1100
1101 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1102
1103         * gst/gstregistrybinary.c:
1104           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1105           libc.
1106           Fixes #544776.
1107
1108 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1109
1110         * libs/gst/base/gstbasetransform.c:
1111         (gst_base_transform_buffer_alloc):
1112         Fix a "may be used unitialized" warning.
1113
1114 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1115
1116         * docs/gst/gstreamer-sections.txt:
1117         * gst/gstpreset.h:
1118           Document preset-iface vmethods.
1119
1120 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1121
1122         * docs/manual/advanced-interfaces.xml:
1123           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1124           only used to discover devices.
1125
1126 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1127
1128         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1129
1130         * gst/gst.c: (init_pre):
1131         Make sure gettext returns translations in UTF-8 encoding rather
1132         than in the current locale encoding (#546822).
1133
1134 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1135
1136         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1137         Fix subset test.
1138
1139         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1140         Improve unit test subset tests and add a testcase for the subset failure
1141         cases.
1142
1143         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1144         Improve subtraction unit test.
1145
1146 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1147
1148         * plugins/elements/gsttee.c:
1149           Unlock, instead of locking again.
1150
1151 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1152
1153         * gst/gstpad.h:
1154         Clarify the docs a bit more.
1155
1156 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1157
1158         * tests/examples/metadata/read-metadata.c:
1159           Don't leak old taglist.
1160
1161 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1162
1163         Patch by: Olivier Crete <tester at tester dot ca>
1164
1165         * gst/gststructure.c:
1166         (gst_structure_fixate_field_nearest_fraction):
1167         Avoid overflows in fixation code when dealing with MAXINT values, which
1168         v4l2src seems to do.
1169         Fixes #546328.
1170
1171         * tests/check/gst/gststructure.c: (GST_START_TEST):
1172         Make a unit test to check the fix. 
1173
1174 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1175
1176         * plugins/elements/gstcapsfilter.c: (copy_func),
1177         (gst_capsfilter_set_property):
1178         Use new caps suggestion feature of basetransform to request a caps
1179         negotiation upstream.
1180
1181 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1182
1183         * docs/libs/gstreamer-libs-sections.txt:
1184         Add new function:
1185         API: GstBaseTransform::gst_base_transform_suggest()
1186
1187         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1188         (gst_base_transform_init), (gst_base_transform_transform_caps),
1189         (gst_base_transform_transform_size),
1190         (gst_base_transform_configure_caps),
1191         (gst_base_transform_can_transform),
1192         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1193         (gst_base_transform_prepare_output_buffer),
1194         (gst_base_transform_buffer_alloc),
1195         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1196         (gst_base_transform_chain), (gst_base_transform_activate),
1197         (gst_base_transform_set_passthrough),
1198         (gst_base_transform_is_passthrough),
1199         (gst_base_transform_set_in_place),
1200         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1201         (gst_base_transform_set_qos_enabled),
1202         (gst_base_transform_is_qos_enabled),
1203         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1204         (gst_base_transform_reconfigure):
1205         * libs/gst/base/gstbasetransform.h:
1206         Rewrite of basetransform to perform negotiation outside of the
1207         buffer_alloc functions.  Fixes #545853.
1208
1209         * tests/check/libs/transform1.c: (GST_START_TEST),
1210         (buffer_alloc_ct2):
1211         Update unit test.
1212
1213 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1214
1215         * tests/check/gst/gstpreset.c:
1216           Only run preset tests when $HOME is writable. Preliminary fix for
1217           #545433.
1218
1219 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1220
1221         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1222         (gst_bin_change_state_func), (bin_handle_async_done),
1223         (gst_bin_handle_message_func):
1224         Fix race for bins that simulate ASYNC state changes by inserting
1225         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1226         pending ASYNC messages even when the bin does not have ASYNC children.
1227         We note detect this behaviour because we will receive an ASYNC message
1228         that is originating from the bin itself. 
1229         Fixes races with decodebin2 state changes.
1230
1231         * tests/check/gst/gstbin.c: (GST_START_TEST):
1232         Add some more debug.
1233
1234 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1235
1236         * gst/gsttaglist.c: (_gst_tag_initialize):
1237           Fix typo.
1238
1239 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1240
1241         * gst/gsttaglist.c:
1242           Argh. actually save the text before committing. Now adds
1243           gst_tag_merge_strings_with_comma() to gst_tag_register().
1244
1245 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1246
1247         * gst/gsttaglist.c:
1248         * gst/gsttaglist.h:
1249           Do as tim pointed out and actually register the new tag. Also improve
1250           te docs and use gst_tag_merge_strings_with_comma() method to allow
1251           retriving all keywords merged in one list.
1252
1253 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1254
1255         * configure.ac:
1256         * docs/gst/gstreamer.types:
1257           Revert 'accidential' change of the configure option removal. We still
1258           need to generate the types file in configure --disable-load-save.
1259
1260 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1261
1262         * docs/gst/gstreamer-sections.txt:
1263         * gst/gsttaglist.h:
1264           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1265
1266 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1267
1268         * gst/gstpadtemplate.c:
1269           (gst_pad_template_class_init), (gst_static_pad_template_get),
1270           (gst_pad_template_new), (gst_pad_template_pad_created),
1271           (gst_pad_template_set_property), (gst_pad_template_get_property):
1272           Add "name-template", "direction", "presence" and "caps" properties,
1273           so that gst_pad_template_new() is just a thin wrapper around
1274           g_object_new(), which is better for bindings. (Fixes: #539772)
1275
1276 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1277
1278         * gst/gsturi.c:
1279           Be more liberal in what URIs we accept.
1280           Do not unescape bits of the URI for no apparent reason before passing to
1281           the element. Fixes #545352.
1282
1283 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1284
1285         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1286
1287         * gst/gst.c:
1288         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1289
1290 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1291
1292         * configure.ac:
1293         * docs/gst/gstreamer-sections.txt:
1294         * docs/gst/gstreamer.types:
1295         * docs/gst/gstreamer.types.in:
1296         * gst/Makefile.am:
1297         * gst/gst.c:
1298         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1299         * gst/gstconfig.h.in:
1300         * gst/gstelement.c: (gst_element_get_index):
1301         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1302         (gst_registry_binary_load_feature),
1303         (gst_registry_binary_read_cache):
1304         * gst/gstregistryxml.c: (load_feature),
1305         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1306         * plugins/Makefile.am:
1307         * tools/gst-indent:
1308         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1309         (print_plugin_features), (print_element_features):
1310         * tools/gst-xmlinspect.c: (print_event_masks),
1311         (print_element_info):
1312         * win32/common/gstconfig.h:
1313         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1314
1315         Disabling the indexers and URI handler code will only reduce the
1316         required amount of memory by a very small amount but on the other hand
1317         requires much more maintaince work. Apart from that many places of
1318         code are broken when disabling them.
1319
1320         Disabling the enum types doesn't reduce the required amount of memory
1321         by more than a few bytes and makes it hard to fix bugs like #539772,
1322         i.e. use the enums as GObject properties.
1323
1324 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1325
1326         * docs/design/part-TODO.txt:
1327         Add some thoughts and problems with upstream renegotiation.
1328
1329 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1330
1331         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1332         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1333         Remove silly redundant debug.
1334         Add some more debug info.
1335         Clarify the docs regarding new caps received from pad_alloc.
1336
1337 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1338
1339         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1340         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1341         Make setting the caps more threadsafe.
1342
1343 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1344
1345         * docs/design/part-element-transform.txt:
1346         Update docs.
1347
1348 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1349
1350         * plugins/elements/gstqueue.c: (gst_queue_init),
1351         (gst_queue_acceptcaps):
1352         Add and use a custom acceptcaps function instead of falling back to the
1353         potentially less optimized default implementation.
1354
1355 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1356
1357         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1358           Only sanity-check the buffer size if requested_caps == buffer_caps
1359           (ie. don't take pad caps into account, they're not relevant here)
1360
1361 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1362
1363         * plugins/elements/gsttee.c:
1364         * plugins/elements/gsttee.h:
1365           Reverting as not everything is clear yet. Needs some general design
1366           work.
1367
1368 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1369
1370         * ChangeLog:
1371           ChangeLog surgery for tee commit.
1372
1373 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1374
1375         * docs/gst/gstreamer-sections.txt:
1376           Cleanup section-file.
1377
1378 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1379
1380         * plugins/elements/gsttee.c:
1381         * plugins/elements/gsttee.h:
1382           Relay tag events in tee. Fixes parts of #474016.
1383           Downgrades 3 reoccurring debugs to log.
1384
1385 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1386
1387         * configure.ac:
1388         * libs/gst/Makefile.am:
1389           Build the net library if we have winsock2.
1390
1391 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1392
1393         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1394
1395         * docs/manual/advanced-threads.xml:
1396         * docs/manual/diagrams-pipelines.svg:
1397         * docs/manual/hello-world.png:
1398         * docs/manual/linked-elements.png:
1399         * docs/manual/mime-world.png:
1400         * docs/manual/queue.png:
1401         * docs/manual/thread-buffering.png:
1402         * docs/manual/thread-synchronizing.png:
1403           Replace one diagram with two separate ones and updates others.
1404           Fixes #542401.
1405
1406 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1407
1408         * gst/gstelement.h:
1409         Fix link in documentation.
1410
1411 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1412
1413         * gst/gstmessage.c:
1414         Fix confusing documentation.
1415
1416 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1417
1418         * libs/gst/base/gstbasesrc.h:
1419         revert the changes to the header file for the ABI.
1420
1421 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1422
1423         * libs/gst/base/gstbasesrc.c:
1424         * libs/gst/base/gstbasesrc.h:
1425         Don't cache the seekable status.
1426         Fixes bug #544174
1427
1428 2008-07-24  Rene Stadler  <mail@renestadler.de>
1429
1430         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1431         code to close the pipeline graph.  This prevents the program from
1432         printing internal data flow errors.
1433
1434 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1435
1436         * docs/manual/basics-bus.xml:
1437         Correct typo. Fixes bug #544320.
1438
1439 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1440
1441         * configure.ac:
1442           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1443           Add check (taken from -base) for winsock, adds WIN32_LIBS
1444         * gst/Makefile.am:
1445           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1446           winsock.
1447           Define GST_EXPORTS when building libgstreamer (only used on win32)
1448         * gst/gst_private.h:
1449         * gst/gstinfo.h:
1450           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1451           for symbols that we need to export in both these files.
1452         * gst/gstpoll.c:
1453           Include gst_private.h higher up to avoid some compile problems on win32.
1454
1455 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1456
1457         * gst/gstvalue.c:
1458         Fix typos.
1459
1460 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1461
1462         * gst/gstcaps.c:
1463         Previous commit was wrong NULL caps does not exist
1464         and indicate an error, so also add a FIXME to
1465         gst_caps_is_equal where NULL caps are accepted.
1466
1467 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1468
1469         * gst/gstcaps.c:
1470         Allow passing of NULL to gst_caps_union
1471
1472 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1473
1474         * gst/gstghostpad.c:
1475         Add in doc that gst_ghost_pad_set_target can accept
1476         NULL to clear target
1477
1478 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1479
1480         * gst/gstplugin.c:
1481         * gst/gstregistry.c:
1482           GstRegistryPool doesn't exist; don't refer to it in docs.
1483           Don't refer to functions that don't exist in docs, it's
1484           unhelpful.
1485
1486 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1487
1488         * gst/gst.c:
1489         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1490
1491 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1492
1493         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1494
1495         * docs/pwg/building-testapp.xml:
1496         Don't use an undeclared variable in the example program.
1497         Fixes bug #542573.
1498
1499 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1500
1501         * gst/gstdebugutils.c:
1502           Squeeze ghost-pad links and remove <> from classname labels to save
1503           more horizontal space.
1504
1505 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1506
1507         * gst/gstdebugutils.c:
1508           Give request and sometimes pads a different shpe style. Condense the
1509           graphs a little more.
1510
1511 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1512
1513         * configure.ac:
1514           Don't require flex and bison if the parser is disabled.
1515
1516 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1517
1518         * libs/gst/controller/gstinterpolationcontrolsource.c:
1519         (_list_find_sorted_custom):
1520         Don't use declarations after statements.
1521
1522 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1523
1524         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1525         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1526         of the the child-added / -removed signals as GstChildProxy
1527         only supports GstObjects.
1528
1529 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1530
1531         * gst/gstdebugutils.c:
1532         Fix memleak
1533
1534 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1535
1536         Patch by: Alessandro Decina <alessandro at nnva dot org>
1537
1538         * gst/gstpoll.c:
1539         Fix "ignored return value" compiler warning with newer glibc.
1540
1541 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1542
1543         * gst/gstchildproxy.c:
1544         Fix copy&paste error in gst_child_proxy_removed() documentation.
1545
1546 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1547
1548         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1549           Print error debug message if plugin description fields that should
1550           be set are NULL.
1551
1552         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1553           Don't crash if the string to serialise is NULL (it really should
1554           not be, but apparently this used to work with the xml registry ...).
1555
1556 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1557
1558         * tools/gst-plot-timeline.py:
1559         Fix parsing of log messages
1560
1561 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1562
1563         * win32/common/libgstbase.def::
1564           Sort alphabetically so make check-exports doesn't barf.
1565
1566 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1567
1568         * gst/gstevent.c:
1569           Use gst_format_get_name() to improve debug output.
1570
1571         * gst/gstpreset.c:
1572           Remove #ifdef'ed code. Add TODO comment.
1573
1574         * gst/gstsegment.c:
1575           Add debug output to ease spotting format != segment.format assertions.
1576
1577 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1578
1579         * tests/check/libs/gdp.c: (gst_dp_suite):
1580         Also enable the GDP unit test again on PPC now that the bug
1581         is fixed.
1582
1583 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1584
1585         * libs/gst/dataprotocol/dataprotocol.c:
1586         Don't write to the same region of memory as a uint64 and uint16
1587         as this breaks strict aliasing rules and apparantly breaks on PPC
1588         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1589
1590 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1591
1592         * libs/gst/controller/gstinterpolationcontrolsource.c:
1593           Optimize list handling. Use own find function. Exploit that fact that
1594           the list is sorted. Also pass back the node before, so that we can
1595           insert quickly. Have a fast path for append.
1596
1597 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1598
1599         * docs/design/draft-framestep.txt:
1600         * docs/design/part-negotiation.txt:
1601           Fix two typos.
1602
1603 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1604
1605         * configure.ac:
1606           Show configuration sumary after configure run. Based on patch by
1607           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1608
1609 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1610
1611         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1612
1613         * docs/manual/advanced-autoplugging.xml:
1614         * docs/manual/advanced-threads.xml:
1615         * docs/manual/basics-bins.xml:
1616         * docs/manual/basics-elements.xml:
1617         * docs/manual/basics-helloworld.xml:
1618         * docs/manual/basics-pads.xml:
1619           Add scale factor for pdf output.
1620
1621         * docs/manual/intro-basics.xml:
1622           Switched sections "pads" and "bins" and added a pipeline diagram.
1623
1624         * docs/manual/intro-gstreamer.xml:
1625           Added more info on gstreamer.
1626
1627         * docs/manual/intro-motivation.xml:
1628           Commented out the whole section "current problem", which sounds
1629           historical and somehow osolete; it could be turned in a positive
1630           way and reused to improve the design principles.
1631
1632         * docs/manual/intro-preface.xml:
1633           - Update URLs to library.gnome.org. 
1634           - Do not mention GTK+ in preliminary reading (irrelevant). 
1635           - Mention Plugin Writer's Manual and further reading only in the
1636             previous section.
1637           - Added a list of most relevant GObject/glib topics.
1638
1639         * docs/manual/Makefile.am:
1640         * docs/manual/bin-element-ghost.fig:
1641         * docs/manual/bin-element-ghost.png:
1642         * docs/manual/bin-element-noghost.fig:
1643         * docs/manual/bin-element-noghost.png:
1644         * docs/manual/bin-element.fig:
1645         * docs/manual/bin-element.png:
1646         * docs/manual/filter-element-multi.fig:
1647         * docs/manual/filter-element-multi.png:
1648         * docs/manual/filter-element.fig:
1649         * docs/manual/filter-element.png:
1650         * docs/manual/gstreamer-overview.png:
1651         * docs/manual/hello-world.fig:
1652         * docs/manual/hello-world.png:
1653         * docs/manual/linked-elements.fig:
1654         * docs/manual/linked-elements.png:
1655         * docs/manual/mime-world.fig:
1656         * docs/manual/mime-world.png:
1657         * docs/manual/queue.fig:
1658         * docs/manual/queue.png:
1659         * docs/manual/simple-player.png:
1660         * docs/manual/sink-element.fig:
1661         * docs/manual/sink-element.png:
1662         * docs/manual/src-element.fig:
1663         * docs/manual/src-element.png:
1664         * docs/manual/diagrams-general.svg:
1665         * docs/manual/diagrams-pipelines.svg:
1666           Removed .fig, added .png counterpart.
1667           
1668           Fixes: #539137
1669
1670 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1671
1672         * plugins/elements/gstmultiqueue.c:
1673         * plugins/elements/gstmultiqueue.h:
1674         revert extra-size-buffers stuff, caused some race conditions
1675         and extra-size-buffers is not used anymore. Docs needs some updates
1676
1677 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1678
1679         * win32/common/config.h:
1680         * win32/common/gstenumtypes.c:
1681         * win32/common/gstenumtypes.h:
1682         * win32/common/gstversion.h:
1683           Update win32 files.
1684
1685 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1686
1687         * gst/gstdebugutils.h: (GstDebugGraphDetails),
1688           (GST_DEBUG_BIN_TO_DOT_FILE):
1689           Add missing Since' markers to gtk-doc blurbs.
1690
1691 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
1692
1693         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1694         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1695         (set_caps_1), (set_caps_ct1), (transform_ct1),
1696         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1697         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1698         (transform_size_ct2), (buffer_alloc_ct2):
1699         Add some more tests with switching caps in buffer_alloc.
1700
1701 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1702
1703         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1704         (gst_test_trans_class_init), (result_sink_chain),
1705         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1706         (gst_test_trans_push), (gst_test_trans_pop):
1707         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1708         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1709         (set_caps_1), (set_caps_ct1), (transform_ct1),
1710         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1711         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1712         (transform_size_ct2), (buffer_alloc_ct2),
1713         (gst_basetransform_suite):
1714         More tests, prepare for tests with switching caps in buffer_alloc.
1715
1716 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1717
1718         * plugins/elements/gstmultiqueue.c:
1719         * plugins/elements/gstmultiqueue.h:
1720         Fix dead-lock in underrun_cb
1721
1722 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1723
1724         * docs/design/part-states.txt:
1725         Fix device open/close docs.
1726
1727 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1728
1729         * ChangeLog:
1730           Mention bugnumber for last commit.
1731
1732 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1733
1734         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1735
1736         * docs/manual/manual.xml:
1737         - Reorganised the previous "introduction" bundle into Foreword,
1738         Introduction, and About GStreamer. The two first are <preface>
1739         docbook elements. The later is the first part of the book.
1740         - added intro-gstreamer.xml (content partially from
1741         intro-preface.xml)
1742         - moved appendix-win32.xml into appendix-integration.xml
1743
1744         * docs/manual/intro-preface.xml: gstreamer section moved...
1745         * docs/manual/intro-gstreamer.xml: ...here. new file.
1746
1747         * docs/manual/appendix-win32.xml: removed file. Content moved...
1748         * docs/manual/appendix-integration.xml: ...here.
1749         
1750         * docs/manual/highlevel-components.xml: section about GstEditor moved...
1751         * docs/manual/appendix-checklist.xml: ...here.
1752         
1753         Fixes: 538764
1754
1755 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1756
1757         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1758
1759         * docs/manual/basics-helloworld.xml:
1760         * docs/manual/hello-world.fig:
1761           - Explicitely include glib.h.
1762           - Do not use global variables.
1763           - Use g_printerr() instead of g_print().
1764           - Minor formating/renaming to increase readibility.
1765           - Renamed new_pad() to on_pad_added()
1766           - Improved explenatory comments.
1767           - renamed ogg parser to ogg demuxer
1768           - Use "autoaudiosink" instead of "alsasink".
1769           Fixes: #538619
1770
1771 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1772
1773         * ChangeLog:
1774           Remove cvs conflict marker.
1775
1776 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1777
1778         * docs/README:
1779           Document that for plgin-docs we extraxt he short-desc from the element
1780           details.
1781
1782         * docs/design/part-states.txt:
1783           Tell that devices should be closed in PAUSED -> READY.
1784
1785         * docs/manual/README:
1786           Document how tests in the manual are handled.
1787
1788         * docs/manuals.mak:
1789           Typo in comment.
1790
1791 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1792
1793         * gst/gstbin.c: (bin_query_latency_fold):
1794         Only care about latency min and max when the sink is actually a live
1795         sink.
1796
1797 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1798
1799         * docs/design/part-block.txt:
1800         Fix typo.
1801
1802         * docs/design/part-element-transform.txt:
1803         Add notes about why transform needs to know input/output sizes.
1804         Add some issues that need to be solved.
1805         Add some more use cases.
1806
1807         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1808         (gst_test_trans_class_init), (result_sink_chain),
1809         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1810         (gst_test_trans_push), (gst_test_trans_pop):
1811         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1812         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1813         (set_caps_1), (set_caps_ct1), (transform_ct1),
1814         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1815         (gst_basetransform_suite):
1816         Add suport for different pad templates and buffer-alloc.
1817         Add more checks for caps and buffer-alloc.
1818         Add checks for proxy buffer alloc.
1819         Add unit test for copy transform.
1820
1821 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1822
1823         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1824
1825         * docs/manual/appendix-integration.xml:
1826         * docs/manual/appendix-licensing.xml:
1827         * docs/manual/basics-elements.xml:
1828         * docs/manual/basics-helloworld.xml:
1829         * docs/manual/basics-pads.xml:
1830         * docs/manual/highlevel-components.xml:
1831         * docs/manual/highlevel-xml.xml:
1832         * docs/manual/intro-basics.xml:
1833         * docs/manual/intro-preface.xml:
1834           Typo and formatting fixes (#538594).
1835
1836 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1837
1838         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1839         Fix some memory leaks and uses of object instances that we don't
1840         actually own.
1841
1842 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1843
1844         * plugins/elements/gstmultiqueue.c:
1845         Add functionality to extra-size-buffers property.
1846
1847 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1848
1849         * plugins/elements/gstmultiqueue.c:
1850         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1851         activate the pads if they are added in STATE_NULL.
1852
1853 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1854
1855         * docs/libs/gstreamer-libs-sections.txt:
1856         Add new API to doc
1857         * libs/gst/check/gstcheck.c:
1858         * libs/gst/check/gstcheck.h:
1859         API: gst_check_teardown_pad_by_name
1860
1861 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1862
1863         * libs/gst/check/gstcheck.c:
1864         * libs/gst/check/gstcheck.h:
1865         Also setup request pads and allow setup pads by name (#537812)
1866         API: gst_check_setup_src_pad_by_name
1867         API: gst_check_setup_sink_pad_by_name
1868
1869 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1870
1871         * tests/check/gst/gstbuffer.c:
1872         * tests/check/pipelines/parse-launch.c:
1873           Use HAVE_VALGRIND_H some more.
1874
1875 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1876
1877         * scripts/cvs-update.sh:
1878           Pass arguments to make.
1879           Run autoregen.sh if Makefile is not there.
1880
1881 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1882
1883         * configure.ac:
1884         * gst/gstinfo.c:
1885           Don't assume that <valgrind/valgrind.h> exists just because
1886           the binary is there.
1887
1888 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1889
1890         * tests/check/Makefile.am:
1891         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1892         (gst_test_trans_class_init), (gst_test_trans_init),
1893         (gst_test_trans_set_data), (result_sink_chain),
1894         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1895         (gst_test_trans_pop):
1896         * tests/check/libs/transform1.c: (GST_START_TEST),
1897         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1898         Add some test basetransform element and the beginnings of various
1899         unit tests for it.
1900
1901 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1902
1903         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1904         Increase code readability.
1905         Don't try to compare buffer offsets when ther are invalid.
1906
1907 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
1908
1909         * docs/design/Makefile.am:
1910           Dist some more design docs.
1911
1912         * docs/random/moving-plugins:
1913           Small addition: good plugins mustn't have functional code
1914           within assertion macros.
1915
1916 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1917
1918         * docs/design/draft-framestep.txt:
1919         Some ideas about a framestep API
1920
1921         * docs/design/part-element-transform.txt:
1922         Start design and use cases for basetransform in order to get it
1923         fixed soon.
1924
1925 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
1926
1927         * gst/gsttaglist.h:
1928           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1929           be in UTF-8 encoding.
1930
1931 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
1932
1933         * gst/gstbus.c:
1934           Make it known that gst_bus_poll() is pure evil (fixes #538810).
1935
1936 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
1937
1938         * plugins/elements/gstcapsfilter.c:
1939         * plugins/elements/gstfakesink.c:
1940         * plugins/elements/gstfakesrc.c:
1941         * plugins/elements/gstfdsink.c:
1942         * plugins/elements/gstfdsrc.c:
1943         * plugins/elements/gstfilesink.c:
1944         * plugins/elements/gstfilesrc.c:
1945         * plugins/elements/gstidentity.c:
1946         * plugins/elements/gstmultiqueue.c:
1947         * plugins/elements/gstqueue.c:
1948         * plugins/elements/gsttee.c:
1949         * plugins/elements/gsttypefindelement.c:
1950           Remove short_description. Add basic docs for gsttypefindelement.
1951           Simplify markup for fakesrc/fdsrc.
1952
1953 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1954
1955         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1956         Added Since doc.
1957
1958 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1959
1960         Patch by: Joel Larsson <tilljoel at gmail dot com>
1961
1962         * docs/plugins/gstreamer-plugins.args:
1963         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1964         (gst_fd_src_init), (gst_fd_src_update_fd),
1965         (gst_fd_src_set_property), (gst_fd_src_get_property),
1966         (gst_fd_src_create):
1967         * plugins/elements/gstfdsrc.h:
1968         Add timeout property like udpsrc. Fixes #538628.
1969         Add some more docs and example pipelines.
1970
1971 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1972
1973         * docs/libs/gstreamer-libs-sections.txt:
1974         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1975         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
1976         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
1977         (gst_base_sink_do_sync):
1978         * libs/gst/base/gstbasesink.h:
1979         * win32/common/libgstbase.def:
1980         Add method to allow sinks to specify additional delay between the sync
1981         times and the actual rendering of the data.
1982         API: gst_base_sink_set_render_delay()
1983         API: gst_base_sink_get_render_delay()
1984
1985 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
1986
1987         * configure.ac:
1988         Bump version number back to dev -> 0.10.20.1
1989
1990 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
1991
1992         * docs/gst/gstreamer-sections.txt:
1993         * gst/gsttaglist.c: (_gst_tag_initialize):
1994         * gst/gsttaglist.h:
1995         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
1996         Fixes bug #538568.
1997
1998 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
1999
2000         * libs/gst/controller/gstcontroller.c:
2001           Revert one change, that make ret value possible uninitialized.
2002
2003 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2004
2005         * libs/gst/controller/gstcontroller.c:
2006           Use freeze/thaw notify to sync notify emission a bit (its also more
2007           efficient). Move debug output to LOG (is called a lot in a loop).
2008           Always unset g_values if the have been initialized.
2009
2010 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2011
2012         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2013         (gst_base_sink_wait_eos), (gst_base_sink_event):
2014         If we have not seen a buffer before EOS, use the segment values to
2015         report the current position instead of invalid positions.
2016
2017 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2018
2019         * docs/plugins/tmpl/.cvsignore:
2020         * tests/check/gst/.cvsignore:
2021           Ignore more.
2022
2023 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2024
2025         * libs/gst/controller/gstinterpolation.c:
2026         * libs/gst/controller/gstinterpolationcontrolsource.c:
2027         * tests/check/libs/controller.c:
2028           Rewrite handling of default values. Fix overflow with unsigned types
2029           in linear interpolation. Remove now obsolete _first_value() function.
2030           Add more tests. Fixes #538201.
2031
2032 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2033
2034         * libs/gst/base/gstbasetransform.c:
2035         (gst_base_transform_class_init), (gst_base_transform_init),
2036         (gst_base_transform_transform_caps),
2037         (gst_base_transform_prepare_output_buffer):
2038         Add debug info.
2039         When a buffer is writable, its metadata is also writable so we don't
2040         need to subbuffer (which then makes the buffer not-writable anymore).
2041
2042 === release 0.10.20 ===
2043
2044 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2045
2046         * configure.ac:
2047           releasing 0.10.20, "You Crazy Diamond"
2048
2049 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2050
2051         * configure.ac:
2052         0.10.19.3 pre-release
2053
2054 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2055
2056         * configure.ac:
2057         * gst/gstpreset.c:
2058         Rename DATADIR to GST_DATADIR to avoid build problems
2059         on win32. Patch By: David Schleef <ds@schleef.org>
2060         Fixes: #536857
2061
2062 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2063
2064         * configure.ac:
2065         Explicitely link with -ldl if dladdr() is found there. Before it was
2066         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2067         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2068
2069 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2070
2071         * gst/gsterror.c: (_gst_stream_errors_init):
2072           Fix typo (spotted by Fabricio Godoy, #536723).
2073
2074 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2075
2076         * configure.ac:
2077         0.10.19.2 pre-release
2078
2079 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2080
2081         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2082         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2083         Add some debug.
2084         Make sure we don't generate invalid QoS messages.
2085
2086 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2087
2088         * gst/gstevent.c: (gst_event_new_qos):
2089         Add some assert and docs for invalid input to the qos function.
2090
2091 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2092
2093         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2094         (gst_base_sink_get_position):
2095         The reported position must always be smaller than the last seen
2096         timestamps (or timestamp + duration for reverse).
2097
2098 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2099
2100         Patch by: Rob Bradford <rob at robster dot org dot uk>
2101
2102         * gst/gstregistry.c: (gst_registry_scan_path_level):
2103         Don't recurse into .debug directories as some distros install
2104         the debugging symbols next to the plugins in .debug directories
2105         and dlopen() crashes on them sometimes. Fixes bug #508070.
2106
2107         Add FIXME for 0.11 to not recurse into directories at all because
2108         it's very inconsistent to the behaviour of other PATH environment
2109         variables.
2110
2111 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2112
2113         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2114         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2115         Fix position query range checks in reverse playback.
2116
2117 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2118
2119         * gst/gstelement.c:
2120         * gst/gstelement.h:
2121         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2122         clear of the reference to the resulting pad must be released later
2123         or not, resulting in possible leaks. Fixes bug #533865.
2124
2125 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2126
2127         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2128
2129         * gst/gstelementfactory.c:
2130         Small doc fix. Fixes #535285.
2131
2132 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2133
2134         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2135
2136         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2137         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2138         (gst_base_src_loop), (gst_base_src_set_flushing),
2139         (gst_base_src_change_state):
2140         Make sending an EOS event to the basesrc non-blocking even if the
2141         implementation does blocking waits in the create function. This is done
2142         by unlocking the create function when EOS is sent.
2143         Fixes #535218.
2144
2145 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2146
2147         * tools/gst-inspect.c: (print_element_properties_info):
2148         If possible print the element type of GValueArray properties.
2149
2150 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2151
2152         * gst/gstiterator.c:
2153         Remove an unused field from the private GstListIterator struct.
2154
2155 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2156
2157         * libs/gst/controller/gstcontroller.c:
2158           Add parameter guards.
2159
2160 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2161
2162         * tests/check/gst/gstpipeline.c:
2163           Revert test change and add comment why it should not work.
2164
2165 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2166
2167         * tests/check/gst/gstpipeline.c:
2168           Extending the test a little to verify that we also get the NULL state-
2169           change message.
2170
2171 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2172
2173         * gst/gstpreset.c: (gst_preset_default_get_meta),
2174           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2175           (gst_preset_load_preset), (gst_preset_save_preset),
2176           (gst_preset_rename_preset), (gst_preset_delete_preset),
2177           (gst_preset_set_meta):
2178           Add Since: markers to docs blurbs.
2179
2180         * win32/common/libgstreamer.def:
2181           Add recently-added API.
2182
2183 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2184
2185         Patch by: Stefan Kost  <ensonic@users.sf.net>
2186
2187         * configure.ac:
2188         Add DATADIR for storing presets.
2189
2190         * docs/gst/gstreamer-docs.sgml:
2191         * docs/gst/gstreamer-sections.txt:
2192         * docs/gst/gstreamer.types.in:
2193         Add GstPreset to docs.
2194
2195         * gst/Makefile.am:
2196         * gst/gst.h:
2197         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2198         (preset_open_and_parse_header), (preset_parse_version),
2199         (preset_merge), (preset_get_keyfile),
2200         (gst_preset_default_get_preset_names),
2201         (gst_preset_default_get_property_names),
2202         (gst_preset_default_load_preset),
2203         (gst_preset_default_save_presets_file),
2204         (gst_preset_default_save_preset),
2205         (gst_preset_default_rename_preset),
2206         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2207         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2208         (gst_preset_default_reset), (gst_preset_get_preset_names),
2209         (gst_preset_get_property_names), (gst_preset_load_preset),
2210         (gst_preset_save_preset), (gst_preset_rename_preset),
2211         (gst_preset_delete_preset), (gst_preset_set_meta),
2212         (gst_preset_get_meta), (gst_preset_class_init),
2213         (gst_preset_base_init), (gst_preset_get_type):
2214         * gst/gstpreset.h:
2215         Add GstPreset to core. Fixes #396779
2216
2217         * tests/check/Makefile.am:
2218         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2219         (gst_preset_test_set_property), (gst_preset_test_class_init),
2220         (gst_preset_test_base_init), (gst_preset_test_get_type),
2221         (gst_preset_test_plugin_init), (GST_START_TEST),
2222         (remove_preset_file), (test_setup), (test_teardown),
2223         (gst_preset_suite):
2224         Add GstPreset unit tests.
2225
2226 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2227
2228         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2229         The default event function on a sinkpad should return TRUE when
2230         there are no internal links but should collect the return values from
2231         the internal links otherwise.
2232
2233 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2234
2235         * plugins/elements/gsttypefindelement.c:
2236         (gst_type_find_element_src_event),
2237         (gst_type_find_element_handle_event):
2238         Use faster and safer _pad_push_event().
2239
2240 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2241
2242         * docs/gst/gstreamer-sections.txt:
2243         * gst/gstutils.c: (element_find_unlinked_pad),
2244           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2245         * gst/gstutils.h:
2246           API: add gst_bin_find_unlinked_pad()
2247           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2248
2249 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2250
2251         * gst/gstclock.c:
2252         * gst/gstclock.h:
2253         * gst/gsttask.c:
2254         * gst/gsttask.h:
2255         Fixed a bunch of typos.
2256
2257 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2258
2259         * gst/gstpad.h:
2260         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2261           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2262           (gst_parse_bin_from_description_full):
2263         * gst/gstutils.h:
2264           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2265
2266 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2267
2268         * docs/pwg/advanced-tagging.xml:
2269           Small docs update, can't be bothered to rewrite the nonsensical
2270           examples right now.
2271
2272 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2273
2274         * gst/gstevent.h:
2275           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2276
2277 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2278
2279         * gst/parse/grammar.y:
2280           Remove unneeded casts.
2281
2282 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2283
2284         * gst/parse/grammar.y:
2285         * tests/check/pipelines/parse-launch.c:
2286           Get all missing elements from a parse launch string if possible
2287           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2288
2289 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2290
2291         * tests/check/Makefile.am:
2292         * tests/check/pipelines/parse-launch.c:
2293           Add some unit tests for the new gst_parse_launch*_full() API.
2294           (Exposes a previously-existing memory leak in the error code
2295           path, so adding to VALGRIND_TO_FIX for now).
2296
2297 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2298
2299         * docs/gst/gstreamer-sections.txt:
2300         * gst/gst.c: (init_post):
2301         * gst/gst_private.h: (_GstParseContext):
2302         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2303           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2304           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2305           (gst_parse_launch_full):
2306         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2307           (GstParseFlags), (GstParseContext):
2308         * gst/gstutils.c: (gst_parse_bin_from_description),
2309           (gst_parse_bin_from_description_full):
2310         * gst/gstutils.h:
2311         * gst/parse/grammar.y:
2312         * gst/parse/types.h:
2313         * win32/common/libgstreamer.def:
2314           Add new gst_parse_*_full API (#528178):
2315           API: gst_parse_launch_full()
2316           API: gst_parse_launchv_full()
2317           API: gst_parse_bin_from_description_full()
2318           API: gst_parse_context_new()
2319           API: gst_parse_context_free()
2320           API: gst_parse_context_get_missing_elements()
2321
2322 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2323
2324         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2325
2326         * docs/faq/gst-uninstalled:
2327           Also support ffmpeg in gst-uninstalled.
2328
2329 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2330
2331         * configure.ac:
2332         After discussion on IRC use the binary registry as default
2333         but allow to disable it with --disable-binary-registry.
2334
2335         * win32/common/libgstreamer.def:
2336         Add the two new symbols for the binary registry.
2337
2338 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2339
2340         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2341         * gst/gstutils.c: (gst_parse_bin_from_description):
2342         * gst/parse/grammar.y: (graph):
2343           More guards against bad input; typo fix; some minor clean-ups.
2344
2345 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2346
2347         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2348
2349         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2350         If nothing else can be used, use the last buffer's start time as
2351         the segment's last stop. Fixes bug #534258.
2352
2353 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2354
2355         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2356           Move size sanity check to the right place: downstream may return
2357           a buffer with a smaller size if the buffer caps are different than
2358           the requested ones, as may happen when doing reverse negotiation.
2359
2360 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2361
2362         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2363         (gst_file_sink_render):
2364         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2365         (gst_file_src_start):
2366         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2367         use it yet.
2368
2369 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2370
2371         * gst/gstpad.c: (gst_pad_load_and_link):
2372         * gst/gstutils.c: (gst_element_link_pads),
2373         (gst_element_unlink_pads):
2374         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2375         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2376         (gst_check_teardown_sink_pad),
2377         (gst_check_element_push_buffer_list):
2378         * tests/check/elements/fakesink.c: (GST_START_TEST):
2379         * tests/check/elements/filesink.c:
2380         * tests/check/elements/filesrc.c: (GST_START_TEST):
2381         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2382         (mq_sinkpad_to_srcpad):
2383         * tests/check/elements/tee.c: (GST_START_TEST):
2384         * tests/check/generic/sinks.c: (GST_START_TEST):
2385         * tests/check/gst/gstbin.c: (GST_START_TEST):
2386         * tests/check/gst/gstevent.c: (GST_START_TEST):
2387         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2388         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2389         * tests/check/gst/gstquery.c: (GST_START_TEST):
2390         * tests/check/gst/gstutils.c: (GST_START_TEST):
2391         * tests/check/libs/basesrc.c: (GST_START_TEST):
2392         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2393         (gst_parse_test_element_change_state):
2394         Don't use gst_element_get_pad().
2395
2396 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2397
2398         * docs/Makefile.am:
2399         Fix installing plugin documentation when gtk-doc is disabled.
2400
2401 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2402
2403         * docs/manual/advanced-autoplugging.xml:
2404         * docs/manual/basics-helloworld.xml:
2405         * docs/manual/basics-pads.xml:
2406         * docs/manual/highlevel-components.xml:
2407         Avoid using a bad function in the example code.
2408
2409 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2410
2411         * gst/gstclock.c: (gst_clock_set_calibration):
2412         Fix debug of the new clock rate.
2413
2414 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2415
2416         * win32/common/libgstbase.def:
2417         Add gst_base_sink_wait_clock() to the exported symbols.
2418
2419 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2420
2421         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2422
2423         * libs/gst/base/gstbasetransform.c:
2424         (gst_base_transform_sink_event):
2425         Unref events that the GstBaseTransform::event vfunc didn't want to
2426         have forwarded by the base class. Closes a leak in identity.
2427         Fixes bug #446763.
2428
2429 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2430
2431         * docs/libs/gstreamer-libs-sections.txt:
2432         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2433         * libs/gst/base/gstbasesink.h:
2434         Expose a method that was previously used internally to synchronize
2435         against the clock because it can be useful for subclasses too.
2436         API: GstBaseSink::gst_base_sink_wait_clock()
2437
2438 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2439
2440         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2441           Add sanity check to make sure we don't get smaller buffers
2442           than requested (and fallback to normal buffer alloc if we do).
2443
2444 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2445
2446         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2447         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2448         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2449         Refactor adjusting the running_time with latency and offset into a
2450         separate method.
2451         When doing clipping, we still want to use the subclass get_times method,
2452         just in case the DURATION or TIMESTAMP are not set.
2453
2454 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2455
2456         * docs/gst/gstreamer-sections.txt:
2457         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2458         * gst/gsttypefind.h:
2459         * win32/common/libgstreamer.def:
2460           API: add gst_type_find_suggest_simple(), #533740.
2461
2462 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2463
2464         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2465           Use right error code when typefinding fails, so we can use
2466           the default (translated) error messages.
2467
2468 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2469
2470         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2471         (gst_base_src_start):
2472         When the subclass did not set caps on outgoing buffers, configure the
2473         caps we negotiated on the source pad.
2474         When the typefind helper does not find caps, error out properly instead
2475         of doing things with NULL caps.
2476
2477 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2478
2479         * gst/gsttypefind.h:
2480           Tabs to spaces, oh yes!
2481
2482 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2483
2484         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2485           Add David's and Benjamin's tests for array intersection to the
2486           unit test suite (#147931).
2487
2488 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2489
2490         * gst/gstevent.c:
2491           Document that gst_event_new_tag() and gst_event_new_navigation()
2492           take ownership of the taglist/structure passed to them. (#533635).
2493
2494 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2495
2496         * docs/Makefile.am:
2497         Don't descend into the plugins dir if plugin docs building
2498         is disabled.
2499
2500         * docs/README:
2501         Add a note about the new type:GTypeName syntax for the plugin
2502         documentation .types file.
2503
2504 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2505
2506         * gst/gstmessage.c: (gst_message_new_error),
2507         (gst_message_new_warning), (gst_message_new_info):
2508         * gst/gstmessage.h:
2509         Mark the debug string parameters as const. Fixes bug #533490.
2510
2511 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2512
2513         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2514         Sort buffer cache list by end offsets. This makes sure that we don't
2515         stop to search for a cached buffer that contains the requested data
2516         too early.
2517         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2518         more efficient. Fixes bug #459862.
2519
2520 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2521
2522         * gst/gstinfo.c:
2523           Explain why we copy the list.
2524
2525         * gst/gstpipeline.c:
2526           Improve docs.
2527
2528         * gst/gstutils.c:
2529           Add one debug-log statement to help tracing probelms with linking pads.
2530
2531 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2532
2533         * tests/check/gst/gstinfo.c:
2534         Add a test for removing the default log handler. Seems to fail under
2535         windows.
2536
2537 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2538
2539         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2540         Release pad lock before calling out to avoid a possible deadlock.
2541
2542 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2543
2544         * gst/parse/grammar.y:
2545         Remove unneeded value unset.
2546
2547         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2548         Add unit test for de/serialization of caps.
2549
2550 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2551
2552         * plugins/elements/gstfakesink.c:
2553         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2554         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2555         (gst_fake_src_class_init):
2556         Use custom marshalers that take GstMiniObject as first parameter.
2557         Using OBJECT as parameter while a GstMiniObject is given will lead
2558         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2559
2560 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2561
2562         * plugins/elements/gsttypefindelement.c:
2563         (gst_type_find_element_handle_event),
2564         (gst_type_find_element_send_cached_events),
2565         (gst_type_find_element_change_state):
2566         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2567         immediately.
2568
2569 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2570
2571         * plugins/elements/gsttypefindelement.c:
2572         (gst_type_find_handle_src_query), (stop_typefinding),
2573         (gst_type_find_element_handle_event),
2574         (gst_type_find_element_send_cached_events),
2575         (gst_type_find_element_change_state):
2576         Forward FLUSH_START events immediately and clean up instead of
2577         caching them.
2578
2579 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2580
2581         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2582
2583         * libs/gst/base/gstbasetransform.c:
2584         (gst_base_transform_buffer_alloc):
2585         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2586         fall back to default negotiation in the chain function if the caps
2587         are different from what was requested. Fixes bug #526768.
2588
2589 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2590
2591         * gst/gstsegment.c:
2592         * tests/check/gst/gstsegment.c:
2593           No, let's not use g_slice_{dup|copy} here, since they only exist
2594           since GLib 2.14 and we still depend only on >= 2.12. Also add
2595           unit test for gst_segment_copy().
2596
2597 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2598
2599         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2600           Try to fix 'dereferencing type-punned pointer will break strict
2601           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2602           changed the default GType typedef from gulong to gsize at some point,
2603           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2604           g_once_* functions all take a gsize * though, so work around the type
2605           mismatch for C++ by doing everything in gsize and casting to GType
2606           later.
2607
2608 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2609
2610         * plugins/elements/gstmultiqueue.c:
2611         Add documentation for the signals to push our core plugin docs
2612         coverage back up to 100%.
2613
2614 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2615
2616         * gst/gstinfo.h (GST_FUNCTION):
2617           Reverted GST_FUNCTION to the old version as we don't want the
2618           full signature in C++ code. Also added support for MSVC.
2619
2620 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2621
2622         * gst/gstutils.h:
2623         Intern the type name string, similar to what G_DEFINE_TYPE does.
2624
2625 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2626
2627         * gst/gstutils.h:
2628         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2629
2630 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2631
2632         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2633
2634         * libs/gst/base/gstbasetransform.c:
2635         (gst_base_transform_buffer_alloc):
2636         Don't passthrough buffer allocation too easily if the caps change.
2637         This breaks when working in passthrough mode and upstream changes
2638         it's caps. Fixes bug #526768.
2639
2640 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2641
2642         * gst/gstinfo.c (gst_debug_log_valist):
2643           Improved the __FILE__ part of debug output for MSVC.
2644
2645 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2646
2647         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2648           Declaration after statement fix for compilers like MSVC.
2649
2650 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2651
2652         * win32/common/config.h.in:
2653           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2654           use the real thing than having "???" unconditionally.
2655
2656 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2657
2658         * gst/gstinfo.h (GST_FUNCTION):
2659           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2660
2661 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2662
2663         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2664         Small code cleanup.
2665
2666         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2667         (gst_base_sink_set_flushing):
2668         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2669         Fix some comments.
2670
2671 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2672
2673         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2674         (gst_fake_src_init), (gst_fake_src_set_property),
2675         (gst_fake_src_get_property), (gst_fake_src_start):
2676         * plugins/elements/gstfakesrc.h:
2677         Added format property to control the format of the newsegment events.
2678         API: GstFakeSrc:format
2679
2680 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2681
2682         * win32/common/libgstreamer.def:
2683         Add gst_pad_has_name() to the exported symbols.
2684
2685 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2686
2687         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2688         * libs/gst/base/gstbasetransform.c:
2689         (gst_base_transform_prepare_output_buffer):
2690         Don't allow negative sizes when allocating new buffers.
2691         Fixes bug #461253.
2692
2693 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2694
2695         Patch by: Sjoerd Simons <sjoerd at luon net>
2696
2697         * gst/gstbus.c: (gst_bus_source_dispatch):
2698           Don't print a warning if the queue is empty when we try to pop
2699           here. That could happen if another thread or callback set the
2700           bus to flushing between the source's check/prepare and the
2701           dispatch being called (#531538).
2702
2703 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2704
2705         * plugins/elements/gstmultiqueue.c:
2706           Small docs fix.
2707         
2708 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
2709
2710         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2711         Add unit test for deserializing uint64s and check some really large
2712         numbers in the int64 test.
2713
2714 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2715
2716         * tools/gst-inspect.c: (n_print), (print_hierarchy),
2717         (print_interfaces), (print_element_properties_info),
2718         (print_signal_info):
2719         Use "%s" as format string instead of printing strings directly.
2720
2721 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2722
2723         * gst/gstclock.c: (gst_clock_set_calibration):
2724         Make some checks actually useful.
2725
2726         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2727         Remove some unused code. Unsigned integers tend to be >= 0.
2728
2729 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2730
2731         * gst/gstminiobject.c: (gst_value_get_mini_object):
2732           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2733           function was not in the unscheduled 0.10.19 release.
2734
2735 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2736
2737         * gst/gstregistry.c: (gst_registry_scan_path_level):
2738           Only print one log message per non-plugin file.
2739
2740 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2741
2742         * gst/gstinfo.c: (gst_debug_log_default):
2743           Fix alignment of debug log columns on 64-bit.
2744
2745 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2746
2747         * docs/libs/Makefile.am:
2748         * docs/libs/gstreamer-libs-sections.txt:
2749           Ignore private controller headers for docs.
2750
2751 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
2752
2753         * libs/gst/controller/gstcontrollerprivate.h:
2754         * libs/gst/controller/gsthelper.c:
2755         * libs/gst/controller/gstinterpolation.c:
2756         * libs/gst/controller/gstinterpolationcontrolsource.c:
2757         (gst_interpolation_control_source_set_interpolation_mode):
2758         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2759         * libs/gst/controller/lib.c:
2760         Move some private declarations into private headers.
2761
2762 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
2763
2764         * gst/gstdebugutils.c: (debug_dump_element_pad):
2765         Remove some code that is unused after Stefan's refactoring and uses
2766         uninitialized variables now, resulting in a compiler warning.
2767
2768 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2769
2770         * gst/gstregistry.c: (gst_registry_scan_path_level):
2771           Run g_str_has_suffix() only on the file name, not the
2772           entire file path.
2773
2774 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
2775
2776         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2777           Since we're not called only from the chain function any longer,
2778           we can't assume that there's always data in the queue, so move
2779           the is_full check to the beginning of the loop (otherwise we'd
2780           hit the assert when changing the limit properties while the
2781           queue is empty or not running yet).
2782           Also, only set a discont if items were actually removed from
2783           the queue.
2784
2785         * tests/check/elements/queue.c: (test_leaky_downstream):
2786           Test case for the above.
2787
2788 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2789
2790         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2791
2792         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2793         (gst_queue_chain), (queue_capacity_change),
2794         (gst_queue_set_property):
2795         When changing thr max capacity of a leaky queue, immediatly drop buffers
2796         instead of waiting for a push on the sinkpad. Fixes #530637.
2797
2798 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
2799
2800         * gst/gstdebugutils.c:
2801           Refactor code and fix handling of ghostpads and their proxypads.
2802
2803 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2804
2805         * docs/gst/gstreamer-sections.txt:
2806         * gst/gstevent.c: (gst_event_has_name):
2807         * gst/gstevent.h:
2808         * tests/check/gst/gstevent.c: (GST_START_TEST):
2809         Add method to conveniently check the name of a custom event with
2810         gst_event_has_name().
2811         Reformat the event docs so that related methods are put together instead
2812         of the default alphabetical sort.
2813         Update unit test with new method.
2814         API: GstEvent::gst_event_has_name()
2815
2816 2008-04-28  Michael Smith <msmith@songbirdnest.com>
2817
2818         * libs/gst/check/Makefile.am:
2819           Don't add an explicit link to libgstreamer-0.10.la; it's already
2820           included in GST_OBJ_LIBS.
2821
2822 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
2823
2824         * gst/gst.c:
2825         Register GstClock type from a type-safe context. Fixes bug #530317.
2826
2827 2008-04-25  Michael Smith <msmith@songbirdnest.com>
2828
2829         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2830         * tools/gst-run.c:
2831           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2832
2833 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2834
2835         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2836         (gst_bin_dispose):
2837         Use the GLib stuff to create a private structure.
2838         Add some locking around some dispose methods to make them a little
2839         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2840
2841 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
2842
2843         * libs/gst/base/gstbasesink.h:
2844         * libs/gst/base/gstbasesrc.h:
2845         * libs/gst/base/gstbasetransform.h:
2846         * libs/gst/base/gstcollectpads.h:
2847           Fix doc typos and unify caps a bit.
2848
2849 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
2850
2851         * tools/gst-launch.1.in:
2852           Forgot to also add the envvar docs here.
2853
2854 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
2855
2856         * gst/gst.c: (init_post), (gst_deinit):
2857         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2858           (test_concurrent_create), (gst_pipeline_suite):
2859           Ref some more classes in gst_init() to work around thread-safety
2860           issues in pre-2.16 GLibs, and add basic unit test.
2861
2862 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2863
2864         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2865         (gst_base_sink_send_event):
2866         Rearrange the latency query code. We always want to do the upstream
2867         query, even if we are not live so that the upstream elements can get the
2868         latency results too. If we fail doing the query and we are live, we
2869         return TRUE afterwards.
2870
2871 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2872
2873         patch by: Jason Zhao <e3423c@motorola.com>
2874
2875         * docs/gst/running.xml:
2876         * gst/gst.c:
2877           Enable/disable scan_and_update_registry() based on commandline switch
2878           or environment variable. Fixes #520468.
2879           
2880         * ChangeLog:
2881           Fix typo in my previous commit.
2882
2883 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2884
2885         * gst/gstregistrybinary.c:
2886           Add a warning if we hit unhandled factories when saving.
2887           More debug logging detail, but move to LOG category.
2888
2889 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2890
2891         * gst/gstregistry.c:
2892           Tell the *truth* when improving the documentation.
2893
2894 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
2895
2896         * gst/gstelementfactory.c: (gst_element_factory_make):
2897         Unref the factory after it was used the last time, not before.
2898
2899         * gst/gstindexfactory.c: (gst_index_factory_make):
2900         Improve debugging a bit and don't leak a ref to the index factory with
2901         each call.
2902
2903 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2904
2905         * gst/gstregistry.c:
2906           Improve the documentation.
2907
2908 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2909
2910         * gst/gstsegment.c:
2911           The glib macro seems to be borked. Use g_slice_copy directly and cast
2912           in the hope that this fixes the warning on 64bit.
2913
2914 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2915
2916         * gst/gstsegment.c:
2917           Document the new function. Use g_slice_dup() (no need for
2918           gst_segment_init()).    
2919
2920 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
2921
2922         * docs/gst/gstreamer-sections.txt:
2923           Move GParamSepc macros to standart section.
2924   
2925         * gst/gstbin.c:
2926           Dn't document _get_type - its in private section in docs anyway and
2927           this doc-blob was incomplete.
2928
2929         * gst/gstclock.h:
2930           Fix wrong symbol names in docs.
2931
2932         * gst/gstmacros.h:
2933           Add once doc sentence.
2934
2935         * tests/check/gst/.cvsignore:
2936           Ignore more.
2937
2938 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
2939
2940         * docs/gst/Makefile.am:
2941           And remove those libs here.
2942
2943 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
2944
2945         * docs/libs/Makefile.am:
2946           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
2947
2948 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2949
2950         Patch by: Olivier Crete <tester at tester dot ca>
2951
2952         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2953         Add the min-threshold to the min latency if possible. Fixes #529148.
2954
2955 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
2956
2957         * docs/gst/gstreamer.types.in:
2958           Stupid editor, I removed that line as it should go in yet.
2959
2960 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
2961
2962         * docs/gst/gstreamer.types.in:
2963         * docs/libs/gstreamer-libs.types:
2964           Remove library types fro core docs and have them in libs docs.
2965           Reformat and cleanup. Add comment for miniobject types.
2966
2967 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
2968
2969         * gst/gsturi.c: (gst_uri_get_protocol):
2970           Fix leak: g_strdown operates on the string in place, while
2971           g_ascii_strdown() returns a newly-allocated string.
2972
2973 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
2974
2975         * tools/gst-inspect.c: (print_uri_handler_info),
2976         (print_element_info):
2977         Print the URI protocols and the URI type supported by the element.
2978
2979 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2980
2981         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
2982         Use g_value_take_string() instead of the deprecated
2983         g_value_set_string_take_ownership().
2984
2985 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2986
2987         * gst/gstregistrybinary.c: (_gst_crc32):
2988         Return the old CRC instead of 0 if we give a NULL buffer
2989         or a buffer with a length of 0.
2990
2991 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2992
2993         * gst/gsturi.c: (gst_uri_protocol_check_internal),
2994         (gst_uri_get_protocol), (gst_uri_has_protocol),
2995         (gst_uri_construct), (gst_uri_handler_set_uri):
2996         A valid URI scheme can also include '+', '-' and '.' additional
2997         to alphanumeric characters as per RFC 3986 Section 3.1.
2998
2999         Handle URI schemes case insensitive in all places and convert
3000         to lower-case when constructing an URI or setting an URI with
3001         the GstURIHandler interface. Fixes bug #528868.
3002         All elements can still assume (as before) that they will
3003         get passed URIs with a lower-case URI scheme by the GstURIHandler
3004         interface.
3005
3006 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3007
3008         * gst/gstcaps.c: (gst_static_caps_get):
3009         * gst/gstclock.c: (gst_clock_entry_new):
3010           Don't use g_atomic_set_int where it's not needed.
3011
3012 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3013
3014         * gst/gstvalue.c: (gst_value_deserialize_caps):
3015         * gst/parse/grammar.y:
3016         Fix 2 caps leaks.
3017
3018 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3019
3020         * gst/gstutils.c: (gst_atomic_int_set):
3021         Use g_atomic_int_set() here too instead of assignment +
3022         g_atomic_int_get().
3023
3024 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3025         
3026         * gst/gstutils.c:
3027         * gst/gstutils.h:
3028         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3029         now that we depend on new enough GLib.
3030
3031         * gst/gstcaps.c: (gst_static_caps_get):
3032         * gst/gstclock.c: (gst_clock_entry_new):
3033         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3034         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3035         (gst_debug_category_set_threshold):
3036         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3037         (gst_base_sink_set_qos_enabled):
3038         * libs/gst/net/gstnettimeprovider.c:
3039         (gst_net_time_provider_set_property):
3040         Use g_atomic_int_set() instead of gst_atomic_int_set().
3041
3042 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3043
3044         * gst/gstquery.c:
3045           Also use G_GINT64_CONSTANT for the queries.
3046
3047 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3048
3049         * gst/gstmessage.c:
3050           Use G_GINT64_CONSTANT in varargs function.
3051
3052 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3053
3054         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3055         Initialize the registry magic with zeroes.
3056
3057 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3058
3059         * gst/gstregistrybinary.c: (_gst_crc32),
3060         (gst_registry_binary_write),
3061         (gst_registry_binary_initialize_magic),
3062         (gst_registry_binary_write_cache),
3063         (gst_registry_binary_check_magic),
3064         (gst_registry_binary_read_cache):
3065         * gst/gstregistrybinary.h:
3066         Add crc32 checksum to the binary registry file and check this before
3067         accepting a registry file.
3068
3069         Also free the data list when writing to the registry file fails.
3070
3071 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3072
3073         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3074         (gst_registry_binary_load_feature),
3075         (gst_registry_binary_load_plugin):
3076         If an element supports the Uri interface, returns a valid pointer
3077         to the supported URI protocols but this pointer contains nothing
3078         don't try to save that as it will corrupt the registry.
3079
3080         Don't unref the plugin if we added it to the registry already but
3081         fail to load a feature as gst_registry_add_plugin() takes ownership
3082         of the plugin.
3083
3084         Improve debugging a bit.
3085
3086 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3087
3088         * gst/gsttaglist.h:
3089           Clarify some tag item docs after discussion on irc.
3090
3091 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3092
3093         * docs/gst/gstreamer-docs.sgml:
3094           Remove commented out plugins (they have their own docs). Update
3095           comments.
3096
3097 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3098
3099         * docs/gst/gstreamer-docs.sgml:
3100         * docs/gst/gstreamer-sections.txt:
3101         * gst/gstparamspecs.c:
3102         * gst/gstparamspecs.h:
3103           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3104           docs to own section.
3105
3106         * gst/gstvalue.c:
3107           This now only documents GValue.
3108           
3109         * docs/libs/gstreamer-libs-sections.txt:
3110         * libs/gst/controller/gstcontroller.h:
3111           Remove GST_PARAM_CONTROLLABLE.
3112
3113 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3114
3115         * docs/README:
3116           Correct file path. Tell about how to use -overrides.txt.
3117         * docs/design/draft-tagreading.txt:
3118           Small design update.
3119
3120 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3121
3122         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3123         (gst_registry_binary_load_plugin):
3124         Fix a typo in a debug message and revert change from yesterday as
3125         gst_registry_add_plugin() will only fail if something is really wrong
3126         already and we can't survive it anyway.
3127
3128 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3129
3130         * gst/gst.c: (init_post), (gst_deinit):
3131           Pre-register GstGError GType from a thread-safe context
3132           (fixes #527967); unref enum type classes in deinit.
3133
3134 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3135
3136         Patch by: Rene Stadler <mail at renestadler de>
3137
3138         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3139           Merging an empty list with another list in KEEP_ALL mode should
3140           yield an empty list as result and not the second list (#512578).
3141
3142         * tests/check/gst/gsttagsetter.c:
3143           Add unit test for tag merge modes and the aforementioned bug.
3144
3145 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3146
3147         Patch by: Rene Stadler <mail at renestadler de>
3148
3149         * gst/gsttaglist.h:
3150           Fix description to match the order in the table (#512577).
3151   
3152 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3153
3154         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3155
3156         * libs/gst/net/gstnettimepacket.h:
3157         * docs/libs/gstreamer-libs-sections.txt:
3158           Define socklen_t as int if it's not defined yet. Fixes compilation
3159           with MSVC6 and other versions where socklen_t is not defined in
3160           the windows headers (#518022).
3161
3162 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3163
3164         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3165         If gst_registry_add_plugin() fails our reference to the plugin is
3166         invalid so don't try to use it anymore and instead error out.
3167
3168 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3169
3170         * tools/gst-xmlinspect.c: (print_element_info), (main):
3171           De-cruft a bit. If no argument is specified, print all elements in
3172           XML syntax rather than a freestyle list of elements like gst-inspect.
3173           Also, don't print XML header chunk unless we actually have something
3174           to print (ie. don't print it before an error message); print error
3175           message to stderr not stdout. Remove support for printing plugin
3176           info (it would just output something freestyle along the lines of
3177           gst-inspect so far), which fixes #514507. Also add license header.
3178
3179 2008-04-11  Julien Moutte  <julien@fluendo.com>
3180
3181         Mac OS X love...
3182         * configure.ac: Merge platform specific defines, introduce a new
3183         define on OS X to remember that forking when updating registry is
3184         unsafe.
3185         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3186         module.
3187         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3188         is defined.
3189         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3190         condition that leads to absolutely no plugins being registered on
3191         OS X.
3192
3193 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3194
3195         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3196
3197         * gst/gstutils.c: (gst_pad_add_data_probe),
3198           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3199           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3200           (gst_pad_add_buffer_probe_full):
3201         * gst/gstutils.h:
3202         * docs/gst/gstreamer-sections.txt:
3203         * win32/common/libgstreamer.def:
3204           Add gst_pad_add_*_probe_full() functions with a notify callback that
3205           lets the caller free the data it passes to the probe functions. This
3206           is useful for bindings such as gst-python or gstreamermm (#526814).
3207           API: gst_pad_add_data_probe_full
3208           API: gst_pad_add_buffer_probe_full
3209           API: gst_pad_add_event_probe_full
3210
3211         * tests/check/gst/gstutils.c:
3212           Add minimal unit test to make sure freeing the data actually works
3213           as expected.
3214
3215         * tests/benchmarks/.cvsignore:
3216           Random cvsignore addendum.
3217
3218 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3219
3220         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3221           (GST_DEBUG_BIN_TO_DOT_FILE):
3222           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3223           to it in the docs (since these are macros the types of the arguments
3224           won't be shown in the docs otherwise).
3225
3226 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3227
3228         * gst/gstpad.c:
3229           Do not abort on out of memory for pad_alloc_buffer.
3230
3231 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3232
3233         * libs/gst/check/gstcheck.c:
3234           Remove blank line between symbol name ad parameters to fix gtkdoc
3235           warning.
3236
3237 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3238
3239         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3240
3241         * docs/gst/gstreamer-sections.txt:
3242         * gst/gstsegment.c:
3243         * gst/gstsegment.h:
3244         * win32/common/libgstreamer.def:
3245           Expose gst_segment_copy() to make things easier for the c++ bindings.
3246           Fixes #518932.
3247           API: gst_segment_copy()
3248
3249 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3250
3251         * gst/gst.c: (gst_init_get_option_group), (init_post):
3252           Fix const position; ref GType classes for enum types to work
3253           around thread-safety issues in GLib versions < 2.16.
3254
3255 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3256
3257         * docs/design/part-buffering.txt:
3258         Fix some typos and set the estimated total for push mode to -1.
3259
3260         * gst/gstquery.c: (gst_query_new_buffering):
3261         Set buffering-left to 0 as we're not buffering by default.
3262
3263         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3264         Implement BUFFERING query.
3265
3266 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3267
3268         Based on patch by: Milosz Derezynski <internalerror gmail com>
3269
3270         * gst/gsterror.c: (_gst_stream_errors_init):
3271         * gst/gsterror.h:
3272           Add two new error codes for encrypted content. Fixes #524659.
3273           API: GST_STREAM_ERROR_DECRYPT
3274           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3275
3276 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3277
3278         * gst/gstquery.h:
3279           Fix typo.
3280
3281         * win32/common/libgstreamer.def:
3282           Add new functions.
3283
3284 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3285
3286         * plugins/elements/gstidentity.c: (gst_identity_event),
3287         (gst_identity_start):
3288         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3289         event after processing some data. Fixes bug #526042.
3290
3291 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3292
3293         * docs/gst/gstreamer-sections.txt:
3294         * gst/gstquery.c: (gst_query_parse_latency),
3295         (gst_query_set_buffering_percent),
3296         (gst_query_parse_buffering_percent),
3297         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3298         * gst/gstquery.h:
3299         Rename _avail -> _range
3300         API: gst_query_set_buffering_range
3301         API: gst_query_parse_buffering_range
3302
3303 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3304
3305         * docs/design/part-buffering.txt:
3306         * gst/gstquark.c:
3307         * gst/gstquark.h:
3308         * gst/gstquery.c: (gst_query_parse_latency),
3309         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3310         (gst_query_parse_buffering_percent):
3311         * gst/gstquery.h:
3312         Add busy field and quark for the buffering query so that the app can
3313         only use the query to see if buffering is in progress.
3314
3315 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3316
3317         * docs/gst/gstreamer-sections.txt:
3318         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3319         (gst_message_parse_buffering_stats):
3320         * gst/gstmessage.h:
3321         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3322         (gst_query_parse_latency), (gst_query_new_buffering),
3323         (gst_query_set_buffering_percent),
3324         (gst_query_parse_buffering_percent),
3325         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3326         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3327         * gst/gstquery.h:
3328         Reorder the message docs and headers for clarity.
3329         Add aditional buffering stats API for messages.
3330         Add buffering query.
3331         Convert some leftover queries to use GstQuark.
3332         API: gst_message_set_buffering_stats
3333         API: gst_message_parse_buffering_stats
3334         API: GST_QUERY_BUFFERING
3335         API: GstBufferingMode
3336         API: gst_query_new_buffering
3337         API: gst_query_set_buffering_percent
3338         API: gst_query_parse_buffering_percent
3339         API: gst_query_set_buffering_stats
3340         API: gst_query_parse_buffering_stats
3341
3342 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3343
3344         * gst/gstmessage.c: (gst_message_new_error),
3345         (gst_message_new_warning), (gst_message_new_info),
3346         (gst_message_new_buffering), (gst_message_new_state_changed),
3347         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3348         (gst_message_new_new_clock), (gst_message_new_segment_start),
3349         (gst_message_new_segment_done), (gst_message_new_duration),
3350         (gst_message_new_async_start), (gst_message_parse_buffering),
3351         (gst_message_parse_state_changed),
3352         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3353         (gst_message_parse_new_clock), (gst_message_parse_error),
3354         (gst_message_parse_warning), (gst_message_parse_info),
3355         (gst_message_parse_segment_start),
3356         (gst_message_parse_segment_done), (gst_message_parse_duration),
3357         (gst_message_parse_async_start):
3358         Use GstQuark for messages.
3359
3360 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3361
3362         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3363         * gst/gstquark.h:
3364         Add some more quarks needed for messages and queries.
3365
3366 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3367
3368         * docs/design/part-buffering.txt:
3369         Remove the "none" buffering mode, STREAM is a good default.
3370         Move estimated-time to the avail query, that's when it will be needed.
3371         Other small typo fixes and updates.
3372
3373 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3374
3375         * gst/gstindex.c: (gst_index_resolver_get_type):
3376           Don't put descriptions into the nick field of a GEnumValue: it's not
3377           meant for that and some language bindings rely on the nick field to
3378           construct constants and the like. Fixes #526705.
3379
3380 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3381
3382         * NEWS:
3383         * RELEASE:
3384         * gstreamer.doap:
3385           Merge other changes from 0.10.19 release branch.
3386
3387 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3388
3389         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3390
3391         * configure.ac:
3392         Actually build dlls when cross-compiling with mingw32.
3393         Fixes bug #526247.
3394
3395 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3396
3397         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3398
3399         * gst/gstpoll.c:
3400         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3401
3402 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3403
3404         * docs/design/draft-latency.txt:
3405         Fix typo.
3406
3407         * docs/design/part-buffering.txt:
3408         Update design docs with more buffering ideas.
3409
3410 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3411
3412         * configure.ac:
3413           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3414
3415 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3416
3417         * configure.ac:
3418           Revert part that belongs to the preset patch.
3419
3420 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3421
3422         * configure.ac:
3423           Add qoutes to the define. Fixes # 525961.
3424
3425 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3426
3427         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3428         (gst_file_index_load), (gst_file_index_add_id),
3429         (gst_file_index_get_assoc_entry):
3430         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3431         (gst_mem_index_free_id), (gst_mem_index_add_id),
3432         (gst_mem_index_index_format):
3433         Use GSlice when possible.
3434
3435 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3436
3437         * libs/gst/controller/gstinterpolationcontrolsource.c:
3438         (gst_control_point_free),
3439         (gst_interpolation_control_source_set_internal):
3440         Use GSlice for allocating the control points.
3441
3442 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3443
3444         * plugins/elements/gsttypefindelement.c:
3445         (gst_type_find_element_class_init),
3446         (gst_type_find_element_set_property),
3447         (gst_type_find_element_get_property),
3448         (gst_type_find_element_activate):
3449         * plugins/elements/gsttypefindelement.h:
3450         Cleanup properties.
3451         Fix pad leak when peer query fails.
3452         We can still typefind when the peer returns -1.
3453         Add property to force caps and bypass typefinding. This will be used in
3454         uridecodebin.
3455         API::force-caps
3456
3457 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3458
3459         * configure.ac:
3460         Require GLib 2.12.
3461
3462         * gst/glib-compat-private.h:
3463         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3464         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3465         Unconditionally use GSlice for allocation.
3466
3467         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3468         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3469         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3470         (gst_structure_free):
3471         Use GSlice for allocation.
3472
3473 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3474
3475         * gst/parse/Makefile.am:
3476         * gst/parse/grammar.tab.pre.c:
3477         * gst/parse/grammar.tab.pre.h:
3478         * gst/parse/lex._gst_parse_yy.pre.c:
3479         Require a new enough flex and bison and remove the parser hacks to use
3480         a pre-regenerated version.
3481
3482 2008-04-01  Julien Moutte  <julien@fluendo.com>
3483
3484         patch by: Jason Zhao <E3423C@motorola.com>
3485
3486         * configure.ac: Add a configure switch to disable option parsing
3487         in gst_init.
3488         Fixes #522882.
3489
3490 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3491
3492         * configure.ac:
3493         * gst/gstregistry.c:
3494           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3495           and handle this case.
3496
3497         * gst/gst.c:
3498           Add a comment here describing, why we stat each plugin and not try to
3499           be smart.
3500
3501 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3502
3503         * libs/gst/base/gstbasetransform.c:
3504         (gst_base_transform_prepare_output_buffer):
3505         Also unset the GAP flag on buffers if we're working inplace but
3506         the element is not GAP-aware.
3507
3508         Mark a comment as FIXME 0.11.
3509
3510 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3511
3512         * gst/gst.c:
3513           Fix type in log message and add one to ease seeing how long registry
3514           cache verification takes.
3515
3516         * gst/gstregistry.c:
3517           Only test plugin filenames against G_MODULE_SUFFIX.
3518
3519 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3520
3521         * gst/gstdebugutils.c:
3522           Improve handling ghost/proxy pads.
3523
3524 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3525
3526         * docs/gst/gstreamer-sections.txt:
3527         * gst/gstpad.c:
3528         * gst/gstpad.h:
3529           Expose macro to docs and fix link to it.
3530
3531 2008-03-27  Michael Smith <msmith@fluendo.com>
3532
3533         * libs/gst/dataprotocol/dataprotocol.c:
3534         (gst_dp_packet_from_event_1_0):
3535           When calculating GDP body CRC, use the correct pointer. 
3536           Fixes part of #522401.
3537
3538 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3539
3540         Patch by: Mark Nauwelaerts <manauw at skynet be>
3541
3542         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3543         (gst_identity_init), (gst_identity_prepare_output_buffer):
3544         Identity is not always a passthrough element, it can modify the buffer
3545         timestamps when it has a datarate and operates in single-segment mode.
3546         We therefore make it an in_place filter with a custom buffer prepare
3547         function that conditionally makes the input buffer metadata writable
3548         when needed.  Fixes #523985.
3549
3550 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3551
3552         Patch by: Mark Nauwelaerts <manauw at skynet be>
3553
3554         * gst/gstclock.h:
3555         * libs/gst/base/gstbasesrc.h:
3556         * libs/gst/base/gstbasetransform.c:
3557         * libs/gst/check/gstcheck.c:
3558         Small documentation fixes. Fixes #523978.
3559
3560 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3561
3562         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3563         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3564         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3565
3566 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3567
3568         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3569         (single_queue_underrun_cb):
3570         When trying to make room in the queue, bump the max allowed buffers
3571         bigger than the current amount of buffers in the queue. this fixes some
3572         nasty deadlocks in multiqueue when dynamically changing the limits of
3573         the queue.
3574
3575 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3576
3577         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3578
3579         * gst/gstcaps.c: (gst_caps_set_simple),
3580         (gst_caps_set_simple_valist), (gst_caps_intersect):
3581         * gst/gstcaps.h:
3582         Constify the field gchar * params in set_simple and friends.
3583         Fixes #522326.
3584
3585 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3586
3587         * gst/gstvalue.c: (gst_value_transform_object_string):
3588         Transform a GstObject to a more meaningfull string that includes the
3589         object type in addition to its name.
3590
3591 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3592
3593         * ChangeLog:
3594           ChangeLog surgery to add bugnumber to commit.
3595
3596 2008-03-23  Rene Stadler  <mail@renestadler.de>
3597
3598         * libs/gst/base/gstbasetransform.c:
3599         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3600
3601 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3602
3603         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3604         Rename constant everywhere and don't forget one occurence.
3605
3606 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3607
3608         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3609         Align memory to the pointer size even if the architecture allows
3610         unaligned memory access. Unaligned memory access usually comes with
3611         performance penality.
3612
3613 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3614
3615         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3616         (gst_registry_binary_check_magic),
3617         (gst_registry_binary_load_pad_template),
3618         (gst_registry_binary_load_feature),
3619         (gst_registry_binary_load_plugin):
3620         Align memory to the pointer size instead of always 32 bit. Fixes
3621         unaligned memory accesses on ia64 and friends.
3622
3623         * gst/gstregistrybinary.h:
3624         Bump binary registry format version for this as it changes the
3625         format on those architectures that don't have unaligned access
3626         and 64 bit pointers.
3627
3628 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3629
3630         * docs/pwg/advanced-dparams.xml:
3631         * docs/pwg/building-props.xml:
3632         * docs/pwg/other-source.xml:
3633         * gst/glib-compat.h:
3634         * gst/gstbin.c: (gst_bin_class_init):
3635         * gst/gstclock.c: (gst_clock_class_init):
3636         * gst/gstindex.c: (gst_index_class_init):
3637         * gst/gstobject.c: (gst_object_class_init):
3638         * gst/gstpad.c: (gst_pad_class_init):
3639         * gst/gstpipeline.c: (gst_pipeline_class_init):
3640         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3641         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3642         * libs/gst/base/gstbasetransform.c:
3643         (gst_base_transform_class_init):
3644         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3645         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3646         (_gst_check_fault_handler_sighandler),
3647         (_gst_check_fault_handler_setup), (gst_check_init):
3648         * libs/gst/controller/gstcontroller.c:
3649         (_gst_controller_class_init):
3650         * libs/gst/controller/gstlfocontrolsource.c:
3651         (gst_lfo_control_source_class_init):
3652         * libs/gst/net/gstnetclientclock.c:
3653         (gst_net_client_clock_class_init):
3654         * libs/gst/net/gstnettimeprovider.c:
3655         (gst_net_time_provider_class_init):
3656         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3657         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3658         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3659         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3660         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3661         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3662         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3663         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3664         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3665         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3666         * plugins/elements/gsttee.c: (gst_tee_class_init):
3667         * plugins/elements/gsttypefindelement.c:
3668         (gst_type_find_element_class_init):
3669         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3670         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3671         use it everywhere for GParamSpecs that use static strings (i.e. all).
3672         This gives us less memory usage, fewer allocations and thus less
3673         memory defragmentation. Fixes bug #523806.
3674
3675 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3676
3677         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3678         (gst_param_spec_mini_object):
3679         * gst/gstminiobject.h:
3680         * win32/common/libgstreamer.def:
3681         * docs/gst/gstreamer-sections.txt:
3682         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3683         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3684         GstParamSpecMiniObject into a public header for this.
3685
3686         This make GstMiniObject a bit more consistent with GObject and makes
3687         it possible to extend the param specs.
3688
3689         gst_value_dup_mini_object is mainly useful for set_property methods.
3690
3691         Fixes bug #523798.
3692
3693         * tools/gst-inspect.c: (print_element_properties_info):
3694         Print something useful for GstMiniObject properties and not just
3695         "unknown type".
3696
3697 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3698
3699         * docs/gst/gstreamer-sections.txt:
3700         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3701         (gst_registry_binary_check_magic):
3702         * gst/gstregistrybinary.h:
3703         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3704         and add it to the (private part) of the docs to fix the build.
3705
3706 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3707
3708         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3709         (gst_registry_binary_check_magic),
3710         (gst_registry_binary_read_cache):
3711         * gst/gstregistrybinary.h:
3712         Don't use GST_MAJORMINOR for the binary registry version. Instead
3713         hardcode a value that must be changed whenever the format changes
3714         in an incompatible way.
3715         Also don't GST_ERROR when there is a version mismatch, just
3716         regenerate the registry silently.
3717
3718 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
3719
3720         * configure.ac:
3721         Back to development - 0.10.18.1
3722
3723 === release 0.10.18 ===
3724
3725 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
3726
3727         * configure.ac:
3728           releasing 0.10.18, "So far away"
3729
3730 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
3731
3732         * configure.ac:
3733         * win32/common/config.h:
3734         0.10.17.4 pre-release
3735
3736 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
3737
3738         Patch by: Ole André Vadla Ravnås
3739             <ole dot andre dot ravnas at tandberg dot com>
3740
3741         * docs/gst/gstreamer-sections.txt:
3742         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3743         (gst_poll_update_winsock_event_mask),
3744         (gst_poll_prepare_winsock_active_sets),
3745         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3746         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3747         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3748         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3749         (gst_poll_check_ctrl_commands), (gst_poll_wait):
3750         * gst/gstpoll.h:
3751         * win32/common/libgstreamer.def:
3752         Add new function gst_poll_fd_ignored() for improved Windows
3753         compatibility.
3754         Various minor fixes and cleanups. See #520808.
3755
3756 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
3757
3758         * gst/gstindex.c: (gst_index_entry_free):
3759         * gst/gstindex.h:
3760           Don't free key strings which we don't own. Fixes crash in
3761           gst_index_entry_free() (#522741).
3762
3763         * tests/check/Makefile.am:
3764         * tests/check/gst/.cvsignore:
3765         * tests/check/gst/gstindex.c: (test_index_entries),
3766           (gst_index_suite), (gst_index):
3767           Add unit test for the above.
3768
3769 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
3770
3771         * win32/common/libgstreamer.def:
3772         Remove symbols that were removed recently. Fixes bug #521740.
3773
3774 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
3775
3776         * configure.ac:
3777         * win32/common/config.h:
3778         0.10.17.3 pre-release
3779
3780 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3781
3782         Patch by: Ole André Vadla Ravnås
3783             <ole dot andre dot ravnas at tandberg dot com>
3784
3785         * docs/gst/gstreamer-sections.txt:
3786         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3787         (gst_poll_update_winsock_event_mask), (gst_poll_new),
3788         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3789         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3790         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3791         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3792         (gst_poll_fd_can_write), (gst_poll_wait),
3793         (gst_poll_set_controllable), (gst_poll_restart),
3794         (gst_poll_set_flushing):
3795         * gst/gstpoll.h:
3796         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3797         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3798         (gst_net_time_provider_new):
3799         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3800         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3801         * tests/benchmarks/gstpollstress.c: (main):
3802         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3803         Remove GstPollMode from the API, it does not make sense to let the
3804         application control this.
3805         Add support for Win32.
3806         Fix the testsuite. Fixes #520671.
3807
3808 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
3809
3810         Patch by: Ole André Vadla Ravnås
3811             <ole dot andre dot ravnas at tandberg dot com>
3812
3813         * gst/gstregistrybinary.c:
3814         Include io.h for write() and close() when building with MSVC. Fixes
3815         bug #520877.
3816
3817 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
3818
3819         * configure.ac:
3820         * gst/gst_private.h:
3821         * gst/gstconfig.h.in:
3822         * gst/gstregistry.h:
3823         * gst/gstregistrybinary.c:
3824         * win32/common/gstconfig.h:
3825           Move registry backend API to private headers where we can. Add
3826           fixme-0.11 comments for the others. Add stubs for the xml backend when
3827           using the binary to ensure they functions exists (they should not be
3828           used though). Fixes #520756.
3829
3830 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
3831
3832         * configure.ac:
3833         * win32/common/config.h:
3834         0.10.17.2 prelease
3835
3836 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
3837
3838         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3839         (gst_registry_binary_read_cache):
3840         * gst/gstregistryxml.c: (gst_registry_save):
3841         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3842         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3843         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3844         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3845         Switch to using portabl gsize/gssize instead of size_t/ssize_t
3846         Fixes #520152
3847
3848 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
3849
3850         * gst/gstminiobject.c:
3851         Import gst_private.h before any other header that might include other
3852         glib headers. This fixes the build on windows using native compilers.
3853
3854 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3855
3856         * win32/common/gstconfig.h:
3857           Add here too, just for completeness.
3858
3859 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3860
3861         * configure.ac:
3862         * gst/gstconfig.h.in:
3863         * gst/gstregistry.h:
3864           Fix broken use of config.h-defined preprocessor directive in a public
3865           header file. Add a corresponding define to gstconfig.h, since we can't
3866           really remove those function declarations from the header file now
3867           (or can we? and why are they there in the first place?).
3868
3869 2008-03-03  Andy Wingo  <wingo@pobox.com>
3870
3871         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3872         the new warning.
3873
3874         * gst/gststructure.c (gst_structure_from_string): Warn if
3875         structure_from_string didn't consume the whole string, but the
3876         caller did not provide an end pointer.
3877
3878 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
3879
3880         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3881
3882         * gst/gstregistryxml.c: (read_string), (load_feature):
3883           Strings allocated by libxml2 should be freed with xmlFree(), not
3884           with g_free(). Fixes issues on windows in certain contexts (#519698).
3885
3886 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
3887
3888         * gst/gstinterface.c: (gst_element_implements_interface):
3889           Don't crash if the element supports the interface queried, but does
3890           not implement GstImplementsInterface. Fixes #519584.
3891
3892         * tests/check/Makefile.am:
3893         * tests/check/gst/.cvsignore:
3894         * tests/check/gst/gstinterface.c:
3895           Add unit test for the above.
3896
3897 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3898
3899         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3900         Small doc update.
3901
3902 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3903
3904         * gst/gstsegment.c: (gst_segment_set_seek),
3905         (gst_segment_to_stream_time):
3906         Improve some comment.
3907         Update variables where it makes more sense.
3908
3909 2008-02-29  Rene Stadler  <mail@renestadler.de>
3910
3911         * gst/gsturi.c: (gst_uri_handler_get_protocols):
3912         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
3913         URIHandlers implemented using language bindings.
3914
3915 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
3916
3917         * gst/gstelementfactory.h:
3918         * tests/check/elements/fakesink.c:
3919         * tests/check/elements/fakesrc.c: (setup_fakesrc):
3920         * tests/check/elements/fdsrc.c: (setup_fdsrc):
3921         * tests/check/elements/filesink.c: (setup_filesink):
3922         * tests/check/elements/filesrc.c: (setup_filesrc):
3923         * tests/check/elements/identity.c: (setup_identity):
3924         * tests/check/elements/tee.c:
3925         * tests/check/generic/sinks.c:
3926         * tests/check/generic/states.c: (setup), (teardown):
3927         * tests/check/gst/gst.c:
3928         * tests/check/gst/gstabi.c:
3929         * tests/check/gst/gstbin.c:
3930         * tests/check/gst/gstbus.c: (pull_messages):
3931         * tests/check/gst/gstcaps.c:
3932         * tests/check/gst/gstelement.c:
3933         * tests/check/gst/gstevent.c:
3934         * tests/check/gst/gstghostpad.c:
3935         * tests/check/gst/gstiterator.c:
3936         * tests/check/gst/gstmessage.c:
3937         * tests/check/gst/gstminiobject.c: (my_foo_init):
3938         * tests/check/gst/gstobject.c: (thread_name_object),
3939         (gst_object_suite):
3940         * tests/check/gst/gstpad.c:
3941         * tests/check/gst/gstplugin.c:
3942         * tests/check/gst/gstpoll.c:
3943         * tests/check/gst/gstquery.c:
3944         * tests/check/gst/gstsegment.c:
3945         * tests/check/gst/gststructure.c:
3946         * tests/check/gst/gstsystemclock.c:
3947         * tests/check/gst/gsttask.c:
3948         * tests/check/gst/gstutils.c:
3949         * tests/check/gst/gstvalue.c:
3950         * tests/check/gst/struct_hppa.h:
3951         * tests/check/gst/struct_i386.h:
3952         * tests/check/gst/struct_ppc32.h:
3953         * tests/check/gst/struct_ppc64.h:
3954         * tests/check/gst/struct_x86_64.h:
3955         * tests/check/libs/adapter.c: (create_and_fill_adapter):
3956         * tests/check/libs/basesrc.c:
3957         * tests/check/libs/controller.c: (GST_START_TEST):
3958         * tests/check/libs/gdp.c:
3959         * tests/check/libs/gstnetclientclock.c:
3960         * tests/check/libs/gstnettimeprovider.c:
3961         * tests/check/libs/libsabi.c:
3962         * tests/check/libs/struct_hppa.h:
3963         * tests/check/libs/struct_i386.h:
3964         * tests/check/libs/struct_ppc32.h:
3965         * tests/check/libs/struct_ppc64.h:
3966         * tests/check/libs/struct_x86_64.h:
3967         * tests/check/pipelines/cleanup.c:
3968         * tests/check/pipelines/simple-launch-lines.c:
3969         * tests/check/pipelines/stress.c:
3970         And correct even more valid sparse warnings.
3971
3972         * win32/common/libgstreamer.def:
3973         Add gst_poll_fd_init to the list of symbols.
3974
3975 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
3976
3977         * gst/gstconfig.h.in:
3978         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
3979         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
3980         (gst_check_log_critical_func), (gst_check_drop_buffers),
3981         (gst_check_element_push_buffer_list):
3982         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
3983         (gst_controller_get_type):
3984         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
3985         (gst_object_get_controller), (gst_object_get_control_source):
3986         * libs/gst/controller/gstinterpolationcontrolsource.c:
3987         (gst_interpolation_control_source_new):
3988         * libs/gst/controller/gstlfocontrolsource.c:
3989         (gst_lfo_control_source_new):
3990         * libs/gst/dataprotocol/dataprotocol.c:
3991         (gst_dp_event_from_packet_0_2):
3992         * plugins/elements/gstfdsrc.c:
3993         * plugins/elements/gstmultiqueue.c:
3994         * plugins/elements/gsttee.c:
3995         * plugins/elements/gsttypefindelement.c:
3996         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
3997         (gst_file_index_add_association):
3998         * plugins/indexers/gstmemindex.c:
3999         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4000         * tests/check/elements/queue.c: (setup_queue):
4001         * tests/check/gst/gstpipeline.c:
4002         * tests/check/libs/collectpads.c: (setup), (teardown),
4003         (gst_collect_pads_suite):
4004         * tests/examples/adapter/adapter_test.c:
4005         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4006         * tests/examples/xml/createxml.c:
4007         * tests/examples/xml/runxml.c:
4008         * tools/gst-inspect.c:
4009         * tools/gst-run.c:
4010         Correct all relevant warnings found by the sparse semantic code
4011         analyzer. This include marking several symbols static, using
4012         NULL instead of 0 for pointers, not using variable sized arrays
4013         on the stack, moving variable declarations to the beginning of
4014         a block and using "foo (void)" instead of "foo ()" for declarations.
4015
4016 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4017
4018         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4019         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4020         Don't reset GstPollFDs, this is not necessary at all.
4021
4022         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4023         (delayed_restart), (delayed_control):
4024         Use GST_POLL_FD_INIT.
4025
4026 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4027
4028         * gst/gstpoll.c: (gst_poll_fd_init):
4029         * gst/gstpoll.h:
4030         Added Since tags.
4031
4032         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4033         Use some more init macros.
4034
4035 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4036
4037         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4038         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4039         Use init macros and functions.
4040
4041 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4042
4043         * docs/gst/gstreamer-sections.txt:
4044         * gst/gstpoll.c: (gst_poll_fd_init):
4045         * gst/gstpoll.h:
4046         Add INIT macro and _init method for initializing the GstPollFD.
4047
4048 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4049
4050         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4051         (gst_fd_sink_update_fd):
4052         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4053         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4054         (delayed_restart), (delayed_control):
4055         Initialize some uninitialized variables as spotted by valgrind.
4056
4057 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4058
4059         * tests/benchmarks/Makefile.am:
4060         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4061         (main):
4062         Add poll stress test.
4063
4064 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4065
4066         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4067
4068         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4069         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4070         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4071         * plugins/elements/gstfdsink.h:
4072         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4073         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4074         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4075         (gst_fd_src_uri_set_uri):
4076         * plugins/elements/gstfdsrc.h:
4077         Port to GstPoll. See #505417.
4078
4079 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4080
4081         * win32/common/libgstreamer.def:
4082         Add new gst_poll_ symbols to win32 defs.
4083
4084 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4085
4086         * docs/libs/gstreamer-libs-sections.txt:
4087         * libs/gst/net/gstnetclientclock.c:
4088         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4089         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4090         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4091         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4092         * libs/gst/net/gstnetclientclock.h:
4093         * libs/gst/net/gstnettimeprovider.c:
4094         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4095         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4096         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4097         (gst_net_time_provider_new):
4098         * libs/gst/net/gstnettimeprovider.h:
4099         Use a private stuct to not break ABI.
4100
4101 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4102
4103         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4104
4105         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4106         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4107         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4108         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4109         * libs/gst/net/gstnetclientclock.h:
4110         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4111         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4112         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4113         (gst_net_time_provider_new):
4114         * libs/gst/net/gstnettimeprovider.h:
4115         Massive code removal and cleanups because of GstPoll.
4116         Fixes #505417.
4117
4118 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4119
4120         * configure.ac:
4121         Add checks for poll, ppoll and pselect.
4122
4123         * docs/gst/gstreamer-docs.sgml:
4124         * docs/gst/gstreamer-sections.txt:
4125         Add docs for GstPoll.
4126
4127         * gst/Makefile.am:
4128         * gst/gst.h:
4129         * gst/gstpoll.c: (find_index), (selectable_fds),
4130         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4131         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4132         (gst_poll_set_mode), (gst_poll_get_mode),
4133         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4134         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4135         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4136         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4137         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4138         (gst_poll_fd_can_write), (gst_poll_wait),
4139         (gst_poll_set_controllable), (gst_poll_restart),
4140         (gst_poll_set_flushing):
4141         * gst/gstpoll.h:
4142         Add generic poll abstraction. We ideally don't want to have this in core
4143         here but in glib intead...
4144         This code will be used in various network elements and ultimately for
4145         the nanosecond precision monotonic clock (that's why it's here in core).
4146         It'll allow us to implement cancelable socket operations for windows too.
4147
4148         * tests/check/Makefile.am:
4149         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4150         (delayed_stop), (delayed_restart), (delayed_flush),
4151         (delayed_control), (gst_poll_suite):
4152         Add GstPoll unit test.
4153
4154 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4155
4156         * gst/gstfilter.c:
4157           Improve documentation of gst_filter_run(). Fixes #518627.
4158
4159 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4160
4161         * docs/README:
4162           Add a few lines about the new 'check-inspected-versions' target.
4163
4164 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4165
4166         * tests/check/gst/gstevent.c:
4167           Add qos to the event test. Rename tcase/tsuite; is not only about
4168           custom events.
4169
4170 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4171
4172         * plugins/elements/gstqueue.c:
4173           Ensure that buffer metadata is writeable, before modifying. Spotted by
4174           Mike.
4175
4176 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4177
4178         * plugins/elements/gstqueue.c:
4179         * plugins/elements/gstqueue.h:
4180           When dropping buffers in leaky modes, mark next buffers we sent as
4181           DISCONT.
4182
4183 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4184
4185         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4186           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4187
4188 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4189
4190         * plugins/elements/Makefile.am:
4191         * plugins/elements/gstbufferstore.c:
4192         * plugins/elements/gstbufferstore.h:
4193         * plugins/elements/gsttypefindelement.h:
4194           Remove GstBufferStore, no idea why we were still building it.
4195           It's not used anywhere and superseded by GstAdapter.
4196
4197         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4198           (gst_file_src_create_mmap):
4199         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4200           Printf format fixes for 64-bit integers.
4201
4202 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4203
4204         * configure.ac:
4205         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4206         We're not in 0.8 times anymore.
4207
4208 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4209
4210         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4211         (gst_check_element_push_buffer_list):
4212         * libs/gst/check/gstcheck.h:
4213         Make the declaration in the header for
4214         gst_check_element_push_buffer_list match the implementation.
4215
4216         Fix up spelling, grammar and wording of the documentation in a few
4217         places, and add the Since keyword to new API functions.
4218         Use g_list_delete_link instead of g_list_remove in
4219         gst_check_drop_buffers, since it's immeasurably more efficient.
4220
4221         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4222         Use new gst_check_drop_buffers function where appropriate.
4223
4224         * win32/common/libgstbase.def:
4225         * win32/common/libgstreamer.def:
4226         Add new symbols gst_collect_pads_take_buffer, 
4227         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4228         exports
4229
4230         Changelog surgery to add API keyword to new gst_check API.
4231
4232 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4233
4234         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4235         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4236         Update pre-generated flex files with flex 2.3.34.
4237
4238 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4239
4240         * gst/gstminiobject.c:
4241           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4242           friendly to subclasses and not require them to know all internals
4243           of their parent class.
4244
4245 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4246
4247         * docs/libs/gstreamer-libs-sections.txt:
4248         * libs/gst/base/gstcollectpads.c:
4249         * libs/gst/base/gstcollectpads.h:
4250           Add sub-buffer functions to collectpads. Fixes #516187.
4251           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4252
4253 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4254
4255         * gst/gstbuffer.c:
4256           Copy selected buffer-flags when creating subbuffers.
4257           Fixes #516395.
4258
4259 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4260
4261         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4262         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4263         * gst/gstmessage.c: (gst_message_class_init),
4264         (gst_message_finalize):
4265         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4266         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4267         (gst_mmap_buffer_finalize):
4268         Properly chain up finalize functions to the parent class.
4269
4270 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4271
4272         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4273
4274         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4275         (gst_index_set_resolver_full):
4276         * gst/gstindex.h:
4277         Add new function with option to dispose of user_data in resolver.
4278         Actually call the dispose function when finalizing the object and not
4279         just when changing the resolver/filter.
4280         API: GstIndex::gst_index_set_resolver_full()
4281
4282         * docs/gst/gstreamer-sections.txt:
4283         Add new function to docs. Fixes #515469.
4284
4285 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4286
4287         * gst/gstindex.c: (gst_index_finalize):
4288         Chain up finalize to the parent class. Fixes leaking the GstObject
4289         name and other things.
4290
4291 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4292
4293         * configure.ac:
4294         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4295         pre-releases or releases.
4296
4297         * docs/faq/gst-uninstalled:
4298         Add gst-plugins-gl
4299
4300         * docs/random/release:
4301         Change one of the steps - we only upload core & base to Gnome FTP
4302
4303 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4304
4305         * gst/gstconfig.h.in:
4306           Add 'id' for example.
4307
4308         * gst/gstpad.c:
4309         * gst/gstutils.c:
4310         * plugins/elements/gstfdsink.c:
4311           Link to signals. Doc and comment fixes.
4312
4313 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4314
4315         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4316         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4317           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4318           unused and unimplemented; finally, it is plugin features, not
4319           plugins, that have ranks.
4320           
4321 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4322
4323         * gst/gstpluginfeature.h:
4324           Clarify GstRank range docs.
4325
4326 2008-02-05  David Schleef  <ds@schleef.org>
4327
4328         * gst/gst.c: Add a separate gst_deinitialized that prevents
4329           gst_init() from being called after gst_deinit().  Fixes #509559
4330
4331 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4332
4333         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4334         (gst_bin_class_init):
4335         * gst/gstelement.c: (gst_element_base_class_init),
4336         (gst_element_class_add_pad_template):
4337         * gst/gstpadtemplate.c: (gst_pad_template_init):
4338         * gst/gstpipeline.c: (gst_pipeline_get_type),
4339         (gst_pipeline_base_init), (gst_pipeline_class_init):
4340         * libs/gst/base/gstbasesink.c:
4341         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4342         (gst_base_src_base_init), (gst_base_src_class_init):
4343         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4344         (gst_capsfilter_class_init):
4345         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4346         (gst_fake_sink_class_init):
4347         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4348         (gst_fake_src_class_init):
4349         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4350         (gst_fd_sink_class_init):
4351         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4352         (gst_fd_src_class_init):
4353         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4354         (gst_file_sink_class_init):
4355         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4356         (gst_file_src_class_init):
4357         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4358         (gst_identity_class_init):
4359         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4360         (gst_multi_queue_class_init):
4361         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4362         (gst_queue_class_init):
4363         * plugins/elements/gsttee.c: (gst_tee_base_init),
4364         (gst_tee_class_init):
4365         * plugins/elements/gsttypefindelement.c:
4366         (gst_type_find_element_base_init),
4367         (gst_type_find_element_class_init):
4368         * tests/check/gst/gstelement.c: (gst_element_suite):
4369         Revert previous changes to the behaviour of GstPadTemplates, etc
4370         and the possiblity to call them in class_init as it breaks too
4371         many elements. Reopens bug #491501.
4372
4373         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4374         several places.
4375
4376 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4377
4378         * tools/gst-launch.c:
4379         Dump one graph per pipeline state-change and state change name
4380         (if GST_DEBUG_DUMP_DOT_DIR is set).
4381
4382 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4383
4384         * gst/gstpad.c:
4385         * tests/check/gst/gstpad.c:
4386         Be sure that we have a new copy of the caps and not
4387         reffed caps from a template
4388
4389 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4390
4391         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4392         * gst/gstpipeline.c: (gst_pipeline_get_type),
4393         (gst_pipeline_class_init):
4394         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4395         (gst_base_sink_class_init):
4396         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4397         (gst_base_src_class_init):
4398         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4399         (gst_base_transform_class_init):
4400         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4401         (gst_collect_pads_class_init):
4402         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4403         * libs/gst/net/gstnettimeprovider.c:
4404         (gst_net_time_provider_base_init),
4405         (gst_net_time_provider_class_init):
4406         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4407         (gst_capsfilter_class_init):
4408         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4409         (gst_fake_sink_class_init):
4410         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4411         (gst_fake_src_class_init):
4412         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4413         (gst_fd_sink_class_init):
4414         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4415         (gst_fd_src_class_init):
4416         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4417         (gst_file_sink_class_init):
4418         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4419         (gst_file_src_class_init):
4420         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4421         (gst_identity_class_init):
4422         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4423         (gst_multi_queue_class_init):
4424         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4425         (gst_queue_class_init):
4426         * plugins/elements/gsttee.c: (gst_tee_base_init),
4427         (gst_tee_class_init):
4428         * plugins/elements/gsttypefindelement.c:
4429         (gst_type_find_element_base_init),
4430         (gst_type_find_element_class_init):
4431         Don't use base_init where not absolutely necessary. For example it's
4432         not necessary anymore for adding pad templates or setting element
4433         details.
4434
4435         Leave empty base_init functions in several places as GST_BOILERPLATE
4436         still defines and uses them.
4437
4438 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4439
4440         * gst/gstelement.c: (gst_element_base_class_init),
4441         (gst_element_class_add_pad_template):
4442         * gst/gstpadtemplate.c:
4443         Make it possible (and recommended) to set element details and add
4444         pad templates in the class_init functions by copying the details/pad
4445         templates in GstElement's base_init.
4446
4447         Also make it possible to replace existing pad templates by adding
4448         a new one with the same name. This was done in a hackish fashion
4449         in same elements before already.
4450
4451         Don't reference pad templates that are added a second time. A
4452         new pad template has a refcount of one and is not floating anymore
4453         and to be owned by the element's class. Make this more explicit by
4454         mentioning it in the docs of gst_element_class_add_pad_template().
4455
4456         These changes are backwards compatible. Fixes bug #491501.
4457
4458         * tests/check/gst/gstelement.c:
4459         Add unit test for setting element details, adding pad templates and
4460         replacing them in a subclass.
4461
4462 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4463
4464         * tools/gst-inspect.c: (print_interfaces),
4465         (print_element_properties_info), (print_pad_info),
4466         (print_signal_info), (print_element_info):
4467         Fix a few memory leaks.
4468
4469 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4470
4471         * docs/libs/gstreamer-libs-sections.txt:
4472         * libs/gst/check/gstcheck.c:
4473         * libs/gst/check/gstcheck.h:
4474         Add more functions for unit testing: gst_check_drop_buffers,
4475         gst_check_caps_equal, gst_check_element_push_buffer_list,
4476         gst_check_element_push_buffer
4477         API: gst_check_drop_buffers
4478         API: gst_check_caps_equal
4479         API: gst_check_element_push_buffer_list
4480         API: gst_check_element_push_buffer
4481
4482 2008-02-01  Julien Moutte  <julien@fluendo.com>
4483
4484         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4485         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4486         (gst_index_finalize), (gst_index_entry_free),
4487         (gst_index_add_association): Fix memory leaks.
4488         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4489         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4490         (gst_mem_index_free_format), (gst_mem_index_free_id),
4491         (gst_mem_index_finalize): Fix memory leaks.
4492         * win32/common/config.h: Updated to CVS HEAD.
4493
4494 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4495
4496         * docs/README:
4497           Some more details about how the plugin docs works.
4498
4499         * docs/plugins/gstreamer-plugins-sections.txt:
4500           Whitespace cleanup.
4501
4502 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4503
4504         * gst/parse/grammar.tab.pre.c:
4505         * gst/parse/grammar.tab.pre.h:
4506         * gst/parse/grammar.y:
4507         * gst/parse/lex._gst_parse_yy.pre.c:
4508           Add delayed set-property. This allows to set properties on dynamicaly
4509           created objects (pads in videomxer). Fixes #509391.
4510
4511 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4512
4513         * gst/gstutils.c:
4514         Check if caps are not NULL (fix bug #510194)
4515
4516 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4517
4518         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4519         (gst_base_sink_get_position_paused):
4520         Add fixme regarding EOS in pull mode.
4521         Fix position reporting in PAUSED for negative rates.
4522
4523 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4524
4525         * gst/gstminiobject.c: (gst_mini_object_replace):
4526         When replacing a miniobject, do a quick equality check first so that we
4527         can avoid a ref/unref pair.
4528
4529 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4530
4531         * docs/design/part-synchronisation.txt:
4532         Update some docs.
4533
4534         * docs/plugins/Makefile.am:
4535         * docs/plugins/gstreamer-plugins-docs.sgml:
4536         * docs/plugins/gstreamer-plugins-sections.txt:
4537         * plugins/elements/gstmultiqueue.c:
4538         Add multiqueue to the docs.
4539
4540 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4541
4542         * configure.ac:
4543           Back to CVS
4544
4545 === release 0.10.17 ===
4546
4547 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4548
4549         * configure.ac:
4550           releasing 0.10.17, "Due Negligence"
4551
4552 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4553
4554         * gst/gstutils.c:
4555         Revert caps != NULL check temporarily for 0.10.17 release.
4556
4557 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4558
4559         * gst/gstutils.c:
4560         Check if caps are not NULL (fix bug #510194)
4561
4562 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4563
4564         * gst/gstutils.c:
4565         Fix compilation on systems that have posix timers but no
4566         monotonic clock.
4567         Fixes: #512715
4568         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4569         dot net>
4570
4571 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4572
4573         * tools/gst-inspect.c:
4574         Revert previous commit in preparation for an impromptu 0.10.17 release
4575
4576 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4577
4578         * tools/gst-inspect.c: (print_interfaces),
4579         (print_element_properties_info), (print_pad_info),
4580         (print_signal_info), (print_element_info):
4581         Fix a few memory leaks.
4582
4583 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4584
4585         * configure.ac:
4586         Back to CVS
4587
4588 === release 0.10.16 ===
4589
4590 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4591
4592         * configure.ac:
4593           releasing 0.10.16, "Special Dispensation"
4594
4595 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4596
4597         * configure.ac:
4598           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4599           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4600           not fail when trying to crosscompile on OpenEmbedded (#511750).
4601
4602 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4603
4604         * docs/manuals.mak:
4605         Use $(MAKE) instead of make to fix the build if GNU make is
4606         called different. Fixes bug #510747.
4607
4608 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4609
4610         * gst/gstplugin.c: (_gst_plugin_initialize):
4611           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4612           again, which I broke two commits ago when changing the API
4613           of gst_plugin_register_static(): the g_list_foreach() in
4614           _gst_plugin_register_static still assumed the old function
4615           signature and would therefore fail (re-fixes #510187).
4616
4617         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4618           (_gst_plugin_register_static), (gst_plugin_register_static):
4619           Revert the (technically correct) change to call g_thread_init() from
4620           the pre-main() constructor. This will break programs which call
4621           g_thread_init() without an if (!g_thread_supported()) guard in their
4622           main function. We could just blame it on GLib or the application, but
4623           it's probably best to just avoid this altogether and simply not use
4624           any GLib functions here and use plain old malloc() with a simple
4625           array to store the plugins to register later when gst_init() is
4626           finally called (re-fixes #510187).
4627
4628         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4629           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4630           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4631           (GST_START_TEST), (gst_plugin_suite):
4632           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4633           works.
4634
4635 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4636
4637         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4638           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4639           This makes gtk-doc complain, but results in slightly better
4640           compiler errors. The old _gst_plugin_register_static() is
4641           still guarded, so there'll be a compiler warning about that
4642           instead. Fixes #510187 too.
4643
4644 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4645
4646         * gst/gst.c: (init_post):
4647         * gst/gstplugin.c: (_gst_plugin_register_static),
4648           (gst_plugin_register_static), (_gst_plugin_initialize):
4649         * gst/gstplugin.h: (GstPluginFilter):
4650           Change API of gst_plugin_register_static() to not take
4651           a GstPluginDesc, but rather just take all the arguments
4652           in a GstPluginDesc directly. This is more intuitive and
4653           avoids certain mistakes when porting code from
4654           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4655           Fixes #510187.
4656
4657         * tests/check/gst/gstplugin.c:
4658           Fix up for changed API.
4659
4660 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4661
4662         * docs/faq/legal.xml:
4663           Update FAQ, Totem actually has an exception these days.
4664
4665 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4666
4667         * win32/common/libgstreamer.def:
4668         Add new API declarations
4669
4670 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4671
4672         * gst/gstminiobject.c:
4673           Spelling fixes for the API docs.
4674
4675 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4676
4677         * libs/gst/base/gstbasetransform.c:
4678           Fix long property description for QoS.
4679
4680 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4681
4682         * gst/gst.c:
4683         _gst_trace_on is already provided by gsttrace.h, no need to declare
4684         it ourselves.
4685
4686         * docs/libs/gstreamer-libs-sections.txt:
4687         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4688         and remove strange tcase_add_test which is outputting a warning.
4689
4690         * libs/gst/check/gstcheck.c:
4691         * libs/gst/check/gstcheck.h:
4692         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4693         and define them in gstcheck.c instead of having every .c file whcih
4694         includes gstcheck.h be defining its own copy and relying on symbol
4695         interposing to marry them all, which doesn't work on Solaris.
4696
4697         * tests/check/elements/identity.c: (GST_START_TEST):
4698         Don't define 'buffers' locally, it comes from libgstcheck.
4699
4700         * tests/check/generic/sinks.c: (send_buffer):
4701         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4702
4703         * tests/check/gst/gststructure.c: (GST_START_TEST):
4704         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4705         * tests/check/gst/gstutils.c: (GST_START_TEST):
4706         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4707         Add a bunch of casts to make various constants fit the types
4708         they're being assigned to.
4709
4710 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
4711
4712         * gst/gstchildproxy.c:
4713           Improve docs and add some ideas for making this more general-purpose.
4714
4715 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4716
4717         * gst/gst_private.h: (GST_CAT_TYPES):
4718           Add GST_CAT_TYPES, for consistency, and so that the other
4719           debug categories don't make fun of it. Spotted by Saur on IRC.
4720
4721 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4722
4723         * gst/parse/Makefile.am:
4724           Move types.h from EXTRA_DIST to noinst_HEADERS.
4725
4726 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4727
4728         * autogen.sh:
4729           Add -Wno-portability to the automake parameters to stop warnings
4730           about GNU make extensions being used. We require GNU make in almost
4731           every Makefile anyway.
4732
4733         * configure.ac:
4734           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4735           at the same time is required for per target flags.
4736
4737 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4738
4739         * gst/gstmacros.h:
4740           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4741           __GNUC__ is defined before using it.
4742
4743 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4744
4745         * docs/gst/gstreamer-sections.txt:
4746         * gst/gst.c: (init_post):
4747         * gst/gstplugin.c: (_gst_plugin_register_static),
4748           (gst_plugin_register_static), (_gst_plugin_initialize),
4749           (gst_plugin_register_func):
4750         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4751           API: add gst_plugin_register_static() and deprecate
4752           GST_PLUGIN_DEFINE_STATIC, since it's not portable
4753           (#498924).
4754           Also, in _gst_plugin_register_static(), make sure to call
4755           g_thread_init() before calling GLib functions such as
4756           g_list_append() if we're not initialised yet, since that
4757           may lead to random crashes with older GSlice/GLib versions.
4758
4759         * tests/check/gst/gstplugin.c:
4760           Adapt unit test to above changes.
4761
4762 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4763
4764         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4765         * gst/gstcaps.c: (gst_caps_to_string):
4766         * gst/gststructure.c: (GST_ASCII_IS_STRING),
4767           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4768           Yet another gratuitous GString micro-optimisation: add a (private)
4769           function that serialises a structure appending to an existing
4770           GString, so that when we serialise caps we don't need to alloc+free
4771           a throwaway GString for each structure (each of which also entailing
4772           multiple reallocs on the way); also use g_string_sized_new() in
4773           various places with an approximate string length to avoid reallocs
4774           within GString. See #500143.
4775
4776 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4777
4778         * gst/gststructure.c: (gst_structure_id_set_value):
4779           Always check UTF-8 conformance of structure strings and not only
4780           if the debugging system is enabled; reasoning: the behaviour of
4781           the actual code shouldn't really change depending on whether the
4782           debugging system is enabled or not (#508291).
4783
4784 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
4785
4786         * Makefile.am:
4787           Remove old coverage target in favour of "make lcov".
4788
4789 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4790
4791         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4792         (gst_base_src_loop):
4793         The start segment for reverse playback goes from start to last_stop.
4794
4795 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4796
4797         Patch by: Peter Kjellerstedt <pkj axis com>
4798
4799         * gst/gstclock.h:
4800         Cast the results from the timeval/spec_to_time macros to what the
4801         docs say it casts to, a GstClockTime. fixes #508175.
4802
4803 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4804
4805         * gst/gstbuffer.c:
4806         Update some comments.
4807
4808         * tools/gst-inspect.c: (print_element_properties_info):
4809         Improve printing of flags.
4810
4811 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4812
4813         * libs/gst/base/gstbasetransform.c:
4814           (gst_base_transform_transform_size):
4815           Print element name with g_warning() if there's a problem
4816           with the unit size.
4817
4818 2008-01-07  David Schleef  <ds@schleef.org>
4819
4820         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4821
4822         * libs/gst/controller/gstcontroller.h:
4823         * libs/gst/controller/gstcontrolsource.h:
4824         * libs/gst/controller/gstinterpolationcontrolsource.h:
4825         * libs/gst/controller/gstlfocontrolsource.h:
4826         * libs/gst/dataprotocol/dataprotocol.h:
4827           Fix empty prototypes.  Fixes bug #507957.
4828
4829 2008-01-07  David Schleef  <ds@schleef.org>
4830
4831         * docs/faq/dependencies.xml: Fix typo.
4832
4833 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4834
4835         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4836         (gst_base_src_loop):
4837         Don't update the last_stop position in do_seek, that's the position we
4838         did a seek to.
4839         Read backwards when we have a negative rate.
4840
4841         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4842         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4843         (filesrc_suite):
4844         Add check for reverse reading.
4845
4846 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
4847
4848         Patch by: Alexis Ballier <aballier at gentoo org>
4849
4850         * tests/check/gst/gstabi.c:
4851         * tests/check/gst/struct_ppc64.h:
4852         * tests/check/libs/libsabi.c:
4853         * tests/check/libs/struct_ppc64.h:
4854           Decide which header to include based on the userland ABI target
4855           and not the kernel/cpu. Fix up structure sizes of ppc64 header
4856           for 64-bit userland (#503590).  Might need something similar for
4857           x86 too.
4858
4859 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4860
4861         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4862           Log the reason why fopen fails in addition to the fact that it failed.
4863           
4864 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
4865
4866         * gst/parse/parse.l:
4867         Use "%option never-interactive" to prevent useless calls to isatty()
4868         on every input when parsing. Also use "%option noinput" to not define
4869         the static input/yyinput functions which we don't use anyway. This
4870         removes a compiler warning with gcc 4.3 and saves some bytes in the
4871         library.
4872         
4873         * gst/parse/lex._gst_parse_yy.pre.c:
4874         Regenerated for the above change.
4875
4876 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
4877
4878         * gst/gstpad.c: (fixate_value):
4879         Don't crash when trying to fixate and empty list.
4880         Fixes #506643.
4881
4882 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
4883
4884         * docs/faq/gst-uninstalled:
4885         Clarify the comments to make the usage of this script and what it
4886         does easier to understand.
4887
4888 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4889
4890         * tools/gst-plot-timeline.py:
4891         Add more options to gst-plot-timeline
4892
4893 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
4894
4895         * docs/design/part-synchronisation.txt:
4896         Some more info on how the stream_time in GstBaseSink is done.
4897
4898 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
4899
4900         * tests/check/generic/sinks.c: (gst_sinks_suite):
4901           Put back the tcase_set_timeout(), apparently it's needed after
4902           all; fix it up in a way that makes things work with valgrind too.
4903
4904 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4905
4906         * gst/gstdebugutils.c:
4907           Add warning when failed to open file for writing.
4908
4909 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
4910
4911         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
4912
4913         * gst/gstvalue.c: (gst_value_is_fixed):
4914           Optimisation: bail out of the loop as early as possible (#500143).
4915
4916 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
4917
4918         * gst/gstcaps.c: (gst_caps_to_string):
4919         * gst/gstinfo.c: (gst_debug_construct_term_color):
4920         * gst/gstparse.c: (gst_parse_launchv):
4921         * gst/gstutils.c: (gst_util_dump_mem):
4922         * gst/gstvalue.c: (gst_value_serialize_any_list),
4923           (gst_value_transform_any_list_string):
4924           Bunch of gratuitous nano-optimisations.
4925
4926 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
4927
4928         * tests/check/generic/sinks.c: (async_done_func),
4929           (async_done_eos_func):
4930           Fix leak in unit test (bus sync handler must unref the message
4931           if it returns GST_BUS_DROP). Don't fiddle with the default test
4932           timeout, this is smaller than the current preconfigured value
4933           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
4934           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
4935
4936 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4937
4938         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4939
4940         * configure.ac:
4941         Check for stdio_ext.h for the filesink changes.
4942
4943         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
4944         (gst_file_sink_class_init), (gst_file_sink_init),
4945         (gst_file_sink_dispose), (gst_file_sink_set_property),
4946         (gst_file_sink_get_property), (gst_file_sink_open_file),
4947         (gst_file_sink_close_file):
4948         * plugins/elements/gstfilesink.h:
4949         Add two properties to control the buffering mode and size.
4950         API: GstFileSink::buffer-mode
4951         API: GstFileSink::buffer-size
4952         Fixes #500150.
4953
4954 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4955
4956         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
4957         Add some more docs to explain why a FIXME was wrongly added. 
4958
4959 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
4960
4961         * gst/gstobject.c:
4962           Fix typo in the gst_object_{ref,unref} documentation.
4963
4964 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
4965
4966         * tests/check/libs/controller.c:
4967         * tests/check/libs/typefindhelper.c:
4968         * tests/check/pipelines/parse-launch.c:
4969           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
4970           going to be deprecated (see #498924).
4971
4972 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
4973
4974         * gst/gsttypefind.c: (gst_type_find_register):
4975           Make gst_type_find_register work for static typefind functions,
4976           ie. allow passing plugin == NULL (prerequisite for #498924).
4977
4978         * gst/gstelementfactory.c: (gst_element_register):
4979           Small docs addition.
4980
4981 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
4982
4983         * gst/gstpad.c: (gst_pad_dispose):
4984         Really unlink the peer pad instead of setting the peer pointer to NULL
4985         when we dispose the pad.
4986         This correctly calls the unlink functions and makes sure that the peer
4987         does not have a handle to invalid memory. See #504671.
4988
4989         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4990         Add testsuite for above case.
4991
4992 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
4993
4994         Patch by: Peter Kjellerstedt <pkj axis com>
4995
4996         * libs/gst/check/gstcheck.h:
4997           Fix detection of the check version we're compiling against (would
4998           otherwise break if check goes v0.10.0); correctly report the
4999           name of the failed test again in case of failure, instead of
5000           just 'tf' (fixes #504499).
5001
5002 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5003
5004         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5005         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5006         (gst_base_src_loop), (gst_base_src_set_flushing),
5007         (gst_base_src_change_state):
5008         Allow sending EOS to the source to make it send out an EOS event from
5009         the streaming thread.
5010         Update docs and deprecate the old NULL/READY shutdown method.
5011
5012         * tests/check/libs/basesrc.c: (GST_START_TEST),
5013         (gst_basesrc_suite):
5014         Add unit test for controlled shutdown.
5015
5016 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5017
5018         * docs/design/part-synchronisation.txt:
5019         Small updates.
5020
5021         * gst/gstsegment.c: (gst_segment_set_seek),
5022         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5023         (gst_segment_to_running_time):
5024         The seek format can be different from the segment format when the start
5025         and stop values are not to be updated, when we only do a rate change for
5026         example.
5027
5028         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5029         (gst_segment_suite):
5030         Add a testcase for the rate-only seeks, checking that the format is
5031         correctly ignored when start and stop are not updated.
5032
5033 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5034
5035         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5036
5037         * win32/vs8/grammar.vcproj:
5038         * win32/vs8/libgstcontroller.vcproj:
5039         * win32/vs8/libgstreamer.vcproj:
5040         Fix compilation with VS8 and include some missing files.
5041
5042 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5043
5044         * gst/gsttaglist.c:
5045           Small docs addition: mention that the strings returned by
5046           gst_tag_list_get_string*() are in UTF-8 encoding.
5047
5048 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5049
5050         * Makefile.am:
5051           The check-exports stuff moved to common/win32.mak, so include that.
5052
5053 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5054
5055         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5056         (gst_base_src_perform_seek), (gst_base_src_get_range),
5057         (gst_base_src_set_playing), (gst_base_src_change_state):
5058         Make _wait_playing() not check any variables so that we can call this
5059         function from subclasses. Move the checks elsewhere similar to
5060         _wait_preroll() in basesink.
5061         Add some debugging.
5062         Only signal the LIVE cond when we are going back to PLAYING.
5063
5064 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5065
5066         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5067           Use g_remove() and g_rename(). Check result of g_rename(), and
5068           don't leak the open file descriptor if we error out when writing.
5069
5070         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5071           Must check the return value of close() after writing out the new
5072           registry file.  Sometimes write problems such as out-of-diskspace
5073           are only reported when the file is closed and not already during
5074           the write.  This may have caused partial/broken registry files in
5075           some rare circumstances. Should fix #503675.
5076
5077 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5078
5079         * docs/gst/.cvsignore:
5080         * docs/libs/.cvsignore:
5081         * docs/plugins/.cvsignore:
5082         Ignore files generated by new common/* modifications
5083
5084 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5085
5086         * win32/common/libgstbase.def:
5087           Yes, you can also have a <TAB> if you want.
5088
5089 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5090
5091         * win32/common/libgstbase.def:
5092           Add new basetransform API to win export file.
5093
5094 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5095
5096         * tests/check/gst/gstbin.c:
5097           Adjust the test to the refcount change two days ago.
5098
5099 2007-12-14  David Schleef  <ds@schleef.org>
5100
5101         * docs/faq/getting.xml: Fix typo.
5102
5103 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5104
5105         * docs/libs/gstreamer-libs-sections.txt:
5106         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5107           (gst_base_transform_prepare_output_buffer),
5108           (gst_base_transform_set_gap_aware):
5109         * libs/gst/base/gstbasetransform.h:
5110           API: Add gst_base_transform_set_gap_aware() to control whether
5111           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5112           get buffers with this flag at all. Fixes #503231.
5113
5114 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5115
5116         * libs/gst/base/gstbasesink.c:
5117         * libs/gst/base/gstbasesrc.c:
5118         * libs/gst/base/gstbasetransform.c:
5119           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5120           thread. Correct log message in gstbasesrc.c.
5121
5122 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5123
5124         * gst/gstutils.c: (element_find_unconnected_pad):
5125           Fix possible compiler warning (#503417).
5126
5127 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5128
5129         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5130           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5131
5132 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5133
5134         * tools/gst-inspect.c: (print_element_properties_info):
5135           Add support for GstFraction properties.
5136
5137 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5138
5139         * Makefile.am:
5140           Add check-exports target and run it as part of 'make check'
5141           (see #499140 and #493983).
5142
5143         * gst/gst_private.h:
5144         * gst/gstelementfactory.h:
5145         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5146         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5147           (_priv_gst_in_valgrind):
5148         * gst/gstinfo.h: (GstLogFunction):
5149         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5150           (gst_type_find_register):
5151         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5152           (gst_type_find_factory_get_type):
5153         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5154           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5155           (gst_controller_new_valist), (gst_controller_new_list),
5156           (_gst_controller_dispose), (_gst_controller_class_init):
5157         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5158         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5159           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5160           (gst_object_get_controller), (gst_object_set_controller),
5161           (gst_object_suggest_next_sync), (gst_object_sync_values),
5162           (gst_object_set_control_source), (gst_object_get_control_source),
5163           (gst_object_get_value_arrays), (gst_object_get_value_array),
5164           (gst_object_get_control_rate), (gst_object_set_control_rate):
5165         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5166         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5167           Make some functions that should be static static; rename some
5168           private symbols so that they don't get exported; add some FIXME
5169           comments so we can move accidentally exported functions into
5170           our private section in 0.11.
5171
5172         * win32/common/libgstreamer.def:
5173           Add gst_utils_get_timestamp().
5174
5175 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5176
5177         * gst/gstvalue.c:
5178         * gst/gstvalue.h:
5179           Add more missing "Since:" tags to docs.
5180
5181 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5182
5183         * gst/gstutils.c:
5184           Add mising "Since:" to docs.
5185
5186 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5187
5188         * gst/gstplugin.c:
5189           Include "glib-compat-private.h" to fix the build on system with
5190           glib < 2.10. Fixes #503131.
5191
5192 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5193
5194         * gst/gstutils.c:
5195         * gst/gstutils.h:
5196           Actually its not PURE as it gets the time from elsewhere.
5197
5198 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5199
5200         * docs/gst/gstreamer-sections.txt:
5201         * gst/gstclock.h:
5202         * gst/gstdebugutils.c:
5203         * gst/gstinfo.c:
5204         * gst/gstutils.c:
5205         * gst/gstutils.h:
5206         * libs/gst/base/gstbasesink.c:
5207         * tools/gst-launch.c:
5208           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5209           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5210           Thanks Tim for spotting.
5211           API: gst_util_get_timestamp
5212
5213 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5214
5215         * configure.ac:
5216           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5217
5218 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5219
5220         * gst/gststructure.c: (gst_structure_validate_name),
5221           (gst_structure_new_valist), (gst_structure_parse_value),
5222           (gst_structure_from_string):
5223           Don't crash in _from_string() if the structure name is not valid
5224           (fixes #501560).  Allow structure names to start with a number
5225           again (this apparently broke the ubuntu codec installer).
5226
5227         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5228           (GST_START_TEST):
5229           Add unit test for the crash; update unit tests for new behaviour.
5230
5231 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5232
5233         * gst/gstutils.c:
5234         Clarify gst_element_get_compatible_pad() documentation.
5235         Fixes #500919.
5236
5237 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5238
5239         * tests/check/Makefile.am:
5240           Don't forget to dist {gst,libs}/struct_hppa.h.
5241
5242 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5243
5244         * libs/gst/base/gstbasesink.c:
5245           Use new API to get elapsed time.
5246
5247 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5248
5249         * gst/gstdebugutils.c:
5250         * gst/gstinfo.c:
5251           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5252
5253         * tools/gst-launch.c:
5254           Use new API to get elapsed time.
5255
5256 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5257
5258         * docs/gst/gstreamer-sections.txt:
5259         * gst/gstclock.h:
5260         * gst/gstdebugutils.c:
5261         * gst/gstinfo.c:
5262           Rename new API + ChangeLog surgery to remove old name from last entry..
5263
5264 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5265
5266         * docs/gst/gstreamer-sections.txt:
5267         * gst/gstclock.h:
5268         * gst/gstdebugutils.c:
5269         * gst/gstinfo.c:
5270           Now hide the different clock stuff behind a macro.
5271
5272 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5273
5274         * configure.ac:
5275         * gst/gstdebugutils.c:
5276         * gst/gstinfo.c:
5277           Apply the posix-timer check from #361155. Conditionally use the posix
5278           timer for logging. This gives better timestamp precission, less
5279           overhead and no ntp jitter.
5280
5281 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5282
5283         * gst/gstminiobject.c: (gst_mini_object_get_type),
5284         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5285         (gst_mini_object_finalize), (gst_mini_object_copy),
5286         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5287         (gst_mini_object_replace), (param_mini_object_validate),
5288         (gst_param_spec_mini_object_get_type):
5289         Some cleanup and checking against invalid function parameters.
5290
5291 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5292
5293         * docs/gst/gstreamer-sections.txt:
5294         * gst/gstclock.h:
5295         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5296         (gst_systemclock_suite):
5297         Start merging in the easy bits of #361155, the monotonic clock patch.
5298         This one adds a few handy macros with docs and a testsuite.
5299
5300 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5301
5302         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5303         Be a bit smarter when seeking, like, don't try to do a seek when it's
5304         not needed. This avoids errors when the file is not seekable.
5305         Fixes #499771.
5306
5307 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5308
5309         * docs/gst/gstreamer-docs.sgml:
5310         * docs/gst/gstreamer-sections.txt:
5311         * docs/gst/gstreamer.types.in:
5312         * gst/Makefile.am:
5313         * gst/gst.h:
5314         * gst/gstpreset.c:
5315         * gst/gstpreset.h:
5316         * plugins/elements/gstqueue.c:
5317           Due to popular request remove preset interface again. :-(.
5318
5319 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5320
5321         * tools/gst-inspect.c:
5322           Print 'default value' for enums and flags too.
5323
5324 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5325
5326         * docs/random/ensonic/profiling.txt:
5327           More ideas.
5328
5329         * gst/gstbin.c:
5330           Fix typo and give better log output.
5331
5332         * gst/gstdebugutils.c:
5333         * gst/gstdebugutils.h:
5334           More ideas, make graphs a bit smaller and fix param name in macro.
5335
5336 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5337
5338         * gst/gstpreset.c:
5339           Try harder to use the return value from fgets().
5340
5341 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5342
5343         * gst/gstpreset.c:
5344           For theses two fgets we handle the error below.
5345
5346 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5347
5348         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5349         Only send upstream events upstream. Fixes #498746.
5350
5351 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5352
5353         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5354
5355         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5356         (gst_identity_init), (gst_identity_transform_ip),
5357         (gst_identity_set_property), (gst_identity_get_property):
5358         * plugins/elements/gstidentity.h:
5359         Add property to disable handoff signal emission. Fixes #498694.
5360         API: GstIdentity::signal-handoffs
5361
5362 2007-11-21  Julien Moutte  <julien@fluendo.com>
5363
5364         * docs/faq/gst-uninstalled: Yet another missing library for the
5365         uninstalled script (fft)
5366
5367 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5368
5369         * docs/faq/developing.xml:
5370         Add a question about how to submit new translations.
5371
5372         * docs/random/release:
5373         Update the contact email address for the Translation Project
5374
5375         * plugins/elements/gstfdsrc.c:
5376         The parent_class for fdsrc is pushsrc, not GstElement.
5377
5378 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5379
5380         * gst/gstpreset.c:
5381           Plug a leak and fix saving.
5382
5383 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5384
5385         * docs/gst/gstreamer-sections.txt:
5386         Add new gst_preset__get_property_names() function to the docs
5387         to fix the build.
5388
5389 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5390
5391         * gst/gstpreset.c:
5392         * gst/gstpreset.h:
5393           Change _get_preset_names API to return a strv with copies. Add
5394           _get_property_names to allow implementations to filter and provide
5395           good default implementation.
5396
5397 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5398
5399         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5400         script (sdp).
5401
5402 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5403
5404         * gst/gstpreset.c:
5405           More cleanups, docs, and TODOs from comments that now slowly come in.
5406
5407 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5408
5409         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5410         search path.
5411
5412 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5413
5414         * gst/gstpreset.c:
5415           Fix bogus warning and make the property type specific code more
5416           similar.
5417
5418 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5419
5420         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5421         it build on OS X.
5422
5423 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5424
5425         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5426         (gst_bin_add_func), (gst_bin_remove_func),
5427         (gst_bin_change_state_func), (gst_bin_continue_func):
5428         Change email, cleanups add some more debug and comments.
5429         Also set bus and clock on new elements when the pipeline was in error.
5430
5431 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5432
5433         * gst/gstbin.c:
5434         * gst/gstdebugutils.c:
5435           Fix build with --disable-gst-debug. Fixes #497859.
5436           Spotted by Sameer Naik.
5437
5438 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5439
5440         * gst/gstevent.c:
5441           Little documentation improvment.
5442
5443         * gst/gstpreset.c:
5444           More TODO cleanups. Remove c++ comments.
5445
5446         * libs/gst/controller/gstcontroller.c:
5447           Add TODO and use quark from static string.
5448
5449         * tests/check/gst/gstmessage.c:
5450         * tests/check/gst/gststructure.c:
5451           Use quark from static string.
5452
5453 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5454
5455         * gst/gstpreset.c:
5456           Add some comments and TODOs.
5457
5458         * gst/gstpreset.h:
5459           Add padding for future changes.
5460
5461         * plugins/elements/gstqueue.c:
5462           Implement the iface.    
5463
5464 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5465
5466         * docs/gst/gstreamer-docs.sgml:
5467         * docs/gst/gstreamer-sections.txt:
5468         * docs/gst/gstreamer.types.in:
5469         * gst/Makefile.am:
5470         * gst/gst.h:
5471         * gst/gstpreset.c:
5472         * gst/gstpreset.h:
5473           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5474
5475 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5476
5477         * configure.ac:
5478
5479         Back to CVS
5480
5481 === release 0.10.15 ===
5482
5483 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5484
5485         * configure.ac:
5486           releasing 0.10.15, "October"
5487
5488 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5489
5490         * win32/vs6/libgstreamer.dsp:
5491         Convert line endings back to DOS.
5492
5493 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5494
5495         * docs/design/draft-tagreading.txt:
5496         * docs/random/ensonic/profiling.txt:
5497         Update fast tagreading draft and performance profiling ideas.
5498
5499 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5500
5501         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5502         Don't hold the object lock when unreffing a buffer because it could
5503         cause a deadlock when the finalize function wants to grab the object
5504         lock too. Fixes #495133.
5505
5506 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5507
5508         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5509         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5510         Also accumulate time correctly when doing reverse playback. Fixes
5511         #488201,
5512         When converting to running and stream time, use default values for
5513         start/stop/time/accum when comparing different formats. Fixes #494245.
5514
5515         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5516         Do running/stream time in TIME format.
5517
5518         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5519         (gst_segment_suite):
5520         2 new unit tests for segment accumulation.
5521
5522 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5523
5524         * gst/gst.c: (init_pre):
5525         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5526           (_gst_debug_bin_to_dot_file):
5527           Move getenv() back into gst_init, so everyone can live happily
5528           ever after. Make sure the symbol isn't exported though.
5529
5530 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5531
5532         Patch by: Sebastien Moutte  <sebastien moutte net>
5533
5534         * win32/common/gstenumtypes.c:
5535         * win32/common/gstenumtypes.h:
5536           Update enum types.
5537
5538         * win32/vs6/libgstreamer.dsp:
5539           Update vs6 project files (#494343).
5540
5541 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5542
5543         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5544         (gst_base_src_perform_seek), (gst_base_src_default_event),
5545         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5546         (gst_base_src_activate_pull):
5547         Unify flushing code, remove some old unlock code that is no longer used.
5548         Take the streaming lock when seeking to avoid races. Fixes #492729.
5549         Added some more comments.
5550
5551 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5552
5553         * gst/gst.c: (_gst_disable_segtrap):
5554           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5555           we can use gst_segtrap_is_enabled() there now that we have that API.
5556           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5557           to do the getenv here (and export the variable).
5558
5559         * gst/gstdebugutils.c: (debug_dump_element),
5560           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5561           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5562
5563         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5564           (gst_debug_log_default):
5565           Rename _gst_info_start_time to priv_gst_info_start_time so it
5566           doesn't get exported (was never in any header).
5567
5568         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5569           (gst_plugin_loading_mutex):
5570           Make static mutex gst_plugin_loading_mutex really static (was never
5571           in any header), and use gst_segtrap_is_enabled() instead of
5572           _gst_disable_segtrap.
5573
5574         * gst/gsttrace.c: (_gst_trace_default):
5575           Make local _gst_trace_default static (was never in any header).
5576
5577 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5578
5579         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5580
5581         * win32/common/libgstbase.def:
5582         * win32/common/libgstcontroller.def:
5583         * win32/common/libgstdataprotocol.def:
5584         * win32/common/libgstnet.def:
5585         * win32/common/libgstreamer.def:
5586           Add more missing symbols, remove some duplicates, and sort
5587           as the 'sort' command sorts it (partially fixes #493983).
5588
5589 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5590
5591         * gst/gstelement.c: (gst_element_set_state_func):
5592         Only change the state cookie if a different state was set on the
5593         element. See #492729.
5594
5595 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5596
5597         * gst/gstvalue.c:
5598           Remove unused and uninitialised type variables that were still
5599           exported for some reason (they were never in any header files
5600           though).
5601
5602 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5603
5604         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5605         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5606         (gst_base_sink_event), (gst_base_sink_get_position_last),
5607         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5608         (gst_base_sink_change_state):
5609         Don't try to report a 0 position when we don't know, return -1 and FALSE
5610         instead. This mostly happens when we are prerolling.
5611         Make sure we can report the right position before we post the ASYNC_DONE
5612         message so that a message handler can query position without races.
5613
5614         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5615         (async_done_handoff), (async_done_func), (send_buffer),
5616         (async_done_eos_func), (gst_sinks_suite):
5617         Add two tests for the above.
5618
5619 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5620
5621         * MAINTAINERS:
5622         Update with new email address.
5623
5624         * docs/design/part-TODO.txt:
5625         Add some more info about future pad-block and negotiation changes.
5626
5627         * docs/design/part-buffering.txt:
5628         Add some ideas about buffering reporting.
5629
5630 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5631
5632         * tests/check/gst/gstobject.c:
5633         Disable silly racy test that always fails on this combination of CPU
5634         and kernel.
5635
5636 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5637
5638         Patch by: Murray Cumming  <murrayc@murrayc.com>
5639
5640         * gst/gstobject.c:
5641           Corrected the registration of the parent-set and parent-unset
5642           signals: The parameter is a GstObject, not a GObject (#493134).
5643
5644 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5645
5646         * gst/gst_private.h:
5647         * gst/gstbuffer.h:
5648         * gst/gstevent.h:
5649         * gst/gstformat.h:
5650         * gst/gstmessage.h:
5651         * gst/gstplugin.h:
5652         * gst/gstquery.h:
5653         * gst/gsttaglist.h:
5654         * gst/gstvalue.h:
5655           Move declaration of private _gst_foo_initialize() functions into
5656           our private header file where they should have been all along.
5657
5658 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5659
5660         * docs/plugins/gstreamer-plugins-sections.txt:
5661         * gst/gstdebugutils.h:
5662         * gst/gstxml.h:
5663         * plugins/elements/gstqueue.c:
5664           gtk-doc fixes; trailing-comma-in-enum fix.
5665
5666 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5667
5668         * gst/gst.c: (gst_deinit):
5669           Clean up on deinit (not the external ones though, doesn't seem to be
5670           needed for some reason).
5671
5672 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5673
5674         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5675           Remove __declspec(dllimport) for MSVC that was copied over into core
5676           from a plugin, obviously without ever having been tested (note the
5677           single underscore in _declspec in the initial commit), and that doesn't
5678           really make sense.  See #492077.
5679
5680 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5681
5682         * gst/gst.c: (init_post):
5683         * gst/gstevent.c: (_gst_event_initialize):
5684         * gst/gstquery.c: (_gst_query_initialize):
5685         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5686           g_type_class_ref() other types as well, see #349410 and #64764.
5687
5688         * gst/gstbuffer.c: (_gst_buffer_initialize):
5689         * gst/gstmessage.c: (_gst_message_initialize):
5690           Simplify existing g_type_class_ref().
5691
5692 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5693
5694         * gst/gstformat.c: (_gst_format_initialize):
5695           g_type_class_ref() our GstFormat type to make sure we avoid the
5696           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5697           bug #64764. Should fix intermittent tee unit test failures (#474823).
5698
5699 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5700
5701         * tests/check/elements/tee.c: (test_num_buffers):
5702           Simplify, simplify, simplify - or not.  Rewrite unit test
5703           not to use gst_parse_launch(); allow N sub-streams. Increasing
5704           the number of sub-streams seems to reproduce #474823 more easily.
5705
5706 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5707
5708         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5709
5710         * gst/gsttrace.c:
5711         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5712         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5713         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5714           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5715           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5716           so use _pipe() directly (#492077).
5717
5718         * win32/common/dirent.c: (_treaddir):
5719           Add a couple of casts to make it build without warnings with MSVC.
5720
5721         * win32/common/libgstreamer.def:
5722           Add some more symbols that need to be exported.
5723
5724 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5725
5726         * tests/examples/metadata/read-metadata.c: (message_loop):
5727           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5728           arriving in a second or third tag message are added to
5729           the tag list as well.
5730
5731 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
5732
5733         * libs/gst/base/gstbasesrc.c:
5734           Its "Since:" and not "@Since:". And remove an superflous cast.
5735
5736 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
5737
5738         * docs/libs/gstreamer-libs-sections.txt:
5739         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5740         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5741         (gst_base_sink_get_property), (gst_base_sink_render_object),
5742         (gst_base_sink_preroll_object),
5743         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5744         (gst_base_sink_change_state):
5745         * libs/gst/base/gstbasesink.h:
5746         Add a new last-buffer property that contains the last buffer used in
5747         basesink for preroll or rendering. useful for making snapshots.
5748         API: gst_base_sink_get_last_buffer()
5749         API: GstBaseSink::last-buffer
5750
5751 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5752
5753         * docs/gst/running.xml:
5754         * gst/gst.c:
5755         * gst/gstdebugutils.c:
5756         * gst/gstdebugutils.h:
5757         * tools/gst-launch.c:
5758           Improve bin graph dumping, by using the envvar to specify a path.
5759           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5760
5761 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
5762
5763         * plugins/elements/gsttypefindelement.c:
5764           (gst_type_find_element_handle_event),
5765           (gst_type_find_element_activate):
5766           Post special error message if we can't determine the type of a stream
5767           because it's empty.
5768
5769 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5770
5771         * docs/gst/running.xml:
5772         * gst/gstdebugutils.c:
5773           Document new env-var. Add one log-line after dumpng a graph.
5774
5775 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5776
5777         * configure.ac:
5778           Ugly hack to put the (recently removed and non-portable, apparently)
5779           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5780           GNU ld, because without that 'make check' fails miserably on my debian
5781           stable box.  Someone with more knowledge of linker intricacies and
5782           portability issues than me fix this properly please.
5783
5784 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
5785
5786         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5787         Reset last seen position after flushing so that we don't report the old
5788         position anymore.
5789
5790 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5791
5792         * gst/gstelementfactory.c: (gst_element_register):
5793         * gst/gsturi.h:
5794         Patch from Alessandro Decina adding get_type_full and
5795         get_protocols_full private vfuncs to the URIHandler interface
5796         to allow bindings to support creating URI handlers. 
5797         Partially fixes: #339279
5798         API: GstURIHandlerInterface::get_type_full
5799         API: GstURIHandlerInterface::get_protocols_full
5800
5801 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5802
5803         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5804         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5805         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5806         Make it so that pads are considered linked until a buffer is pushed
5807         and discovered otherwise. This avoids problems with decodebin2 hanging
5808         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5809         case.
5810
5811         Make sure we lock the multiqueue when updating the max-size properties.
5812         
5813         Fix a crash on Solaris in a debug statement in get_request_pad that
5814         passes a NULL string to GST_DEBUG. 
5815
5816         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5817         (run_output_order_test):
5818         Fix the test to allow the first buffer on not-linked pads to come out
5819         of sequence while multiqueue discovers that they are not-linked.
5820
5821 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5822
5823         * configure.ac:
5824         * libs/gst/check/Makefile.am:
5825         Use a custom export symbol regex for libgstcheck, as it needs
5826         to export symbols that don't match the standard GStreamer gst_*
5827         pattern, and  --export-dynamic is not portable (only works on 
5828         GNU ld)
5829
5830         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5831         (gst_check_setup_sink_pad):
5832         Make sure to pass a message parameter to the fail_* macros.
5833
5834         * tests/check/gst/gstinfo.c: (GST_START_TEST):
5835         Fix some compiler warnings.
5836
5837 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
5838
5839         * tests/check/gst/gststructure.c: (test_to_string):
5840           Disable test that checks that white spaces are not allowed
5841           in structure names or field names, since we need to
5842           support that for now for backwards compatibility reasons.
5843
5844 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
5845
5846         * docs/gst/gstreamer-sections.txt:
5847         * gst/gsttaglist.c:
5848         * gst/gsttaglist.h:
5849           API: add GST_TAG_ARTIST_SORTNAME
5850           API: add GST_TAG_ALBUM_SORTNAME
5851           API: add GST_TAG_TITLE_SORTNAME
5852           Add tag variants for sorting (#414539).
5853
5854 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
5855
5856         * gst/gststructure.c:
5857           Also allow white space for names so we don't break
5858           backwards compatibility.
5859
5860 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
5861
5862         * docs/design/part-TODO.txt:
5863         * docs/design/part-segments.txt:
5864         * docs/design/part-streams.txt:
5865         Small updates.
5866
5867 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
5868
5869         * docs/gst/gstreamer-sections.txt:
5870          Fixed documentation from my previous commit (added new API add
5871          gst_value_set_structure(), add gst_value_get_structure() and
5872          GST_VALUE_HOLDS_STRUCTURE).
5873
5874 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
5875
5876         * gst/gstdebugutils.c:
5877           Reflow code to fix uninitialized variable warning.
5878
5879 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
5880
5881         * gst/gstcaps.c: (gst_caps_to_string),
5882         (gst_caps_from_string_inplace):
5883         * gst/gststructure.c: (gst_structure_get_abbrs),
5884         (gst_structure_to_string), (gst_structure_from_string):
5885         * gst/gstvalue.c: (gst_value_set_structure),
5886         (gst_value_get_structure), (gst_value_serialize_structure),
5887         (gst_value_deserialize_structure), (_gst_value_initialize):
5888         * gst/gstvalue.h:
5889         * tests/check/gst/gststructure.c: (GST_START_TEST),
5890         (gst_structure_suite):
5891         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5892          Added GstStructure to gst_value_table and its related functions.
5893          Changed gst_structure_to_string to print ';' in the end.
5894          Changed gst_caps_to_string to not print ';' beteween its
5895          fields (structures) anymore and remove the lastes ';' from latest
5896          structure. Now it is possible to have nested structures.
5897          In addition, backward compatibilty is assured by accepting '\0' as
5898          end delimiter. Fixes: #487969.
5899          API: add gst_value_set_structure()
5900          API: add gst_value_get_structure()
5901          API: add GST_VALUE_HOLDS_STRUCTURE
5902
5903 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
5904
5905         * gst/gstbus.c:
5906           When no GSource callback has been set up, tell developer
5907           to use a function that actually exists.
5908
5909 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
5910
5911         * docs/gst/gstreamer-sections.txt:
5912         * gst/Makefile.am:
5913         * gst/gst.c:
5914         * gst/gst.h:
5915         * gst/gstdebugutils.c:
5916         * gst/gstdebugutils.h:
5917         * gst/gstinfo.c:
5918         * gst/gstinfo.h:
5919         * tools/gst-launch.c:
5920           Allow dumping pipelines as dot graphs. Fixes #456573.
5921
5922 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5923
5924         * gst/gststructure.c:
5925           Allow '+' as well, it can be part of media or mime types
5926           such as image/svg+xml.
5927
5928 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5929
5930         * docs/gst/gstreamer-sections.txt:
5931         * gst/gstbus.c:
5932         * gst/gstbus.h:
5933           API: add gst_bus_pop_filtered
5934           API: add gst_bus_timed_pop_filtered
5935           Two new functions for waiting for specific message types on the
5936           bus for a specified amount of time without iterating any main
5937           loops or main contexts.
5938
5939         * tests/check/gst/gstbus.c:
5940           Some tests for the new functions.
5941
5942 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5943
5944         * docs/libs/gstreamer-libs-sections.txt:
5945           Make gtk-doc ignore stuff it should ignore.
5946
5947 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5948
5949         * libs/gst/check/gstcheck.c:
5950         * libs/gst/check/gstcheck.h:
5951           Allow runtime selection of unit tests to run via the GST_CHECKS
5952           environment variable (test case function names, comma-separated).
5953
5954 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
5955
5956         * gst/gststructure.c:
5957         * tests/check/gst/gststructure.c:
5958           Revert serialisation change and constrain structure-names after
5959           consensus on irc. Update api documentation to reflect the change.
5960
5961 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
5962
5963         * gst/gststructure.c:
5964           Improve serialization and fix tests.
5965
5966         * tests/check/gst/gststructure.c:
5967           Add another test that covers why I actually did the previous structure
5968           change.
5969
5970 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
5971
5972         * tools/gst-inspect.c: (print_element_info):
5973         Don't crash when inspecting an element.
5974
5975 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5976
5977         * tests/check/gst/gststructure.c:
5978           Add unit test for escaping of structure name when serialising
5979           and deserialising to/from strings.
5980
5981 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
5982
5983         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5984         (gst_single_queue_new):
5985         * plugins/elements/gstqueue.c: (gst_queue_init),
5986         (gst_queue_push_one):
5987         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
5988         upstream is tricked into thinking it can suggest a format downstream
5989         while downstream does not support that format. The real problem is that
5990         core calls acceptcaps when pushing a buffer with new caps, for which we
5991         do a little workaround by setting the caps on the srcpad ourselves
5992         before pushing the buffer (until this is figured out). Fixes #486758.
5993
5994 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
5995
5996         * gst/gststructure.c:
5997         * gst/gstvalue.c:
5998           Add some more comments and debug output. Quote structure name to fix
5999           deserialisation of some strings.
6000
6001 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6002
6003         * gst/gstbuffer.h:
6004           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6005           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6006
6007 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6008
6009         * tools/gst-inspect.c:
6010           Save approx. 400 1 byte allocs when printing. Use API to acces element
6011           details.
6012
6013         * tools/gst-run.c:
6014           Avoid a strdup.
6015
6016         * tools/gst-xmlinspect.c:
6017           Use API to acces element details.
6018
6019 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6020
6021         * gst/gstinfo.c:
6022           Fix some spelling errors.
6023
6024 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6025
6026         * gst/gstbin.c: (bin_handle_async_done):
6027         Correctly set the next state if all of our async children commited their
6028         state. This makes sure we can actually cancel the state change in
6029         progress. Fixes a regression in Rhythmbox when seeking.
6030
6031 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6032
6033         * gst/gstbin.c:
6034           Don't shadow local variable.
6035
6036         * gst/gstinfo.c:
6037           Don't shadow global function name.
6038
6039 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6040
6041         * gst/gstelementfactory.c:
6042         * gst/gstpluginfeature.c:
6043         * gst/gstpluginfeature.h:
6044         * gst/gstregistrybinary.c:
6045         * gst/gstregistryxml.c:
6046         * gst/gsttypefind.c:
6047           Use already-interned string for the private GstPluginFeature
6048           plugin_name field.
6049
6050 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6051
6052         * docs/libs/gstreamer-libs-sections.txt:
6053           Add new API to docs; fixes the build.
6054
6055 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6056         
6057         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6058
6059         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6060         (gst_base_sink_event):
6061         * libs/gst/base/gstbasesink.h:
6062         Add function to wait for EOS, subclasses can use this to correctly wait
6063         for devices to drain before performing the EOS logic. Fixes #485343.
6064         API: gst_base_sink_wait_eos()
6065
6066 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6067
6068         * gst/gstplugin.h:
6069           Cast description string constants in GST_PLUGIN_DEFINE macros
6070           to a (gchar*) to make C++ code using these macros compile
6071           without warning with g++-4.2 (see #462737).  Even if slightly
6072           ugly, this seems preferable to putting the description strings
6073           into the GLib quark table or making the structure member a
6074           const gchar * and doing casts in core code that allocs and
6075           frees these strings, or requiring a cast in the C++ code.
6076
6077 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6078
6079         * gst/gstinfo.h:
6080           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6081           to print the entire class/function signature into the log
6082           file for C++ code.  This only affects C++ code, for C code
6083           everything remains the same.
6084
6085 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6086
6087         * gst/gstbin.c: (remove_from_queue):
6088         Work around a problem with pipelines containing (semi)loops until a
6089         proper, more complicated solution is ready. See #475455.
6090
6091 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6092
6093         * gst/gstplugin.c:
6094         * gst/gstplugin.h:
6095         * gst/gstregistrybinary.c:
6096         * gst/gstregistryxml.c:
6097           Put more strings into the GLib quark table. No need to keep
6098           a hundred-something copies of identical version strings,
6099           license strings, package name strings and package origin
6100           strings around. 
6101
6102 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6103
6104         * docs/manual/advanced-dataaccess.xml:
6105           Don't imply that it's okay to unconditionally change
6106           buffer data or buffer metadata in a pad probe callback,
6107           and a bunch of other comments. Fixes #430031.
6108
6109 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6110
6111         * win32/common/gstenumtypes.c:
6112         * win32/common/gstenumtypes.h:
6113         * win32/common/gstversion.h:
6114           Update generated files.
6115
6116 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6117
6118         * docs/manual/advanced-autoplugging.xml:
6119           Prefix section with broken code with a warning (see #342432).
6120
6121 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6122
6123         * docs/manual/appendix-integration.xml:
6124         * docs/manual/basics-init.xml:
6125           Call g_thread_init() before g_option_context_new() to
6126           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6127
6128 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6129
6130         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6131         (gst_base_sink_queue_object_unlocked),
6132         (gst_base_sink_queue_object), (gst_base_sink_event),
6133         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6134         When we received EOS and are waiting for when to post the EOS message,
6135         our state is prerolled and we should not return ASYNC.
6136         Reorganize some code paths to implement this behavior.
6137
6138         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6139         (gst_sinks_suite):
6140         Add unit test to verify above EOS fix.
6141
6142 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6143
6144         * plugins/elements/gsttypefindelement.c:
6145         (gst_type_find_element_have_type), (gst_type_find_element_init),
6146         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6147         Move detecting the input caps of the sinkpad to the setcaps function.
6148         This allows us to update the output caps when we receive new input caps
6149         instead of always using the first detected caps.
6150
6151 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6152
6153         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6154         (gst_base_sink_get_position):
6155         Don't try to preroll non-async elements after a flush.
6156         Subtract latency form clock times when reporting position.
6157
6158 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6159
6160         * gst/gstpad.c: (gst_pad_pause_task):
6161         * gst/gstutils.c:
6162         Small comment and documentation update.
6163
6164 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6165
6166         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6167         (gst_base_src_set_live), (gst_base_src_is_live),
6168         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6169         (gst_base_src_default_event), (gst_base_src_wait),
6170         (gst_base_src_do_sync), (gst_base_src_get_range),
6171         (gst_base_src_pad_get_range), (gst_base_src_loop),
6172         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6173         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6174         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6175         (gst_base_src_change_state):
6176         Rework the locking of basesrc in a similar fashion to basesink. We
6177         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6178         us to handle live sources and semi live ones much better.
6179         Simplify flushing.
6180         Fix unlocking when seeking, shutting down and pausing in live sources.
6181
6182 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6183
6184         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6185         Fix compilation again.
6186
6187 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6188
6189         * gst/gstelement.c:
6190           Use meaningful categories for the logs to clean the default one.
6191
6192 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6193
6194         * tests/check/pipelines/cleanup.c:
6195           Print message name and not just number.
6196
6197 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6198
6199         * docs/design/draft-tagreading.txt:
6200           Add some more thoughts.
6201
6202 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6203
6204         * tests/check/pipelines/simple-launch-lines.c:
6205           Print message name and not just number.
6206
6207 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6208
6209         * libs/gst/base/gsttypefindhelper.c:
6210           Speedup typefinding. This is work in progress (see #459862).
6211
6212 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6213
6214         * gst/gstplugin.c:
6215           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6216           Spotted by Josep Torra Valles <josep@fluendo.com>.
6217
6218 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6219
6220         * gst/gstclock.h:
6221           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6222           field has moved to GstObject.
6223
6224 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6225
6226         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6227         (gst_base_src_get_range), (gst_base_src_change_state):
6228         Call unlock for live sources so that they can't get stuck in _create and
6229         produce a buffer before they are set back to PLAYING.
6230
6231 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6232
6233         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6234         (gst_queue_locked_dequeue):
6235         Comment the segment-related code... in the PROPER function.
6236         See #482147 and my commit from yesterday.
6237
6238 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6239
6240         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6241         Also initialize the counter that calculates the first timestamp on a
6242         buffer correctly for non-live sources.
6243
6244 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6245
6246         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6247         Disable code that's breaking the current-time-level reporting.
6248         See #482147
6249
6250 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6251
6252         * docs/gst/gstreamer-sections.txt:
6253         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6254         as they shouldn't show up. Fixes the docs build.
6255
6256 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6257         
6258         * gst/gstinfo.h:
6259         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6260         Define M_PI which is used in files which are including gstinfo.h. 
6261         VS6 includes doesn't define it.
6262         * win32/common/libgstbase.def:
6263         * win32/common/libgstcontroller.def:
6264         * win32/common/libgstreamer.def:
6265         Add new exported functions and variables.
6266         * win32/vs6/libgstcontroller.dsp:
6267         * win32/vs6/libgstreamer.dsp:
6268         Update the list of files to build.
6269         
6270 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6271
6272         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6273
6274         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6275         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6276         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6277         Improve debugging. Fixes #480858.
6278
6279 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6280
6281         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6282
6283         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6284         First patch of code cleanups, use the macros and right arguments in the
6285         macros to signal and lock the queue. See #480858.
6286
6287 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6288
6289         * gst/gstbus.c: (poll_func):
6290         Improve debugging when dealing with _poll().
6291
6292 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6293
6294         * gst/gstregistryxml.c:
6295           Fix memory leak I introduced a few days ago.
6296
6297 2007-09-26  Michael Smith <msmith@fluendo.com>
6298
6299         * gst/gstbuffer.c: (gst_buffer_finalize):
6300           Make it once again possible to free GstBuffers in the default
6301           build.
6302           The poisoning scribbles on parts of the miniobject we need in
6303           order to free it.
6304           Fixes #480341
6305
6306 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6307
6308         * docs/gst/gstreamer-sections.txt:
6309         * gst/gsttaglist.c:
6310         * gst/gsttaglist.h:
6311         API: add GST_TAG_COMPOSER, fixes #459809.
6312
6313 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6314
6315         * gst/gstplugin.c:
6316         * gst/gstplugin.h:
6317         Add the 3-clause BSD license and the MIT/X11 license to the license
6318         list. Fixes #479784.
6319
6320 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6321
6322         * docs/faq/getting.xml:
6323           Add Q+A about different GStreamer versions (#364056).
6324
6325 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6326
6327         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6328         (gst_base_sink_event), (gst_base_sink_change_state):
6329         Return correct gboolean from query function.
6330
6331 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6332
6333         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6334         (gst_base_sink_event), (gst_base_sink_query),
6335         (gst_base_sink_change_state):
6336         Simplify latency query.
6337         When not synchronizing, we can report latency without querying the peer
6338         element.
6339
6340 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6341
6342         * gst/gstobject.h:
6343         * gst/gstvalue.c:
6344         Fix small typos in the docs.
6345
6346 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6347
6348         * docs/design/draft-latency.txt:
6349         * docs/design/draft-push-pull.txt:
6350         * docs/design/draft-tagreading.txt:
6351         * docs/design/part-MT-refcounting.txt:
6352         * docs/design/part-activation.txt:
6353         * docs/design/part-block.txt:
6354         * docs/design/part-element-source.txt:
6355         * docs/design/part-events.txt:
6356         * docs/design/part-gstbin.txt:
6357         * docs/design/part-gstelement.txt:
6358         * docs/design/part-gstobject.txt:
6359         * docs/design/part-gstpipeline.txt:
6360         * docs/design/part-messages.txt:
6361         * docs/design/part-preroll.txt:
6362         * docs/design/part-push-pull.txt:
6363         * docs/design/part-qos.txt:
6364         * docs/design/part-query.txt:
6365         * docs/design/part-scheduling.txt:
6366         * docs/design/part-seeking.txt:
6367         * docs/design/part-segments.txt:
6368         * docs/design/part-states.txt:
6369         Documentation updates and typo fixes.
6370
6371 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6372
6373         * plugins/elements/gstfakesink.c:
6374           Add some debug text to error message to indicate that
6375           we errored out on request.
6376
6377         * tools/gst-launch.c:
6378           When the state change to PLAYING fails, check for an
6379           error message on the bus and print it.
6380
6381 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6382
6383         translated by: Jorge González González <aloriel@gmail.com>
6384
6385         * po/LINGUAS:
6386         * po/es.po:
6387           Added Spanish translation.
6388
6389 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6390
6391         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6392         Fix printf arguments.
6393
6394 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6395
6396         * tests/check/generic/states.c:
6397           Improved state change unit test.
6398
6399 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6400
6401         * gst/gstbin.h:
6402           Move priv to the right place.
6403
6404         * gst/gstsystemclock.c:
6405           Add FIXME: and improve log.
6406
6407         * tests/check/Makefile.am:
6408         * tests/examples/manual/Makefile.am:
6409           Work with all types of registries.
6410
6411 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6412
6413         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6414         Don't unref the event after pushing it. Fixes #478401.
6415
6416 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6417
6418         * .cvsignore:
6419         * tests/examples/manual/.cvsignore:
6420           Ignore registries in any format.
6421
6422 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6423
6424         * gst/glib-compat-private.h:
6425           Add compatibility macro for g_intern_string() for
6426           GLib-2.8 (any reason we can't just bump the
6427           requirement to at least 2.10?)
6428
6429         * gst/gstpadtemplate.h:
6430         * gst/gstelementfactory.c:
6431         * gst/gstregistryxml.c:
6432         * gst/gstregistrybinary.c:
6433           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6434           up the internal code accordingly.  This shouldn't be a problem, since
6435           there is no reason external code could ever assume the string in such
6436           a structure is dynamically allocated unless it did that itself;  the
6437           use of g_strdup() is private to element factories.  The new code also
6438           saves some memory by putting pad template name strings into the GLib
6439           quark table instead of allocating them dynamically.
6440           Declaring this field constant fixes warnings with g++-4.2 when using
6441           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6442
6443 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6444
6445         * gst/gstelementfactory.c:
6446           Release static caps. Fixes #475723.
6447
6448 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6449
6450         * gst/gstinfo.c:
6451         * gst/gstinfo.h:
6452           Make some internal API take const gchar * instead of just
6453           gchar * to avoid compiler warnings with g++-4.2.2 when
6454           passing string constants (partially fixes #478092).
6455
6456 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6457
6458         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6459         A latency query fails when one of the sinks fail.
6460
6461         * gst/gstelement.c: (gst_element_set_base_time):
6462         Improve debugging.
6463
6464 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6465
6466         * gst/gstbin.c: (gst_bin_continue_func):
6467         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6468         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6469         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6470
6471         Fix minor compilation warnings shown with Forte.
6472
6473 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6474
6475         * plugins/elements/gstqueue.c: (apply_buffer),
6476         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6477         Measure queue level based on the diff between head and tail timestamps
6478         even when pushing the first buffer.
6479
6480 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6481
6482         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6483         (gst_base_sink_event), (gst_base_sink_change_state):
6484         Sinks that don't preroll can always be queried for the latency.
6485         Don't post ASYNC start when we are not async.
6486
6487 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6488
6489         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6490         (gst_queue_handle_sink_event), (gst_queue_chain),
6491         (gst_queue_push_one), (gst_queue_handle_src_query),
6492         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6493         * plugins/elements/gstqueue.h:
6494         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6495         push more buffers but allow pushing of EOS and NEWSEGMENT.
6496         Add some more debug info here and there. Fixes #476514.
6497
6498 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6499
6500         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6501         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6502         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6503         (gst_base_sink_set_flushing), (gst_base_sink_query),
6504         (gst_base_sink_change_state):
6505         Latency query is allowed after we are prerolled. Introduce a new flag
6506         for this and stop abusing other variables.
6507
6508 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6509
6510         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6511         Push OOB events downstream when we get them in send_event. This allows
6512         the application to insert events in the pipeline.
6513         Add some more comments.
6514
6515 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6516
6517         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6518         (do_bin_latency), (gst_bin_change_state_func):
6519         * gst/gstpipeline.c: (gst_pipeline_change_state):
6520         Move latency query from GstPipeline to GstBin so that we can also
6521         use it when async-handling is enabled on bins.
6522
6523 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6524
6525         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6526         (gst_base_src_do_sync), (gst_base_src_change_state):
6527         Update docs.
6528         Clean up the timestamping and syncing code for pseudo live sources.
6529
6530 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6531
6532         Patch by: Steve Fink  <sphink gmail com>
6533
6534         * docs/manual/appendix-checklist.xml:
6535           Mention less -R switch in the section about debug output (#474055).
6536
6537 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6538
6539         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6540         Queue can latency to the pipeline up to the configured max size in time.
6541         Report this fact in the latency query.
6542
6543 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6544
6545         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6546
6547         * libs/gst/controller/gstinterpolation.c:
6548         * libs/gst/controller/gstlfocontrolsource.c:
6549         Use gst_guint64_to_gdouble() when converting from a uint64 or
6550         GstClockTime to double to fix the build on win32. Fixes #474371.
6551
6552 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6553
6554         * gst/gstbuffer.c: (gst_buffer_finalize):
6555         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6556         When finalizing a buffer the complete struct is filled with 0xff,
6557         thus making a use of the buffer after the final unref impossible.
6558
6559 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6560
6561         * tests/check/libs/controller.c: (GST_START_TEST):
6562         Use fail_unless_equals_int(a, b) instead of
6563         fail_unless_equals (a == b) to get better output on failures.
6564
6565 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6566
6567         * tests/check/gst/gsturi.c:
6568           Also check for the other file URI variant on win32.
6569
6570 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6571
6572         * gst/gsturi.c: (gst_uri_get_location):
6573           If there's no hostname, we want to return 'c:/foo/bar.txt'
6574           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6575
6576         * tests/check/gst/gsturi.c:
6577           Unit test for the above and a few more things.
6578
6579 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6580
6581         * docs/design/part-live-source.txt:
6582         Add docs on how live sources should timestamp.
6583
6584         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6585         Add some more debug info.
6586         For subclasses that are live and like to sync, add aditional startup
6587         latency to sync time and timestamps so that we timstamp according to the
6588         design doc.
6589
6590 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6591
6592         * gst/gstbuffer.c:
6593           Also do a g_type_class_ref() for the subbuffer type in
6594           the init function.
6595
6596 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6597
6598         * docs/gst/gstreamer-sections.txt:
6599         * gst/gstpad.c: (gst_pad_peer_query):
6600         * gst/gstpad.h:
6601         Add function to perform a query on the peer of a pad.
6602         API: gst_pad_peer_query()
6603
6604 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6605
6606         * tests/check/gst/gstsystemclock.c:
6607           Cleanup the test a little (use gst-logging and not g_message). Improve
6608           test to check if a wait reached the target.
6609
6610 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6611
6612         * docs/libs/gstreamer-libs-sections.txt:
6613           Add new API to docs and fix the build.
6614
6615 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6616
6617         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6618         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6619         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6620         (gst_base_src_get_property), (gst_base_src_do_sync):
6621         * libs/gst/base/gstbasesrc.h:
6622         Add property to make the basesrc timestamp buffers based on the current
6623         running time.
6624         API: GstBaseSrc::do-timestamp
6625         API: gst_base_src_set_do_timestamp()
6626         API: gst_base_src_get_do_timestamp()
6627
6628 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6629
6630         * docs/random/release:
6631           Really make sure translations are up-to-date before
6632           a release (#465010).
6633
6634 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6635
6636         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6637         Always destroy the timer, also in error cases.
6638
6639 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6640
6641         * docs/manual/highlevel-xml.xml:
6642         Fix XML example code. Fixes #472714.
6643
6644 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6645
6646         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6647         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6648         (gst_base_sink_query):
6649         Protect eos and have_preroll with the OBJECT lock so we don't need to
6650         take the PREROLL lock when querying the latency. Fixes #473846.
6651
6652 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6653
6654         * gst/gstelement.c:
6655           Give some log-messages a category.
6656
6657 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6658
6659         * gst/gststructure.c:
6660         (gst_structure_fixate_field_nearest_fraction):
6661         Fix fraction list fixation code. Take the fraction with the smallest
6662         difference with the target instead of the first one in the list.
6663
6664         * tests/check/gst/gststructure.c: (GST_START_TEST),
6665         (gst_structure_suite):
6666         Added test to verify correct fraction list fixation behaviour.
6667
6668 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6669
6670         * win32/common/libgstreamer.def:
6671           Export gst_bus_add_signal_watch too.
6672
6673 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6674
6675         * docs/libs/gstreamer-libs-sections.txt:
6676         Add new methods to docs.
6677
6678         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6679         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6680         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6681         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6682         * libs/gst/base/gstbasesink.h:
6683         Add ts-offset property to fine-tune the synchronisation.
6684         API: GstBaseSink::ts-offset property
6685         API: gst_base_sink_set_ts_offset()
6686         API: gst_base_sink_get_ts_offset()
6687
6688 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
6689
6690         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6691         (gst_base_sink_init), (gst_base_sink_set_sync),
6692         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6693         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6694         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6695         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6696         (gst_base_sink_get_property), (gst_base_sink_change_state):
6697         * libs/gst/base/gstbasesink.h:
6698         Add async property to instruct the sink never to inform the parent about
6699         ASYNC state changes, update docs.
6700         Check argument with g_return_* for the public functions.
6701         API: GstBaseSink::async property
6702         API: gst_base_sink_set_async_enabled()
6703         API: gst_base_sink_is_async_enabled()
6704
6705 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
6706
6707         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6708         Improve debugging.
6709
6710         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6711         (gst_base_src_default_query), (gst_base_src_wait),
6712         (gst_base_src_do_sync), (gst_base_src_change_state):
6713         Rearrange some code so that we can add support for measuring the 
6714         startup latency.
6715
6716 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
6717
6718         * docs/random/ensonic/dynlink.txt:
6719           More thoughs on this.
6720
6721         * plugins/elements/gstcapsfilter.c:
6722           Add bugzilla ticket number to FIXME comment.
6723
6724 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
6725
6726         * docs/design/part-TODO.txt:
6727         * docs/design/part-block.txt:
6728         Update some docs.
6729
6730 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6731
6732         * gst/Makefile.am:
6733           Revert patch which uses $(gst_headers) instead of $^ because it
6734           breaks make dist.
6735
6736 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6737
6738         * tests/check/gst/gstbin.c: (GST_START_TEST):
6739           Fix leaks in the new unit test.
6740
6741 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
6742
6743         * gst/gst.c:
6744           Don't use GST_INFO before the debug system is actually initialised
6745           (shouldn't do any harm, but won't print anything either, so we can
6746           just as well remove it).
6747
6748         * gst/gstinfo.h:
6749           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6750           compilers that don't support variadic macros (such as MSVC), should
6751           check for debug_level <= __gst_debug_min as well, since that's the
6752           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6753           inline helper functions. Should improve performance a bit, but also
6754           makes sure uses of GST_INFO et.al are ignored if the debugging
6755           system isn't initialised yet (instead of printing an assertion
6756           failure).
6757
6758 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
6759
6760         patch by: David Nečas <yeti@physics.muni.cz>
6761
6762         * gst/Makefile.am:
6763           Replace some non portable makefile constructs.
6764
6765 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
6766
6767         * common/gtk-doc-plugins.mak:
6768           Grrrrr. Don't remove the types file on make clean.
6769
6770 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
6771
6772         * tools/gst-launch.1.in:
6773         Add colorspace to example pipeline. Fixes #458274.
6774
6775 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
6776
6777         * docs/random/release:
6778           The release manager should run 'make download-po' before making a
6779           release to make sure translations are up-to-date.
6780
6781         * po/LINGUAS:
6782         * po/be.po:
6783         * po/pl.po:
6784         * po/rw.po:
6785           Add some new translations.
6786
6787 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
6788
6789         * tools/gst-launch.c: (event_loop), (main):
6790         Don´t try to do any state management when a live pipeline posts
6791         buffering messages.
6792         Also make the buffering string translatable.
6793
6794 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6795
6796         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6797         (bin_handle_async_start), (gst_bin_handle_message_func):
6798         Improve debugging.
6799         When adding elements, insert messages into the bus of the newly added
6800         element and make sure the element is the source of the message. This
6801         allows the parent bin to intercept the message and do the
6802         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6803         messages to the app (which is not allowed).
6804         Update some docs.
6805
6806         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6807         Fix testsuite so that is does not work around messages that should not
6808         have been posted in the first place.
6809
6810 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6811
6812         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6813         (update_degree), (gst_bin_sort_iterator_next):
6814         Fix annoying bug in the sorted iterator where a sink that is not really
6815         a sink (when it has downstream links) screwed up the iterator.
6816
6817         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6818         Unit test to verify the fix.
6819
6820 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6821
6822         * gst/gstmessage.h:
6823         Add some more docs for the messages.
6824
6825         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6826         (gst_base_sink_query):
6827         Add some more debugging.
6828
6829         * tools/gst-launch.c: (event_loop):
6830         When interrupting, don't try to set pipeline to PAUSED twice.
6831
6832 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
6833
6834         
6835         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6836         (bin_handle_async_start), (gst_bin_handle_message_func):
6837         Move ASYNC_START message posting to where it belongs, similar to
6838         async_done. 
6839         Don't post ASYNC_START when we are in error. 
6840         Post ASYNC_START when we added an async element to a bin.
6841
6842 2007-08-14  Julien MOUTTE  <julien@moutte.net>
6843
6844         * gst/gstindex.c: (gst_index_add_association): Fix index entry
6845         generation from vargs. Fixes #466595.
6846
6847 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
6848
6849         * gst/gstbin.c: (gst_bin_element_set_state):
6850         Always change the state of a NO_PREROLL element even if it has ASYNC
6851         elements inside (in case of a bin).
6852
6853         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6854         Unit test for this case.
6855
6856 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
6857
6858         * libs/gst/check/gstbufferstraw.c:
6859         * libs/gst/check/gstcheck.h:
6860         * libs/gst/controller/gstcontroller.c:
6861         * libs/gst/controller/gstcontrolsource.h:
6862         * libs/gst/controller/gstlfocontrolsource.h:
6863         * plugins/elements/gstcapsfilter.h:
6864         * plugins/elements/gstfdsink.h:
6865         * plugins/elements/gstfdsrc.h:
6866           Add more missing docs.
6867
6868 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6869
6870         * gst/gststructure.c:
6871         Add Since tag to docs.
6872
6873 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6874
6875         * docs/gst/gstreamer-sections.txt:
6876         * gst/gststructure.c: (gst_structure_get_uint):
6877         * gst/gststructure.h:
6878         Add function to get uint from a structure.
6879         API: gst_structure_get_uint()
6880
6881 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6882
6883         * gst/gstcaps.c: (gst_caps_set_simple_valist),
6884         (gst_caps_intersect):
6885         Fix proper check for simple caps.
6886
6887 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
6888
6889         * docs/gst/Makefile.am:
6890         * docs/libs/Makefile.am:
6891           Remove cruft and do some cleanups.
6892
6893         * docs/gst/gstreamer-docs.sgml:
6894         * docs/libs/gstreamer-libs-docs.sgml:
6895           Prepare for comming gtkdoc features (rebase against online docs).
6896
6897 2007-08-10  Michael Smith <msmith@fluendo.com>
6898
6899         * docs/gst/gstreamer-sections.txt:
6900           Add gst_registry_add_path to docs.
6901
6902 2007-08-10  Michael Smith <msmith@fluendo.com>
6903
6904         * gst/gstregistry.h:
6905           Add gst_registry_add_path, which was missing from this header.
6906
6907 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6908
6909         * libs/gst/controller/gstlfocontrolsource.c:
6910           Printf format fix.
6911
6912 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6913
6914         * libs/gst/base/gstbasesink.c:
6915           Don't send an async_start message during downwards state change if 
6916           target state is less than READY
6917
6918 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6919
6920         translated by: Gabor Kelemen <kelemeng@gnome.hu>
6921
6922         * po/LINGUAS:
6923         * po/hu.po:
6924           Added Hungarian translation.
6925
6926 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6927
6928         * po/fi.po:
6929         * po/it.po:
6930         * po/nl.po:
6931         * po/sv.po:
6932         * po/uk.po:
6933           Updated translations.
6934
6935 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
6936
6937         * libs/gst/controller/Makefile.am:
6938         Dist gstlfocontrolsourceprivate.h
6939
6940 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
6941
6942         * docs/libs/gstreamer-libs.types:
6943         Don't register the enum type gst_lfo_waveform_get_type() in the
6944         .types file - only GObject derived types belong.
6945
6946 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
6947
6948         Patch by: <arenevier at fdn dot fr>
6949
6950         * gst/gstbuffer.h:
6951         Remove comma from last element in enum to avoid compile errors when
6952         using -pendantic. Fixes #464366.
6953
6954 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
6955
6956         * docs/design/part-TODO.txt:
6957         Add some more TODO items
6958
6959         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
6960         Improve debugging.
6961
6962         * gst/gstcaps.c: (gst_caps_intersect):
6963         Optimize trivial intersection case between identical caps pointers.
6964
6965         * gst/gstelement.c: (gst_element_continue_state),
6966         (gst_element_set_state_func):
6967         * gst/gstpad.c:
6968         Fix spelling and grammar mistakes.
6969
6970 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
6971
6972         * po/POTFILES.in:
6973         * po/POTFILES.skip:
6974           Update POTFILES. Fixes #461599.
6975
6976 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
6977
6978         * gst/gst.c:
6979         Fix confusing typo in debug output.
6980
6981 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
6982
6983         reviewed by: Stefan Kost <ensonic@users.sf.net>
6984
6985         * libs/gst/controller/Makefile.am:
6986         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
6987         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
6988         (gst_lfo_control_source_new),
6989         (gst_lfo_control_source_set_waveform),
6990         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
6991         (gst_lfo_control_source_finalize),
6992         (gst_lfo_control_source_dispose),
6993         (gst_lfo_control_source_set_property),
6994         (gst_lfo_control_source_get_property),
6995         (gst_lfo_control_source_class_init):
6996         * libs/gst/controller/gstlfocontrolsource.h:
6997         * libs/gst/controller/gstlfocontrolsourceprivate.h:
6998         API: Add GstLFOControlSource, a control source that gives values
6999         for specific timestamps based on several periodic waveforms.
7000         Fixes #459717.
7001
7002         * tests/check/libs/controller.c: (GST_START_TEST),
7003         (gst_controller_suite):
7004         * docs/libs/gstreamer-libs-docs.sgml:
7005         * docs/libs/gstreamer-libs-sections.txt:
7006         * docs/libs/gstreamer-libs.types:
7007         Add documentation and unit tests for GstLFOControlSource.
7008
7009 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7010
7011         * configure.ac:
7012         Back to CVS
7013
7014 === release 0.10.14 ===
7015
7016 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7017
7018         * configure.ac:
7019           releasing 0.10.14, "Breathing Vacuum"
7020
7021 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7022
7023         * gst/gstelement.c: (gst_element_class_set_details_simple):
7024         * gst/gstelement.h:
7025           Make strings passed to gst_element_class_set_details_simple()
7026           constant, as they should be (#462752).
7027
7028 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7029
7030         * gst/gstbin.c: (gst_bin_change_state_func),
7031         (bin_handle_async_done), (gst_bin_handle_message_func):
7032         Don't forget about the fact that some element went ASYNC even after a
7033         resync. This makes us post the ASYNC_DONE message correctly.
7034         Fixes #462558.
7035
7036 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7037
7038         * gst/gstregistry.c: (gst_registry_add_feature):
7039         When replacing an existing feature in the registry, make sure to
7040         continue holding a reference until we've replaced the name string
7041         within our feature hash table. Make sure to use g_hash_table_replace
7042         instead of g_hash_table_insert to ensure the new name string is used
7043         as a key instead of the old one that we're about to free.
7044         Fixes: #462085
7045
7046 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7047
7048         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7049         (gst_plugin_feature_set_name):
7050         Revert patch from #459466 until after the release and we can work
7051         out exactly what the problem is (if any).
7052
7053 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7054
7055         * docs/gst/gstreamer-sections.txt:
7056         * gst/gsttaglist.c:
7057         * gst/gsttaglist.h:
7058           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7059
7060 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7061
7062         * docs/libs/Makefile.am:
7063         Include our build-prefix libs and includes before the generic ones to
7064         avoid linking against the installed libs when we want the build-tree
7065         ones.
7066
7067 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7068
7069         Patch by: Steve Fink  <sphink gmail com>
7070
7071         * docs/pwg/building-testapp.xml:
7072           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7073           if people try to build or install the example from the plugin
7074           template against a GStreamer from package using the configure
7075           defaults.
7076
7077 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7078
7079         Patch by: Steve Fink  <sphink gmail com>
7080
7081         * tools/gst-inspect.1.in:
7082           Document --print-all and --print-plugin-auto-install-info command
7083           line options in man page.
7084
7085 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7086
7087         * docs/gst/gstreamer-sections.txt:
7088         Add docs for new api function.
7089
7090 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7091
7092         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7093         * gst/gstelementfactory.h:
7094         API: gst_element_factory_has_interface()
7095         Added method to check if an element factory implements a named
7096         interface.
7097
7098 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7099
7100         * configure.ac:
7101         * docs/gst/gstreamer.types.in:
7102           Another conditional doc check.
7103
7104         * gst/gstmessage.c:
7105         * gst/gstparamspecs.h:
7106         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7107         * gst/gstvalue.c:
7108         * gst/gstxml.h:
7109           API-doc fixes.
7110
7111 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7112
7113         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7114         (gst_registry_binary_load_feature),
7115         (gst_registry_binary_load_plugin),
7116         (gst_registry_binary_read_cache):
7117           Print error just once and with additional info.
7118
7119 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7120
7121         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7122         (helper_find_suggest), (helper_find_get_length),
7123         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7124         (gst_type_find_helper_for_buffer):
7125           Cleanup the typefindhelper code and add private doc comments.
7126
7127 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7128
7129         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7130         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7131         Fix capsfilter for cases where the caps set on capsfilter will provide
7132         additional information.
7133         Fixes #449197
7134
7135 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7136
7137         * gst/gsttypefindfactory.c:
7138           Fix docs that recommened wrong function to use.
7139
7140 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7141
7142         * tools/gst-inspect.c: (print_plugin_features):
7143           Also give media-type for typefinders in element output.
7144
7145 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7146
7147         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7148         (gst_registry_remove_features_for_plugin_unlocked),
7149         (gst_registry_add_feature), (gst_registry_remove_feature),
7150         (gst_registry_lookup_feature_locked):
7151         * gst/gstregistry.h:
7152           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7153           Fixes #459501.
7154
7155 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7156
7157         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7158         (gst_plugin_feature_set_name):
7159           Avoid double memory usage for pluginfeature names. Fixes #459466.
7160
7161 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7162
7163         * gst/gstpad.h:
7164           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7165           driving the pipeline may need to explicitly check for NOT_LINKED as
7166           well, since IS_FATAL doesn't cover that.
7167
7168 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7169
7170         * docs/pwg/advanced-types.xml:
7171           Fix typo and duplicate entry in video formats list.
7172
7173 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7174
7175         * libs/gst/controller/gstinterpolation.c:
7176         Also round to the nearest int when using cubic interpolation.
7177
7178 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7179
7180         * libs/gst/controller/gstinterpolation.c:
7181         When linearly interpolating integer types, round to the nearest int
7182         by adding 0.5. Don't do it for float/double types.
7183         Fixes the failing controller test on my machine, which is somehow
7184         rounding differently than on the buildbots.
7185
7186 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7187
7188         * tools/gst-plot-timeline.py:
7189           Better log parsing (categories can have -). Adjust text vs. lines, so
7190           that they span the same y-range.        
7191
7192 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7193
7194         * docs/random/ensonic/audiobaseclasses.txt:
7195         * docs/random/ensonic/dynlink.txt:
7196         * docs/random/ensonic/profiling.txt:
7197           Save my thoughts.
7198
7199         * docs/random/moving-plugins:
7200           Add note to use g_assert type macros.
7201
7202 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7203
7204         * configure.ac:
7205         * libs/gst/check/Makefile.am:
7206           Add libm check as we use in for plugins.
7207
7208 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7209
7210         * gst/gstbin.c: (gst_bin_continue_func):
7211         Check that the state_cookie hasn't changed since the continue_func
7212         was scheduled. Avoids problems where the state changes back to
7213         something it shouldn't be because it was changed in the meantime.
7214
7215 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7216
7217         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7218         (gst_registry_binary_save_string),
7219         (gst_registry_binary_save_pad_template),
7220         (gst_registry_binary_save_feature),
7221         (gst_registry_binary_save_plugin),
7222         (gst_registry_binary_load_feature),
7223         (gst_registry_binary_load_plugin),
7224         (gst_registry_binary_read_cache):
7225           Fix memory leak. Be less verbose in the log.
7226
7227 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7228
7229         * tests/check/elements/.cvsignore:
7230         Add file to cvsignore as commanded.
7231
7232 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7233
7234         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7235         (mq_dummypad_event), (run_output_order_test):
7236         Use a GStaticMutex to protect all cases where libcheck
7237         fail_if/fail_unless macros might be called from multiple threads
7238         simultaneously to avoid errors like:
7239           "check_pack.c:107: :-1081725400:Bad message type arg"
7240
7241 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7242
7243         * tests/check/pipelines/stress.c: (GST_START_TEST):
7244         Make sure we set the pipeline back to the NULL state before
7245         dropping our final reference.
7246
7247 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7248
7249         * tests/check/elements/tee.c: (GST_START_TEST):
7250         Make the tee stress-test a little less stressful so it doesn't just
7251         time out on slow-machines, and remove a small race when it's starting 
7252         up by adding a get_state() call.
7253
7254 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7255
7256         * gst/gst.c:
7257           Avoid reading registry twice on startup. Fixes #457322.
7258
7259 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7260
7261         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7262         * pkgconfig/gstreamer-check.pc.in:
7263         Substitute the CFLAGS for libcheck into our .pc file too so that
7264         dependent modules will pick it up properly if libcheck is installed
7265         into some other prefix.
7266
7267 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7268
7269         * configure.ac:
7270         Revert the pkg-config check for libcheck, since it pulls in the
7271         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7272         a proper solution, either from the check project, or something else.
7273
7274 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7275
7276         * configure.ac:
7277           Use pkg-config to locate check.
7278
7279 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7280
7281         * gst/gsttaglist.c:
7282           Fix doc syntax.
7283
7284         * gst/gstutils.c:
7285         * gst/gstutils.h:
7286           Add deprecation guards.
7287
7288         * libs/gst/base/gstcollectpads.h:
7289           Don't document object (this is implicitly private).
7290
7291 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7292
7293         * gst/gststructure.c: (gst_structure_parse_value):
7294           When deserialising foo=bar without a type cast, check if it's a
7295           boolean before falling back to a string type, otherwise things like
7296           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7297           because the filtercaps end up having a signed=(string)true field,
7298           which causes problems later when intersection caps.
7299
7300         * tests/check/gst/gststructure.c: (GST_START_TEST):
7301           Add a unit test for this.
7302
7303 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7304
7305         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7306
7307         * libs/gst/controller/Makefile.am:
7308         * libs/gst/controller/gstcontroller.c:
7309         (gst_controlled_property_add_interpolation_control_source),
7310         (gst_controlled_property_new), (gst_controlled_property_free),
7311         (gst_controller_find_controlled_property),
7312         (gst_controller_new_valist), (gst_controller_new_list),
7313         (gst_controller_new), (gst_controller_remove_properties_valist),
7314         (gst_controller_remove_properties_list),
7315         (gst_controller_remove_properties),
7316         (gst_controller_set_property_disabled),
7317         (gst_controller_set_disabled), (gst_controller_set_control_source),
7318         (gst_controller_get_control_source), (gst_controller_get),
7319         (gst_controller_sync_values), (gst_controller_get_value_array),
7320         (_gst_controller_dispose), (gst_controller_get_type),
7321         (gst_controlled_property_set_interpolation_mode),
7322         (gst_controller_set), (gst_controller_set_from_list),
7323         (gst_controller_unset), (gst_controller_unset_all),
7324         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7325         * libs/gst/controller/gstcontroller.h:
7326         * libs/gst/controller/gstcontrollerprivate.h:
7327         * libs/gst/controller/gstcontrolsource.c:
7328         (gst_control_source_class_init), (gst_control_source_init),
7329         (gst_control_source_get_value),
7330         (gst_control_source_get_value_array), (gst_control_source_bind):
7331         * libs/gst/controller/gstcontrolsource.h:
7332         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7333         (gst_object_get_control_source):
7334         * libs/gst/controller/gstinterpolation.c:
7335         (gst_interpolation_control_source_find_control_point_node),
7336         (gst_interpolation_control_source_get_first_value),
7337         (_interpolate_none_get), (interpolate_none_get),
7338         (interpolate_none_get_boolean_value_array),
7339         (interpolate_none_get_enum_value_array),
7340         (interpolate_none_get_string_value_array),
7341         (_interpolate_trigger_get), (interpolate_trigger_get),
7342         (interpolate_trigger_get_boolean_value_array),
7343         (interpolate_trigger_get_enum_value_array),
7344         (interpolate_trigger_get_string_value_array):
7345         * libs/gst/controller/gstinterpolationcontrolsource.c:
7346         (gst_control_point_free), (gst_interpolation_control_source_reset),
7347         (gst_interpolation_control_source_new),
7348         (gst_interpolation_control_source_set_interpolation_mode),
7349         (gst_interpolation_control_source_bind),
7350         (gst_control_point_compare), (gst_control_point_find),
7351         (gst_interpolation_control_source_set_internal),
7352         (gst_interpolation_control_source_set),
7353         (gst_interpolation_control_source_set_from_list),
7354         (gst_interpolation_control_source_unset),
7355         (gst_interpolation_control_source_unset_all),
7356         (gst_interpolation_control_source_get_all),
7357         (gst_interpolation_control_source_get_count),
7358         (gst_interpolation_control_source_init),
7359         (gst_interpolation_control_source_finalize),
7360         (gst_interpolation_control_source_dispose),
7361         (gst_interpolation_control_source_class_init):
7362         * libs/gst/controller/gstinterpolationcontrolsource.h:
7363         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7364         API: Refactor GstController into the core controller which can take
7365         a GstControlSource for providing actual values for timestamps.
7366         Implement a interpolation control source and use this for backward
7367         compatibility, deprecate a bunch of functions that are now handled
7368         by GstControlSource or GstInterpolationControlSource.
7369         Make it possible to disable the controller completely or only for
7370         specific properties. Fixes #450711.
7371         * docs/libs/gstreamer-libs-docs.sgml:
7372         * docs/libs/gstreamer-libs-sections.txt:
7373         * docs/libs/gstreamer-libs.types:
7374         Add new functions and classes to the docs.
7375         * tests/check/libs/controller.c: (GST_START_TEST),
7376         (gst_controller_suite):
7377         * tests/examples/controller/audio-example.c: (main):
7378         Port unit test and example to the new API and add some new
7379         unit tests.
7380
7381 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7382
7383         Patch by: Mark Nauwelaerts <manauw at skynet be>
7384
7385         * plugins/elements/gstmultiqueue.c:
7386         (gst_multi_queue_get_internal_links), (apply_buffer),
7387         (single_queue_overrun_cb), (gst_single_queue_new):
7388         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7389         the pipeline layout can be tracked correctly. Fixes #453732.
7390
7391 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7392
7393         * docs/gst/Makefile.am:
7394         * docs/libs/Makefile.am:
7395         * docs/plugins/Makefile.am:
7396           Simplify --extra-dir as gtkdoc scans recursively.
7397
7398 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7399
7400         * tools/gst-launch.c: (main):
7401         When we got an error, there is no point in waiting for preroll when
7402         shutting down.
7403
7404 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7405
7406         * plugins/elements/gsttee.c: (gst_tee_base_init),
7407         (gst_tee_request_new_pad), (gst_tee_release_pad),
7408         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7409         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7410         (gst_tee_chain):
7411         Be a lot smarter when deciding what srcpad to use for proxying
7412         the buffer_alloc. Also handle pad added/removed when doing so.
7413         Fixes #357959.
7414         Keep track of what pads we already pushed on in case we have pads
7415         added/removed while pushing. Fixes #374639 
7416
7417         * tests/check/Makefile.am:
7418         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7419         (tee_suite):
7420         Added unit test for pad resync.
7421
7422 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7423
7424         * po/nl.po:
7425         * po/sv.po:
7426           Updated translations.
7427
7428 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7429
7430         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7431
7432         * po/LINGUAS:
7433         * po/fi.po:
7434           Added new Finnish translation.
7435
7436 2007-06-28  Wim Taymans  <wim@fluendo.com>
7437
7438         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7439         (single_queue_overrun_cb):
7440         When figuring out when a queue is filled, use our internal time estimate
7441         based on segments, just like check_full does.
7442
7443 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7444
7445         * gst/gstminiobject.c: (gst_mini_object_get_type):
7446           Remove 3 do-nothing methods.
7447
7448 2007-06-27  Wim Taymans  <wim@fluendo.com>
7449
7450         Patch by: Tim Angus <tim at ngus dot net>
7451
7452         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7453         (gst_capsfilter_set_property):
7454         Take a reference instead of a copy when setting "caps".
7455         Fix documentation to clarify this behaviour. Fixes #449414.
7456
7457 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7458
7459         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7460         * gst/gstplugin.c: (gst_plugin_init):
7461         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7462         * gst/gstquery.c: (gst_query_get_type):
7463         * gst/gstregistry.c: (gst_registry_init):
7464         * gst/gsturi.c: (gst_uri_handler_base_init):
7465           Remove empty instance_init() functions to save relocs and lessen the
7466           noise. Remove some of the function prototypes that are doubled by
7467           G_DEFINE_TYPE.
7468           
7469 2007-06-27  Wim Taymans  <wim@fluendo.com>
7470
7471         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7472
7473         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7474         Add peer and direction in the XML serialisation of ghostpads.
7475         Fixes #449226.
7476
7477 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7478
7479         * configure.ac:
7480           Preserve useful information, thanks Tim.
7481
7482 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7483
7484         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7485         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7486         (gst_single_queue_push_one), (gst_multi_queue_loop),
7487         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7488         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7489         (compute_high_id), (gst_single_queue_new):
7490         * plugins/elements/gstmultiqueue.h:
7491         Take the multiqueue lock when updating the fill level so we don't get
7492         confused. 
7493
7494         After applying a buffer or event on the src pad segment, make sure to
7495         call gst_data_queue_limits_changed() to get the data queue to unblock
7496         and check the filled state again.
7497         
7498         Rework the not-linked pad handling so the logic is that not-linked 
7499         pads can push as fast as they like, but only so they never get 
7500         ahead of any linked pads.
7501
7502         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7503         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7504         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7505
7506         Add a test to check that not-linked pads always stay behind
7507         linked pads.
7508
7509         Fixes: #430682
7510
7511 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7512
7513         * docs/random/release:
7514           Some updates to the release procedure.
7515
7516 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7517
7518         * gst/gstelementfactory.c: (__gst_element_details_clear):
7519           Microoptimization that saves stunning 80 bytes.
7520
7521 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7522
7523         * docs/plugins/gstreamer-plugins.args:
7524         * docs/plugins/inspect/plugin-coreelements.xml:
7525         * docs/plugins/inspect/plugin-coreindexers.xml:
7526           Update docs with caps info.
7527
7528 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7529
7530         * po/it.po:
7531           Updated Italian translation.
7532
7533 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7534
7535         * ChangeLog:
7536         * po/vi.po:
7537           Update Vietnamese translations.
7538
7539 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7540
7541         * libs/gst/base/gstbasesink.c:
7542           Remove unused signal enum.
7543
7544 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7545
7546         * docs/gst/gstreamer-sections.txt:
7547         * gst/gstelement.c:
7548         * gst/gstutils.c: (gst_type_register_static_full):
7549         Beef up and include the docs for gst_type_register_static_full and
7550         gst_element_class_set_details_simple and add the API keyword
7551         in the ChangeLog.
7552
7553 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7554
7555         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7556         (update_time_level), (gst_single_queue_push_one),
7557         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7558         (single_queue_overrun_cb), (single_queue_underrun_cb),
7559         (single_queue_check_full):
7560         Fix setting max-* properties after adding queues.
7561         Use IS_FILLED for checking visible items.
7562         Signal overrun if multiple queues overrun.
7563         Add extra debug output.
7564         Patch by: Wim Taymans <wim@fluendo.com>
7565
7566 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7567
7568         * gst/gstelement.c: (gst_element_class_set_details_simple):
7569         * gst/gstelement.h:
7570         * gst/gstutils.c: (gst_type_register_static_full):
7571         * gst/gstutils.h:
7572         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7573         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7574         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7575         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7576         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7577         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7578         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7579         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7580         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7581         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7582         (apply_buffer), (gst_queue_chain):
7583         * plugins/elements/gsttee.c: (gst_tee_base_init):
7584         * plugins/elements/gsttypefindelement.c:
7585         (gst_type_find_element_base_init),
7586         (gst_type_find_element_class_init):
7587           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7588           API: add gst_type_register_static_full
7589           API: add gst_element_class_set_details_simple
7590
7591 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7592
7593         * docs/pwg/advanced-types.xml:
7594           Fix typo in iana.org URI.
7595
7596 2007-06-19  Andy Wingo  <wingo@pobox.com>
7597
7598         * tests/check/pipelines/simple-launch-lines.c
7599         (test_state_change_returns): Enable pull-mode tests now that
7600         basesink has been fixed.
7601
7602         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7603         Changed from gst_base_sink_is_prerolled, reversing the sense of
7604         the return value. Returns FALSE also if the sink is in pull mode,
7605         in which case it needs no preroll.
7606         (gst_base_sink_query, gst_base_sink_change_state): Update for
7607         needs_preroll change.
7608         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7609         chaining up, in which we return SUCCESS directly if we activated
7610         in pull mode instead of ASYNC. Involves countering an async_start
7611         message sent before chaining up; not sure if this is correct, in
7612         an ideal world we only send async-start when activating in push
7613         mode.
7614
7615         * tests/check/pipelines/simple-launch-lines.c
7616         (test_state_change_returns): New test, partially disabled until
7617         basesink is fixed.
7618
7619 2007-06-19  Wim Taymans  <wim@fluendo.com>
7620
7621         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7622         (gst_multi_queue_sink_event):
7623         Fix event leak.
7624
7625 2007-06-19  Wim Taymans  <wim@fluendo.com>
7626
7627         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7628         (gst_bin_change_state_func), (bin_push_state_continue),
7629         (bin_handle_async_start), (bin_handle_async_done),
7630         (gst_bin_handle_message_func):
7631         Move the common code for posting state-change messages into
7632         one function.
7633         Broadcast the state signal after we posted the messages.
7634         Mark the bin as busy when it's doing a state-change.
7635         Make sure async-start/done messages don't interfere with the bin's
7636         state when it's busy.
7637         After the state change, let the bin check which elements completed the
7638         state change while it was busy so that it can update its state.
7639
7640 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7641
7642         * docs/random/release:
7643         Add a note about updating the doap file to the release checklist
7644
7645 2007-06-18  Wim Taymans  <wim@fluendo.com>
7646
7647         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7648         (gst_single_queue_push_one), (gst_multi_queue_chain),
7649         (gst_multi_queue_sink_event):
7650         Make sure we don't reference the buffer/event after we have given away
7651         ownership in the queue.
7652
7653 2007-06-18  Wim Taymans  <wim@fluendo.com>
7654
7655         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7656         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7657         Update queue state _after_ adding the item in the queue because else we
7658         could end up being full without the element added yet.
7659
7660 2007-06-18  Wim Taymans  <wim@fluendo.com>
7661
7662         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7663         (gst_bin_remove_func), (gst_bin_get_state_func),
7664         (gst_bin_element_set_state), (gst_bin_continue_func),
7665         (bin_push_state_continue), (bin_handle_async_start),
7666         (bin_handle_async_done), (gst_bin_handle_message_func):
7667         * gst/gstbin.h:
7668         Immediatly commit the toplevel bin state when receiving an async-done
7669         message. This enables us to avoid spawning a thread to commit the state
7670         in some common cases and it also avoids some races.
7671         Avoid spawning a state thread when adding/removing async elements to a
7672         toplevel bin. Instead we immediatly update the bin state.
7673         Get rid of iterating all the children when getting the state in the bin
7674         because it is now always up-to-date.
7675         Fix bug where locked elements would always return _SUCCESS even it they
7676         returned NO_PREROLL before being locked.
7677         Fix the order of the state_change, async-start/done messages that was
7678         sometimes incorrect.
7679         Mark the state_dirty field as deprecated, we don't need it anymore as we
7680         are always up-to-date.
7681
7682         * gst/gstelement.c: (gst_element_get_state_func),
7683         (gst_element_continue_state):
7684         Small debug inprovements.
7685         Return the previous element state return when nothing is pending instead
7686         of blindly returning SUCCESS.
7687
7688         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7689         (gst_sinks_suite):
7690         Add a whole bunch of new testcases.
7691
7692 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
7693
7694         * po/uk.po:
7695         * po/vi.po:
7696           Update translations.
7697
7698 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
7699
7700         * gst/gstpad.c:
7701         Fix typo in the docs.
7702
7703 2007-06-15  Wim Taymans  <wim@fluendo.com>
7704
7705         * docs/libs/gstreamer-libs-sections.txt:
7706         Add docs for new methods.
7707
7708 2007-06-15  Wim Taymans  <wim@fluendo.com>
7709
7710         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7711         (gst_multi_queue_item_new):
7712         Don't use GSlice because we don't depend on >= 2.10 yet.
7713
7714 2007-06-15  Wim Taymans  <wim@fluendo.com>
7715
7716         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7717         (update_time_level), (apply_segment), (apply_buffer),
7718         (gst_single_queue_push_one), (gst_multi_queue_item_new),
7719         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7720         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7721         (single_queue_underrun_cb), (single_queue_check_full):
7722         Remove debug printf.
7723
7724 2007-06-15  Wim Taymans  <wim@fluendo.com>
7725
7726         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7727         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7728         (gst_data_queue_set_flushing), (gst_data_queue_push),
7729         (gst_data_queue_pop), (gst_data_queue_drop_head),
7730         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7731         * libs/gst/base/gstdataqueue.h:
7732         Various cleanups.
7733         Added methods to get the current levels and to inform the queue that the
7734         'full' limits changed.
7735
7736         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7737         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7738         (gst_single_queue_flush), (update_time_level), (apply_segment),
7739         (apply_buffer), (gst_single_queue_push_one),
7740         (gst_multi_queue_item_steal_object),
7741         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7742         (gst_multi_queue_loop), (gst_multi_queue_chain),
7743         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7744         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7745         (gst_multi_queue_src_query), (single_queue_overrun_cb),
7746         (single_queue_underrun_cb), (single_queue_check_full),
7747         (gst_single_queue_new):
7748         Keep track of time in the queue by measuring the difference between
7749         running_time on input and output. This gives more accurate results and
7750         can compensate for segments correctly.
7751         Make a queue by default only 5 buffers deep. We will now increase the
7752         buffer size depending on the filledness of the other queues.
7753         Factor out commong flush code.
7754         Make sure we don't add additional refcounts to buffers when we can avoid
7755         it.
7756         Propagate GstFlowReturn differently.
7757         Use GSlice for intermediate GstMultiQueueItems.
7758         Keep track of EOS.
7759         Resize queues on over and underruns based on filled level of other
7760         queues.
7761         When checking if the queue is filled, prefer to measure in time if we
7762         can and fall back to bytes when no time is known.
7763
7764         * plugins/elements/gstqueue.c:
7765         Fix return value.
7766
7767 2007-06-15  Wim Taymans  <wim@fluendo.com>
7768
7769         * libs/gst/base/gstbasetransform.c:
7770         (gst_base_transform_sink_event):
7771         Work around the brokenness of the event vmethod in basetransform. Prefer
7772         to return TRUE when the subclass returned FALSE (meaning don't forward
7773         the event). 
7774
7775         * libs/gst/base/gstbasetransform.h:
7776         Clarify the docs.
7777
7778 2007-06-15  Wim Taymans  <wim@fluendo.com>
7779
7780         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7781         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7782         (gst_base_src_default_query), (gst_base_src_get_range),
7783         (gst_base_src_start):
7784         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7785         Improve debugging.
7786
7787 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7788
7789         * docs/pwg/advanced-types.xml:
7790           Added more formats to caps table.
7791
7792 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7793
7794         * tools/gst-launch.c: (main):
7795           Remove crufy code. GOption does not need this workaround.
7796
7797 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7798
7799         * libs/gst/controller/gstcontroller.c:
7800         (gst_controlled_property_set_interpolation_mode):
7801           Fix wrong getter for enums in controller.
7802
7803 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7804
7805         * libs/gst/check/gstcheck.c: (gst_check_init):
7806           Intercept criticals and warnings in the Gst-Phonon log domain, so
7807           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7808           well.
7809         
7810 2007-06-14  Edward Hervey  <edward@fluendo.com>
7811
7812         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7813         Since this file doesn't include "gst.h" it will not go through the
7814         macros that disable GST_LOG if debugging was disabled.
7815
7816 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7817
7818         * libs/gst/check/Makefile.am:
7819         * libs/gst/check/gstcheck.h:
7820         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7821         * pkgconfig/gstreamer-check.pc.in:
7822           Ugly 'fix' for the controller unit test on the p5 bot: in
7823           fail_unless_equals_float() check whether the values are 'almost
7824           equal' by allowing a small absolute error, which should be good
7825           enough for our use cases (normal numbers and values close to 0).
7826           Proper fixage left to floating point arithmetic aficionados.
7827
7828 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7829
7830         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7831         (gst_base_sink_render_object), (gst_base_sink_get_position):
7832           Add two breaks thats where missing.
7833
7834 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7835
7836         * docs/libs/gstreamer-libs-sections.txt:
7837         * libs/gst/check/gstcheck.h:
7838           API: add fail_unless_equals_float() and assert_equals_float().
7839           Add documentation for some of the macros.
7840
7841         * tests/check/libs/controller.c: (GST_START_TEST):
7842           Use newly-added asserts.
7843
7844 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7845
7846         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7847           Show the caps change in the log to help spotting the case of not
7848           exactly matching caps.
7849
7850 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7851
7852         * docs/pwg/building-boiler.xml:
7853           Fix typos, spotted by Thijs Vermeir (#447190).
7854
7855 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
7856
7857         * docs/plugins/tmpl/.cvsignore:
7858         Ignore file to keep the buildbots happy
7859
7860 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
7861
7862         * docs/plugins/Makefile.am:
7863         * docs/plugins/gstreamer-plugins-docs.sgml:
7864         * docs/plugins/gstreamer-plugins-sections.txt:
7865         Pull fdsink into the docs too.
7866
7867 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
7868
7869         * libs/gst/controller/gstinterpolation.c:
7870         Actually use the new functions with min/max checks for the trigger and
7871         none interpolation modes for get() and get_value_array() instead of
7872         just the latter.
7873
7874 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
7875
7876         * libs/gst/controller/gstcontroller.c:
7877         (gst_controlled_property_free):
7878         Unset the minimum and maximum GValues when freeing the corresponding
7879         GstControllerProperty struct.
7880
7881 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
7882
7883         * libs/gst/controller/gstcontroller.c:
7884         (gst_controlled_property_new):
7885         * libs/gst/controller/gstcontrollerprivate.h:
7886         * libs/gst/controller/gstinterpolation.c:
7887         (gst_controlled_property_find_control_point_node),
7888         (interpolate_none_get), (interpolate_none_get_enum_value_array),
7889         (interpolate_none_get_string_value_array),
7890         (interpolate_trigger_get),
7891         (interpolate_trigger_get_enum_value_array),
7892         (interpolate_trigger_get_string_value_array):
7893         Protect against values larger or smaller than the minimum or maximum
7894         allowed value for the property when using values that can be compared.
7895
7896         Optimize trigger interpolator a bit by taking the last requested value
7897         into account instead of always looping through the complete list.
7898
7899         Fix coding style a bit, everywhere else we use "return foo" instead
7900         of "return (foo)".
7901         
7902         * tests/check/libs/controller.c: (GST_START_TEST),
7903         (gst_controller_suite):
7904         Add unit test for the protection against too large or too small
7905         values.
7906
7907 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
7908
7909         * docs/random/slomo/controller.txt:
7910         Add some thoughts about the future of the controller.
7911
7912 2007-06-08  Wim Taymans  <wim@fluendo.com>
7913
7914         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7915         Don't overflow in retimestamping code.
7916
7917 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
7918
7919         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7920         Use gst_util_guint64_to_gdouble for conversions.
7921         * win32/common/libgstreamer.def:
7922         Add new exported functions.
7923
7924 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
7925
7926         * gst/gstutils.c:
7927           Small docs addition.
7928
7929 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
7930
7931         * README:
7932           Remove that test line again.
7933
7934 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
7935
7936         * README:
7937           Test commit mail sending.
7938
7939 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
7940
7941         * configure.ac:
7942           Fix typo and test commit mail sending.
7943
7944 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
7945
7946         * tests/examples/controller/audio-example.c:
7947           Improve comment and test commit mail sending.
7948
7949 2007-06-07  Wim Taymans  <wim@fluendo.com>
7950
7951         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
7952         (gst_bin_remove_func), (gst_bin_element_set_state),
7953         (bin_handle_async_start), (bin_handle_async_done),
7954         (gst_bin_handle_message_func):
7955         Add helper function to find messages.
7956         Generate the async-done messages together with the state change
7957         messages.
7958         Small cleanups in handling toplevel bins.
7959
7960 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
7961
7962         * libs/gst/base/gstdataqueue.c:
7963         * libs/gst/base/gstdataqueue.h:
7964         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
7965         (gst_multi_queue_item_new), (gst_multi_queue_chain),
7966         (gst_multi_queue_sink_event):
7967         * tests/check/elements/multiqueue.c: (multiqueue_suite):
7968           Fix multiqueue leaking buffers and events when downstream or the
7969           queue are flushing. Make refcounting assumptions explicit and
7970           document them (shouldn't break existing code that uses it other than
7971           maybe leak miniobjects, but that already happens anyway). Add unit
7972           test for the most common flushing case. Fixes #423700.
7973           
7974 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
7975
7976         * libs/gst/controller/gstcontroller.c:
7977         Clarify docs: The get_all, get_value_array(s) functions
7978         don't modify the GObject properties.
7979
7980 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
7981
7982         * libs/gst/controller/gstcontroller.c:
7983         (gst_controlled_property_set_interpolation_mode),
7984         (gst_controlled_property_prepend_default),
7985         (gst_controlled_property_new), (gst_controller_set_unlocked),
7986         (gst_controller_set), (gst_controller_set_from_list),
7987         (gst_controller_unset), (gst_controller_unset_all):
7988         * libs/gst/controller/gstcontrollerprivate.h:
7989         * libs/gst/controller/gstinterpolation.c:
7990         Factor out the 'set' logic into gst_controller_set_unlocked for the
7991         gst_controller_set and gst_controller_set_from_list functions.
7992
7993         To make life of the interpolators easier always add a control point
7994         at timestamp zero with the default value.
7995
7996         In the linear interpolator make things more obvious by better variable
7997         naming (slope).
7998
7999         Implement cubic interpolation mode (by using a natural cubic spline)
8000         and map the quadratic interpolation mode to this too (as quadratic
8001         doesn't make much sense, see discussion on the list).
8002
8003         * tests/check/libs/controller.c: (GST_START_TEST),
8004         (gst_controller_suite):
8005         Add unit test for the cubic interpolation mode and check everywhere
8006         if the interpolation mode could be set as expected.
8007
8008 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8009
8010         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8011           Don't use GLib-2.10 functions, we still depend on
8012           GLib-how-old-is-it-again-2.8.
8013
8014 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8015
8016         * docs/gst/gstreamer-sections.txt:
8017         * gst/Makefile.am:
8018         * gst/gst.c:
8019         * gst/gst.h:
8020         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8021         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8022         (_gst_param_fraction_values_cmp),
8023         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8024         * gst/gstparamspecs.h:
8025         * gst/gstvalue.c:
8026         * tests/check/Makefile.am:
8027         * tests/check/gst/.cvsignore:
8028         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8029         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8030         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8031         (GST_START_TEST), (gst_param_spec_suite):
8032           API: add GstParamSpecFraction, so elements can have fraction
8033           properties without lots of painful string parsing (#444648).
8034
8035 2007-06-05  Wim Taymans  <wim@fluendo.com>
8036
8037         * gst/gstobject.c: (gst_object_class_init):
8038         Fix signal signature.
8039
8040         * gst/gstsegment.c:
8041         Add small clarification in the api docs.
8042
8043         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8044         States are protected with object lock.
8045
8046 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8047
8048         * AUTHORS:
8049         I should probably be listed as an author by now.
8050
8051         * docs/random/release:
8052         Update the release doc
8053
8054 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8055
8056         * gst/gstvalue.c:
8057           Make docs for gst_value_compare() mention return enums that
8058           actually exist.
8059
8060 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8061
8062         * configure.ac:
8063           Back to CVS
8064
8065 === release 0.10.13 ===
8066
8067 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8068
8069         * configure.ac:
8070           releasing 0.10.13, "With or without you"
8071
8072 2007-05-25  Wim Taymans  <wim@fluendo.com>
8073
8074         * gst/gstbin.c: (bin_handle_async_done):
8075         Make sure that the child bin stops after completing the async state
8076         change so that the parent can continue the state change to PLAYING.
8077         Fixes #441159.
8078
8079 2007-05-25  Wim Taymans  <wim@fluendo.com>
8080
8081         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8082         (unref_data), (gst_collect_pads_remove_pad),
8083         (gst_collect_pads_check_pads):
8084         Use additional refcounting to avoid crashes when dynamically adding and
8085         removing pads. Fixes #420206.
8086
8087 2007-05-24  Wim Taymans  <wim@fluendo.com>
8088
8089         * tools/gst-launch.c: (event_loop):
8090         When buffering goes from a two digit to a single digit number, make sure
8091         to remove the old second digit by writing a blank over it.
8092
8093 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8094
8095         * libs/gst/base/gstdataqueue.c:
8096           Eliminate tabs and trailing comma in enum list; fix some typos.
8097
8098 2007-05-24  Wim Taymans  <wim@fluendo.com>
8099
8100         * tests/check/gst/gstbin.c: (GST_START_TEST):
8101         Allow refcount of 3 and 4 because some state thread might still be busy
8102         with it.
8103
8104 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8105
8106         * plugins/elements/Makefile.am:
8107         * plugins/elements/gstmultiqueue.h:
8108         * plugins/elements/gstqueue.h:
8109           These are not installed headers, no need for padding.
8110
8111 2007-05-24  Wim Taymans  <wim@fluendo.com>
8112
8113         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8114         (gst_bin_continue_func):
8115         Enable latency for next release.
8116         Restore STATE_LOCK around recalc_state that was left out during the
8117         rewrite and could result in racy behaviour when _get_state and
8118         recalc_state are run concurrently. See #440463.
8119
8120 2007-05-23  Wim Taymans  <wim@fluendo.com>
8121
8122         * tests/check/gst/gstsystemclock.c: (store_callback),
8123         (GST_START_TEST):
8124         Improve test_async_order to also work when both timers are already
8125         expired when we get scheduled to check it.
8126
8127 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8128
8129         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8130         (gst_bin_set_property), (gst_bin_get_property),
8131         (gst_bin_remove_func), (gst_bin_handle_message_func):
8132         * gst/gstbin.h:
8133           'private' is a c++ keyword, let's not use that in header files,
8134           otherwise c++ compilers will throw a tantrum.
8135
8136 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8137
8138         * plugins/elements/gstelements.c:
8139         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8140         (gst_file_sink_get_current_offset):
8141         * plugins/indexers/gstindexers.c: (plugin_init):
8142           Use #ifdef for HAVE_XYZ for consistency.
8143
8144         * tests/check/Makefile.am:
8145         * tests/check/elements/.cvsignore:
8146         * tests/check/elements/filesink.c: (setup_filesink),
8147         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8148           Add some unit tests for filesink.
8149
8150 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8151
8152         Patch by: Mark Nauwelaerts <manauw at skynet be>
8153
8154         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8155         (gst_file_sink_query), (gst_file_sink_do_seek),
8156         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8157         * plugins/elements/gstfilesink.h:
8158           Fix position reporting; rename data_written member to current_pos to
8159           reflect its real meaning (fixes #412648).
8160
8161 2007-05-22  Edward Hervey  <edward@fluendo.com>
8162
8163         * docs/gst/gstreamer-sections.txt:
8164         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8165         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8166         (gst_bin_remove_func), (gst_bin_handle_message_func):
8167         * gst/gstbin.h:
8168         Add a property for bins that handle the state change of their childs.
8169         Fixes #435880
8170
8171 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8172
8173         * libs/gst/controller/gstinterpolation.c:
8174         Use an array of the correct type when using _get_value_array with
8175         linear interpolation.
8176
8177 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8178
8179         * gst/gstelement.c (gst_element_requires_clock,
8180           gst_element_provides_clock, gst_element_request_pad,
8181           gst_element_class_set_details, gst_element_class_set_details_simple,
8182           gst_element_default_send_event, gst_element_abort_state,
8183           gst_element_continue_state, gst_element_set_state,
8184           gst_element_set_state_func, iterator_activate_fold_with_resync):
8185         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8186           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8187           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8188           gst_pad_get_range, gst_pad_pull_range):
8189         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8190           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8191           GstPadActivateModeFunction, GstPadChainFunction,
8192           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8193           GstPadFixateCapsFunction, GstPadTemplate):
8194         * gst/gstpipeline.c (gst_pipeline_change_state,
8195           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8196           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8197           gst_pipeline_get_delay):
8198           Whitespace and docs fixes.
8199
8200 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8201
8202         * libs/gst/controller/gstinterpolation.c:
8203         (interpolate_trigger_get_enum_value_array),
8204         (interpolate_trigger_get_string_value_array):
8205         Add support for retrieving value arrays when using the trigger
8206         interpolation mode. 
8207
8208 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8209
8210         * libs/gst/controller/gstcontroller.c:
8211         (gst_controller_get_value_array):
8212         * libs/gst/controller/gstcontroller.h:
8213         Clarify the docs of gst_controller_get_value_array(): The array where
8214         the values should be written to must be allocated as there seems to be
8215         no way to get the size of a random GType. This doesn't change any
8216         behaviour. Also fix some typos all over the place and remove an unused,
8217         commented function that is not necessary as g_object_set() could be
8218         used instead.
8219         * tests/check/libs/controller.c: (GST_START_TEST),
8220         (gst_controller_suite):
8221         Add unit test for gst_controller_get_value_array().
8222
8223 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8224
8225         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8226
8227         Disable part of the gst_buffer_try_new_and_alloc test, because
8228         it can happily succeed on 64-bit systems where there's more address
8229         space available.
8230
8231 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8232
8233         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8234         Add unit test for the improved caps checking from bug #421543.
8235
8236 2007-05-21  Wim Taymans  <wim@fluendo.com>
8237
8238         * docs/design/part-synchronisation.txt:
8239         Small addition.
8240
8241         * gst/gstbin.c: (gst_bin_query):
8242         * plugins/elements/gstqueue.c: (apply_segment):
8243         Improve debugging.
8244
8245         * gst/gstmessage.h:
8246         Improve docs.
8247
8248 2007-05-21  Wim Taymans  <wim@fluendo.com>
8249
8250         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8251         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8252         (gst_pad_configure_src):
8253         Added simple version of improved caps checking. It was previously
8254         assumed that a setcaps function would check the validity of the caps but
8255         people prefer us to check caps against the template automatically. 
8256         Fixes #421543.
8257
8258 2007-05-21  Wim Taymans  <wim@fluendo.com>
8259
8260         * libs/gst/base/gstbasetransform.h:
8261         Fix macro for locking/unlocking the transform lock.
8262
8263 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8264
8265         * docs/plugins/tmpl/.cvsignore:
8266           Ignore more.
8267
8268 2007-05-18  Edward Hervey  <edward@fluendo.com>
8269
8270         * plugins/elements/gstqueue.c: (gst_queue_loop):
8271         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8272         for the subtle art of warning a potentially blocking thread that it
8273         should check the source pad return value, and relay the information
8274         upstream.
8275
8276 2007-05-18  Edward Hervey  <edward@fluendo.com>
8277
8278         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8279         Release the queue lock !
8280
8281 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8282
8283         * docs/libs/gstreamer-libs-sections.txt:
8284         Add the two new controller functions to the appropiate places.
8285
8286 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8287
8288         reviewed by: Stefan Kost <ensonic@users.sf.net>
8289
8290         * libs/gst/controller/gstcontroller.c:
8291         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8292         (_gst_controller_get_property), (_gst_controller_set_property),
8293         (_gst_controller_init), (_gst_controller_class_init):
8294         * libs/gst/controller/gstcontroller.h:
8295         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8296         (gst_object_get_control_rate), (gst_object_set_control_rate):
8297         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8298         Add API that provides sync suggestion timestamps for elements that
8299         call gst_object_sync_values() from which those elements can subdivide
8300         their processing loop to get the best results for the controlled
8301         properties. For now it just suggests last_sync + control_rate as
8302         new timestamp but this will be improved in the future.
8303
8304         While doing that change the control-rate property to a GstClockTime
8305         from guint and change it's meaning from samples to nanoseconds as
8306         the GstController doesn't know anything about sampling rate. Strictly
8307         speaking this breaks ABI but as the control-rate property didn't do
8308         anything in the past and as such couldn't be used this should be no
8309         problem.        
8310
8311 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8312
8313         reviewed by: Stefan Kost <ensonic@users.sf.net>
8314
8315         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8316         (gst_controller_unset_all):
8317         * libs/gst/controller/gstcontrollerprivate.h:
8318         * libs/gst/controller/gstinterpolation.c:
8319         (gst_controlled_property_find_control_point_node):
8320         Save last synced value from the list to continue searching from there
8321         in future syncs. This speeds everything up a bit.
8322         
8323 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8324
8325         reviewed by: Stefan Kost <ensonic@users.sf.net>
8326
8327         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8328         (gst_control_point_find), (gst_controlled_property_new),
8329         (gst_control_point_free), (gst_controlled_property_free),
8330         (gst_controller_set), (gst_controller_set_from_list),
8331         (gst_controller_unset), (gst_controller_unset_all),
8332         (gst_controller_sync_values):
8333         * libs/gst/controller/gstcontroller.h:
8334         * libs/gst/controller/gstcontrollerprivate.h:
8335         * libs/gst/controller/gstinterpolation.c:
8336         (gst_controlled_property_find_control_point_node),
8337         (interpolate_none_get), (interpolate_trigger_get):
8338         Add a new private GstControlPoint struct which "inherits" from
8339         GstTimedValue to allow different interpolators to store internal
8340         values next to each control point. From the outside everything is
8341         still a GstControlPoint so we don't loose binary compatibility.
8342         Also fixup all the GValue handling to not leak GValues or list nodes.
8343         * tests/check/libs/controller.c: (GST_START_TEST):
8344         Free the list nodes and GValues in the controller_misc test.
8345
8346 2007-05-17  Edward Hervey  <edward@fluendo.com>
8347
8348         * gst/gstsegment.c:
8349         Small doc fix.
8350
8351 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8352
8353         * gst/gstplugin.c: (gst_plugin_load_file):
8354           If we fail to load a plugin because of unresolved symbols or missing
8355           libraries and spew a warning to stderr, we may just as well mention
8356           which plugin it was that failed to load.
8357
8358 2007-05-13  David Schleef  <ds@schleef.org>
8359
8360         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8361           handles the case when ENABLE_GTK_DOC is false, and installs
8362           the prebuilt documentation.  So gtk-doc subdirs are 
8363           unconditionally enabled.  Fixes: #349099.
8364
8365 2007-05-13  David Schleef  <ds@schleef.org>
8366
8367         * gst/gstutils.h: Reword some documentation.
8368
8369 2007-05-12  David Schleef  <ds@schleef.org>
8370
8371         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8372           do anything with the passed "module" parameter, so remove it.
8373           Allows removal of additional vestigal code.
8374
8375 2007-05-12  David Schleef  <ds@schleef.org>
8376
8377         * gst/gstplugin.c:
8378           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8379           Switch to using g_stat() because it's more portable.
8380
8381 2007-05-12  David Schleef  <ds@schleef.org>
8382
8383         * gst/gst.c:
8384           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8385           parsing for embedded systems.
8386         * gst/gstelementfactory.c:
8387           Allow gst_element_register() to be called with plugin==NULL.
8388           Did nobody notice that static elements were broken?
8389
8390 2007-05-12  Wim Taymans  <wim@fluendo.com>
8391
8392         * tools/gst-launch.c: (event_loop):
8393         Give more interesting info when buffering starts and stops.
8394         Fix case where buffering starts but we fail to update the buffering flag
8395         because the target state is not PLAYING.
8396
8397 2007-05-12  Wim Taymans  <wim@fluendo.com>
8398
8399         * plugins/elements/gstqueue.c: (gst_queue_init),
8400         (gst_queue_finalize), (update_time_level), (apply_segment),
8401         (apply_buffer), (gst_queue_locked_flush),
8402         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8403         (gst_queue_handle_sink_event), (gst_queue_chain),
8404         (gst_queue_push_one), (gst_queue_loop):
8405         * plugins/elements/gstqueue.h:
8406         Refactor an cleanup queue a bit.
8407         Do better time level calculations that also work when the srcpad is not
8408         yet running.
8409         Remove some unneeded debug lines.
8410
8411         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8412         Added testcase for time level measurement.
8413         Try to make some stuff more racefree.
8414
8415 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8416
8417         * gst/gsturi.c: (gst_element_make_from_uri):
8418           Don't leak plugin feature.
8419
8420         * tests/check/Makefile.am:
8421         * tests/check/gst/.cvsignore:
8422         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8423           Add brain-dead unit test.
8424
8425 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8426
8427         Patch by: Jeroen Wouters <woutersj at gmail com>
8428
8429         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8430           Treat protocol strings in a case-insensitive way (#437563).
8431
8432 2007-05-11  Michael Smith <msmith@fluendo.com>
8433
8434         * gst/gstplugin.c: (gst_plugin_load_file):
8435         * gst/gstregistry.c: (gst_registry_scan_path_level):
8436           Don't print a g_warning for any failure to load a shared object.
8437           Instead, push this down into gstplugin.c, and warn _only_ if we
8438           failed to open the module (i.e. failure to link).
8439           Avoids warnings on normal, working, non-plugin .so files.
8440
8441 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8442
8443         * gst/gstplugin.c (gst_plugin_load_file):
8444         * gst/gstregistry.c (GST_CAT_DEFAULT,
8445           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8446           Print a g_warning if there was an error when loading a plugins during
8447           registry scan. The shuld help beginners starting with gst-plugin
8448           template.
8449
8450 2007-05-10  Wim Taymans  <wim@fluendo.com>
8451
8452         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8453         (update_time_level), (gst_queue_locked_flush),
8454         (gst_queue_handle_sink_event), (gst_queue_chain),
8455         (gst_queue_push_one), (gst_queue_loop):
8456         * plugins/elements/gstqueue.h:
8457         Be smarter when calculating the current amount of data in the queue by
8458         measuring the difference between start and end timestamps (in running
8459         time) inside the queue. Fixes #432876.
8460         API: GstQueue::pushing to notify elements that we are pushing data again
8461         since the running signal is rather broken for this purpose.
8462
8463 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8464
8465         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8466           gst_queue_base_init, gst_queue_init):
8467           use GST_BOILERPLATE
8468
8469 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8470
8471         * win32/common/libgstreamer.def:
8472         Add new exported functions.
8473         * win32/vs6/grammar.dsp:
8474         Use grammar pre-generated files.
8475
8476 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8477
8478         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8479
8480         * gst/Makefile.am:
8481         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8482         * gst/gstparse.h:
8483         * gst/gstutils.c: (gst_parse_bin_from_description):
8484         * gst/gstutils.h:
8485           Maintain API and ABI when --disable-parse is used. Now that
8486           we have an appropriate error code, we can just return NULL and the
8487           appropriate error when gst_parse_launch() is used despite it having
8488           been disabled (#342564).
8489
8490         * tests/check/Makefile.am:
8491         * tests/check/pipelines/.cvsignore:
8492         * tests/check/pipelines/parse-disabled.c:
8493           Make sure these functions exist and return NULL plus a GError when
8494           --disable-parse is used.
8495
8496 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8497
8498         * tests/benchmarks/complexity.c: (main):
8499         * tests/benchmarks/mass-elements.c: (main):
8500           Set a good example and don't leak messages.
8501
8502 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8503
8504         * docs/gst/Makefile.am:
8505         * docs/libs/Makefile.am:
8506           Correct fixxrefs options.
8507
8508         * docs/plugins/Makefile.am:
8509         * docs/plugins/gstreamer-plugins-docs.sgml:
8510         * docs/plugins/gstreamer-plugins-sections.txt:
8511         * plugins/elements/Makefile.am:
8512         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8513         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8514           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8515           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8516           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8517           _GstCapsFilterClass, trans_class):
8518         * plugins/elements/gstelements.c (name, rank, type, _elements):
8519         * plugins/elements/gstidentity.c
8520           (gst_identity_check_imperfect_timestamp,
8521           gst_identity_check_imperfect_offset):
8522           Document capsfilter and add doc-blurb to identity.
8523
8524 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8525
8526         * libs/gst/controller/gstcontroller.c:
8527         (gst_controlled_property_set_interpolation_mode):
8528         * libs/gst/controller/gstinterpolation.c:
8529           Don't crash if someone tries to set an interpolation mode that
8530           is invalid or that isn't supported yet. Fixes #422295.
8531
8532         * tests/check/libs/controller.c: (GST_START_TEST),
8533         (gst_controller_suite):
8534           Add a test case for the above.
8535
8536 2007-05-03  Edward Hervey  <edward@fluendo.com>
8537
8538         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8539         Properly set the last_stop position on GstSegment. This will only happen
8540         if there is a buffer to push out.
8541
8542 2007-05-03  Wim Taymans  <wim@fluendo.com>
8543
8544         * libs/gst/base/gstbasetransform.c:
8545         (gst_base_transform_buffer_alloc):
8546         always_in_place does not mean that the sink and source caps are the
8547         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8548
8549 2007-05-03  Wim Taymans  <wim@fluendo.com>
8550
8551         * docs/libs/gstreamer-libs-sections.txt:
8552         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8553         (gst_base_src_default_query), (gst_base_src_get_range):
8554         * libs/gst/base/gstbasesrc.h:
8555         API: gst_base_src_query_latency(). Added method so that subclasses can
8556         easily get the latency values of the base source class.
8557
8558 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8559
8560         * tools/gst-inspect.c (print_implementation_info):
8561         Remove 0.8 cruft.
8562
8563 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8564
8565         * tools/Makefile.am:
8566         * tools/gst-launch.1.in:
8567           Don't create a customised man page based on the host architecture,
8568           describe the default registry path generically. That way the man
8569           page is the same for all architectures and packagers have one
8570           multilib issue less to deal with. Fixes #434926.
8571
8572 2007-05-02  Wim Taymans  <wim@fluendo.com>
8573
8574         * gst/gstpad.c:
8575         Fix documentation as spotted by rg on IRC. 
8576
8577 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8578
8579         * gst/gstutils.c:
8580           Improve docs for gst_element_{link,unlink}.
8581
8582 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8583
8584         * docs/design/part-events.txt:
8585         * docs/design/part-overview.txt:
8586         * gst/gstevent.c:
8587         * gst/gsturi.c:
8588         * gst/gsturi.h:
8589         * libs/gst/base/gstbasesink.c:
8590           Typo fixes; minor docs addition.
8591
8592 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8593
8594         * docs/gst/gstreamer-sections.txt:
8595         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8596         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8597         * gst/gsturi.h:
8598         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8599         or src that supports a given URI protocol exists.
8600
8601 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8602
8603         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8604         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8605         Set the location to NULL if "file://" is set as URI. Otherwise
8606         some random previous URI would still be set if "file://" is
8607         set on an already used filesink/filesrc.
8608
8609 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8610
8611         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8612         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8613         Special case the "file://" URI as as this is used by some
8614         applications to test with gst_element_make_from_uri if there's
8615         an element that supports the URI protocol.
8616         Also move the g_path_is_absolute() check for the location part
8617         of the URI to also check this for "file://localhost/bla" URIs.
8618
8619 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8620
8621         * docs/gst/gstreamer-sections.txt:
8622         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8623         * gst/gstbuffer.h:
8624         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8625         (gst_buffer_suite):
8626           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8627
8628 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8629
8630         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8631         (gst_registry_binary_load_pad_template),
8632         (gst_registry_binary_load_plugin),
8633         (gst_registry_binary_read_cache):
8634         * gst/gstregistrybinary.h:
8635           Implement no-mmap alternative for registry reading. Do code cleanups.
8636           Add more comments about avoiding strdups for all text data. Comments
8637           welcome.
8638
8639 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8640
8641         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8642           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8643           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8644           Comment structs and reformat to fix the build (that stuff should go
8645           into a priv. header).
8646
8647 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8648
8649         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8650         (gst_registry_binary_load_feature):
8651         * gst/gstregistrybinary.h:
8652           Refactor so that we can implement multiple features. Add support for
8653           TypeFindFactory features.
8654
8655 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8656
8657         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8658
8659         * configure.ac:
8660           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8661
8662 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8663
8664         * gst/gstbin.c: (gst_bin_element_set_state),
8665         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8666         (bin_handle_async_done), (gst_bin_handle_message_func):
8667           Fix build with --gst-disable-gst-debug
8668
8669 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8670
8671         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8672           Make sure streaming has finished before calling the ::stop() vfunc,
8673           since that vfunc might clear state which is being used in the
8674           streaming thread. This fixes a race that caused crashes in
8675           audioresample when shutting down a pipeline (#420106).
8676
8677 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8678
8679         * docs/gst/gstreamer-sections.txt:
8680           That was one byte missing.
8681
8682 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8683
8684         * configure.ac:
8685         * docs/gst/gstreamer-sections.txt:
8686         * gst/Makefile.am:
8687         * gst/gstconfig.h.in:
8688         * gst/gstobject.c: (gst_object_class_init),
8689         (gst_signal_object_class_init):
8690         * gst/gstobject.h:
8691           2nd attempt to have a xml-less build as a joined effort of #413123
8692           and #421480.
8693
8694 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8695
8696         * docs/design/draft-tagreading.txt:
8697           Added open issues/thoughts to draft.
8698
8699 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8700
8701         * gst/parse/grammar.tab.pre.c:
8702         * gst/parse/grammar.tab.pre.h:
8703         * gst/parse/lex._gst_parse_yy.pre.c:
8704         Update the prebuild parser sources.
8705
8706 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8707
8708         * gst/parse/Makefile.am:
8709         And now fix the building of the flex sources. Now everything should
8710         work as expected.
8711
8712 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8713
8714         * gst/parse/Makefile.am:
8715         Now hopefully fix the build failures by setting proper rule
8716         dependencies and moving instead of copying.
8717
8718 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8719
8720         * tests/benchmarks/complexity.gnuplot:
8721         * tests/benchmarks/complexity.scm:
8722         * tests/benchmarks/mass-elements.gnuplot:
8723         * tests/benchmarks/mass-elements.scm:
8724           Total licensification.
8725
8726 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8727
8728         * gst/parse/Makefile.am:
8729           Fix the build by correcting the rule that gave wrong files to flex.
8730
8731 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8732
8733         * tests/benchmarks/complexity.c:
8734         * tests/benchmarks/mass-elements.c:
8735           Change licence to LGPL as granted by Benjamin and Andy.
8736
8737 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8738
8739         * gst/parse/Makefile.am:
8740         Add correct grammar.tab.h dependency if compiling without new enough
8741         flex. Fixes #431150.
8742
8743 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8744
8745         * gst/parse/Makefile.am:
8746         Fix typo and use outdated sources if the flex/bison sources are newer
8747         than the pregenerated ones but flex is too old. Print a warning in
8748         that case. This should fix the build on the build bot.
8749
8750 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8751
8752         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8753         * gst/parse/Makefile.am:
8754         * gst/parse/grammar.y:
8755         * gst/parse/parse.l:
8756         Make the parser reentrant and recursively callable. This requires flex
8757         >= 2.5.31, for older versions pregenerated sources are used as we
8758         can't bump the build dependency. Finally fixes #349180.
8759
8760         * gst/gstparse.c: (gst_parse_launch):
8761         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8762         now anyway.
8763
8764         * docs/gst/Makefile.am:
8765         * docs/gst/Makefile.am:
8766         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8767         (__gst_parse_strfree), (__gst_parse_link_new),
8768         (__gst_parse_link_free), (__gst_parse_chain_new),
8769         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8770         (gst_parse_element_set), (gst_parse_free_link),
8771         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8772         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8773         (_gst_parse_launch):
8774         * gst/parse/grammar.tab.pre.h:
8775         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8776         (yy_get_previous_state), (yy_try_NUL_trans), (input),
8777         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8778         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8779         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8780         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8781         (_gst_parse_yypop_buffer_state),
8782         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8783         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8784         (yy_fatal_error), (_gst_parse_yyget_extra),
8785         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8786         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8787         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8788         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8789         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8790         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8791         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8792         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8793         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8794         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8795         (_gst_parse_yyfree):
8796         If the installed flex version is too old use pre-generated parser
8797         sources. These pre-generated parser sources are always updated when
8798         the actual flex/bison sources change but require everybody who wants
8799         to change something in the parser to have flex >= 2.5.31 installed.
8800
8801 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
8802
8803         * common/m4/gst-gettext.m4:
8804         * gst/gst-i18n-lib.h:
8805           Make --disable-nls to work
8806
8807 2007-04-17  Wim Taymans  <wim@fluendo.com>
8808
8809         * gst/gstconfig.h.in:
8810         Revert previous change that broke the build.
8811
8812 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
8813
8814         * configure.ac:
8815         * gst/Makefile.am:
8816         * gst/gstconfig.h.in:
8817           Drop libxml2 dependency when building with 
8818           --enable-binary-registry --disable-loadsave
8819
8820 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
8821
8822         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8823         (gst_registry_binary_read_cache):
8824         * gst/gstregistrybinary.h:
8825           Remove unnecessary <sys/mman.h> include which broke the win32 build
8826           with MingW; move includes from header file to .c file, even if the
8827           header file isn't installed; use g_strerror() where UTF-8 strings
8828           are expected, such as in GST_DEBUG messages.
8829
8830 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8831
8832         * docs/libs/gstreamer-libs-sections.txt:
8833         Remove bogus addition for API I didn't end up keeping.
8834
8835         * libs/gst/base/gstbasesrc.h:
8836         Mention Since: 0.10.13 in the documentation.
8837
8838         Add the API keyword to the previous ChangeLog entry.
8839
8840 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8841
8842         * docs/libs/gstreamer-libs-sections.txt:
8843         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8844         (gst_base_src_default_prepare_seek_segment),
8845         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8846         * libs/gst/base/gstbasesrc.h:
8847         Allow basesrc derived classes to execute seeks in other formats
8848         by providing a prepare_seek_segment vmethod. Sub-classes can choose
8849         to prepare the GstSegment in any format that their perform_seek method
8850         will be able to understand. The default implementation provides the
8851         old behaviour of attempting to convert the seek offsets to the 
8852         configured native format.
8853
8854         API: basesrc::prepare_seek_segment vmethod.
8855
8856 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8857
8858         * gst/gstelement.c: (gst_element_get_state_func):
8859         Don't output the same debug statement twice.
8860
8861         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8862         (gst_adapter_peek), (gst_adapter_take_buffer):
8863         Optimise the case where we have buffers at the head of the queue that
8864         can be joined quickly (because they're contiguous sub-buffers) by
8865         merging them together rather than copying data out into new memory.
8866
8867         * gst/parse/grammar.y:
8868         * tests/check/pipelines/parse-launch.c:
8869         Fix a leak in an error path for parse_launch, and add a check 
8870         for it to the testsuite.
8871
8872 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8873
8874         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8875           Don't deadlock when releasing a pad - gst_pad_set_active may try
8876           and take the multiqueue lock too.
8877
8878 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
8879
8880         * gst/gsterror.c: (_gst_core_errors_init):
8881         * gst/gsterror.h:
8882           API: add GST_CORE_ERROR_DISABLED (#392804).
8883
8884 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8885
8886         * docs/faq/gst-uninstalled:
8887           don't get empty paths on the PATH variables
8888         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8889           Don't format for the uncommon terminal width of 84 characters.
8890
8891 2007-04-06  Wim Taymans  <wim@fluendo.com>
8892
8893         * gst/gstpipeline.c: (reset_stream_time),
8894         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8895         Only try to select a different pipeline clock when we went back to
8896         PAUSED and not when we merely got flushed.
8897
8898 2007-04-05  Michael Smith  <msmith@fluendo.com>
8899
8900         * tools/gst-launch.1.in:
8901           fractions are better supported in gstreamer than ractions, so
8902           suggest using those.
8903
8904 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8905
8906         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8907
8908         * po/LINGUAS:
8909         * po/da.po:
8910           Added Danish translation.
8911
8912 2007-04-05  Wim Taymans  <wim@fluendo.com>
8913
8914         * libs/gst/base/gstbasesink.c:
8915         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8916         Fix leak caused when refusing newsegment after EOS.
8917
8918         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8919         (gst_fake_sink_init), (gst_fake_sink_set_property),
8920         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8921         (gst_fake_sink_render), (gst_fake_sink_change_state):
8922         * plugins/elements/gstfakesink.h:
8923         Add num-buffers property to make the element generate EOS after a
8924         configurable amount of buffers.
8925         API: fakesink::num-buffers property.
8926
8927         * tests/check/elements/fakesink.c: (GST_START_TEST),
8928         (fakesink_suite):
8929         Fix GstBus leak in test.
8930         Test for fakesink num-buffers.
8931
8932 2007-04-05  Wim Taymans  <wim@fluendo.com>
8933
8934         * libs/gst/base/gstbasesink.c:
8935         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
8936         (gst_base_sink_change_state):
8937         Don't accept anything after an EOS, return UNEXPECTED instead.
8938
8939         * tests/check/elements/fakesink.c: (GST_START_TEST),
8940         (fakesink_suite):
8941         Unit test for new EOS behaviour.
8942
8943 2007-04-05  Wim Taymans  <wim@fluendo.com>
8944
8945         * gst/gstelement.c: (gst_element_get_request_pad):
8946         Make padtemplates also work when they don't contain %s or %d.
8947
8948 2007-04-05  Wim Taymans  <wim@fluendo.com>
8949
8950         * docs/gst/gstreamer-sections.txt:
8951         * gst/gstclock.c: (gst_clock_adjust_unlocked),
8952         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
8953         * gst/gstclock.h:
8954         Improve _adjust_unlocked() so that it overflows less.
8955         Add gst_clock_unadjust_unlocked to convert from external time to
8956         internal time based on calibration.
8957         Add some more debug.
8958         API: GstClock::gst_clock_unadjust_unlocked()
8959
8960 2007-04-03  Wim Taymans  <wim@fluendo.com>
8961
8962         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8963
8964         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8965         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
8966         when releasing sink pad. Fixes #425400.
8967
8968 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
8969
8970         * docs/random/ensonic/dynlink.txt:
8971           More work on proposal for new core api.
8972
8973         * docs/libs/gstreamer-libs-sections.txt:
8974         * libs/gst/base/gstbasetransform.h:
8975           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
8976           
8977         * libs/gst/controller/gstcontroller.c:
8978         (on_object_controlled_property_changed),
8979         (gst_controller_sync_values),
8980         (gst_controller_set_interpolation_mode):
8981         * libs/gst/controller/gstcontroller.h:
8982           Less verbose logging add docs for unimplemented parts and correctly
8983           return when using unavailable parts.
8984
8985 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
8986
8987         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
8988         Move all the debug to the CLOCK category, and associate it with
8989         the clock object.
8990
8991 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
8992
8993         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
8994         Make take_buffer a bit quicker by removing redundant checks
8995         caused by calling gst_adapter_take.
8996
8997 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
8998
8999         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9000           Don't leak GCond.
9001
9002         * tests/check/Makefile.am:
9003         * tests/check/elements/.cvsignore:
9004         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9005         (GST_START_TEST), (multiqueue_suite):
9006           Add some dead simple unit tests for the 'multiqueue' element
9007           (some bits don't work yet and are disabled for now).
9008
9009 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9010
9011         * gst/gstelement.c: (gst_element_get_request_pad),
9012         (gst_element_class_get_request_pad_template):
9013           Make gst_element_get_request_pad() create request pads only for
9014           request pad templates and not for, say, sometimes pad templates.
9015
9016 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9017
9018         * docs/design/draft-klass.txt:
9019           Add example that needs more thinking.
9020         
9021         * docs/design/draft-missing-plugins.txt:
9022           More thoughts about wrapper plugins.
9023         
9024         * docs/random/ensonic/embedded.txt:
9025         * docs/random/ensonic/profiling.txt:
9026           More design work.
9027
9028 2007-03-25  Wim Taymans  <wim@fluendo.com>
9029
9030         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9031         (gst_base_src_loop):
9032         Only push the segment events in the PLAYING state for live sources.
9033
9034 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9035
9036         * gst/gstpipeline.c: (gst_pipeline_change_state):
9037         Modify the clock distribution path in PAUSED->PLAYING so that we 
9038         never attempt to choose a new clock unless we're actually leaving
9039         the PAUSED state for the first time. This prevents choosing a
9040         different clock when the state_change gets called for a 2nd time due
9041         to some element doing an async state change.
9042
9043 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9044
9045         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9046         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9047         (gst_pad_chain_unchecked), (gst_pad_push):
9048         Revert last commit. This needs some more thoughts.
9049
9050 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9051
9052         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9053         (gst_pad_chain_unchecked), (gst_pad_push):
9054         Check in set_caps if the caps are compatible with the pad and remove
9055         two functions that are redundant now. Fixes #421543.
9056
9057 2007-03-22  Wim Taymans  <wim@fluendo.com>
9058
9059         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9060         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9061         Unref some more to make valgrind happy.
9062
9063 2007-03-22  Wim Taymans  <wim@fluendo.com>
9064
9065         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9066         (gst_system_clock_id_wait_jitter),
9067         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9068         Fix anoying regression that survived a few releases. When adding an
9069         async entry while blocking on a sync entry, the sync entry will unblock
9070         but still be busy, so it should continue to wait instead of returning
9071         _BUSY to the app.
9072         Add some comments here and there.
9073
9074         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9075         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9076         Add testcase for this.
9077
9078 2007-03-22  Wim Taymans  <wim@fluendo.com>
9079
9080         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9081         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9082         WRONG_STATE and can silently pause the task. All other cases should
9083         error out.
9084
9085 2007-03-22  Wim Taymans  <wim@fluendo.com>
9086
9087         Patch by: Ville Syrjala <syrjala at sci dot fi>
9088
9089         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9090         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9091         Improve debugging.
9092
9093 2007-03-21  Michael Smith  <msmith@fluendo.com>
9094
9095         * docs/pwg/advanced-types.xml:
9096           Fix some errors in the typefinding docs pointed out on irc.
9097
9098 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9099
9100         * libs/gst/base/gstbasesrc.c:
9101         Clarify FIXME comment in the face of having added unlock_stop()
9102
9103 2007-03-21  Wim Taymans  <wim@fluendo.com>
9104
9105         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9106         Prepare for release where we warn against possible app breakage in the
9107         case of live pipelines along with an env var to enable/disable live
9108         preroll mode (GST_COMPAT=[no-]live-preroll).
9109
9110 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9111
9112         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9113         So we should use correct constants for checking for None offset.
9114
9115 2007-03-20  Wim Taymans  <wim@fluendo.com>
9116
9117         * docs/design/part-block.txt:
9118         Mention the fact that the newly switched element should be set to at
9119         least PAUSED.
9120
9121 2007-03-20  Wim Taymans  <wim@fluendo.com>
9122
9123         * gst/gst.c:
9124         Fix compilation with registry disabled as spotted by Saur.
9125
9126 2007-03-20  Wim Taymans  <wim@fluendo.com>
9127
9128         Patch by: Olivier Crete <tester at tester dot ca>
9129
9130         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9131         Look at the pending state too when syncing the element state to the
9132         parent. Fixes #420133.
9133
9134 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9135
9136         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9137         (gst_base_sink_change_state):
9138         * libs/gst/base/gstbasesink.h:
9139         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9140         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9141         (gst_base_src_deactivate):
9142         * libs/gst/base/gstbasesrc.h:
9143         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9144         for sub-classes to correctly clear any state they set trying to
9145         unlock, such as clearing out unlock commands from a command fd.
9146         API: basesrc::unlock_stop
9147         API: basesink::unlock_stop
9148
9149         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9150         (gst_fd_sink_render), (gst_fd_sink_unlock),
9151         (gst_fd_sink_unlock_stop):
9152         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9153         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9154         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9155
9156         Implement unlock_stop in fdsrc and fdsink.
9157         Implement seeking in fdsrc when a seekable fd is passed, as in
9158         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9159
9160 2007-03-19  Wim Taymans  <wim@fluendo.com>
9161
9162         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9163
9164         * gst/gstelement.c: (gst_element_class_init):
9165         Fix pad-added and pad-removed signal signatures so that the pad type is
9166         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9167
9168 2007-03-19  Wim Taymans  <wim@fluendo.com>
9169
9170         * docs/gst/gstreamer-sections.txt:
9171         Add new element field and method.
9172
9173         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9174         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9175         (gst_bin_recalc_state), (gst_bin_get_state_func),
9176         (gst_bin_element_set_state), (gst_bin_change_state_func),
9177         (gst_bin_continue_func), (bin_bus_handler),
9178         (bin_push_state_continue), (bin_handle_async_start),
9179         (bin_handle_async_done), (gst_bin_handle_message_func):
9180         Make async state changes a bit smarter by using new ASYNC_START and
9181         ASYNC_DONE messages. This reduces the number of times we run the state
9182         recalculation thread.
9183         Don't change state of element with a pending ASYNC_START message.
9184         Deprecate STATE_DIRTY messages.
9185         
9186         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9187         (gst_element_get_state_func), (gst_element_continue_state),
9188         (gst_element_lost_state), (gst_element_set_state_func),
9189         (gst_element_change_state):
9190         * gst/gstelement.h:
9191         Keep the state that was last set by the app in a new element field.
9192         Don't allow state changes when handling an element event.
9193         Post ASYNC_START and ASYNC_DONE messages.
9194         Change lost_state so that we go to PAUSED and wait for the parent to set
9195         us to PLAYING again (so latency calculation can be performed)
9196         Export gst_element_change_state() method so that subclasses can use it.
9197         API: gst_element_change_state()
9198         API: GST_STATE_TARGET
9199
9200         * gst/gstpipeline.c: (gst_pipeline_class_init),
9201         (reset_stream_time), (gst_pipeline_change_state),
9202         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9203         Using the new ASYNC_START message we can reset the base_time when
9204         needed. This can then be used to implement base_time redistribution in
9205         flushing seeks so that we can remove the explicit seek handling.
9206         Perform latency query and configuration when going to PLAYING.
9207
9208         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9209         (gst_base_sink_query), (gst_base_sink_change_state):
9210         Post new ASYNC_START/ASYNC_DONE messages.
9211
9212         * tests/check/generic/sinks.c: (GST_START_TEST):
9213         Fix test because the bin will not set the async element to PLAYING right
9214         away.
9215
9216         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9217         Make the message check a little stronger.
9218         Handle ASYNC messages.
9219
9220         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9221         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9222         Expect ASYNC_DONE messages.
9223
9224 2007-03-19  Wim Taymans  <wim@fluendo.com>
9225
9226         * docs/gst/gstreamer-sections.txt:
9227         * gst/gstmessage.c: (gst_message_new_async_start),
9228         (gst_message_new_async_done), (gst_message_parse_info),
9229         (gst_message_parse_async_start):
9230         * gst/gstmessage.h:
9231         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9232         support.
9233
9234 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9235
9236         * tools/gst-inspect.c:
9237         (print_plugin_automatic_install_info_codecs):
9238           Now that we don't check for the 'Codec' keyword any longer in the
9239           klass, we shouldn't spew a warning if the klass isn't a decoder or
9240           encoder (since it might be a Source/Network, for example).
9241
9242 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9243
9244         * tools/gst-inspect.c:
9245         (print_plugin_automatic_install_info_codecs):
9246           Don't require decoder/demuxer/depayloader elements or
9247           encoder/muxer/paylader elements to have 'Codec' as part of their
9248           factory class string when introspecting a plugin's capabilities.
9249           draft-klass.txt mentions that it might be removed in future, and
9250           flump3dec doesn't have it as part of its class string, so chances
9251           are others might also not have it.
9252
9253 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9254
9255         * po/af.po:
9256         * po/az.po:
9257         * po/bg.po:
9258         * po/ca.po:
9259         * po/cs.po:
9260         * po/de.po:
9261         * po/en_GB.po:
9262         * po/fr.po:
9263         * po/it.po:
9264         * po/nb.po:
9265         * po/nl.po:
9266         * po/ru.po:
9267         * po/sq.po:
9268         * po/sr.po:
9269         * po/sv.po:
9270         * po/tr.po:
9271         * po/uk.po:
9272         * po/vi.po:
9273         * po/zh_CN.po:
9274         * po/zh_TW.po:
9275           Update translations from translation project
9276
9277 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9278
9279         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9280         (gst_child_proxy_set_property):
9281           Invert precondition check to be alike the ones in the mimiced gobject
9282           api.
9283
9284 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9285
9286         * docs/design/draft-tagreading.txt:
9287         * docs/random/ensonic/audiobaseclasses.txt:
9288           Do some Architect work.
9289
9290         * gst/gstobject.c: (gst_object_set_name):
9291           Add a WARNING.
9292
9293         * gst/gstpad.c:
9294           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9295
9296 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9297
9298         * gst/gstsystemclock.c: (gst_system_clock_init),
9299         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9300         Defer starting the async system clock thread until the first async
9301         wait is scheduled. Fixes #414986.
9302
9303 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9304
9305         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9306         (gst_single_queue_free):
9307           Fix small leak (free GstSingleQueue structure too, not only contents).
9308
9309 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9310
9311         * gst/gstbin.c:(gst_bin_add):
9312         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9313         * win32/common/libgstbase.def:
9314         * win32/common/libgstreamer.def:
9315         Add new exported functions.
9316
9317 2007-03-09  Wim Taymans  <wim@fluendo.com>
9318
9319         * docs/plugins/gstreamer-plugins-sections.txt:
9320         Fix GstTee docs.
9321
9322 2007-03-09  Wim Taymans  <wim@fluendo.com>
9323
9324         * docs/gst/gstreamer-sections.txt:
9325         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9326         * gst/gstbuffer.h:
9327         Add metadata copy functions. Fixes #393099.
9328         API: gst_buffer_copy_metadata()
9329
9330         * gst/gstutils.c: (gst_buffer_stamp):
9331         * libs/gst/base/gstbasetransform.c:
9332         (gst_base_transform_prepare_output_buffer):
9333         Use new metadata copy functions.
9334
9335 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9336
9337         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9338         (gst_identity_init), (gst_identity_check_perfect),
9339         (gst_identity_check_imperfect_timestamp),
9340         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9341         (gst_identity_set_property), (gst_identity_get_property):
9342         * plugins/elements/gstidentity.h:
9343         Separate out check-imperfect-timestamp and check-imperfect-offset.
9344         Put back check-perfect as it was to keep compatibility.
9345
9346 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9347
9348         * gst/gstelement.c: (gst_element_dispose):
9349         There's no need to warn if VOID_PENDING is not NONE here, as
9350         long as the state is NULL it's ok, and that's checked immediately
9351         above.
9352
9353 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9354
9355         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9356         Fix check for perfect stream to ignore buffers with -1 
9357         offsets/offset ends when checking data contiguity.
9358
9359 2007-03-08  Wim Taymans  <wim@fluendo.com>
9360
9361         * tools/gst-launch.c: (event_loop):
9362         Print INFO messages.
9363
9364 2007-03-08  Wim Taymans  <wim@fluendo.com>
9365
9366         * libs/gst/base/gstbasetransform.c:
9367         (gst_base_transform_sink_eventfunc),
9368         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9369         (gst_base_transform_activate):
9370         * libs/gst/base/gstbasetransform.h:
9371         Add support for dropping buffers with custom GstFlowReturn.
9372         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9373         buffers or dropped buffers.
9374
9375         * docs/libs/gstreamer-libs-sections.txt:
9376         docs for new custom return code.
9377
9378         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9379         Use drop support in base class to implement drop-probability.
9380
9381 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9382
9383         * gst/gst.c: (load_plugin_func):
9384         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9385         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9386         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9387           Remove newlines at end of debug log strings.
9388
9389 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9390
9391         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9392         Only post bus message at max, once per buffer received.
9393
9394 2007-03-07  Wim Taymans  <wim@fluendo.com>
9395
9396         * docs/design/Makefile.am:
9397         * docs/design/part-synchronisation.txt:
9398         Add doc about synchronisation
9399
9400         * docs/design/draft-latency.txt:
9401         * docs/design/part-TODO.txt:
9402         * docs/design/part-clocks.txt:
9403         * docs/design/part-events.txt:
9404         * docs/design/part-gstbus.txt:
9405         * docs/design/part-gstpipeline.txt:
9406         * docs/design/part-live-source.txt:
9407         * docs/design/part-messages.txt:
9408         * docs/design/part-overview.txt:
9409         * docs/design/part-streams.txt:
9410         * docs/design/part-trickmodes.txt:
9411         Documentation updates.
9412
9413 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9414
9415         * gstreamer.doap:
9416         Update the doap file.
9417
9418 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9419
9420         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9421         Rename non-perfect to imperfect for Mike and for the sanctity of the
9422         language.
9423         Also make sure bus message gets emitted for data-incontiguities.
9424
9425 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9426
9427         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9428         (gst_identity_start):
9429         * plugins/elements/gstidentity.h:
9430         Emit bus message if check-perfect is true and we encounter a
9431         non-perfect stream between 2 consecutive buffers.
9432         Fixes #415394.
9433
9434 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9435
9436         * configure.ac:
9437         Back to CVS
9438
9439 === release 0.10.12 ===
9440
9441 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9442
9443         * configure.ac:
9444           releasing 0.10.12, "Inevitable Demise"
9445
9446 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9447
9448         * configure.ac:
9449          Version 0.10.11.2 (0.10.12 pre-release)
9450          Bump libtool versioning.
9451
9452 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9453
9454         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9455           Log flow-names and not numbers.
9456
9457 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9458
9459         * configure.ac:
9460           Convert to new AG_GST style.
9461
9462 2007-02-28  Wim Taymans  <wim@fluendo.com>
9463
9464         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9465         Don't unref query twice.
9466
9467 2007-02-28  Wim Taymans  <wim@fluendo.com>
9468
9469         * gst/gstvalue.c: (gst_value_transform_object_string),
9470         (_gst_value_initialize):
9471         Implement GstObject -> string transform so we print object names
9472         when serializing GValues containing GstObjects.
9473
9474 2007-02-28  Wim Taymans  <wim@fluendo.com>
9475
9476         * docs/gst/gstreamer-sections.txt:
9477         Add new stuff to docs.
9478
9479 2007-02-28  Wim Taymans  <wim@fluendo.com>
9480
9481         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9482         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9483         (gst_base_sink_change_state):
9484         Improve latency query code.
9485         Don't leak latency events.
9486
9487         * tests/check/gst/gstbin.c: (GST_START_TEST):
9488         Improve debugging.
9489
9490 2007-02-28  Wim Taymans  <wim@fluendo.com>
9491
9492         * gst/gstelement.c: (gst_element_message_full),
9493         (gst_element_get_state_func):
9494         * gst/gstelement.h:
9495         Improve docs a little. Added Since: for new macro.
9496
9497         * gst/gstobject.c: (gst_object_sink):
9498         * gst/gstpipeline.c: (gst_pipeline_change_state),
9499         (gst_pipeline_set_new_stream_time):
9500         * gst/gstpipeline.h:
9501         Improve debugging and docs.
9502
9503         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9504         Improve debugging.
9505
9506 2007-02-28  Wim Taymans  <wim@fluendo.com>
9507
9508         * gst/gstelement.c: (gst_element_message_full),
9509         (gst_element_set_locked_state), (gst_element_get_state_func),
9510         (gst_element_change_state):
9511         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9512         Documentation updates.
9513         Small code cleanups.
9514
9515         * gst/gstmessage.c: (gst_message_new_info),
9516         (gst_message_parse_info):
9517         * gst/gstmessage.h:
9518         API: gst_message_new_info()
9519         API: gst_message_parse_info()
9520         Add INFO message create and parse code.
9521
9522 2007-02-28  Wim Taymans  <wim@fluendo.com>
9523
9524         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9525         (bin_query_latency_done):
9526         Also report the live parameter of a latency query.
9527
9528 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9529
9530         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9531           Copy the current generic/states example from -base and adapt so
9532           we can use the exact same code everywhere.
9533           Check a STATES_IGNORE_ELEMENTS env var which can be used
9534           to ignore certain element factories for this test, which is
9535           what is being done in -base
9536         * tests/check/Makefile.am:
9537           Mention this environment variable.
9538
9539 2007-02-27  Wim Taymans  <wim@fluendo.com>
9540
9541         * docs/gst/gstreamer-sections.txt:
9542         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9543         (gst_bus_timed_pop), (gst_bus_pop):
9544         * gst/gstbus.h:
9545         API: gst_bus_timed_pop()
9546         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9547         message to arrive on the bus.
9548
9549         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9550         (gst_bus_suite):
9551         Two unit tests for new _timed_pop() function.
9552
9553 2007-02-23  Wim Taymans  <wim@fluendo.com>
9554
9555         * gst/gstpipeline.c: (gst_pipeline_change_state),
9556         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9557         Don't ref a NULL clock in _provide_clock_func().
9558         Don't allow an INVALID delay.
9559         Don't try to calculate base_time with an invalid start_time.
9560         Also distribute and notify a NULL clock when it was selected.
9561
9562         * tools/gst-launch.c: (event_loop):
9563         Don't crash when a NULL clock was selected in the pipeline.
9564
9565 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9566
9567         * docs/design/Makefile.am:
9568         * docs/design/draft-missing-plugins.txt:
9569         * docs/random/draft-missing-plugins.txt:
9570           Some small updates: update plugin system identifier prefix
9571           ('gstreamer.net' to 'gstreamer'), mention our new install
9572           API in libgstbaseutils rather than libgimme-codec, add
9573           reference to the online docs.
9574
9575 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9576
9577         * win32/common/config.h:
9578           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9579           use moap cl ci to only check in what is mentioned in the ChangeLog.
9580
9581 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9582
9583         * docs/gst/gstreamer-sections.txt:
9584         * gst/gstelement.h:
9585           Fix up documentation to link to the correct GstGError section.
9586           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9587
9588 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9589
9590         * tools/gst-launch.c: (event_loop):
9591           Make sure that we actually show the important message part of a
9592           warning message.
9593           No need to check if the gerror is not NULL to free; first of all
9594           g_free accepts NULL; and second the default error handler would
9595           segfault if gerror was NULL.
9596
9597 2007-02-21  Wim Taymans  <wim@fluendo.com>
9598
9599         * docs/gst/gstreamer-sections.txt:
9600         Removed docs as well.
9601
9602 2007-02-21  Wim Taymans  <wim@fluendo.com>
9603
9604         * gst/gstmessage.c: (gst_message_parse_duration):
9605         * gst/gstmessage.h:
9606         Remove new messages for release.
9607
9608 2007-02-20  Wim Taymans  <wim@fluendo.com>
9609
9610         * docs/design/part-gstghostpad.txt:
9611         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9612         (gst_ghost_pad_new_full):
9613         Make the ghostpad a parent of the internal pad again for better backward
9614         compatibility. Don't write code that relies on this however.
9615
9616         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9617         (gst_pad_link_check_hierarchy):
9618         Require that parents should be GstElements in the hierarchy check.
9619
9620 2007-02-20  Wim Taymans  <wim@fluendo.com>
9621
9622         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9623         (gst_bin_change_state_func), (bin_query_min_max_init),
9624         (bin_query_latency_fold), (bin_query_latency_done),
9625         (gst_bin_query):
9626         Improve debug info.
9627         Implement latency query.
9628
9629 2007-02-20  Wim Taymans  <wim@fluendo.com>
9630
9631         * docs/design/part-gstghostpad.txt:
9632         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9633         (gst_ghost_pad_internal_do_activate_push),
9634         (gst_ghost_pad_internal_do_activate_pull),
9635         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9636         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9637         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9638         Do not set the internal pad as a parent anymore so we can avoid
9639         hierarchy linking errors when the ghostpad has no parent yet. This also
9640         fixes failed activation because of unlinked internal pads, which in
9641         turn fixes the impossible case where you have to activate a pad before
9642         you can add it to a running element.
9643         Also fix the docs.
9644
9645         * gst/gstpad.c: (pre_activate), (post_activate),
9646         (gst_pad_set_active), (gst_pad_activate_pull),
9647         (gst_pad_activate_push), (gst_pad_check_pull_range):
9648         Add some more debug info.
9649         Mark activation mode in pre_activate so that we don't try to activate in
9650         endless loops. Fixes #385084.
9651
9652 2007-02-19  Wim Taymans  <wim@fluendo.com>
9653
9654         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9655         (gst_base_transform_check_get_range):
9656         Implement a checkgetrange function instead of relying on the default
9657         core behaviour that assumes we can operate in pull mode if we have a
9658         getrange function. First step at fixing #385084.
9659
9660 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9661
9662         * gst/gstchildproxy.h:
9663         * libs/gst/base/gstbasesink.h:
9664         * libs/gst/base/gstbasesrc.h:
9665         * libs/gst/base/gstbasetransform.h:
9666         More docs coverage and some ChangeLog surgery (add missing names)
9667
9668 2007-02-15  Wim Taymans  <wim@fluendo.com>
9669
9670         * docs/design/part-TODO.txt:
9671         * docs/design/part-activation.txt:
9672         * docs/design/part-block.txt:
9673         * docs/design/part-buffering.txt:
9674         * docs/design/part-clocks.txt:
9675         * docs/design/part-element-source.txt:
9676         * docs/design/part-events.txt:
9677         * docs/design/part-gstbin.txt:
9678         * docs/design/part-gstbus.txt:
9679         * docs/design/part-gstpipeline.txt:
9680         * docs/design/part-live-source.txt:
9681         * docs/design/part-messages.txt:
9682         * docs/design/part-overview.txt:
9683         * docs/design/part-qos.txt:
9684         * docs/design/part-query.txt:
9685         * docs/design/part-states.txt:
9686         * docs/design/part-trickmodes.txt:
9687         Some doc updates. Start renaming from stream_time to running_time where
9688         it was used wrongly.
9689
9690 2007-02-15  Wim Taymans  <wim@fluendo.com>
9691
9692         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9693         Answer LATENCY query.
9694
9695 2007-02-15  Wim Taymans  <wim@fluendo.com>
9696
9697         * tests/check/gst/gstevent.c: (event_probe), (test_event),
9698         (GST_START_TEST):
9699         Improve debugging.
9700
9701 2007-02-15  Wim Taymans  <wim@fluendo.com>
9702
9703         * gst/gstpad.c: (gst_pad_get_internal_links_default),
9704         (gst_pad_dispatcher):
9705         Improve debugging of default pad dispatcher and query functions.
9706
9707 2007-02-15  Wim Taymans  <wim@fluendo.com>
9708
9709         * docs/gst/gstreamer-sections.txt:
9710         Remove old unused method.
9711
9712 2007-02-13  Wim Taymans  <wim@fluendo.com>
9713
9714         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9715         Fix check
9716
9717 2007-02-13  Wim Taymans  <wim@fluendo.com>
9718
9719         * docs/design/part-seeking.txt:
9720         Some small update.
9721
9722         * gst/gstsegment.c: (gst_segment_set_seek):
9723         Revert old bogus change that should make seeking work again.
9724
9725 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9726
9727         * docs/random/ensonic/dynlink.txt:
9728         * docs/random/ensonic/interfaces.txt:
9729         * docs/random/ensonic/receipies.txt:
9730           Possible dynamic reconnection api, plus some type fixes the other two
9731           docs.
9732
9733 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
9734
9735         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9736         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9737         Also check for an absolute path following file:// in the filesrc
9738         element. Remove redundant check and call g_path_is_absolute() on the
9739         unescaped location.
9740
9741 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9742
9743         * docs/design/draft-klass.txt:
9744           Add existing category analysis.
9745           
9746         * gst/gstcaps.c:
9747           Fix doc example, framerate is a fraction.
9748
9749 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9750
9751         * configure.ac:
9752         * docs/gst/Makefile.am:
9753         * docs/gst/gstreamer-sections.txt:
9754         * docs/libs/Makefile.am:
9755           Erm, forgot a bunch of --extra-dir.
9756
9757 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9758
9759         * configure.ac:
9760         * docs/gst/Makefile.am:
9761         * docs/libs/Makefile.am:
9762         * docs/plugins/Makefile.am:
9763           Add crossreferences to glib/gobject docs.
9764
9765 2007-02-12  Wim Taymans  <wim@fluendo.com>
9766
9767         * docs/design/draft-latency.txt:
9768         Small update.
9769
9770         * docs/libs/gstreamer-libs-sections.txt:
9771         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9772         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9773         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9774         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9775         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9776         (gst_base_sink_get_position), (gst_base_sink_query),
9777         (gst_base_sink_change_state):
9778         * libs/gst/base/gstbasesink.h:
9779         API: gst_base_sink_query_latency() to let subclasses query the upstream
9780         latency.
9781         API: gst_base_sink_get_latency() to let subclasses query the configured
9782         latency in the sink.
9783         Implement query and set latency.
9784         Update some docs.
9785         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9786         don't continue preroll when we are flushing. Fixes #405284.
9787
9788         * tests/check/pipelines/stress.c: (change_state_timeout),
9789         (quit_timeout), (GST_START_TEST), (stress_suite):
9790         Test for #405284.
9791
9792 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
9793
9794         Patch by: René Stadler <mail at renestadler de>
9795
9796         * docs/gst/gstreamer-sections.txt:
9797         * gst/gsttaglist.c: (_gst_tag_initialize):
9798         * gst/gsttaglist.h:
9799           API: add GST_TAG_REFERENCE_LEVEL (#403597).
9800
9801 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
9802
9803         * docs/libs/Makefile.am:
9804           Fix path to core docs.
9805
9806         * gst/gstbin.c: (gst_bin_get_by_interface),
9807         (gst_bin_iterate_all_by_interface):
9808           Refix docs by also renaming 'interface' to 'iface' in implementation.
9809
9810         * docs/gst/gstreamer-sections.txt:
9811         * gst/gstcaps.c:
9812         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9813         * gst/gstchildproxy.h:
9814         * gst/gstelementfactory.c:
9815         * gst/gstpadtemplate.h:
9816         * libs/gst/controller/gstcontroller.c:
9817         (gst_controlled_property_new):
9818           Document more.
9819
9820 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
9821
9822         * gst/gstbin.h:(gst_bin_get_by_interface),
9823         (gst_bin_iterate_all_by_interface):
9824         Replace interface parameter name by iface as interface is 
9825         a reserved keyword in Visual Studio for C++ projects so it removes
9826         a build error for application developpers using VS.
9827         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9828         Fix a bug on Windows in uri format check. Now the prefix checked
9829         is file:// and next we check if the path after file:// is absolute.
9830         * win32/common/libgstbase.def:
9831         * win32/common/libgstdataprotocol.def:
9832         * win32/common/libgstgstreamer.def:
9833         Add new exported functions.
9834
9835 2007-02-09  Andy Wingo  <wingo@pobox.com>
9836
9837         * tests/check/pipelines/simple-launch-lines.c
9838         (simple_launch_lines_suite, test_tee): Disable tee test until I
9839         have time to fix it :-(
9840
9841         * tests/check/Makefile.am (noinst_HEADERS): 
9842         * tests/check/libs/libsabi.c: 
9843         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9844         * tests/check/gst/gstabi.c: 
9845         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9846
9847         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9848         tests for push and pull tee behavior.
9849
9850         * plugins/elements/gsttee.h: 
9851         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9852         mark as deprecated as well as unimplemented. It was a crack idea.
9853         Add support for tee operating in pull mode, off by default.
9854
9855         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9856         normal-case logs down to LOG, raise errors to WARNING.
9857         (gst_registry_xml_read_cache): Don't log before calling a function
9858         that logs.
9859
9860         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9861         exit (registry finalize).
9862         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9863         DEBUG log when we emit signals that people don't even have the
9864         chance to connect to.
9865         (gst_registry_scan_path_level): Less logging in the normal case.
9866
9867 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
9868
9869         Patch by: Michal Benes <michal dot benes at itonis dot tv>
9870
9871         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9872         Correctly generate EOS for non-seekable files. We don't have a total
9873         length for them and would get an unexpected end of file if we only
9874         special-cased for regular files. (Fixes: #404569)
9875
9876 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
9877
9878         * tests/check/elements/filesrc.c: (GST_START_TEST),
9879         (filesrc_suite):
9880         Add unit test for the GstURIHandler interface in filesrc. This also
9881         tests the newly added file://localhost/foo/bar support.
9882
9883 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
9884
9885         * gst/gstelementfactory.h:
9886           The klass string is not a hierarchy. Add reference to the design doc
9887           for more information and common types.
9888
9889 2007-02-02  Wim Taymans  <wim@fluendo.com>
9890
9891         * gst/gstquery.c: (gst_query_new_latency):
9892         Remove old structure field.
9893
9894 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
9895
9896         * tools/gst-launch.1.in:
9897           Give example for network streaming (#351998)
9898
9899 2007-02-02  Wim Taymans  <wim@fluendo.com>
9900
9901         * docs/gst/gstreamer-sections.txt:
9902         Add docs for new methods.
9903
9904         * gst/gstevent.c: (gst_event_new_latency),
9905         (gst_event_parse_latency):
9906         * gst/gstevent.h:
9907         Add new LATENCY event to configure latency in a pipeline.
9908         API: gst_event_new_latency
9909         API: gst_event_parse_latency
9910
9911         * gst/gstmessage.c: (gst_message_new_buffering),
9912         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9913         (gst_message_new_latency), (gst_message_parse_buffering),
9914         (gst_message_parse_lost_preroll):
9915         * gst/gstmessage.h:
9916         Added messages used in draft-latency.
9917         API: gst_message_new_lost_preroll
9918         API: gst_message_parse_lost_preroll
9919         API: gst_message_new_prerolled
9920         API: gst_message_new_latency
9921
9922         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9923         (gst_query_parse_latency):
9924         * gst/gstquery.h:
9925         Implemented new latency query as in design doc.
9926         API: gst_query_new_latency
9927         API: gst_query_set_latency
9928         API: gst_query_parse_latency
9929
9930 2007-02-02  Wim Taymans  <wim@fluendo.com>
9931
9932         * docs/design/draft-latency.txt:
9933         Slight redesign to allow for dynamic latency adjustments.
9934
9935         * docs/design/part-negotiation.txt:
9936         Fix some typos.
9937
9938 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
9939
9940         reviewed by: Wim Taymans <wim@fluendo.com>
9941
9942         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9943         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9944         Allow file://localhost/foo/bar URLs and correctly fail for every other
9945         hostname that one sets. This was gnomevfssrc is linked for those if
9946         installed as it can handle it (#403172)
9947
9948 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
9949
9950         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9951
9952         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9953         (unref_data), (gst_collect_pads_add_pad_full):
9954         * libs/gst/base/gstcollectpads.h:
9955         Don't put the previously added destroy notify in the GstCollectData
9956         struct as all it's padding is already used and we don't want to break
9957         ABI. Instead put in the pad's GObject data for now. This should be
9958         cleaned up for 0.11 (#402393).
9959
9960 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
9961
9962         reviewed by: Wim Taymans <wim@fluendo.com>
9963
9964         * docs/libs/gstreamer-libs-sections.txt:
9965         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9966         (unref_data), (gst_collect_pads_add_pad),
9967         (gst_collect_pads_add_pad_full):
9968         * libs/gst/base/gstcollectpads.h:
9969         API: Add function to specify a destroy notification for custom
9970         GstCollectData when adding new pads in GstCollectPads (#402393).
9971
9972 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
9973
9974         * po/sv.po:
9975           Update Swedish translation (#378255).
9976
9977 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
9978
9979         * docs/design/draft-klass.txt:
9980           Fix the previous change, this is a list of categories and not a hierarchy.
9981
9982 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
9983
9984         * docs/design/draft-klass.txt:
9985           Add info about how to get a list of used classes.
9986
9987 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
9988
9989         * plugins/elements/gsttypefindelement.c:
9990         (gst_type_find_element_chain_do_typefinding),
9991         (gst_type_find_element_change_state):
9992           Don't leak found caps in chain function (no idea why that never
9993           showed up as a leak anywhere).
9994
9995 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
9996
9997         * gst/gstplugin.h:
9998           Fix and expand GstPluginDesc API docs.
9999
10000 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10001
10002         * gst/gstcaps.c:
10003         * gst/gstelementfactory.c:
10004         * gst/gstpadtemplate.h:
10005           api doc fixes
10006
10007         * libs/gst/controller/gstcontroller.c:
10008         (gst_controlled_property_new):
10009         * tests/examples/controller/audio-example.c:
10010           comment fixes
10011
10012 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10013
10014         * configure.ac:
10015           comment about refining the xml deps
10016
10017         * docs/manuals.mak:
10018           comments about moving away from jade for docs
10019         
10020         * gst/gst.c:
10021           recommit the ifdefs to use the binary registry
10022         
10023         * gst/gstbin.c: (gst_bin_change_state_func):
10024           this break is obsolete
10025
10026         * gst/gstelementfactory.h:
10027           better GST_ELEMENT_DETAILS docs, add comment about translation
10028
10029         * gst/gstinfo.h:
10030           remove eol slash
10031
10032         * gst/gstobject.c: (gst_signal_object_get_type):
10033           add G_UNLIKELY as usual
10034
10035         * gst/gstpad.c: (gst_pad_event_default):
10036           add fall trhu comment
10037
10038         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10039         (gst_registry_binary_initialize_magic),
10040         (gst_registry_binary_save_string),
10041         (gst_registry_binary_save_pad_template),
10042         (gst_registry_binary_save_feature),
10043         (gst_registry_binary_save_plugin),
10044         (gst_registry_binary_write_cache),
10045         (gst_registry_binary_check_magic),
10046         (gst_registry_binary_load_pad_template),
10047         (gst_registry_binary_load_feature),
10048         (gst_registry_binary_load_plugin),
10049         (gst_registry_binary_read_cache):
10050           comment typo and formatting
10051
10052         * gst/gstutils.c: (gst_element_state_get_name),
10053         (gst_element_state_change_return_get_name):
10054           remove obsolete breaks
10055
10056         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10057           add FIXME 0.11 and remove cpp comment
10058
10059 2007-01-29  Edward Hervey  <edward@fluendo.com>
10060
10061         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10062         Fix print statement in an even more portable way.
10063
10064 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10065
10066         * docs/gst/gstreamer-sections.txt:
10067         * gst/gstutils.h:
10068           API: add GST_ROUND_DOWN_* macros (#401781).
10069
10070 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10071
10072         * docs/gst/gstreamer.types.in:
10073         * gst/gstregistry.c: (gst_registry_class_init):
10074           Document registry signals and make gtk-doc pick them up (#401381).
10075
10076 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10077
10078         * docs/pwg/building-testapp.xml:
10079           Add some audioconverts and audioresample to the pipeline, and some
10080           more comments and error handling.
10081
10082 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10083
10084         * docs/manual/manual.xml:
10085         * docs/pwg/pwg.xml:
10086           Fix typo (#400987).
10087
10088 2007-01-26  Wim Taymans  <wim@fluendo.com>
10089
10090         * gst/gstcaps.c: (gst_static_caps_get):
10091         Init caps flags too.
10092
10093 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10094
10095         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10096
10097         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10098         If not using mmap'ed files try to seek to the end instead of the
10099         start to determine whether we can seek at all. This fixes the case
10100         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10101         seeks for everything afterwards fail. Fixes #400656
10102
10103 2007-01-25  Wim Taymans  <wim@fluendo.com>
10104
10105         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10106         Add some refcount debugging.
10107         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10108         in multiple streaming threads.
10109
10110 2007-01-25  Wim Taymans  <wim@fluendo.com>
10111
10112         Patch by: David Schleef <ds at schleef dot org>
10113
10114         * docs/libs/gstreamer-libs-sections.txt:
10115         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10116         * libs/gst/base/gstadapter.h:
10117         API: gst_adapter_copy() that can reduce the amount of memcpy when
10118         getting data from the adapter. Fixes #388201.
10119
10120 2007-01-25  Edward Hervey  <edward@fluendo.com>
10121
10122         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10123         In print statements, "%x" is for guint. Fixes build on macosx.
10124
10125 2007-01-24  Edward Hervey  <edward@fluendo.com>
10126
10127         * plugins/elements/gstmultiqueue.c:
10128         (gst_multi_queue_loop):
10129         Small fix.
10130         (single_queue_overrun_cb), (single_queue_underrun_cb),
10131         (single_queue_check_full), (gst_single_queue_new):
10132         Implement single queue growth system.
10133         This uses the extra-size properties, and will grow single queues by
10134         that much if one goes full whereas there are others empty. This is
10135         called extra-mode in the code.
10136         When a single queue's levels go back below the initial max-size
10137         limits, it is no longer in extra-mode. This is to ensure we don't
10138         consume too much memory.
10139         Fixes #399875
10140
10141 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10142
10143         * gst/gst.c: (gst_init_get_option_group):
10144           Make warning about late g_thread_init() calls a bit more explicit,
10145           so that it's more obvious to application developers what they need
10146           to do if a user files a bug against their application.
10147
10148 2007-01-22  Edward Hervey  <edward@fluendo.com>
10149
10150         * plugins/elements/gstmultiqueue.c:
10151         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10152         Remove previous hack of unsetting the flushing flag for the source pad
10153         instead of activating it. Instead, fix the source pad activate function
10154         so that it no longer depends on having a parent set or not.
10155
10156 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10157
10158         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10159
10160         * docs/manual/basics-bus.xml:
10161           Fix example code, gst_element_unref() doesn't exist any longer.
10162
10163 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10164
10165         Patch by: Mark Nauwelaerts <manauw at skynet be>
10166
10167         * gst/gstpad.c:
10168           Fix two docs typoes (#399094).
10169
10170 2007-01-19  Edward Hervey  <edward@fluendo.com>
10171
10172         * docs/faq/gst-uninstalled:
10173         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10174         depending on libgstbaseutils can work in uninstalled environment.
10175
10176 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10177
10178         * gst/gsttaglist.h:
10179         * gst/gsttagsetter.c:
10180         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10181         statement for new tag.
10182
10183 2007-01-17  Edward Hervey  <edward@fluendo.com>
10184
10185         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10186         When dynamically creating single queues, activate sinkpad before adding
10187         it.
10188         We should be doing the same thing for the source pad, but we can't
10189         since it would call a method which needs the parent to be set in order
10190         to work propertly. Instead of activating the source pad, we just unset
10191         the flushing flag, which is the minimal requirement for adding a pad
10192         to an element in a state greater than READY.
10193
10194 2007-01-17  Edward Hervey  <edward@fluendo.com>
10195
10196         * docs/faq/gst-uninstalled:
10197         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10198         Mac OS X.
10199
10200 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10201
10202         * tests/check/gst/gstabi.c:
10203         * tests/check/gst/struct_hppa.h:
10204         * tests/check/libs/libsabi.c:
10205         * tests/check/libs/struct_hppa.h:
10206           Add ABI structs for HPPA (see #393796).
10207
10208 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10209
10210         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10211           Actually write ABI structs to the file specified in the GST_ABI
10212           environment variable, as the message we print claims we would.
10213
10214 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10215
10216         * tests/check/gst/gsttask.c:
10217           Fix header comment.
10218
10219 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10220
10221         * gst/gsttaglist.c: (_gst_tag_initialize):
10222           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10223           previous two entries.
10224
10225 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10226
10227         * docs/gst/gstreamer-sections.txt:
10228         * gst/gsttaglist.c: (_gst_tag_initialize):
10229         * gst/gsttaglist.h:
10230           Add tag support for beat-per-minute.
10231
10232 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10233
10234         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10235         (gst_registry_binary_initialize_magic),
10236         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10237         (gst_registry_binary_save_pad_template),
10238         (gst_registry_binary_save_feature),
10239         (gst_registry_binary_save_plugin),
10240         (gst_registry_binary_write_cache),
10241         (gst_registry_binary_check_magic),
10242         (gst_registry_binary_load_pad_template),
10243         (gst_registry_binary_load_feature),
10244         (gst_registry_binary_load_plugin),
10245         (gst_registry_binary_read_cache):
10246         * gst/gstregistrybinary.h:
10247           Use glib types, cleanup comments, impement interfaces and uri-types.
10248
10249 2007-01-13  Andy Wingo  <wingo@pobox.com>
10250
10251         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10252         getrange() to return buffers with other caps, while we fix
10253         demuxers and typefind, or otherwise change part-negotiation.txt.
10254
10255 2007-01-12  Andy Wingo  <wingo@pobox.com>
10256
10257         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10258         Factor start/stop into this private function instead of partially
10259         in activate functions and partially in the change_state function.
10260         Fixes setup before the element has changed from READY->PAUSED, as
10261         is the case in pull-mode pipelines.
10262         (gst_base_transform_sink_activate_push)
10263         (gst_base_transform_src_activate_pull): Refactor to use
10264         gst_base_transform_activate().
10265         (gst_base_transform_change_state): Removed, not needed any more.
10266
10267         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10268         Truncate before fixating.
10269         
10270         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10271         Don't set_caps() if the result of fixating is ANY, as it's not
10272         supported, and not necessary in the case of a link with no
10273         template caps on either side. Fixes tests/check/libs/basesrc in
10274         some pull-mode tests.
10275
10276         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10277         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10278         (gst_base_transform_src_activate_pull): 
10279         Track the activation mode.
10280         (gst_base_transform_setcaps): In pull mode, when activating the
10281         src pad, after activating the sink pad, activate the sink pad's
10282         peer, as discussed in part-negotiation.txt.
10283
10284         * libs/gst/base/gstbasesrc.h: 
10285         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10286         vmethod, as in basesink.
10287
10288         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10289
10290         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10291         mode, first proxy the setcaps to the peer pad.
10292         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10293         new fixate vmethod.
10294         (gst_base_sink_default_activate_pull): Rename from
10295         gst_base_sink_activate_pull.
10296         (gst_base_sink_negotiate_pull): New function, performs negotiation
10297         in pull mode before calling ::activate_pull().
10298         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10299         vmethod instead of the default implementation. I have no idea how
10300         this worked before. Negotiate before calling activate_pull.
10301
10302         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10303         sink pads in pull mode. In addition to being correct, fixes
10304         filesrc ! decodebin ! identity ! fakesink.
10305         (gst_pad_get_range, gst_pad_pull_range): Don't call
10306         gst_pad_set_caps() if the caps changes; instead error out with
10307         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10308
10309 2007-01-12  Andy Wingo  <wingo@pobox.com>
10310
10311         * docs/design/part-negotiation.txt: Update with more policy.
10312
10313 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10314
10315         * libs/gst/check/gstbufferstraw.h:
10316         * libs/gst/check/gstcheck.h:
10317           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10318           belongs.
10319
10320 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10321
10322         * tests/check/Makefile.am:
10323         * tests/check/gst/.cvsignore:
10324         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10325         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10326         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10327         (GST_START_TEST), (gst_tag_setter_suite):
10328           Add minimal unit test for beforementioned GstTagSetter bug.
10329
10330 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10331
10332         Patch by: René Stadler <mail at renestadler dot de>
10333
10334         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10335           gst_tag_list_merge() returns a new list, so it's not the best idea
10336           to ingore its return value. Effectively meant that tags could only
10337           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10338           Also add function guard to require a non-NULL taglist as input (has
10339           always been so due to gst_tag_list_copy(), just making it explicit).
10340
10341 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10342
10343         * docs/random/draft-missing-plugins.txt:
10344           Some additions: mention new API that is supposed to be used at the
10345           various stages; short blob about new gst-inspect introspection
10346           option; mention potential future problem with plugins that have
10347           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10348
10349 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10350
10351         * tools/gst-inspect.c:
10352         (print_plugin_automatic_install_info_codecs),
10353         (print_plugin_automatic_install_info_protocols),
10354         (print_plugin_automatic_install_info), (main):
10355         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10356         introspect plugin files and get machine-parsable output that corresponds
10357         to the last bit of the missing-plugin installer string (small gotcha:
10358         doesn't take into account ranks).
10359
10360 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10361
10362         * configure.ac:
10363         * docs/gst/gstreamer-sections.txt:
10364         * gst/Makefile.am:
10365         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10366         (gst_registry_lookup_locked):
10367         * gst/gstregistry.h:
10368         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10369         (gst_registry_binary_initialize_magic),
10370         (gst_registry_binary_save_string),
10371         (gst_registry_binary_save_pad_template),
10372         (gst_registry_binary_save_feature),
10373         (gst_registry_binary_save_plugin),
10374         (gst_registry_binary_write_cache),
10375         (gst_registry_binary_check_magic),
10376         (gst_registry_binary_load_pad_template),
10377         (gst_registry_binary_load_feature),
10378         (gst_registry_binary_load_plugin),
10379         (gst_registry_binary_read_cache):
10380         * gst/gstregistrybinary.h:
10381         * gst/gstregistryxml.c: (load_feature),
10382         (gst_registry_xml_read_cache):
10383           commit binary registry (disabled by default, see #359653)
10384
10385 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10386
10387         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10388           Fix 'make check' too.
10389
10390 2007-01-10  Andy Wingo  <wingo@pobox.com>
10391
10392         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10393         notes.
10394         
10395         * docs/design/part-negotiation.txt: Update with, um, one way that
10396         pull-mode negotiation might work?
10397
10398         * gst/gstpad.h: 
10399         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10400         that the pad must be a src pad; makes sense to call it the other
10401         way in pull mode, and the logic is symmetric anyway.
10402
10403 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10404
10405         * plugins/elements/gstfilesink.c:
10406           Include <stdio.h> for fseeko().
10407
10408 2007-01-10  Wim Taymans  <wim@fluendo.com>
10409
10410         * gst/gstevent.c:
10411         * gst/gstevent.h:
10412         Reserve LATENCY event.
10413
10414 2007-01-09  Wim Taymans  <wim@fluendo.com>
10415
10416         * docs/design/draft-latency.txt:
10417         Updates.
10418
10419 2007-01-09  Wim Taymans  <wim@fluendo.com>
10420
10421         * docs/design/draft-latency.txt:
10422         Updates.
10423
10424         * gst/gstelement.h:
10425         * gst/gststructure.c:
10426         * gst/gsttrace.c:
10427         Small typo fixes.
10428
10429 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10430
10431         * tests/check/.cvsignore:
10432           Ignore test-registry.xml as well.
10433
10434 2007-01-09  Wim Taymans  <wim@fluendo.com>
10435
10436         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10437         unref data at the end when we are done with the pad.
10438
10439 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10440
10441         * docs/gst/gstreamer-sections.txt:
10442         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10443         (init_post), (gst_deinit), (gst_update_registry):
10444         * gst/gst.h:
10445           API: add gst_update_registry() (#391296).
10446
10447         * tests/check/Makefile.am:
10448         * tests/check/gst/gstregistry.c:
10449         * tests/check/gst/.cvsignore:
10450           Simple unit test for the above.
10451
10452 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10453
10454         * gst/gstregistry.c: (gst_registry_scan_path_level):
10455           Plugin extension on HP-UX is .sl, add that to the list of approved
10456           plugin extensions (see #393796).
10457
10458         * tests/check/gst/gstpad.c: (GST_START_TEST):
10459           ulong => gulong. Fixes compilation with HP-UX compiler.
10460
10461         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10462           Fix compilation if valgrind headers are not available.
10463
10464 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10465
10466         * win32/common/libgstreamer.def: 
10467           Add new exported function.
10468         * win32/vs6/libgstbase.dsp: 
10469           Add gstdataqueue.c to the build.
10470         * win32/vs6/libgstcoreelements.dsp:
10471           Add gstmultiqueue.c to the build.
10472         
10473 2007-01-06  Andy Wingo  <wingo@pobox.com>
10474
10475         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10476         activate_pull(), providing for a way to specialize the process of
10477         spawning a thread to pull on the sink pad. There is a default
10478         implementation.
10479
10480         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10481         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10482         (gst_base_sink_init): Renamed pad activation functions (inserting
10483         "_pad" in their names). Refactor to use the new activate_pull
10484         vmethod, as appropriate.
10485         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10486         default activate_pull function to start a task pulling from the
10487         sink pad, as before.
10488
10489         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10490         on the pads if necessary, as in push()/chain(). Update docs.
10491         Shouldn't affect existing pull() usage as it is currently only
10492         being used on buffers without caps.
10493
10494 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10495
10496         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10497         (init_pre):
10498           Call g_thread_init() first thing in gst_init() / gst_check_init().
10499           When initialisation is done via gst_init_get_option_group() and
10500           GOption parsing, issue a warning if the GLib thread system has not
10501           been initialised yet by the time gst_init_get_option_group() is
10502           called, as it's quite likely other GLib functions such as
10503           g_option_context_new() have been called already then, and
10504           g_thread_init() must be called before any other GLib function. The
10505           application in question must be fixed in that case, since memory
10506           corruption might happen otherwise.
10507           We issue the warning because even if the GLib folks decide to work
10508           around the problem on their end in future, this is still an issue
10509           with all GLib versions >= 2.10.0, so we should warn until we depend
10510           on a GLib version we know to be safe.
10511           Update documentation as well.
10512           Closes bug #391278.
10513
10514 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10515
10516         * tools/gst-inspect.c: (main):
10517         * tools/gst-launch.c: (main):
10518         * tools/gst-typefind.c: (main):
10519         * tools/gst-xmlinspect.c: (main):
10520           Call g_thread_init() really really early, before any other GLib
10521           function (see #342564 and recent discussion on gtk-devel-list).
10522
10523 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10524
10525         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10526
10527         * gst/gst_private.h:
10528         * gst/gstconfig.h.in:
10529         * gst/gstinfo.h:
10530           On win32, all the __declspec stuff for symbol exporting is
10531           apparently only needed with MSVC, but doesn't work with MingW.
10532           Fixes compilation with MingW and #391909.
10533
10534 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10535
10536         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10537           Change some GST_ERROR_OBJECT that aren't really errors to
10538           GST_WARNING_OBJECT in order to reduce terminal spam.
10539
10540 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10541
10542         * tests/check/Makefile.am:
10543           disable test again, as there seem to be still race problems
10544
10545 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10546
10547         * tests/check/Makefile.am:
10548         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10549         (GST_START_TEST), (queue_suite):
10550           enable queue test again, add tests for the leaky behaviour
10551
10552 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10553
10554         * configure.ac:
10555         * tests/examples/Makefile.am:
10556           Compile adapter test/example only if the required headers are
10557           available (fixes #391915).
10558
10559 2007-01-01  David Schleef  <ds@schleef.org>
10560
10561         * gst/gstplugin.c:
10562           Restore the previous signal handler for SIGSEGV instead of
10563           setting to default, since we may have stolen it away from
10564           someone.  (i.e., Mono)
10565
10566 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10567
10568         * docs/random/draft-missing-plugins.txt:
10569           Some small additions and clarifications.
10570
10571 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10572
10573         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10574           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10575           since that can lead to random memory corruptions and crashes
10576           (may or may not be related to #383244, #386711, and #386711).
10577
10578 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10579
10580         * tests/check/.cvsignore:
10581         * tests/check/Makefile.am:
10582           sync .cvsignome and CLEANFILES
10583
10584 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10585
10586         * tests/check/Makefile.am:
10587           fix distcheck
10588
10589 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10590
10591         * docs/design/part-states.txt:
10592           two tiny additional comments
10593         
10594         * gst/gststructure.c:
10595           doc fixing
10596
10597         * tests/check/Makefile.am:
10598         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10599         (GST_START_TEST):
10600           disable test for now, unless it gets fixed
10601
10602 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10603
10604         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10605         (GST_START_TEST):
10606           fix race in underrun test
10607
10608 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10609
10610         * tests/check/elements/.cvsignore:
10611           ignore more
10612
10613         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10614         (GST_START_TEST):
10615           try to narrow test failure
10616
10617 2006-12-21  David Schleef  <ds@schleef.org>
10618
10619         * plugins/elements/gstfakesrc.c:
10620           Use g_random_int_range(), since it produces better random
10621           numbers in a range than almost-correct floating point code.
10622
10623 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10624
10625         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10626         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10627         (gst_check_teardown_sink_pad):
10628           do not automatically (de)activate pads
10629
10630         * tests/check/Makefile.am:
10631         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10632         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10633           add new, yet simple tests for queue
10634
10635         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10636         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10637         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10638         (GST_START_TEST):
10639         * tests/check/elements/identity.c: (cleanup_identity):
10640           consistent pad (de)activation
10641
10642 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10643
10644         Patch by: Sebastian Dröge  <slomo ubuntu com>
10645
10646         * libs/gst/base/gstcollectpads.c:
10647           Fix two doc typos (#387866).
10648
10649 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10650
10651         * docs/manual/advanced-dparams.xml:
10652           Fix typo (g_object_control_properties() doesn't exist).
10653
10654 2006-12-19  Edward Hervey  <edward@fluendo.com>
10655
10656         * gst/gstsegment.c: (gst_segment_set_seek):
10657         Fine tune the cases where the segment start/stop values are really
10658         updated.
10659         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10660         Add tests for the return values of gst_segment_set_seek().
10661
10662 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10663
10664         * gst/gst.c:
10665           Docs typo fix.
10666
10667         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10668         (gst_queue_init):
10669           Fix incorrect documentation and flesh it out a bit more.
10670           Set default values for the max properties on the GParamSpec as well,
10671           so it shows up correctly in gst-inspect.
10672
10673 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10674
10675         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10676           Correct docs of queue, add more detail and crosslink it more.
10677
10678 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10679
10680         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10681           Print additional debug info when the stream isn't perfectly
10682           timestamped; don't try to use invalid durations.
10683
10684 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10685
10686         * docs/design/Makefile.am:
10687           Dist new design docs.
10688
10689 2006-12-16  Wim Taymans  <wim@fluendo.com>
10690
10691         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10692
10693         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10694         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10695         (gst_collect_pads_stop), (gst_collect_pads_event),
10696         (gst_collect_pads_chain):
10697         * libs/gst/base/gstcollectpads.h:
10698         Add refcounting to the collectpads data so we can track when it's safe
10699         to free the data. Fixes #383382.
10700
10701 2006-12-15  Wim Taymans  <wim@fluendo.com>
10702
10703         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10704         (gst_collect_pads_remove_pad):
10705         Automatically activate/deactivate pads when they are added to a
10706         started/stoped collectpads.
10707
10708 2006-12-15  Wim Taymans  <wim@fluendo.com>
10709
10710         * gst/gstelement.c: (gst_element_add_pad):
10711         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10712         * gst/gstpad.c: (gst_pad_init):
10713         Set pads to FLUSHING when they are created. Check, warn and fix when a
10714         demuxer adds an inactive pad to itself when running. Fixes #339326.
10715
10716 2006-12-15  Wim Taymans  <wim@fluendo.com>
10717
10718         * gst/gstelement.c: (gst_element_class_init),
10719         (gst_element_default_send_event), (gst_element_send_event),
10720         (gst_element_default_query), (gst_element_query):
10721         Expose default element send_event and query handling as vmethods that
10722         subclasses can chain up to.
10723
10724 2006-12-15  Wim Taymans  <wim@fluendo.com>
10725
10726         * gst/gstelement.c: (gst_element_set_state_func):
10727         Small documentation fixes.
10728
10729 2006-12-15  Wim Taymans  <wim@fluendo.com>
10730
10731         * docs/design/draft-latency.txt:
10732         Checked in draft for handling latency in pipelines.
10733
10734 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10735
10736         * Makefile.am:
10737         * gstreamer.doap:
10738         * gstreamer.spec.in:
10739           adding .doap file
10740
10741 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
10742
10743         * gst/gst.c: (init_pre), (init_post):
10744           init_pre() and init_post() might be called via our GOptionGroup or
10745           from gst_init(), and we should skip both of them if we've already
10746           been initialised, otherwise we will init some things twice or add
10747           two default log functions.
10748
10749 2006-12-13  Edward Hervey  <edward@fluendo.com>
10750
10751         * docs/manual/basics-bus.xml:
10752         No, gst_main_loop does not exist. Its g_main_loop.
10753         Discovered by somebody who abused the copy-paste technique of coding :)
10754
10755 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
10756
10757         * gst/gstghostpad.c:
10758           Log ghostpad debug stuff to the GST_PADS category as well rather
10759           than just to the default category.
10760
10761 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
10762
10763         * configure.ac:
10764         * gst/gst.c: (init_pre):
10765           Add some basic system details such as OS and architecture
10766           to the debug output if possible, courtesy of uname().
10767
10768 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10769
10770         * docs/gst/running.xml:
10771           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10772           environment variables.
10773
10774 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10775
10776         * tests/check/gst/gstbin.c: (GST_START_TEST):
10777         It is acceptable to have a refcount of 2 or 3 at this point in the
10778         test, because the pipeline might be just posting its state_change
10779         message. The next line then waits for that message to appear using
10780         bus_poll, so that should be fine too.
10781
10782 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10783
10784         * gst/gst.c: (ensure_current_registry_forking):
10785         Ignore EINTR when reading from the child registry pipe.
10786         Explicitly ignore the return value from close, since it makes no
10787         difference.
10788
10789         * gst/gstminiobject.c: (gst_mini_object_ref),
10790         (gst_mini_object_unref):
10791         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10792
10793         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10794         When removing cached plugins, remove their features too, so they're
10795         not visible after they've disappeared.
10796
10797         * gst/gstutils.c: (prepare_link_maybe_ghosting):
10798         In the unlikely case that we are linking pads with no parents, don't
10799         crash trying to get the non-existent parent bin.
10800
10801         * gst/parse/grammar.y:
10802         Output debug in the PIPELINE category
10803
10804 2005-03-08  Wim Taymans  <wim@fluendo.com>
10805
10806         Patch by: René Stadler <mail at renestadler dot de>
10807
10808         * gst/gstclock.c: (gst_clock_new_periodic_id):
10809         Reject invalid clock times for interval of periodic ids.
10810         Fixes ##383506.
10811
10812 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
10813
10814         * gst/gstelementfactory.c: (gst_element_factory_create):
10815         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10816         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10817         * tools/gst-inspect.c: (print_element_info):
10818         Fix refcounting of gst_plugin_feature_load to match the docs. 
10819         Fixes: #380129
10820
10821 2006-12-07  Wim Taymans  <wim@fluendo.com>
10822
10823         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10824         (gst_base_sink_get_position):
10825         Improve debugging of events.
10826
10827 2006-12-07  Wim Taymans  <wim@fluendo.com>
10828
10829         Patch by: René Stadler <mail at renestadler dot de>
10830
10831         * gst/gstclock.c: (gst_clock_id_wait):
10832         Make period ids add the interval to the origial requested time instead
10833         of the possibly updated time which can be wrong when there are multiple
10834         waiters for the same id. Fixes #382592.
10835
10836         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10837         (gst_system_clock_id_wait_jitter_unlocked),
10838         (gst_system_clock_id_wait_jitter):
10839         Fix restart in the async notify thread when an async entry is added to
10840         the front of the list. Fixes #381492. 
10841
10842         * tests/check/gst/gstsystemclock.c: (store_callback),
10843         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10844         Added test for multiple async waits.
10845         Added test for async wait order.
10846
10847 2006-12-07  Wim Taymans  <wim@fluendo.com>
10848
10849         * gst/gstbin.c: (gst_bin_query):
10850         Add some more docs about the POSITION query.
10851
10852 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
10853
10854         * configure.ac:
10855         Bump version nano - back to CVS.
10856
10857 === release 0.10.11 ===
10858
10859 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
10860
10861         * configure.ac:
10862           releasing 0.10.11, "Love never runs on time"
10863
10864 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
10865
10866         * win32/common/libgstbase.def:
10867         * win32/common/libgstreamer.def:
10868         * win32/vs8/libgstbase.vcproj:
10869         * win32/vs8/libgstcoreelements.vcproj:
10870         * win32/vs8/libgstreamer.vcproj:
10871         Fix compilation on win32 under VS8
10872         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10873         Partially fixes #381175
10874
10875 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10876
10877         * gst/gstvalue.c: (gst_value_compare_fraction):
10878         If someone is foolish enough to compare 2 fractions with denominator =
10879         0, return UNORDERED rather than aborting.
10880
10881 2006-11-28  Edward Hervey  <edward@fluendo.com>
10882
10883         * libs/gst/base/Makefile.am:
10884         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10885         (gst_data_queue_base_init), (gst_data_queue_class_init),
10886         (gst_data_queue_init), (gst_data_queue_new),
10887         (gst_data_queue_cleanup), (gst_data_queue_finalize),
10888         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10889         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10890         (gst_data_queue_is_empty), (gst_data_queue_is_full),
10891         (gst_data_queue_set_flushing), (gst_data_queue_push),
10892         (gst_data_queue_pop), (gst_data_queue_drop_head),
10893         (gst_data_queue_set_property), (gst_data_queue_get_property):
10894         * libs/gst/base/gstdataqueue.h:
10895         New GstDataQueue object for threadsafe queueing. Most useful for
10896         elements that need some queueing functionnality.
10897         * docs/libs/gstreamer-libs-docs.sgml:
10898         * docs/libs/gstreamer-libs-sections.txt:
10899         Insert documentation for GstDataQueue
10900         * plugins/elements/Makefile.am:
10901         * plugins/elements/gstelements.c:
10902         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10903         (gst_multi_queue_class_init), (gst_multi_queue_init),
10904         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10905         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10906         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10907         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10908         (gst_multi_queue_loop), (gst_multi_queue_chain),
10909         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10910         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10911         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10912         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10913         (wake_up_next_non_linked), (compute_next_non_linked),
10914         (single_queue_overrun_cb), (single_queue_underrun_cb),
10915         (single_queue_check_full), (gst_single_queue_new):
10916         * plugins/elements/gstmultiqueue.h:
10917         New multiqueue element, using GstDataQueue. Used for queuing multiple
10918         streams.
10919         Closes #344639 and #347785
10920
10921 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
10922
10923         * docs/pwg/advanced-types.xml:
10924           add more missing type details
10925
10926         * tools/gst-run.c: (main):
10927           remove unused variable
10928
10929 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
10930
10931         * docs/libs/Makefile.am:
10932         * docs/libs/gstreamer-libs.types:
10933           add types of base classes to enable gobject specific stuff in the docs
10934
10935         * docs/random/ensonic/embedded.txt:
10936           more ideas about isolating platform specific things
10937
10938 2006-11-20  Wim Taymans  <wim@fluendo.com>
10939
10940         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
10941
10942         * libs/gst/check/gstcheck.h:
10943         Fix compilation and running against 0.9.4. Fixes #377332.
10944
10945 2006-11-20  Wim Taymans  <wim@fluendo.com>
10946
10947         * gst/gstsegment.c: (gst_segment_set_seek),
10948         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10949         (gst_segment_to_running_time):
10950         Fix boundary checking in to_running_time() and to_stream_time().
10951         Fixes #377183.
10952
10953         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10954         stream and running time can now be calculated for the complete
10955         clipped segment.
10956
10957 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
10958
10959         * gst/gstpad.c: (gst_pad_push_event):
10960           Can't access event structure after giving away ownership of
10961           the event.
10962
10963 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
10964
10965         * docs/random/ensonic/embedded.txt:
10966         * docs/random/ensonic/profiling.txt:
10967         * docs/random/ensonic/receipies.txt:
10968           more thinking
10969
10970 2006-11-13  Wim Taymans  <wim@fluendo.com>
10971
10972         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10973
10974         * gst/gstpad.c:
10975         Fix documentation for gst_pad_dispatcher. Fixes #374475.
10976
10977 2006-11-13  Wim Taymans  <wim@fluendo.com>
10978
10979         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
10980
10981         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10982         Store new length in segment duration so we don't keep on calling the
10983         potentially expensize get_size() call. Fixes #370865.
10984
10985 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
10986
10987         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
10988
10989         * win32/common/libgstreamer.def:
10990           Add two missing symbols (#366492).
10991
10992 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
10993
10994         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
10995         (gst_adapter_take_buffer):
10996         Fix format string to use all its arguments.
10997         Remove useless >= check on a guint
10998
10999 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11000
11001         * tests/examples/adapter/.cvsignore:
11002         Ignore build file as commanded by the build-bot
11003
11004 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11005
11006         * tests/examples/adapter/Makefile.am:
11007         * tests/examples/adapter/adapter_test.c: (run_test_take),
11008         (run_test_take_buffer), (run_tests), (main):
11009
11010         Add new files from the previous commit
11011
11012 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11013
11014         * Makefile.am:
11015         * configure.ac:
11016         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11017         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11018         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11019         * libs/gst/base/gstadapter.h:
11020         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11021         (GST_START_TEST), (gst_adapter_suite):
11022         * tests/examples/Makefile.am:
11023         Do some optimisation work in GstAdapter to avoid copies in more cases.
11024         It could still do slightly better by merging buffers when
11025         gst_buffer_is_span_fast is true, but is already faster. 
11026
11027         Also, avoid traversing a single-linked list to append each incoming 
11028         buffer inside the adapter.
11029
11030         Add simple test app that times the adapter behaviour in different
11031         situations, and extend the unit test to check that bytes enter and
11032         exit the adapter in their original order.
11033
11034 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11035
11036         * docs/random/draft-missing-plugins.txt:
11037           Update: use element message instead of adding a new message
11038           type to the core; don't provide GStreamer API to initiate the
11039           plugin download, just provide API to compose the strings needed
11040           and let an external libgimmestuff handle the rest.
11041
11042 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11043
11044         * tools/gst-inspect.c: (print_element_properties_info):
11045         Print a string instead of 'unknown type' for GValueArray properties
11046
11047 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11048
11049         * docs/random/draft-missing-plugins.txt:
11050         More small fixes.
11051
11052 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11053
11054         * tests/examples/typefind/typefind.c: (type_found), (main):
11055           Make typefind element example work again (#371894); add a
11056           license header.
11057
11058 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11059
11060         * docs/random/draft-missing-plugins.txt:
11061           Commit initial draft about how to deal with missing plugins,
11062           needs work (API too).
11063
11064 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11065
11066         * docs/pwg/advanced-types.xml:
11067           documents the new caps elements (see #363118)
11068
11069 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11070
11071         * gst/gstplugin.c: (gst_plugin_load_file):
11072         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11073         (gst_file_src_map_region), (gst_file_src_start):
11074         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11075         (gst_file_index_commit):
11076           Use g_strerror() instead of strerror() - we want UTF-8.
11077
11078 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11079
11080         Patch by: Peter Kjellerstedt <pkj at axis com>
11081
11082         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11083           Another printf fix (#371493).
11084
11085 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11086
11087         * tests/check/gst/gsttag.c:
11088           relicence (okay with author=company)
11089
11090 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11091
11092         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11093         (gst_pad_push_event):
11094           Enhance debug and improve docs
11095         
11096         * gst/gsturi.c:
11097           Fix docs
11098
11099 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11100
11101         * docs/random/ensonic/distributed.txt:
11102         * docs/random/ensonic/profiling.txt:
11103           more ideas
11104
11105 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11106
11107         * docs/gst/gstreamer-sections.txt:
11108           add new API and fix the build
11109           
11110         * gst/gstbin.c: (gst_bin_recalc_state):
11111         * gst/gstelement.c: (gst_element_message_full),
11112         (gst_element_get_state_func), (gst_element_set_state_func):
11113           use new API and improve logging
11114         
11115         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11116         * gst/gstutils.h:
11117           API: add function to get StateChangereturn names to improve logs 
11118
11119 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11120
11121         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11122           I'm considering shooting the next person to put strerror stuff
11123           in the translateable part of the message.
11124
11125 2006-11-03  Wim Taymans  <wim@fluendo.com>
11126
11127         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11128         Get the type and printf conversion specifiers right.
11129
11130 2006-11-03  Wim Taymans  <wim@fluendo.com>
11131
11132         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11133
11134         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11135         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11136         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11137         Some small cleanups. Improve debugging.
11138         * gst/gstpad.h:
11139         Signal all waiting threads with a broadcast instead of just one.
11140         Fixes #369942.
11141
11142 2006-11-03  Wim Taymans  <wim@fluendo.com>
11143
11144         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11145         (gst_fd_src_create):
11146         Add some debugging. 
11147         Only update fd when it's different from the old.
11148
11149 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11150
11151         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11152           Printf fixes for PPC/OSX, take two (#369366).
11153
11154 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11155
11156         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11157
11158         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11159         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11160         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11161           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11162           don't cast to long long for portability reasons, but use
11163           GLib's types instead.
11164
11165 2006-10-30  Michael Smith  <msmith@fluendo.com>
11166
11167         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11168           Get the arguments to lseek() the right way around.
11169           Fixes 367677.
11170
11171 2006-10-30  Wim Taymans  <wim@fluendo.com>
11172
11173         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11174
11175         * gst/gstinfo.h:
11176         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11177
11178 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11179
11180         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11181
11182         * docs/design/part-MT-refcounting.txt:
11183         * docs/random/wtay/capsnego2-docs:
11184         * gst/gstclock.c:
11185         * gst/gstxml.c:
11186           Typo fixes (#366212).
11187
11188 2006-10-28  Wim Taymans  <wim@fluendo.com>
11189
11190         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11191
11192         * gst/gst.c:
11193         * win32/common/libgstbase.def:
11194         * win32/common/libgstreamer.def:
11195         * win32/vs8/libgstbase.vcproj:
11196         * win32/vs8/libgstcontroller.vcproj:
11197         Add needed entries in .def files.
11198         Use HAVE_UNISTD_H.
11199         Rearrange def files in vs8 solutions. Fixes #366286.
11200
11201 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11202
11203         * win32/common/gstconfig.h:
11204           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11205           hand-made win32 gstconfig.h. Fixes #366321.
11206
11207 2006-10-27  Wim Taymans  <wim@fluendo.com>
11208
11209         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11210         (gst_ghost_pad_new_full):
11211         Make acceptcaps return TRUE when we don't have a target, just like
11212         setcaps does.
11213
11214 2006-10-27  Wim Taymans  <wim@fluendo.com>
11215
11216         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11217         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11218
11219 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11220
11221         * gst/gststructure.c: (gst_structure_id_set_value):
11222           If someone tries to set a non-UTF8 string field on a structure,
11223           don't just print a warning, but also ignore the request and do
11224           not change/add that field to the structure.
11225
11226         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11227           Test for the above.
11228
11229 2006-10-25  David Schleef  <ds@schleef.org>
11230
11231         * gst/gstinfo.c:
11232           g_hash_table_insert() needs a cast to a non-const pointer duh.
11233
11234 2006-10-25  David Schleef  <ds@schleef.org>
11235
11236         * gst/gstinfo.c:
11237         * gst/gstinfo.h:
11238           Change name parameter of _gst_debug_register_funcptr to const
11239           to reflect the constness of its use in the function as well
11240           as to quiet a gcc warning.
11241
11242 2006-10-25  Edward Hervey  <edward@fluendo.com>
11243
11244         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11245         Don't push the buffer if it's empty.
11246         Closes #363095
11247
11248 2006-10-24  Wim Taymans  <wim@fluendo.com>
11249
11250         * gst/gstevent.h:
11251         Add small comment.
11252
11253         * libs/gst/base/gstbasetransform.c:
11254         (gst_base_transform_sink_eventfunc):
11255         Debug segment values *after* updating them as this is more
11256         interesting.
11257
11258 2006-10-23  Wim Taymans  <wim@fluendo.com>
11259
11260         * docs/design/part-events.txt:
11261         Update some docs.
11262
11263         * docs/design/part-block.txt:
11264         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11265         (gst_pad_push_event):
11266         Revert BLOCKING patch, it tries to be smart without really having a
11267         clear idea what or how. So, now we discard all FLUSHING events again on
11268         a blocking pad. Should fix gnonlin again.
11269
11270 2006-10-23  Wim Taymans  <wim@fluendo.com>
11271
11272         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11273
11274         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11275         (gst_base_src_start), (gst_base_src_activate_push):
11276         Make sure size is always initialized. Fixes #364388.
11277
11278 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11279
11280         * docs/random/ensonic/distributed.txt:
11281           add some ideas about doing distributed processing
11282
11283         * docs/random/ensonic/profiling.txt:
11284           get_rusage look promising
11285
11286 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11287
11288         * docs/manual/basics-helloworld.xml:
11289           Add a cast in example to fix compile warning
11290
11291 2006-10-18  Wim Taymans  <wim@fluendo.com>
11292
11293         * gst/gstsegment.c: (gst_segment_set_last_stop),
11294         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11295         Relax arg checking again, -1 is allowed.
11296
11297 2006-10-18  Wim Taymans  <wim@fluendo.com>
11298
11299         * gst/gstsegment.c: (gst_segment_set_last_stop),
11300         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11301         _set_last_stop() must be with a value != -1
11302         A _TYPE_SET to -1 means seek to 0.
11303         Calc last_stop correctly for negative rates.
11304         Make sure we work with positive durations when updating a segment.
11305
11306 2006-10-18  Wim Taymans  <wim@fluendo.com>
11307
11308         * docs/design/part-live-source.txt:
11309         * gst/gstclock.h:
11310         Small docs fixes.
11311
11312 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11313
11314         * gst/gstbuffer.h:
11315           Add an explicit cast to GstBuffer** to keep old code that added an
11316           explicit cast to GstMiniObject** for gst_mini_object_replace()
11317           compiling without warning.
11318
11319 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11320
11321         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11322           check for validity of dates
11323
11324 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11325
11326         * docs/gst/gstreamer-sections.txt:
11327           Forgot this one, makes gtk-doc shut up.
11328
11329 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11330
11331         Patch by: Peter Kjellerstedt <pkj at axis com>
11332
11333         * gst/gstobject.h:
11334           Don't define xmlNodePtr to gpointer if the core was built with
11335           --disable-loadsave and --disable-registry, this will break
11336           applications that want to use libxml2 but are buildling against a
11337           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11338           instead so we don't have to mess with the libxml2 namespace
11339           (#361675).
11340
11341 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11342
11343         * gst/gstbuffer.h:
11344           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11345           type-punned pointer warnings.
11346
11347 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11348
11349         * gst/gstelement.h:
11350           Add casts to the correct return type to state <=> state transition
11351           macros.
11352
11353 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11354
11355         * docs/design/part-live-source.txt:
11356           describe howto handle latency
11357         
11358         * docs/random/ensonic/profiling.txt:
11359           more ideas
11360
11361         * tools/gst-plot-timeline.py:
11362           fix log parsing for solaris, remove unused function
11363
11364 2006-10-16  Wim Taymans  <wim@fluendo.com>
11365
11366         * docs/design/part-trickmodes.txt:
11367         * gst/gstevent.c:
11368         Update some docs regarding reverse playback.
11369
11370 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11371
11372         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11373
11374         * win32/vs8/grammar.vcproj:
11375           Error out with a warning if glib-genmarshal.exe is not in path,
11376           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11377
11378 2006-10-13  Wim Taymans  <wim@fluendo.com>
11379
11380         * gst/gstsegment.c: (gst_segment_set_seek):
11381         When seeking to stop -1, set last_stop (current position) to the
11382         duration of the segment.
11383
11384 2006-10-13  Wim Taymans  <wim@fluendo.com>
11385
11386         * gst/gstelement.h:
11387         Clarify _NO_PREROLL a bit more.
11388
11389         * gst/gstevent.c:
11390         Fix docs.
11391
11392         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11393         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11394         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11395         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11396         due to wrong locking order. Fixes #361769.
11397         Remove some redundant/misplaced checks in pad_block.
11398
11399         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11400         For negative rates, count backwards from the duration.
11401
11402 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11403
11404         * gst/gsterror.c: (_gst_library_errors_init):
11405           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11406           up with something better).
11407
11408 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11409
11410         * win32/vs6/libgstreamer.dsp:
11411         * win32/vs7/libgstreamer.vcproj:
11412         * win32/vs8/libgstreamer.vcproj:
11413           Don't reference glib-compat.c which is currently not used and not
11414           disted; add gstquark.c which was recently added. Fixes #361730.
11415
11416 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11417
11418         * win32/common/libgstbase.def:
11419         * win32/common/libgstcontroller.def:
11420         * win32/common/libgstreamer.def:
11421           Add gst_caps_merge() and a bunch of other recently-added functions.
11422           Fixes #361732.
11423
11424 2006-10-11  Wim Taymans  <wim@fluendo.com>
11425
11426         * docs/plugins/gstreamer-plugins.args:
11427         * docs/plugins/inspect/plugin-coreelements.xml:
11428         * docs/plugins/inspect/plugin-coreindexers.xml:
11429         Update element args.
11430
11431         * gst/gstsystemclock.c:
11432         Small comment update.
11433
11434         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11435         (gst_tee_request_new_pad), (gst_tee_release_pad),
11436         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11437         (gst_tee_sink_activate_pull):
11438         * plugins/elements/gsttee.h:
11439         Some tee loving:
11440         Add default property defines.
11441         Implement release pad function.
11442         Give properties better blubs etc.
11443         Activate pads before adding them to a running tee.
11444         Do simple buffer_alloc on the first requested pad.
11445         Post error when activation fails.
11446
11447 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11448
11449         * gst/gst.c: (ensure_current_registry_forking):
11450           Check return value of write() to make compiler happy.
11451
11452 2006-10-11  Wim Taymans  <wim@fluendo.com>
11453
11454         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11455
11456         * plugins/elements/gstqueue.c: (gst_queue_chain):
11457         Recheck queue filledness after signalling the overrun when we're about
11458         to leak downstream because we released the lock when emitting the signal
11459         and the queue could be empty again. Fixes #352345.
11460
11461 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11462
11463         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11464           Fix refcounting here too, just like we did for _new_valist() a few
11465           days ago (#357180) (thanks to René Stadler). Also remove all those
11466           'Since: 0.9' from the gtk-doc blobs.
11467
11468         * tests/check/libs/controller.c: (controller_refcount_new_list),
11469         (gst_controller_suite):
11470           Unit test for the above.
11471
11472 2006-10-10  Wim Taymans  <wim@fluendo.com>
11473
11474         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11475
11476         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11477         (gst_pad_save_thyself):
11478         Update some docs.
11479         Write pad direction in XML output. Fixes #345496.
11480
11481 2006-10-10  Wim Taymans  <wim@fluendo.com>
11482
11483         Patch by: René Stadler <mail at renestadler dot de>
11484
11485         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11486         (gst_controller_new_list), (_gst_controller_dispose),
11487         (_gst_controller_finalize), (_gst_controller_class_init):
11488         Take ref to controlled object so that it cannot disappear. 
11489         Fixes #357432.
11490
11491 2006-10-10  Wim Taymans  <wim@fluendo.com>
11492
11493         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11494         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11495         (gst_check_teardown_sink_pad):
11496         Activate/deactivate pads in setup/teardown respectively.
11497
11498 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11499
11500         Patch by: Josep Torra Valles <josep@fluendo.com>
11501
11502         * gst/Makefile.am:
11503         Cast values when making gstenumtypes.h.  This pacifies Forte
11504         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11505         in the enumeration.
11506
11507 2006-10-09  Wim Taymans  <wim@fluendo.com>
11508
11509         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11510         Rename some more @cur to @start to fix docs. 
11511
11512         * gst/gstsegment.c: (gst_segment_set_seek):
11513         Fix typo.
11514         time and start must always stay in sync as defined in design doc.
11515
11516         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11517         Rename param to fix docs.
11518
11519         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11520         Check that start and time are in sync.
11521
11522         * tests/check/pipelines/parse-launch.c:
11523         (gst_parse_test_element_change_state):
11524         Activate pad before adding to the element.
11525
11526 2006-10-09  Wim Taymans  <wim@fluendo.com>
11527
11528         * docs/design/part-qos.txt:
11529         Fix typo.
11530
11531         * gst/gstevent.c:
11532         * gst/gstevent.h:
11533         Update seek event docs regarding negative rates.
11534         Rename @cur to @start. 
11535
11536         * gst/gstsegment.c: (gst_segment_set_seek):
11537         * gst/gstsegment.h:
11538         Update set_seek docs regarding negative rates.
11539         Correctly update last_stop to @stop when dealing with negative
11540         rates.
11541         Rename @cur to @start. 
11542
11543         * tests/check/gst/gstpad.c: (GST_START_TEST):
11544         Activate pads before trying to use them.
11545
11546         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11547         (gst_segment_suite):
11548         Add simple check for segments and negative rates.
11549
11550 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11551
11552         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11553         * gst/gsttaglist.h:
11554         * docs/gst/gstreamer-sections.txt:
11555           API: add gst_tag_list_is_empty() (#360467).
11556
11557         * tests/check/gst/gsttag.c: (GST_START_TEST):
11558           And a test case.
11559
11560 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11561
11562         * gst/gstmessage.h:
11563         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11564         a value that doesn't fit on enumeration.
11565
11566 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11567
11568         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11569         Remove local debugging system and use Gstreamer's instead.
11570
11571 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11572
11573         Patch by: Josep Torra Valles <josep@fluendo.com>
11574
11575         * common/m4/gst-error.m4:
11576         Disable warning of statement not reached on Forte.
11577         * gst/gstmessage.h:
11578         Fix warning on Forte (value doesn't fit on enumeration).
11579         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11580         Fix warning on Forte (value doesn't fit on enumeration).
11581         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11582         DEBUG macro says it takes minimum of 2 args and so Forte
11583         complains about the use with just 1 arg.
11584         * plugins/elements/gstfdsink.c:
11585         * plugins/elements/gstfdsrc.c:
11586         * plugins/elements/gstfilesink.c:
11587         * plugins/elements/gstfilesrc.c:
11588         Use correct return type for the uri handler implementations.
11589
11590         All these fix warnings in Forte.  Fixes bug #360860.
11591
11592 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11593
11594         * gst/gstelement.h:
11595           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11596           format string, so don't use G_GNUC_PRINTF for those versions.
11597
11598 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11599
11600         * gst/gsttaglist.c: (gst_is_tag_list):
11601         * gst/gsttaglist.h:
11602           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11603
11604         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11605           Small test for the above.
11606
11607 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11608
11609         * gst/gsttaglist.h:
11610           Less tabs, more spaces.
11611
11612 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11613
11614         * gst/gstinfo.h:
11615           Those two function declarations do actually belong there, revert
11616           commit from yesterday that turned them intro macros.
11617
11618 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11619
11620         Patch by: Josep Torra Valles <josep@fluendo.com>
11621
11622         * gst/gst.c: (gst_init_get_option_group):
11623         Fix empty declaration and type mismatch.
11624         * gst/gstbin.c: (gst_bin_change_state_func):
11625         Fix type mismatch.
11626         * gst/gstelement.c: (gst_element_continue_state),
11627         (gst_element_set_state_func), (gst_element_change_state),
11628         (gst_element_change_state_func):
11629         Fix type mismatches.
11630         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11631         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11632         Cast as appropriate.
11633         * gst/gstobject.c: (gst_class_signal_connect):
11634         Cast as appropriate.  The function pointer parameter really
11635         has the wrong type but would break API if we change it.
11636         * gst/gstquery.c:
11637         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11638         order of including string.h.
11639         * gst/gstutils.c: (gst_element_state_get_name):
11640         Remove unreachable line.
11641         * gst/gstxml.c: (gst_xml_parse_doc):
11642         Fix type mismatch.
11643         All these caught by Forte.
11644
11645 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11646
11647         Patch by: Josep Torra Valles <josep@fluendo.com>
11648
11649         * common/m4/gst-error.m4:
11650         Fixed bug #360151.
11651         We need to disable warnings on Forte for empty declarations
11652         due to gst-indent adding ;s to lines that just use macros
11653         where the macro actually doesn't need a ; at end to end
11654         statement.
11655
11656 2006-10-06  Wim Taymans  <wim@fluendo.com>
11657
11658         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11659         (gst_file_sink_close_file), (gst_file_sink_event),
11660         (gst_file_sink_render):
11661         Add some FIXME for the NEWSEGMENT handling.
11662
11663 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11664
11665         * gst/parse/grammar.y:
11666         Remove static function gst_parse_element_lock as all it does
11667         is return.  Looks like cruft from 0.8.
11668
11669 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11670
11671         Patch by: Josep Torra Valles <josep@fluendo.com>
11672
11673         * common/m4/gst-error.m4:
11674         * configure.ac:
11675         * libs/gst/net/Makefile.am:
11676         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11677         libresolv.
11678
11679 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11680
11681         * gst/gstpad.c: (pre_activate):
11682         * gst/gstregistry.c: (gst_registry_scan_path_level):
11683         * gst/gstregistryxml.c: (load_plugin):
11684         * libs/gst/controller/gstcontroller.c:
11685         (gst_controlled_property_set_interpolation_mode):
11686         * libs/gst/dataprotocol/dataprotocol.c:
11687         (gst_dp_packet_from_event_1_0):
11688         * libs/gst/net/gstnetclientclock.c:
11689         (gst_net_client_clock_observe_times):
11690         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11691           Printf fixes.
11692
11693 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11694
11695         * configure.ac:
11696         * docs/gst/gstreamer-sections.txt:
11697         * gst/gstconfig.h.in:
11698         * gst/gstelement.h:
11699         * gst/gstinfo.h:
11700           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11701           whether we can use G_GNUC_PRINTF in other header files and at
11702           least check the printf format/arguments of debug messages and
11703           GST_ELEMENT_ERROR messages when the printf extension is not
11704           being used.
11705           Replace more tabs with spaces in gstinfo.h and remove two spurious
11706           function declarations in GST_DISABLE_DEBUG part with macros.
11707
11708 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
11709
11710         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11711           More docs for the sync-message signal (mention that it is not
11712           emitted by default); log message structures of messages posted on
11713           the bus as well.
11714
11715 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
11716
11717         * gst/gst.c: (ensure_current_registry_forking):
11718         Use a pipe pair to receive status results from the forked child, and
11719         ignore the result from waitpid. Fixes #355499
11720
11721 2006-10-02  Wim Taymans  <wim@fluendo.com>
11722
11723         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11724         (gst_ghost_pad_suite):
11725         Fix leak in check.
11726
11727 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11728
11729         * gst/gstpad.c:
11730           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11731
11732 2006-10-02  Edward Hervey  <edward@fluendo.com>
11733
11734         * docs/design/part-block.txt:
11735         Further explain the use of flushing on blocked pads.
11736         * docs/gst/gstreamer-sections.txt:
11737         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11738         (gst_pad_push_event):
11739         * gst/gstpad.h:
11740         Added new GstPadFlag : GST_PAD_BLOCKING.
11741         Adds the notion of pads really blocking, which enables to properly
11742         handle FLUSH_START/FLUSH_STOP events on blocked pads.
11743         Fixes #358999
11744         API: gst_pad_is_blocking()
11745         API: GST_PAD_IS_BLOCKING() macro
11746         API: GST_PAD_BLOCKING GstPadFlag
11747         
11748 2006-10-02  Wim Taymans  <wim@fluendo.com>
11749
11750         Patch by: mrcgran <mrc.gran at gmail dot com>
11751
11752         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11753         Filter the proxied caps against the padtemplate if we have one.
11754
11755         * gst/gstquery.c: (gst_query_new_segment):
11756         Add include for gstinfo.h so that compilation with
11757         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11758
11759 2006-10-02  Wim Taymans  <wim@fluendo.com>
11760
11761         Patch by: Alessandro Decina  <alessandro at nnva org>
11762
11763         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11764         (gst_file_sink_set_location), (gst_file_sink_open_file),
11765         (gst_file_sink_close_file), (gst_file_sink_event),
11766         (gst_file_sink_render):
11767         Set file to NULL when closing filesink so that we can set a new filename
11768         in READY. Fixes #358613.
11769
11770 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11771
11772         Patch by: Alessandro Decina  <alessandro at nnva org>
11773
11774         * gst/gstevent.c: (_gst_event_copy):
11775           Fix gst_mini_object_make_writable() and gst_event_copy() for events
11776           with event structures by setting the parent refcount address of the
11777           copied structure to the address of the refcount member of the newly
11778           copied event rather than the address of the refcount member of the
11779           original event. Fixes #358737.
11780
11781         * tests/check/gst/gstevent.c: (GST_START_TEST):
11782           Unit test for the above.
11783
11784 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
11785
11786         * docs/design/Makefile.am:
11787           Dist some more files.
11788
11789 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11790
11791         * tests/check/libs/controller.c: (GST_START_TEST),
11792         (gst_controller_suite):
11793           Add test for the previous fix; add some more tests
11794           for correct refcounting behaviour; fix a few leaks
11795           in test cases; call gst_controller_init() at start
11796           of all tests.
11797
11798 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11799
11800         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11801         (gst_controller_set_from_list):
11802           Don't g_return_val_if_fail() on timed values with invalid timestamps
11803           inside a critical section without unlocking the mutex. Spotted by
11804           René Stadler. (#357617)
11805           Also, fix up refcounting properly: when returning an existing
11806           controller, we should increase the reference only once and not
11807           once per property and when trying to control a property again
11808           we should also increase the refcount.
11809
11810 2006-09-29  Wim Taymans  <wim@fluendo.com>
11811
11812         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11813         * libs/gst/net/gstnettimeprovider.c:
11814         (gst_net_time_provider_thread):
11815         Stop reading commands when EOF as well.
11816
11817         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11818         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11819         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11820         Unify description of the dump property.
11821
11822 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11823
11824         * tests/examples/manual/.cvsignore:
11825         OK, so it's actually cvsignore that needs changing. Stop laughing.
11826
11827 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11828
11829         * tests/examples/manual/Makefile.am:
11830         Gah, declare vars *before* using them
11831
11832 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11833
11834         * gst/gst.c: (init_pre), (scan_and_update_registry),
11835         (ensure_current_registry_nonforking),
11836         (ensure_current_registry_forking), (ensure_current_registry),
11837         (init_post), (gst_debug_help), (gst_deinit):
11838         * gst/gst_private.h:
11839         * gst/gstregistry.c: (gst_registry_finalize),
11840         (gst_registry_remove_features_for_plugin_unlocked),
11841         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11842         (gst_registry_scan_path),
11843         (_priv_gst_registry_remove_cache_plugins),
11844         (_priv_gst_registry_cleanup):
11845         * gst/gstregistry.h:
11846         Re-commit the registry changes, along with an extra fix:
11847           When a cached plugin is encountered at a different file path,
11848           update the stored path in the registry cache so that the parent
11849           process knows where it actually is now when it re-reads the registry
11850           cache. Fixes the thing that broke distcheck with the previous commit.
11851
11852         * tests/check/Makefile.am:
11853         Clean up files named 'core' too when running make clean.
11854
11855         * tests/examples/manual/Makefile.am:
11856         Set up a registry path for running these tests, and clean it properly
11857         for distcheck.
11858
11859 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11860
11861         * configure.ac:
11862         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11863         want gmodule-no-export-2.0.pc instead so that we don't drag in
11864         --export-dynamic on every project that links to GStreamer.
11865
11866         Also, make our export regex only match the start of symbols, rather 
11867         than any symbol that contains '_gst' somewhere.
11868
11869         * libs/gst/check/Makefile.am:
11870         The libgstcheck we build does however need export-dynamic, as it
11871         produces some symbols that don't match our _gst... style regex.
11872         Fixes: #318031
11873
11874 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
11875
11876         * gst/gst.c: (init_pre), (scan_and_update_registry),
11877         (ensure_current_registry_nonforking),
11878         (ensure_current_registry_forking), (ensure_current_registry),
11879         (init_post), (gst_debug_help), (gst_deinit):
11880         * gst/gst_private.h:
11881         * gst/gstregistry.c: (gst_registry_finalize),
11882         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11883         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11884         (_gst_registry_cleanup):
11885         * gst/gstregistry.h:
11886           Revert previous change until I figure out why it breaks distcheck.
11887
11888 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
11889
11890         * gst/gst.c: (init_pre), (scan_and_update_registry),
11891         (ensure_current_registry_nonforking),
11892         (ensure_current_registry_forking), (ensure_current_registry),
11893         (init_post), (gst_debug_help), (gst_deinit):
11894
11895           Make init_pre and init_post take the full complement of GOptionFunc
11896           args so they can return useful GErrors. Make the registry updating
11897           functions do so.
11898
11899           Call _priv_gst_registry_remove_cache_plugins after scanning files to
11900           ensure that the registry we're about to write out doesn't contain
11901           stale information about old-deleted plugin files.
11902
11903           Make _priv_gst_registry_remove_cache_plugins return a boolean so
11904           that deletion of plugin files is considered a registry change.
11905
11906         * gst/gst_private.h:
11907         * gst/gstregistry.c: (gst_registry_finalize),
11908         (gst_registry_remove_features_for_plugin_unlocked),
11909         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11910         (gst_registry_scan_path),
11911         (_priv_gst_registry_remove_cache_plugins),
11912         (_priv_gst_registry_cleanup):
11913         * gst/gstregistry.h:
11914         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11915         by adding _priv prefix, so that they won't appear in the global
11916         symbol table. They still do atm though because of #318031. Move the
11917         prototypes to gst_private.h
11918
11919         When removing a plugin, remove all features for that plugin too. 
11920         Fixes #340878.
11921
11922 2006-09-27  Wim Taymans  <wim@fluendo.com>
11923
11924         * docs/random/moving-plugins:
11925         Make it clear that the "compiled-in descriptions" really mean
11926         the element details.
11927
11928         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11929         (gst_base_sink_wait_preroll):
11930         Update docs.
11931
11932         * docs/libs/gstreamer-libs-sections.txt:
11933         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11934         (gst_base_src_get_range), (gst_base_src_activate_push):
11935         * libs/gst/base/gstbasesrc.h:
11936         Added function to block while waiting for PLAYING, this function
11937         is used by live sources that block on the clock.
11938         API: gst_base_src_wait_playing()
11939
11940 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11941
11942         Patch by: Peter Kjellerstedt <pkj at axis com>
11943
11944         * Makefile.am:
11945           gst-element-check.m4 is generated and should therefore be
11946           copied from the build dir rather than the source dir (#357593).
11947           'make distcheck' hasn't noticed this because we were disting
11948           the file as well, so stop doing that.
11949
11950 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11951
11952         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11953           Add some tests for gst_caps_intersect().
11954
11955         * tools/gst-launch.c: (event_loop):
11956           Print all buffering percentages we get, even the 100% one.
11957
11958 2006-09-26  Wim Taymans  <wim@fluendo.com>
11959
11960         * tools/gst-inspect.c: (print_element_properties_info),
11961         (print_signal_info):
11962         Fix printing of flags to match the look of enums.
11963
11964 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
11965
11966         * gst/gstelementfactory.c:
11967           Fix typo in docs blurb.
11968
11969 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
11970
11971         * gst/gsturi.c: (search_by_entry):
11972           Don't assert/crash here if a uri handler doesn't return any
11973           supported protocols. The list of protocols could be generated
11974           dynamically at runtime or at plugin registration, and an error
11975           in the underlying library shouldn't be fatal (#353301).
11976
11977 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
11978
11979         * gst/gstinfo.c:
11980           Fix warning if HAVE_PRINTF_EXTENSION is undefined
11981           (spotted by Peter Kjellerstedt).
11982
11983 2006-09-23  Wim Taymans  <wim@fluendo.com>
11984
11985         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
11986
11987         * libs/gst/base/gstbasesrc.c:
11988         (gst_base_src_default_check_get_range), (gst_base_src_start),
11989         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11990         (gst_base_src_change_state):
11991         Match _start/_stop calls in the activate functions. Remove redundant
11992         _stop call from the state change function. Fixes #356910.
11993         Turn failure DEBUG into ERROR. 
11994
11995 2006-09-22  Wim Taymans  <wim@fluendo.com>
11996
11997         * docs/design/part-buffering.txt:
11998         * gst/gstmessage.c: (gst_message_new_buffering),
11999         (gst_message_parse_buffering):
12000         Update docs about buffering.
12001
12002         * docs/design/part-trickmodes.txt:
12003         Fix typo.
12004
12005 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12006
12007         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12008         (gst_controller_new_list):
12009           Ref instances when returning them again (fixes #357180)
12010
12011 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12012
12013         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12014           Don't forget to release proxy lock when there's an error.
12015
12016 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12017
12018         * gst/gstcaps.h:
12019           Add extra initialisers for Caps things, to fix some plugin warnings
12020           when using -Wextra
12021
12022 2006-09-18  Wim Taymans  <wim@fluendo.com>
12023
12024         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12025           Also set template on the internal pad so that a getcaps from the 
12026           target pad returns the template caps.
12027
12028 2006-09-18  Wim Taymans  <wim@fluendo.com>
12029
12030         * gst/gstelement.c: (gst_element_post_message),
12031         (gst_element_dispose):
12032         Use _DEBUG_OBJECT some more.
12033
12034         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12035         Avoid typechecks.
12036
12037         * tools/gst-launch.c: (main):
12038         If the toplevel element is not a GstPipeline, it must be put in a
12039         pipeline so that a bus and clock is selected.
12040
12041 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12042
12043         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12044           JITTER, RATE, and LATENCY query should be handled by the
12045           default case and not by the CONVERT query code.
12046
12047 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12048
12049         * gst/gstformat.c: (gst_format_register):
12050           Fix locking order (must take lock before using n_values).
12051
12052         * gst/gstvalue.c: (gst_value_serialize_enum),
12053         (gst_value_deserialize_enum_iter_cmp),
12054         (gst_value_deserialize_enum):
12055           Fix serialisation/deserialisation of custom registered GstFormats.
12056
12057         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12058           Unit test for custom format serialisation/deserialisation.
12059
12060 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12061
12062         * docs/pwg/building-boiler.xml:
12063         * plugins/elements/gstcapsfilter.c:
12064         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12065         section.
12066
12067 2006-09-16  Edward Hervey  <edward@fluendo.com>
12068
12069         * libs/gst/base/gstbasetransform.c:
12070         (gst_base_transform_buffer_alloc):
12071         Check if requested caps are the same as the sinks caps IF
12072         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12073         is FALSE.
12074         This fixes the renegotiation issues stated in #352827.
12075
12076 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12077
12078         * configure.ac:
12079         * docs/manual/advanced-autoplugging.xml:
12080         * tests/examples/Makefile.am:
12081         * tests/examples/manual/.cvsignore:
12082         * tests/examples/manual/Makefile.am:
12083         * tests/examples/manual/extract.pl:
12084           Extract the manual examples again like we used to do.
12085           Fix one of them.
12086
12087 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12088
12089         * win32/common/config.h:
12090           update for version
12091
12092 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12093
12094         * gst/gsterror.c:
12095           Documents how to receive errors.
12096
12097 2006-09-15  Wim Taymans  <wim@fluendo.com>
12098
12099         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12100         (event_loop), (main):
12101         Added some comments here and there.
12102         Post an application message when an interrupt is caught instead of doing
12103         an uncontrolled state change.
12104         Clean up the event loop.
12105         Handle buffering messages, pause/resume the pipeline.
12106         Make shutdown because of an interrupt more reliable.
12107
12108 2006-09-15  Wim Taymans  <wim@fluendo.com>
12109
12110         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12111         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12112         (gst_base_sink_preroll_object):
12113         Make sure that our internal state is correct when we commit our state
12114         asynchronously. This solves a race where a state change to PLAYING
12115         could cause the sink to remain blocked in preroll in some situations.
12116
12117 2006-09-15  Wim Taymans  <wim@fluendo.com>
12118
12119         * tools/gst-inspect.c: (print_element_properties_info),
12120         (print_signal_info):
12121         List flags as hex so it's easier to deal with.
12122
12123 2006-09-15  Wim Taymans  <wim@fluendo.com>
12124
12125         * docs/libs/gstreamer-libs-sections.txt:
12126         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12127         (gst_base_sink_do_sync):
12128         * libs/gst/base/gstbasesink.h:
12129         Expose logic to wait for preroll so that subclasses such as audiosink
12130         can also use this method.
12131         API: gst_base_sink_wait_preroll()
12132
12133 2006-09-15  Wim Taymans  <wim@fluendo.com>
12134
12135         * gst/gstobject.c: (gst_object_set_parent):
12136         * gst/gstpipeline.c: (do_pipeline_seek):
12137         Small cleanups in docs and code.
12138
12139         * gst/gstsegment.c: (gst_segment_clip):
12140         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12141         if stop == start and start is in the segment, no clipping should be
12142         done. Also add a test for this.
12143
12144 2006-09-15  Wim Taymans  <wim@fluendo.com>
12145
12146         * docs/design/part-buffering.txt:
12147         * docs/gst/gstreamer-sections.txt:
12148         * gst/gstmessage.c: (gst_message_new_buffering),
12149         (gst_message_parse_buffering):
12150         * gst/gstmessage.h:
12151         Added methods to create and parse BUFFERING messages.
12152         Added preliminary docs about buffering.
12153         API: gst_message_new_buffering
12154         API: gst_message_parse_buffering
12155
12156 2006-09-06  Wim Taymans  <wim@fluendo.com>
12157
12158         * gst/gstbin.c:
12159         Update documentation.
12160
12161         * gst/gstelement.c: (gst_element_class_init),
12162         (gst_element_release_request_pad), (gst_element_set_clock),
12163         (gst_element_get_index), (gst_element_add_pad),
12164         (gst_element_remove_pad), (gst_element_get_random_pad),
12165         (gst_element_send_event), (gst_element_get_query_types),
12166         (gst_element_query), (gst_element_post_message),
12167         (gst_element_message_full), (gst_element_continue_state),
12168         (gst_element_lost_state), (gst_element_save_thyself),
12169         (gst_element_restore_thyself):
12170         Documentation updates.
12171         Rename last bit of the new-pad -> pad-added signal rename.
12172         Fix the case where an element query would only work if the source
12173         pad was linked.
12174         Avoid some useless type checking in message handling.
12175
12176         * gst/gstevent.c:
12177         * gst/gstevent.h:
12178         * gst/gstutils.c:
12179         Documentation updates.
12180
12181 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12182
12183         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12184           add an INFO line for when we actually update the fd
12185
12186 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12187
12188         * configure.ac:
12189           back to TRUNK
12190
12191 === release 0.10.10 ===
12192
12193 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12194
12195         * configure.ac:
12196           releasing 0.10.10, "Pais"
12197
12198 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12199
12200         * docs/manual/advanced-position.xml:
12201           Fix typo in sample code.
12202
12203 2006-09-05  Wim Taymans  <wim@fluendo.com>
12204
12205         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12206         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12207         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12208         * libs/gst/net/gstnetclientclock.h:
12209         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12210         * libs/gst/net/gstnettimepacket.h:
12211         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12212         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12213         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12214         * libs/gst/net/gstnettimeprovider.h:
12215         Make stuff compile on windows. Fixes #345295.
12216
12217 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12218
12219         * gst/gst.c: (ensure_current_registry_forking):
12220           Print better details when child was terminated by signal.
12221
12222 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12223
12224         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12225           Print a warning rather than g_assert() if a plugin feature
12226           is a URI handler but returns no protocols (#353976).
12227
12228 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12229
12230         * docs/random/moving-plugins:
12231         Fix two typos.         
12232
12233 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12234
12235         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12236           Fix locking order, handle NULL function values properly.
12237
12238         * gst/gstinfo.h:
12239           Fix docs.
12240
12241         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12242           Initialise variable before using it and fix debug statement to
12243           print the address of the function rather than the address of the
12244           variable on the stack holding the address of the function.
12245
12246 2006-09-01  Wim Taymans  <wim@fluendo.com>
12247
12248         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12249         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12250         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12251         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12252         (gst_ghost_pad_parent_unset),
12253         (gst_ghost_pad_internal_do_activate_push),
12254         (gst_ghost_pad_internal_do_activate_pull),
12255         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12256         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12257         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12258         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12259         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12260         (gst_ghost_pad_new_no_target_from_template),
12261         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12262         More cleanups.
12263         Avoid needless typechecking in macros.
12264         Since the internal pad is always present and never changes, there is
12265         no need to locking or ref when retrieving it.
12266         Improve debugging a bit.
12267         Handle link errors when setting the target. Fixes #341029.
12268
12269 2006-09-01  Wim Taymans  <wim@fluendo.com>
12270
12271         * docs/libs/gstreamer-libs-sections.txt:
12272         * docs/plugins/gstreamer-plugins-sections.txt:
12273         Fix docs some more.
12274
12275         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12276         (gst_collect_pads_event):
12277         * libs/gst/base/gstcollectpads.h:
12278         Documentation updates.
12279         Free queued buffer when removing a pad.
12280
12281 2006-08-31  Michael Smith  <msmith@fluendo.com>
12282
12283         * gst/gstutils.c: (gst_element_link_pads),
12284         (gst_element_link_pads_filtered):
12285           Ensure that we set a capsfilter to NULL if we failed to link it
12286           when doing filtered linking, to avoid criticals.
12287
12288           No need to check for unreffing srcpad, which is explicly NULLed
12289           above (a trivial code cleanup).
12290
12291 2006-08-31  Wim Taymans  <wim@fluendo.com>
12292
12293         * docs/design/part-gstghostpad.txt:
12294         Update ascii art in documentation.
12295
12296         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12297         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12298         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12299         (gst_ghost_pad_internal_do_activate_push),
12300         (gst_ghost_pad_internal_do_activate_pull),
12301         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12302         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12303         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12304         (gst_ghost_pad_set_target):
12305         Small cleanups and leak fixes.
12306         Remove some checks now that the internal pad is never NULL.
12307         Fix the case where linking pads without a target would create nasty
12308         criticals. Fixes #341029.
12309         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12310         value of _set_target().
12311
12312         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12313         (gst_ghost_pad_suite):
12314         Some more tests for creating and linking untargeted ghostpads.
12315
12316 2006-08-31  Edward Hervey  <edward@fluendo.com>
12317
12318         * docs/gst/gstreamer-sections.txt:
12319         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12320         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12321         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12322         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12323         (gst_ghost_pad_new_from_template),
12324         (gst_ghost_pad_new_no_target_from_template):
12325         * gst/gstghostpad.h:
12326         Refactored *_new() functions.
12327         Templates are now used as a g_object_new() parameter.
12328         Use template in _do_getcaps() if we don't have a target.
12329         Small documentation cleanups.
12330         Added two new constructors:
12331         gst_ghost_pad_new_from_template()
12332         gst_ghost_pad_new_no_target_from_template()
12333         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12334         (gst_ghost_pad_suite):
12335         Added tests for new ghostpad instanciation functions.
12336
12337         API additions: gst_ghost_pad_new_from_template,
12338         gst_ghost_pad_new_no_target_from_template
12339
12340 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12341
12342         * docs/random/ensonic/profiling.txt:
12343           Ideas about qos profiling.
12344
12345 2006-08-29  Wim Taymans  <wim@fluendo.com>
12346
12347         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12348         Code cleanups.
12349         Fix memleak.
12350
12351 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12352
12353         * gst/gstxml.c:
12354           Improve and detypofy docs.
12355
12356         * tests/check/Makefile.am:
12357         * tests/check/gst/.cvsignore:
12358         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12359           Add a basic test suite for GstXML.
12360
12361 2006-08-29  Wim Taymans  <wim@fluendo.com>
12362
12363         * gst/gstelement.c: (activate_pads), (clear_caps),
12364         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12365         Clear the pad caps when the element shut down all of the pads and
12366         is not streaming data that could modify the caps. 
12367         Fixes #352958.
12368
12369 2006-08-28  Michael Smith  <msmith@fluendo.com>
12370
12371         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12372           Revert previous change; I misunderstood single-segment mode.
12373
12374 2006-08-28  Michael Smith  <msmith@fluendo.com>
12375
12376         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12377           Unset DISCONT on buffers when using single-segment mode.
12378
12379 2006-08-28  Wim Taymans  <wim@fluendo.com>
12380
12381         * gst/gstcaps.c: (gst_caps_merge_structure):
12382         * gst/gstcaps.h:
12383         Fix docs and indentation again.
12384
12385         * tests/check/gst/gstquery.c: (GST_START_TEST):
12386         Fix leak in tests and add some more tests.
12387
12388 2006-08-28  Edward Hervey  <edward@fluendo.com>
12389
12390         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12391         Inform GstSegment of the last stop position in order for the current
12392         segment to have a proper duration if it doesn't have a specific stop
12393         position from which a duration could be calculated.
12394         This bug was noticeable when a non-flushing, non-update new segment was
12395         followed by another segment (all buffers from the new segment were being
12396         dropped).
12397
12398 2006-08-28  Wim Taymans  <wim@fluendo.com>
12399
12400         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12401         Small comment update.
12402
12403         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12404         (gst_identity_transform_ip):
12405         Drop-probability is broken, mention this in the code with a 
12406         FIXME and also in the property description.
12407         Make silent also be silent about the drop messages.
12408
12409 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12410
12411         * docs/manual/appendix-win32.xml:
12412           Remove mention of popt, we don't depend on that any
12413           longer (#353136). Add some comments pointing out that
12414           this section is slightly outdated.
12415
12416 2006-08-28  Wim Taymans  <wim@fluendo.com>
12417
12418         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12419
12420         * gst/gstquery.c: (gst_query_new_segment):
12421         * tests/check/gst/gstquery.c: (GST_START_TEST):
12422         Initialize variables when creating a new segment query.
12423         Fixes #353121.
12424
12425 2006-08-28  Wim Taymans  <wim@fluendo.com>
12426
12427         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12428
12429         * gst/gstelement.c: (gst_element_get_bus):
12430         * tests/check/gst/gstelement.c: (GST_START_TEST):
12431         Check for NULL before _reffing the bus. Fixes #353122.
12432
12433 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12434
12435         * docs/manual/basics-bus.xml:
12436           Docs update: fix wrong callback return value explanation; add
12437           some lines about the implicit relationship between main loop
12438           and main context; remove duplicate main loop variable declaration.
12439
12440 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12441
12442         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12443           Don't leak caps in unit test; add a few more simple
12444           checks. 
12445
12446 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12447
12448         * docs/gst/gstreamer-sections.txt:
12449         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12450         (gst_caps_structure_is_subset), (gst_caps_merge),
12451         (gst_caps_merge_structure):
12452         * gst/gstcaps.h:
12453         * libs/gst/base/gstbasetransform.c:
12454         (gst_base_transform_transform_caps):
12455         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12456           implement caps merging (fixes #352580)
12457
12458 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12459
12460         * tools/Makefile.am:
12461         * tools/gst-plot-timeline.py:
12462           add debug-log plotting developer tool (#340674)
12463
12464 2006-08-23  Wim Taymans  <wim@fluendo.com>
12465
12466         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12467         (gst_pad_stop_task):
12468         Improve debugging for task functions.
12469
12470         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12471         (gst_task_start), (gst_task_pause), (gst_task_join):
12472         Make sure that the task function started and finished after a 
12473         join(). 
12474         Don't try to push the task function on the threadpool multiple
12475         times.
12476         Improve the g_warning message with some useful suggestions
12477         about how to fix the problem. 
12478
12479 2006-08-23  Wim Taymans  <wim@fluendo.com>
12480
12481         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12482         Handle RESYNC correctly in _proxy_getcaps.
12483
12484 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12485
12486         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12487         (gst_xml_parse_memory), (gst_xml_get_element):
12488           Chain up to parent class in dispose function and also
12489           unref the elements in the toplevel_elements GList.
12490           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12491           Always return a reference in gst_xml_get_element() rather
12492           than only sometimes.
12493
12494         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12495           Don't leak GstXml object.
12496
12497 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12498
12499         * docs/gst/gstreamer-sections.txt:
12500         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12501         (gst_caps_merge):
12502         * gst/gstcaps.h:
12503         * libs/gst/base/gstbasetransform.c:
12504         (gst_base_transform_transform_caps):
12505           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12506           in a better way
12507
12508 2006-08-21  Edward Hervey  <edward@fluendo.com>
12509
12510         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12511         Implement GObject::dispose virtual method in GstXML so we can free the
12512         top_elements GList.
12513
12514 2006-08-21  Wim Taymans  <wim@fluendo.com>
12515
12516         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12517         (gst_buffer_create_sub):
12518         Copy duration/offset_end/caps when creating a subbuffer of the
12519         complete parent.
12520         Make the subbuffer read-only when we make the metadata writable for
12521         now. Fixes #351768.
12522
12523         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12524         Added check for metadata copy when creating subbuffers.
12525
12526 2006-08-21  Edward Hervey  <edward@fluendo.com>
12527
12528         * libs/gst/base/gstbasetransform.c:
12529         (gst_base_transform_buffer_alloc):
12530         Only call downstream buffer_alloc if transform element is passthrough
12531         or always_in_place. Closes #350449.
12532
12533 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12534
12535         * ChangeLog:
12536           ChangeLog surgery to add comments to previous changes
12537
12538 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12539
12540         * gst/gst.c:
12541           Add comments
12542
12543         * gst/gstpad.c: (gst_pad_set_active):
12544           Be more verbose in the log
12545
12546         * libs/gst/base/gstbasetransform.c:
12547         (gst_base_transform_transform_caps):
12548           Simplify caps to get rid of duplicates, fixes #345444
12549
12550 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12551
12552         * gst/gstvalue.c:
12553         * gst/gstvalue.h:
12554           Use these optimizations only internally.
12555
12556 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12557
12558         * gst/gstvalue.c: (gst_value_compare_list),
12559         (gst_value_compare_fraction_range),
12560         (gst_value_intersect_fraction_fraction_range),
12561         (gst_value_intersect_fraction_range_fraction_range),
12562         (gst_value_subtract_fraction_fraction_range),
12563         (gst_value_subtract_fraction_range_fraction_range),
12564         (gst_value_get_compare_func), (gst_value_compare),
12565         (gst_value_compare_with_func):
12566         * gst/gstvalue.h:
12567           Saves the expensive lookup of the compare function in many cases
12568          (#345444)
12569
12570 2006-08-18  Edward Hervey  <edward@fluendo.com>
12571
12572         * tests/check/gst/gstinfo.c: (gst_info_suite):
12573         Disable test that require gstdebug if it wasn't built in core.
12574
12575 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12576
12577         * docs/random/ensonic/logging.txt:
12578           update ideas
12579           
12580         * gst/gstinfo.c: (gst_debug_log_default):
12581           reorder fields, save some columns, add optional color codes for log
12582           levels
12583
12584 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12585
12586         * docs/random/ensonic/logging.txt:
12587           add ideas about making the logs a bit more useful
12588
12589 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12590
12591         * docs/pwg/advanced-events.xml:
12592         * docs/pwg/titlepage.xml:
12593           Update for 0.10 API (#340627). Add myself
12594           to authors list.
12595
12596 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12597
12598         * docs/libs/gstreamer-libs-docs.sgml:
12599         * docs/libs/gstreamer-libs-sections.txt:
12600         * libs/gst/check/gstbufferstraw.c:
12601           Make gstcheck stuff show up in docs (still needs to
12602           be documented properly though).
12603
12604 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12605
12606         * docs/gst/gstreamer-sections.txt:
12607         * gst/Makefile.am:
12608         * gst/gst.c: (init_post):
12609         * gst/gst_private.h:
12610         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12611         * gst/gstquark.h:
12612         * gst/gstquery.c: (gst_query_new_position),
12613         (gst_query_set_position), (gst_query_parse_position),
12614         (gst_query_new_duration), (gst_query_set_duration),
12615         (gst_query_parse_duration), (gst_query_new_convert),
12616         (gst_query_set_convert), (gst_query_parse_convert),
12617         (gst_query_new_segment), (gst_query_set_segment),
12618         (gst_query_parse_segment), (gst_query_new_seeking),
12619         (gst_query_set_seeking), (gst_query_parse_seeking):
12620         Add internal helpers for pre-registering quarks from static strings
12621         and using the quark values directly instead of looking them up when
12622         creating and parsing queries. Can be used for event construction too.
12623         Closes #350432.
12624
12625 2006-08-16  Wim Taymans  <wim@fluendo.com>
12626
12627         * gst/gstbin.c:
12628         Fix bogus docs.
12629
12630 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12631
12632         * gst/gstutils.c: (gst_util_set_value_from_string):
12633           Fix memleak (#351502).
12634
12635         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12636           Add unit test for most of gst_util_set_value_from_string()
12637           (not that one would want to encourage use of this function).
12638
12639 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12640
12641         * libs/gst/check/gstcheck.h:
12642           Use const gchar * variables in fail_unless_equals_string
12643           macro to avoid compiler warnings (and don't use tabs for
12644           indenting).
12645
12646 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12647
12648         * tools/gst-launch.c: (print_tag):
12649           More space on the left for the tag names, to cater
12650           for the 'extended comment' tag (not touching the
12651           string for the first line since it's translated).
12652
12653 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12654
12655         * libs/gst/check/gstcheck.h:
12656           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12657           print something when they fail.
12658
12659 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12660
12661         * docs/gst/gstreamer-sections.txt:
12662         * gst/gsttaglist.c: (_gst_tag_initialize):
12663         * gst/gsttaglist.h:
12664           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12665           Also change merge function for GST_TAG_COMMENT to
12666           use_first.
12667
12668 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12669
12670         * gst/gstinfo.c: (gst_debug_print_object):
12671           Make GST_PTR_FORMAT print messages as well.
12672
12673         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12674         (GST_START_TEST), (gst_info_suite):
12675           More tests.
12676
12677 2006-08-14  Edward Hervey  <edward@fluendo.com>
12678
12679         * gst/gstelementfactory.c: (gst_element_register):
12680         If the GstElementClass doesn't have a GstElementDetails with all fields
12681         filled up correctly (longname, description AND author), then error out
12682         nicely instead of crashing.
12683
12684 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12685
12686         * gst/gststructure.c:
12687           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12688
12689         * gst/gstvalue.h:
12690           Expand on the difference between arrays and lists as we use them.
12691           
12692 2006-08-14  Wim Taymans  <wim@fluendo.com>
12693
12694         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12695         If the parent state change function failed, don't assume we can safely
12696         stop the source, this will be done when the pads are deactivated.
12697
12698 2006-08-14  Wim Taymans  <wim@fluendo.com>
12699
12700         * gst/gstbuffer.c:
12701         * gst/gsttask.c: (gst_task_join):
12702         Small doc updates.
12703
12704         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12705         (gst_pad_stop_task):
12706         When pad (de)activation failed for some reason, restore the old
12707         activation mode and set the pad to flushing instead of assuming the
12708         pad is deactivated.
12709         If the _task_join() failed, reinstall the task on the pad so that it can
12710         be stopped later and return an error.
12711
12712 2006-08-11  Andy Wingo  <wingo@pobox.com>
12713
12714         * configure.ac:
12715         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12716         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12717         is only for users of API that don't want to see deprecated
12718         functions in the headers; people that want to compile out
12719         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12720         CFLAGS. Fixes the build of multifdsink, or will soon..
12721
12722 2006-08-11  Wim Taymans  <wim@fluendo.com>
12723
12724         * docs/gst/gstreamer-sections.txt:
12725         Add GstClockClass vmethod docs.
12726
12727         * gst/gstcaps.h:
12728         Mark #endif with comment for associated #if
12729
12730         * gst/gstclock.c: (gst_clock_id_wait):
12731         * gst/gstclock.h:
12732         Add vmethod wait_jitter to avoid an unneeded _get_time() for
12733         most clock implementations.
12734         Document vmethods.
12735         Flesh out docs about resolution methods.
12736         API: GstClockClass::wait_jitter
12737
12738         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12739         (gst_system_clock_async_thread),
12740         (gst_system_clock_id_wait_jitter_unlocked),
12741         (gst_system_clock_id_wait_jitter):
12742         Use base class wait_jitter variant for improved performance
12743         due to less clock polling.
12744
12745 2006-08-11  Edward Hervey  <edward@fluendo.com>
12746
12747         * gst/gst.c: (gst_init_check), (init_post):
12748         Set gst as being initialized before scanning/updating the registry,
12749         since there might be my python plugin loader that calls gst_init() and
12750         we don't want to loop back in.
12751         Closes #350879
12752
12753 2006-08-11  Wim Taymans  <wim@fluendo.com>
12754
12755         * docs/design/part-qos.txt:
12756         Bring docs in line with the code. Mostly the sign of the jitter was
12757         wrong in the docs. Fixes #349943.
12758
12759         * gst/gstclock.c:
12760         Fix the docs for the jitter.
12761
12762         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12763         (gst_event_parse_tag), (gst_event_new_buffer_size),
12764         (gst_event_parse_buffer_size), (gst_event_parse_qos),
12765         (gst_event_new_seek), (gst_event_parse_seek),
12766         (gst_event_new_navigation):
12767         Make sure the GstStructure has no parent when creating custom
12768         events.
12769         Add some more argument checking so that we avoid 0.0 rates.
12770         Flesh out the docs for the QoS event some more.
12771
12772 2006-08-11  Wim Taymans  <wim@fluendo.com>
12773
12774         * docs/gst/gstreamer-sections.txt:
12775         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12776         (ensure_current_registry_forking), (ensure_current_registry),
12777         (parse_one_option), (parse_goption_arg), (gst_deinit),
12778         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12779         * gst/gst.h:
12780         Doc updates.
12781         Added API and command line option to disable registry forking in
12782         addition to the environment variable.
12783         Constify some static arrays.
12784         Added some more debug.
12785         Don't deinit twice.
12786         API: gst_registry_fork_is_enabled()
12787         API: gst_registry_fork_set_enabled()
12788         API: --gst-disable-registry-fork command line option
12789         Fixes #348918.
12790
12791 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
12792
12793         * gst/gst.c: (gst_init):
12794           Fix typo in error message.
12795
12796 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
12797
12798         * libs/gst/controller/gstcontroller.h:
12799           fix ABI size-correction
12800
12801         * tests/check/libs/gdp.c: (gst_dp_suite):
12802           make tests that use deprecated API conditional
12803
12804 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
12805
12806         * docs/libs/gstreamer-libs-sections.txt:
12807         * libs/gst/controller/gstcontroller.c:
12808         (_gst_controller_get_property), (_gst_controller_set_property),
12809         (_gst_controller_init), (_gst_controller_class_init):
12810         * libs/gst/controller/gstcontroller.h:
12811         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12812         (gst_object_set_control_rate):
12813           API: add gst_object_{s,g}et_control_rate(), add private data section,
12814           fix docs
12815
12816         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12817         * libs/gst/dataprotocol/dataprotocol.h:
12818           add deprecation guards to make gtk-doc happy and allow disabling cruft
12819
12820 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
12821
12822         * tests/check/Makefile.am:
12823         * tests/check/gst/.cvsignore:
12824           Let's enable the new unit test as well.
12825
12826 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
12827
12828         * configure.ac:
12829         * docs/gst/gstreamer-sections.txt:
12830         * gst/gstconfig.h.in:
12831         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12832         (_gst_info_printf_extension_ptr),
12833         (_gst_info_printf_extension_segment):
12834           API: add GST_SEGMENT_FORMAT, which is a printf extension we
12835           register that lets us easily dump GstSegments into debug
12836           logs (#350419).
12837
12838         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12839         (info_segment_format_printf_extension), (gst_info_suite):
12840           Add simple unit test that logs a bunch of different segments (not
12841           valgrinded at the moment because of leaks in
12842           gst_debug_add_log_function).
12843
12844 2006-08-09  Edward Hervey  <edward@fluendo.com>
12845
12846         * libs/gst/base/gstbasetransform.c:
12847         (gst_base_transform_buffer_alloc):
12848         Even if we can't figure out the proper format to request downstream,
12849         call buffer_alloc() downstream with the input parameters without setting
12850         the caps on the srcpad. This will force negotiation in the chain
12851         function.
12852         Closes #350449
12853
12854 2006-08-08  Edward Hervey  <edward@fluendo.com>
12855
12856         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12857         Unlinking from a pad without a target is now a perfectly valid case
12858         which should NOT raise an assertion.
12859         This case would happen if a linked ghostpad its target set to NULL after
12860         it was previously linked.
12861
12862 2006-08-08  Edward Hervey  <edward@fluendo.com>
12863
12864         * tests/check/libs/gdp.c:
12865         Also comment out the test (see below).
12866
12867 2006-08-08  Edward Hervey  <edward@fluendo.com>
12868
12869         * tests/check/libs/gdp.c: (gst_dp_suite):
12870         Use the architecture information from config.h and not gcc macros
12871         in order to properly disable a test that fails on PPC64.
12872
12873 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
12874
12875         * gst/gstelement.c: (gst_element_remove_pad):
12876           Don't crash printing the warning if the pad has no parent.
12877
12878 2006-08-02  Wim Taymans  <wim@fluendo.com>
12879
12880         * libs/gst/dataprotocol/dataprotocol.c:
12881         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12882         (gst_dp_crc), (gst_dp_header_payload_length),
12883         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12884         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12885         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12886         (gst_dp_event_from_packet), (gst_dp_validate_header),
12887         (gst_dp_validate_payload):
12888         Make debug category static
12889         Constify the crc table.
12890         Do some more arg checking in public functions.
12891         Fix some docs and do some small cleanups.
12892
12893         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12894         Add some more checks to see if GDP deals with bogus input.
12895
12896 2006-07-31  Wim Taymans  <wim@fluendo.com>
12897
12898         * gst/gstvalue.c: (gst_value_compare_list):
12899         Fix GstValueList comparison code. Fixes #347293.
12900
12901         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12902         Check to test GstValueList comparison.
12903
12904 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
12905
12906         * gst/gstelementfactory.c: (gst_element_factory_create):
12907         Remove unnecessary ref/unref pair
12908
12909         * gst/parse/grammar.y:
12910         Make sure to free the parse buffer on all code paths.
12911         Move a g_free up to the error handler where it's easier to see.
12912
12913         * tests/check/gst/gstevent.c: (test_event):
12914         Extending timeout for downstream travelling events to 10 seconds to
12915         hopefully avoid intermittent failure on the buildbots.
12916
12917         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12918         Don't manually set the state of the src element - it will happen as a
12919         natural consequence of the pipeline changing state, and that way it
12920         will do it in the right order too.
12921
12922 2006-07-31  Wim Taymans  <wim@fluendo.com>
12923
12924         * libs/gst/base/gstbasetransform.c:
12925         (gst_base_transform_buffer_alloc):
12926         Use OBJECT_LOCK and refcounting to get the pad caps in the
12927         buffer_alloc function because the caps could change while we are
12928         busy with them. Fixes #349105
12929
12930 2006-07-31  Wim Taymans  <wim@fluendo.com>
12931
12932         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
12933         Protect _PAD_CAPS with OBJECT_LOCK.
12934
12935 2006-07-31  Wim Taymans  <wim@fluendo.com>
12936
12937         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12938         (gst_pad_get_property), (gst_pad_activate_pull),
12939         (gst_pad_activate_push), (gst_pad_set_blocked_async),
12940         (gst_pad_set_activate_function),
12941         (gst_pad_set_activatepull_function),
12942         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
12943         (gst_pad_set_getrange_function),
12944         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
12945         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12946         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
12947         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
12948         (gst_pad_set_acceptcaps_function),
12949         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12950         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
12951         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
12952         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
12953         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
12954         (gst_pad_configure_sink), (gst_pad_configure_src),
12955         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
12956         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
12957         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
12958         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
12959         (gst_pad_send_event):
12960         Use _DEBUG_OBJECT when it makes sense.
12961         Protect GST_PAD_CAPS with the OBJECT_LOCK.
12962         Small cleanups and code reflows.
12963         Avoid caps refcounting in _accept_caps.
12964         Refactor alloc_buffer so that the code performed on the peer is in a
12965         separate function. Also if the pad does not implement a buffer alloc
12966         function, we should still check if the pad is flushing before falling
12967         back to the default allocator.
12968
12969 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
12970
12971         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12972         Make all uses of identity and fakesink have silent=true to avoid
12973         serialising every passing data structure, which is breaking tests
12974         on FC4 for some unknown reason.
12975
12976 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
12977
12978         * gst/parse/Makefile.am:
12979         * gst/parse/grammar.y:
12980         * gst/parse/parse.l:
12981           Reverted previous patch as it required to bump the flex dependency to
12982           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
12983
12984 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
12985
12986         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
12987
12988         * gst/parse/Makefile.am:
12989         * gst/parse/grammar.y:
12990         * gst/parse/parse.l:
12991           push & pop the state of the lexer for reentrant use case
12992           Fixes #349180
12993
12994 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
12995
12996         * libs/gst/base/gstbasesrc.h:
12997           Note in the docs that the ::newsegment vfunc is not actually used by
12998           GstBaseSrc.
12999
13000 2006-07-28  Wim Taymans  <wim@fluendo.com>
13001
13002         * libs/gst/base/gstcollectpads.c:
13003         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13004         (gst_collect_pads_clear), (gst_collect_pads_flush),
13005         (gst_collect_pads_event), (gst_collect_pads_chain):
13006         When flushing a pad, also clear the queued buffer so that we don't
13007         accidentally use it when we shouldn't.
13008         Fix leaks by inreffing incomming buffer.
13009         Flush out queued buffers in case of errors.
13010         Fixes #347452.
13011
13012 2006-07-28  Wim Taymans  <wim@fluendo.com>
13013
13014         * docs/random/phonon-gst:
13015         Random notes about a Phonon backend.
13016
13017 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13018
13019         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13020         Extra debug output
13021         * tests/check/libs/gdp.c: (gst_dp_suite):
13022         Take a whack at fixing the ppc compile using a different define to
13023         disable the broken test.
13024
13025         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13026         Remove excess g_print()
13027
13028 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13029
13030         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13031         Oops, meant to uncomment this line too to dampen the noise a bit.
13032
13033 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13034
13035         * gst/parse/grammar.y:
13036         * gst/parse/parse.l:
13037         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13038         (GST_START_TEST), (parse_suite):
13039         Fix some of the leaks exposed by extending the parse-launch testsuite,
13040         and move the 3 I can't figure out into a separate test that won't run
13041         the pipelines unless the appropriate line is uncommented.
13042
13043 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13044
13045         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13046           Requesting 0 bytes before the end of the file should result in
13047           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13048           unit test.
13049
13050 2006-07-27  Wim Taymans  <wim@fluendo.com>
13051
13052         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13053         Fix useless assert, a uint is always positive.
13054
13055         * gst/gststructure.c: (gst_structure_nth_field_name),
13056         (gst_structure_foreach), (gst_structure_map_in_place):
13057         Check input arguments for public functions to avoid obvious crashes.
13058
13059         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13060         * plugins/elements/gstfakesink.h:
13061         Do less useless typechecking.
13062
13063 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13064
13065         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13066           Do not use mmap() by default since there are a number of error
13067           conditions that we would like to handle in a non-fatal way that
13068           will result in a SIGBUS if we use mmap(). Examples: external
13069           devices (USB harddrive, portable music player) being unplugged
13070           while in use; file on mounted CD/DVD that can't be read because
13071           the medium is partly damaged. Fixes #348455 and #348475.
13072
13073 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13074
13075         * gst/gstquery.h:
13076         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13077         rates are a gdouble
13078
13079 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13080
13081         * gst/gstregistry.c:
13082           Move big documentation comment into class section header, so that it
13083           appears in the API docs.
13084
13085 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13086
13087         * docs/gst/gstreamer-sections.txt:
13088         Oops. Commit the docs additions too for new API.
13089         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13090
13091 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13092
13093         * gst/gststructure.c: (gst_structure_id_set),
13094         (gst_structure_id_set_valist):
13095         * gst/gststructure.h:
13096         Add API for setting values into structures without performing
13097         a quark lookup, if the appropriate quark is already known.
13098
13099         API: gst_structure_id_set
13100         API: gst_structure_id_set_valist
13101
13102         * gst/parse/grammar.y:
13103         * gst/parse/parse.l:
13104         Remove some dead code shown by the coverage information.
13105         Don't throw a critical g_warning when encountering a syntax error,
13106         just warn and let the normal error path handle it.
13107
13108         * plugins/elements/gstelements.c:
13109         Bump the rank of filesink up to PRIMARY so that it is preferred over
13110         gnomevfssink for file:// sink uri's
13111
13112         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13113         (GST_START_TEST), (run_delayed_test),
13114         (gst_parse_test_element_base_init),
13115         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13116         (gst_parse_test_element_change_state),
13117         (gst_register_parse_element), (parse_suite):
13118         Beef up the tests for parse syntax to check that more error cases
13119         fail as they are supposed to. Increases the test coverage a bit.
13120
13121 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13122
13123         * docs/manual/basics-elements.xml:
13124           Fix gst_element_link() example.
13125
13126         * gst/gstutils.c:
13127           Mention in API docs that one should usually gst_bin_add()
13128           elements to a bin or pipeline before doing the linking.
13129           
13130 2006-07-26  Wim Taymans  <wim@fluendo.com>
13131
13132         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13133         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13134         Avoid function call for known types by keeping the buffer and
13135         subbuffer GType global.
13136
13137         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13138         Random silly optimisations in read() path.
13139
13140 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13141
13142         * tools/gst-launch.c: (main):
13143           If the top-level of the parse is a normal bin, it doesn't do the
13144           right logic to run as a top-level element, so place it inside a
13145           pipeline.
13146
13147 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13148
13149         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13150           Remove superfluous g_object_notify() calls, GObject does
13151           that for us automatically.
13152
13153 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13154
13155         * gst/gstinfo.h:
13156           on Win32, use dllspec to export the debug category symbols
13157
13158 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13159
13160         * gst/gsttaglist.c: (_gst_tag_initialize):
13161           Allow more than one GST_TAG_IMAGE per taglist.
13162
13163 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13164
13165         * gst/gstminiobject.c:
13166           update docs
13167         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13168         (gst_fd_src_create):
13169           log recurring events at LOG level
13170           add more debug for when the fd gets set
13171
13172 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13173
13174         * gst/gstparse.c: (gst_parse_launch):
13175           Also remove reentrance checks if flex is MT safe (#348179)
13176          Fix my empty ChangeLog entry below
13177
13178 2006-07-21  Andy Wingo  <wingo@pobox.com>
13179
13180         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13181
13182         * libs/gst/check/Makefile.am
13183         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13184         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13185         * libs/gst/check/gstbufferstraw.h:
13186         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13187         functions, thus proving I am still a GStreamer haxor. OK I wrote
13188         them a long time ago, but anyways.
13189
13190 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13191
13192         * configure.ac:
13193         * gst/gstparse.c: (gst_parse_launch):
13194           Check for flex version and omit mutex if we have a MT save flex
13195           (fixes #348179)
13196
13197 2006-07-21  Wim Taymans  <wim@fluendo.com>
13198
13199         * gst/gstparse.c: (gst_parse_launch):
13200         Protect recursive calls to _parse with a recursive mutex
13201         and busy flag.
13202
13203 2006-07-21  Wim Taymans  <wim@fluendo.com>
13204
13205         * tests/check/gst/gstpad.c: (GST_START_TEST):
13206         Fix leak in test.
13207
13208 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13209
13210         * gst/gstparse.c: (gst_parse_launch):
13211           Do not hang on recursive usage of gst_parse_launch()
13212
13213 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13214
13215         * gst/gsttaglist.c:
13216           Add some more docs, comments and FIXME 0.11s here and there
13217           and also fix some typos.
13218
13219 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13220
13221         * gst/gstsegment.h:
13222           Convert tabs to spaces for better readability. 
13223
13224 2006-07-20  Edward Hervey  <edward@fluendo.com>
13225
13226         * tests/check/libs/gdp.c: (gst_dp_suite):
13227         the test_buffer test fails at line 140 on ppc64 at the following
13228         check:
13229         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13230                 GST_BUFFER_FLAG_IN_CAPS),
13231                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13232         See bug #348114 for more details.
13233
13234 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13235
13236         * docs/pwg/advanced-scheduling.xml:
13237         * gst/gstpad.c:
13238           Fix typos (#348000).
13239
13240 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13241
13242         * docs/pwg/intro-basics.xml:
13243           Fix wrong links (#347927).
13244
13245 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13246
13247         * gst/gstregistry.h:
13248         * gst/gstregistryxml.c: (load_feature),
13249         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13250         * win32/common/config.h:
13251           make --disable-index work (#342564)
13252
13253 2006-07-18  Wim Taymans  <wim@fluendo.com>
13254
13255         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13256
13257         * gst/Makefile.am:
13258         * gst/gsttrace.h:
13259         The attached patch adds two missing defines to gsttrace.h when tracing
13260         is disabled.  It also corrects one existing define.
13261         Fixes #347756.
13262
13263 2006-07-17  Wim Taymans  <wim@fluendo.com>
13264
13265         * docs/gst/gstreamer-sections.txt:
13266         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13267         * gst/gst.h:
13268         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13269         Add two functions to check and change the SIGSEGV behaviour
13270         when loading plugins.
13271         Don't mess with the SIGSEGV handler when we were told not to.
13272         Fixes #347794.
13273         API: gst_segtrap_is_enabled
13274         API: gst_segtrap_set_enabled
13275
13276 2006-07-14  Wim Taymans  <wim@fluendo.com>
13277
13278         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13279         * tests/check/elements/filesrc.c: (GST_START_TEST):
13280         Revert fix for regression in #347408 after release.
13281
13282 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13283
13284         Patch by: Antoine Tremblay <hexa00 at gmail com>
13285
13286         * gst/gstutils.c: (gst_element_unlink):
13287           Free iterator when done (#347311).
13288
13289         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13290           And add a test case for this.
13291
13292 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13293
13294         * configure.ac:
13295         Bump nano back to CVS
13296
13297 === release 0.10.9 ===
13298
13299 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13300
13301         * configure.ac:
13302           releasing 0.10.9, "On the road again"
13303
13304 2006-07-13  Wim Taymans  <wim@fluendo.com>
13305
13306         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13307         * tests/check/elements/filesrc.c: (GST_START_TEST):
13308         Revert pull-0 fix for release. Disable check. Fixes #347408.
13309
13310 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13311
13312         * libs/gst/dataprotocol/dataprotocol.c:
13313         (gst_dp_event_from_packet_1_0):
13314           Fixes #347337: failure to deserialize event packets with
13315           empty payload (only event type)
13316
13317 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13318
13319         * gst/Makefile.am:
13320           do not install a .c file in the header directory
13321
13322 2006-07-13  Edward Hervey  <edward@fluendo.com>
13323
13324         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13325         GhostPad no longer implicitely use the padtemplates of the targets.
13326         Fixes #347384
13327
13328 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13329
13330         * gst/gstvalue.c: (gst_value_compare_list),
13331         (gst_value_compare_array), (_gst_value_initialize):
13332         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13333         Make GstValueArray comparison be order dependent as designed.
13334         Add checks for value lists and value array comparisons.
13335         Fixes #347221
13336
13337 2006-07-11  Edward Hervey  <edward@fluendo.com>
13338
13339         * gst/gstbin.c: (activate_pads),
13340         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13341         (gst_bin_change_state_func):
13342         (de)activate src pads before calling state_change on the childs.
13343         This is to avoid the case where a src ghostpad is blocked (holding the
13344         stream lock), which would block the deactivation of the ghostpad's
13345         target pad.
13346         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13347         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13348         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13349         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13350         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13351         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13352         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13353         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13354         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13355         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13356         (gst_ghost_pad_class_init),
13357         (gst_ghost_pad_internal_do_activate_push),
13358         (gst_ghost_pad_internal_do_activate_pull),
13359         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13360         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13361         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13362         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13363         GhostPads now create their internal GstProxyPad at creation (and not
13364         when they're linked, as it was being done previously).
13365         The internal and target pads are linked straight away.
13366         The data will also travel through the other pad in order to make
13367         pad blocking and probes non-hackish (the probe/block now really happens
13368         on the GhostPad and not on the target).
13369         * gst/gstpad.c: (gst_pad_set_blocked_async),
13370         (gst_pad_link_prepare), (gst_pad_push_event):
13371         Remove previous ghostpad cruft.
13372         * gst/gstutils.c: (gst_pad_add_data_probe),
13373         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13374         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13375         (gst_pad_remove_buffer_probe):
13376         Remove previous ghost pad cruft.
13377         Added more detailed debug statements.
13378         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13379         Fix the testsuite for refcounting changes.
13380         The comments about who has references were correct, but the refcount
13381         being checked wasn't the same (!?!).
13382
13383         Fixes #341029
13384
13385 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13386
13387         * docs/gst/gstreamer-sections.txt:
13388         * gst/gstconfig.h.in:
13389         More docs for configuration options, add docs to gtk-doc.
13390
13391 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13392
13393         * gst/Makefile.am:
13394         * gst/gstconfig.h.in:
13395         * win32/common/config.h:
13396         Fix build when disabling tracing (fixes #344016). Also start to document
13397         the defines that disable the sub-systems.
13398
13399 2006-07-10  Edward Hervey  <edward@fluendo.com>
13400
13401         * gst/gst.c: (ensure_current_registry_forking):
13402         let's make valgrind happy...
13403
13404 2006-07-09  Wim Taymans  <wim@fluendo.com>
13405
13406         * gst/gstelement.c: (activate_pads),
13407         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13408         Better pad activation code: Reset the collect value too on resync.
13409         Add some comments.
13410
13411 2006-07-09  Wim Taymans  <wim@fluendo.com>
13412
13413         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13414         (gst_pad_activate_push):
13415         Use some more macros where it makes sense.
13416         Allow pad mode switching instead of asserting. When a pad
13417         is activated in one mode and we activate it in another, 
13418         deactivate it first before activating it in a different mode.
13419         Fixes #329198.
13420
13421 2006-07-08  Andy Wingo  <wingo@pobox.com>
13422
13423         * tools/gst-launch.c (main): Handle err == NULL.
13424
13425         * gst/gst.c (init_post, ensure_current_registry)
13426         (ensure_current_registry_forking)
13427         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13428         factoring out the registry scanning into separate functions. Don't
13429         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13430         Better environment var name/interface suggestions accepted.
13431
13432 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13433
13434         * gst/gstobject.c: (gst_object_set_name_default),
13435         (gst_object_set_name):
13436           Random micro-optimisation: don't use a hash table
13437           with strings as keys and the usual strdup/strcmp
13438           involved, but rather just use the GQuark of the
13439           type name as key, since it needs to be looked up
13440           anyway to get the type name string.
13441
13442         * tests/check/gst/gstobject.c: (GST_START_TEST):
13443           Fix various leaks.
13444
13445 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13446
13447         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13448         (gst_bin_iterate_all_by_interface):
13449           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13450           GTypes are gulongs and thus the top 4 bytes might be cut
13451           off on some platforms when doing GPOINTER_TO_INT, leading
13452           to invalid GTypes and bad things happening (see RH bug #179654).
13453           Also add a check to make sure the type passed in is really
13454           an interface type.
13455
13456 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13457
13458         * .cvsignore:
13459           Ignore more.
13460
13461 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13462
13463         * Makefile.am:
13464         * configure.ac:
13465         * gst-element-check.m4:
13466         * gst-element-check.m4.in:
13467           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13468           instead of the unversioned gst-inspect (#324176, #168659).
13469
13470 2006-07-06  Wim Taymans  <wim@fluendo.com>
13471
13472         * gst/gstmessage.h:
13473         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13474         warnings.
13475
13476 2006-07-06  Wim Taymans  <wim@fluendo.com>
13477
13478         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13479         (gst_base_src_wait), (gst_base_src_update_length),
13480         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13481         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13482         (gst_base_src_loop), (gst_base_src_start),
13483         (gst_base_src_activate_pull):
13484         Update docs.
13485         blocksize == 0 now means the default blocksize when working in push
13486         based mode.
13487         Remove some pointless asserts in _wait function.
13488         Fix offset/length calculations and EOS handling. We can now pull 0
13489         bytes as well, which is allowed.
13490         use _check_get_range() to decide if we can operate in _pull based
13491         mode.
13492         Fix refcounting leak when check_get_range function was not 
13493         implemented.
13494         API GstBaseSrc::blocksize range can be 0 too now (default)
13495
13496         * tests/check/elements/filesrc.c: (GST_START_TEST),
13497         (filesrc_suite):
13498         Added check to test _get_range() behaviour.
13499
13500 2006-07-06  Wim Taymans  <wim@fluendo.com>
13501
13502         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13503         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13504         (gst_pad_pull_range):
13505         * gst/gstpad.h:
13506         Lots of comments and docs added to the pad functions.
13507         Flesh out the expected behaviour of the get_range() functions.
13508
13509 2006-07-06  Wim Taymans  <wim@fluendo.com>
13510
13511         * gst/gstbus.h:
13512         * gst/gstclock.h:
13513         * gst/gstevent.h:
13514         * gst/gstiterator.h:
13515         * gst/gstpad.h:
13516         * gst/gstplugin.h:
13517         * gst/gsttask.h:
13518         Remove comma at end of enumerator list. 
13519
13520 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13521
13522         * win32/common/libgstbase.def:
13523         * win32/common/libgstdataprotocol.def:
13524         * win32/common/libsgtreamer.def:
13525         Add new exported functions.
13526
13527 2006-07-05  Wim Taymans  <wim@fluendo.com>
13528
13529         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13530         Add some more docs here and there.
13531
13532 2006-07-05  Wim Taymans  <wim@fluendo.com>
13533
13534         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13535         (gst_base_sink_loop), (gst_base_sink_get_position):
13536         When operating in pull mode update the offset so that we
13537         read sequentially.
13538
13539 2006-07-05  Wim Taymans  <wim@fluendo.com>
13540
13541         * gst/gstregistryxml.c: (read_string):
13542         Avoid strdup. (will happen in libxml, but hey!)
13543
13544         * gst/gsturi.c:
13545         Add some more docs.
13546
13547 2006-07-05  Wim Taymans  <wim@fluendo.com>
13548
13549         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13550         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13551         (gst_buffer_suite):
13552         No point in checking if the size of the subbuffer > 0, the
13553         code handles it correclty as demonstrated by unit test.
13554         Also add a unit test for the zero sized _new_and_alloc and
13555         _copy. Fixes #346663.
13556
13557 2006-07-05  Wim Taymans  <wim@fluendo.com>
13558
13559         * libs/gst/base/gstbasetransform.c:
13560         (gst_base_transform_prepare_output_buffer),
13561         (gst_base_transform_buffer_alloc),
13562         (gst_base_transform_handle_buffer):
13563         Make sure the buffer we pass to transform_ip has a refcount of
13564         1 and thus is writable. Fixes #343196
13565
13566 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13567
13568         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13569         (gst_file_src_init), (gst_file_src_set_property),
13570         (gst_file_src_get_property), (gst_file_src_map_region):
13571         * plugins/elements/gstfilesrc.h:
13572         Add "sequential" property, off by default, to use madvise and hint
13573         to the kernel that sequential access is desired.
13574         Touch all retrieved pages by default to ensure they are pulled
13575         into memory. (Closes #345720)
13576
13577 2006-07-03  Wim Taymans  <wim@fluendo.com>
13578
13579         * docs/design/part-block.txt:
13580         * docs/design/part-dynamic.txt:
13581         Small docs updates.
13582
13583 2006-07-03  Wim Taymans  <wim@fluendo.com>
13584
13585         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13586         (gst_caps_unref), (gst_static_caps_get),
13587         (gst_caps_append_structure):
13588         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13589         Use GSlice when the glib we build against is >= 2.10
13590
13591 2006-07-03  Wim Taymans  <wim@fluendo.com>
13592
13593         * gst/gstelement.c: (gst_element_pads_activate):
13594         Small cleanup in pad activation code.
13595
13596 2006-07-03  Wim Taymans  <wim@fluendo.com>
13597
13598         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13599
13600         * gst/gst-i18n-app.h:
13601         * gst/gst-i18n-lib.h:
13602         * tools/gst-inspect.c: (print_signal_info):
13603         The attached patch will make the inclusion of gettext.h unconditional in
13604         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13605         libintl.h in tools/gst-inspect.c.
13606         This allows use of --disable-nls again and fixes #344642.
13607
13608 2006-07-03  Edward Hervey  <edward@fluendo.com>
13609
13610         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13611         Implement pad blocking on events according to part-block.txt.
13612         More comments on behaviour.
13613         * tests/check/gst/gstevent.c: (test_event):
13614         Send event to peer pad of blocked pad (else it will block).
13615
13616 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13617
13618         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13619         (gst_check_run_suite):
13620           if we get the wrong message, give us the types as string
13621         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13622           Fix a translatable
13623         * tests/check/elements/filesrc.c: (GST_START_TEST):
13624           add a test for trying to open a non-existing file
13625
13626 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13627
13628         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13629           add a test for adding self
13630
13631 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13632
13633         * libs/gst/check/gstcheck.h:
13634           add some assert_ as alias for fail_unless_*
13635         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13636           increase test coverage
13637
13638 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13639
13640         * Makefile.am:
13641           include lcov.mak for lcov coverage generation
13642         * tools/Makefile.am:
13643           add to CLEANFILES
13644
13645 2006-07-02  Edward Hervey  <edward@fluendo.com>
13646
13647         * tests/check/elements/.cvsignore:
13648         moaping
13649
13650 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13651
13652         * configure.ac:
13653           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13654         * tests/check/Makefile.am:
13655           clean up gcov files
13656
13657 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13658
13659         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13660           remove gst_caps_simplify; it was not declared and not used
13661           and deprecated in 0.8
13662
13663 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13664
13665         * docs/faq/gst-uninstalled:
13666           don't put empty paths on PYTHONPATH
13667         * docs/gst/gstreamer-sections.txt:
13668           remove some symbols that are not there
13669
13670 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13671
13672         * gst/gstcaps.c: (gst_caps_compare_structures):
13673           whitespace fixes
13674         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13675         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13676           add more tests
13677
13678 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13679
13680         * libs/gst/dataprotocol/Makefile.am:
13681           build dataprotocol test by linking to the lib, instead of
13682           compiling the source, so we get coverage
13683         * tests/check/Makefile.am:
13684         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13685         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13686           add a test for filesrc
13687
13688 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13689
13690         * tests/check/gst/gststructure.c: (GST_START_TEST),
13691         (gst_structure_suite):
13692           Push coverage from 59.04% to 70.00%
13693
13694 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13695
13696         * tests/check/Makefile.am:
13697           gst-inspect every element; this makes sure that we also get
13698           coverage on element's get/set functions
13699
13700 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13701
13702         * configure.ac:
13703           set CFLAGS and friends to -O0 if gcov is being used
13704           add GCOV LIBS
13705         * gst/Makefile.am:
13706         * libs/gst/base/Makefile.am:
13707         * libs/gst/check/Makefile.am:
13708         * libs/gst/controller/Makefile.am:
13709         * libs/gst/dataprotocol/Makefile.am:
13710         * libs/gst/net/Makefile.am:
13711         * plugins/elements/Makefile.am:
13712         * plugins/indexers/Makefile.am:
13713           add makefile rules to generate gcov data and clean up
13714         * tests/check/Makefile.am:
13715           add a coverage target that generates an html overview
13716           of coverage data
13717
13718 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13719
13720         * tests/check/elements/fakesink.c:
13721         * tests/check/elements/fakesrc.c:
13722         * tests/check/elements/fdsrc.c:
13723         * tests/check/elements/identity.c:
13724         * tests/check/generic/sinks.c: (gst_sinks_suite):
13725         * tests/check/generic/states.c:
13726         * tests/check/gst/gst.c:
13727         * tests/check/gst/gstabi.c:
13728         * tests/check/gst/gstbin.c:
13729         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13730         * tests/check/gst/gstbus.c: (gst_bus_suite):
13731         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13732         * tests/check/gst/gstelement.c:
13733         * tests/check/gst/gstevent.c: (gst_event_suite):
13734         * tests/check/gst/gstghostpad.c:
13735         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13736         * tests/check/gst/gstmessage.c: (gst_message_suite):
13737         * tests/check/gst/gstminiobject.c:
13738         * tests/check/gst/gstobject.c:
13739         * tests/check/gst/gstpad.c:
13740         * tests/check/gst/gstpipeline.c:
13741         * tests/check/gst/gstplugin.c:
13742         * tests/check/gst/gstquery.c: (gst_query_suite):
13743         * tests/check/gst/gstsegment.c: (gst_segment_suite):
13744         * tests/check/gst/gststructure.c:
13745         * tests/check/gst/gstsystemclock.c:
13746         * tests/check/gst/gsttag.c:
13747         * tests/check/gst/gsttask.c: (gst_task_suite):
13748         * tests/check/gst/gstutils.c:
13749         * tests/check/gst/gstvalue.c:
13750         * tests/check/libs/adapter.c:
13751         * tests/check/libs/basesrc.c:
13752         * tests/check/libs/collectpads.c:
13753         * tests/check/libs/controller.c:
13754         * tests/check/libs/gdp.c: (gst_dp_suite):
13755         * tests/check/libs/gstnetclientclock.c:
13756         * tests/check/libs/gstnettimeprovider.c:
13757         * tests/check/libs/libsabi.c: (libsabi_suite):
13758         * tests/check/libs/typefindhelper.c:
13759         * tests/check/pipelines/cleanup.c:
13760         * tests/check/pipelines/parse-launch.c:
13761         * tests/check/pipelines/simple-launch-lines.c:
13762         * tests/check/pipelines/stress.c: (stress_suite):
13763           use the new macro
13764
13765 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13766
13767         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13768         * libs/gst/check/gstcheck.h:
13769           create a macro and function so that the simple unit test
13770           case can be just one macro to create main()
13771
13772 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
13773
13774         * gst/gstbin.c: (gst_bin_restore_thyself):
13775         * gst/gstxml.c: (gst_xml_make_element):
13776           Fix deserialisation from XML. Set parent manually
13777           instead of using gst_bin_add(), since gst_bin_add()
13778           will unlink all pads of the element being added.
13779           Fixes #341667.
13780
13781 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
13782
13783         Patch by: Peter Kjellerstedt <pkj at axis com>
13784
13785         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13786           Fix missing g_strdup() and double free when using the
13787           --gst-plugin-load command line option (#346097).
13788
13789 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13790
13791         * gst/gstinfo.c:
13792           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13793
13794         * libs/gst/net/gstnetclientclock.c:
13795         * libs/gst/net/gstnettimeprovider.c:
13796           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13797
13798 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13799
13800         * docs/manual/advanced-dataaccess.xml:
13801           Fix buffer probe example compilation in
13802           ADM (#345708).
13803         
13804 2006-06-22  Edward Hervey  <edward@fluendo.com>
13805
13806         * gst/gstelement.c: (gst_element_pads_activate):
13807         We need to deactivate src pads first and then sink pads.
13808         The reason is the src pads might be blocking while holding the streaming
13809         lock, so we need to deactivate them first so that deactivating the sink
13810         pads doesn't block (since it will require the streaming lock).
13811
13812 2006-06-22  Wim Taymans  <wim@fluendo.com>
13813
13814         * libs/gst/base/gstbasetransform.c:
13815         (gst_base_transform_buffer_alloc):
13816         Forgot to remove two unneeded unrefs.
13817         Simplify a check _is_equal allready checks the obvious case.
13818
13819 2006-06-22  Wim Taymans  <wim@fluendo.com>
13820
13821         * docs/design/part-block.txt:
13822         Some docs about what pad_block should do.
13823
13824 2006-06-22  Wim Taymans  <wim@fluendo.com>
13825
13826         * gst/gstcaps.c: (gst_caps_replace):
13827         Fix crasher when passed NULL. Doc clarification.
13828         Optimize for the trivial case.
13829
13830         * gst/gstpipeline.c: (gst_pipeline_change_state):
13831         Small cleanups.
13832
13833         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13834         Small documentation cleanup.
13835
13836         * libs/gst/base/gstbasetransform.c:
13837         (gst_base_transform_buffer_alloc):
13838         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13839         is what we need and it avoids a whole lot of redundant 
13840         refcount operations.
13841
13842 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
13843
13844         Patch by: Philip Jägenstedt  <philip at lysator liu se>
13845
13846         * docs/manual/advanced-dataaccess.xml:
13847           Fix 'Embedding static elements' section to use
13848           GST_PLUGIN_DEFINE_STATIC (#345607).
13849
13850 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13851
13852         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13853           Attempt to 'fix' spuriously failing test case: it seems like the
13854           timeout of half a second is simply too small when the system is under
13855           load otherwise, and the timeout doesn't really seem to serve any
13856           particular purpose here. Give the pipeline a few seconds to preroll
13857           first, and then give it another half a second to go from PAUSED to
13858           PLAYING and marshal the message into the main thread.
13859
13860 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13861
13862         * tools/gst-feedback-m.m:
13863           Don't only use unversioned tools, try versioned tools as well
13864           (#345086).
13865
13866 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13867
13868         * gst/gstbus.c: (gst_bus_class_init):
13869           Fix some typos, make docs more explicit.
13870
13871 2006-06-20  Wim Taymans  <wim@fluendo.com>
13872
13873         * tests/check/gst/gstghostpad.c: (block_callback),
13874         (GST_START_TEST), (gst_ghost_pad_suite):
13875         Added some more ghostpad tests, mainly blocking
13876         and probes.
13877
13878 2006-06-16  Wim Taymans  <wim@fluendo.com>
13879
13880         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13881         (gst_file_sink_close_file), (gst_file_sink_do_seek),
13882         (gst_file_sink_event), (gst_file_sink_render):
13883         * plugins/elements/gstfilesink.h:
13884         Check if we can seek in the file instead of assuming
13885         we always can. Post an error when we are asked to seek in a
13886         non-seekable file (like a fifo). Fixes #343312.
13887         Some cleanups.
13888
13889 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
13890
13891         * tools/gst-launch.1.in:
13892           Un-garble (fourcc) bit in filtered caps section.
13893
13894 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
13895
13896         * docs/manual/advanced-autoplugging.xml:
13897         * docs/manual/basics-helloworld.xml:
13898         * docs/manual/highlevel-components.xml:
13899           Don't leak bus reference in sample code.
13900
13901 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
13902
13903         * autogen.sh:
13904           Add default for new --enable-plugin-docs switch.
13905
13906         * configure.ac:
13907           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13908           Fixes #344039.
13909
13910         * docs/Makefile.am:
13911           Use new ENABLE_PLUGIN_DOCS conditional.
13912
13913 2006-06-14  Wim Taymans  <wim@fluendo.com>
13914
13915         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13916         Make it clear with a FIXME and a real define what the #if 0
13917         previously disabled.
13918
13919 2006-06-14  Wim Taymans  <wim@fluendo.com>
13920
13921         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13922         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13923         * libs/gst/base/gstbasetransform.c:
13924         (gst_base_transform_sink_eventfunc):
13925         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13926         Don't randomly and silently reset a segment when the format 
13927         changes as this is a bug somewhere upstream. Fixes #330379.
13928
13929 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
13930
13931         Patch by: Wouter Paesen  <wouter at kangaroot net>
13932
13933         * libs/gst/controller/gstcontroller.c:
13934         (gst_controlled_property_new):
13935           Fix controlling of float properties (#344849).
13936
13937         * tests/check/libs/controller.c:
13938         (gst_test_mono_source_get_property),
13939         (gst_test_mono_source_set_property),
13940         (gst_test_mono_source_class_init), (GST_START_TEST):
13941           While we're at it, add some float stuff to unit test.
13942
13943 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13944
13945         * docs/README:
13946         * docs/images/gdp-header.svg:
13947           add a gdp image
13948         * docs/libs/Makefile.am:
13949         * docs/libs/gdp-header.png:
13950         * libs/gst/dataprotocol/dataprotocol.c:
13951           add it to the API docs
13952         * docs/manual/intro-motivation.xml:
13953           fix typo
13954
13955 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
13956
13957         * gst/gst.c: (scan_and_update_registry), (init_post):
13958           If the fork()'ed child process can't write the updated registry cache
13959           file to disk for some reason, make it exit with a failure exit code,
13960           so that the parent can then re-scan the plugins itself and update the
13961           registry structures in memory and work with that (rather than failing
13962           when creating elements because seemingly no plugins are available).
13963           Refactor registry scanning code into separate function for this and
13964           also separate fork() and non-fork() code paths. Fixes #344748.
13965
13966 2006-06-13  Wim Taymans  <wim@fluendo.com>
13967
13968         * docs/manual/advanced-dataaccess.xml:
13969         Fix wrong PluginDesc. Fixes #344755.
13970
13971 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
13972
13973         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13974           Fix silly bug that prevented us from creating
13975           ~/.gstreamer-0.10 and writing the registry in one
13976           go (the first call to g_mkstemp() would overwrite the
13977           placeholder in the template string, so the second call
13978           to g_mkstemp() after creating the missing directory
13979           would then error out with 'invalid argument').
13980
13981 2006-06-13  Edward Hervey  <edward@fluendo.com>
13982
13983         * gst/gst.c: (init_post):
13984         Free string.
13985
13986 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13987
13988         * gst/glib-compat-private.h:
13989         * gst/glib-compat.c:
13990         * gst/glib-compat.h:
13991         * gst/gstvalue.c: (gst_value_serialize_flags):
13992           remove GLib 2.6 compatibility code
13993
13994 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
13995
13996         * gst/parse/Makefile.am:
13997           Fix build with 'make -j N' even more (#340016).
13998
13999 2006-06-12  Wim Taymans  <wim@fluendo.com>
14000
14001         * docs/gst/gstreamer-sections.txt:
14002         Fix docs.
14003
14004 2006-06-12  Wim Taymans  <wim@fluendo.com>
14005
14006         * gst/gstsegment.c: (gst_segment_set_duration),
14007         (gst_segment_set_last_stop), (gst_segment_set_seek),
14008         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14009         (gst_segment_to_running_time), (gst_segment_clip):
14010         Use G_UNLIKELY to help the compiler a bit.
14011
14012 2006-06-12  Wim Taymans  <wim@fluendo.com>
14013
14014         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14015
14016         * gst/gstevent.c: (gst_event_get_type):
14017         * gst/gstmessage.c:
14018         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14019         (gst_pad_push):
14020         constify quark registration strings. Fixes #344115
14021         Avoid unneeded type checking is _pad_push() by internally
14022         calling gst_pad_chain_unchecked().
14023
14024 2006-06-12  Wim Taymans  <wim@fluendo.com>
14025
14026         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14027         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14028         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14029         (gst_buffer_is_span_fast), (gst_buffer_span):
14030         Init _type for consistency.
14031         Use _FLAGS macro to avoid type check.
14032         Avoid unneeded type checks in subbufer code.
14033
14034 2006-06-12  Wim Taymans  <wim@fluendo.com>
14035
14036         * gst/gst.c: (gst_debug_help):
14037         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14038         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14039         (gst_plugin_feature_list_free):
14040         * gst/gstregistry.c: (gst_registry_add_plugin),
14041         (gst_registry_add_feature), (gst_registry_plugin_filter),
14042         (gst_registry_feature_filter), (gst_registry_find_plugin),
14043         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14044         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14045         * gst/gstregistryxml.c: (load_feature),
14046         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14047         * gst/gstminiobject.c: (gst_mini_object_unref),
14048         (gst_mini_object_replace), (gst_value_mini_object_free),
14049         (gst_value_mini_object_copy):
14050         Use _CAST macros to avoid unneeded type checking.
14051         Added some more G_UNLIKELY.
14052
14053 2006-06-12  Wim Taymans  <wim@fluendo.com>
14054
14055         * gst/gstbuffer.h:
14056         Avoid unneeded type checking.
14057         API: GST_BUFFER_IS_DISCONT
14058
14059         * gst/gstminiobject.h:
14060         Avoid type check in flag accessor.
14061
14062         * gst/gstelementfactory.h:
14063         * gst/gstplugin.h:
14064         * gst/gstpluginfeature.h:
14065         Add _CAST macros.
14066         API: GST_ELEMENT_FACTORY_CAST
14067         API: GST_PLUGIN_CAST
14068         API: GST_PLUGIN_FEATURE_CAST
14069
14070 2006-06-12  Wim Taymans  <wim@fluendo.com>
14071
14072         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14073         (gst_object_unref):
14074         Add G_UNLIKELY in type registration.
14075         Avoid type check in _ref/_unref since that is also
14076         done in glib.
14077
14078 2006-06-12  Wim Taymans  <wim@fluendo.com>
14079
14080         * gst/gsterror.c: (gst_g_error_get_type):
14081         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14082         (gst_static_pad_template_get_type):
14083         * gst/gsttaglist.c: (gst_tag_list_get_type):
14084         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14085         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14086         * gst/gsturi.c: (gst_uri_handler_get_type):
14087         * gst/gstvalue.c: (gst_date_get_type):
14088         * gst/gstxml.c: (gst_xml_get_type):
14089         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14090         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14091         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14092         Add G_UNLIKELY in type registration.
14093
14094 2006-06-12  Wim Taymans  <wim@fluendo.com>
14095
14096         * tools/gst-inspect.c: (print_signal_info):
14097         Properly print enum values.
14098
14099 2006-06-12  Wim Taymans  <wim@fluendo.com>
14100
14101         * gst/gstinfo.c: (gst_debug_set_active),
14102         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14103         * gst/gstinfo.h:
14104         Add some G_[UN]LIKELY.
14105         Maintain __gst_debug_min to avoid formatting the arguments of
14106         debug messages that will be dropped anyway to avoid a lot of 
14107         overhead from the debugging system.
14108
14109 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14110
14111         * po/POTFILES.in:
14112         * po/POTFILES.skip:
14113           add missing files containing translatable strings, tell intltool about
14114           one exception
14115
14116 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14117
14118         * tests/check/libs/.cvsignore:
14119         add test-binary to ignore list
14120
14121 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14122
14123         * docs/libs/gstreamer-libs-docs.sgml:
14124         reorder (put dp into a chapter) and indent
14125
14126 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14127
14128         * configure.ac:
14129           back to HEAD
14130
14131 === release 0.10.8 ===
14132
14133 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14134
14135         * configure.ac:
14136           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14137
14138 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14139
14140         * gst/gst.c: (init_post):
14141           move pid declaration to declaration block
14142
14143 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14144
14145         * gst/gst.c: (init_post):
14146           use _exit() instead of exit() in our forked child; this ensures
14147           that none of the registered exit handlers from whatever is using
14148           GStreamer get executed.  This fixes gnome-mixer-applet failing
14149           to load, because ORBit would shut down.
14150           Spotted by: Edward Hervey  <edward@fluendo.com>
14151           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14152           Fixes #344474
14153
14154 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14155
14156         * configure.ac:
14157           back to TRUNK
14158
14159 === release 0.10.7 ===
14160
14161 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14162
14163         * configure.ac:
14164           releasing 0.10.7, "Soepeke, ik zie ou"
14165
14166 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14167
14168         * configure.ac:
14169         * po/af.po:
14170         * po/az.po:
14171         * po/bg.po:
14172         * po/ca.po:
14173         * po/cs.po:
14174         * po/de.po:
14175         * po/en_GB.po:
14176         * po/fr.po:
14177         * po/it.po:
14178         * po/nb.po:
14179         * po/nl.po:
14180         * po/ru.po:
14181         * po/sq.po:
14182         * po/sr.po:
14183         * po/sv.po:
14184         * po/tr.po:
14185         * po/uk.po:
14186         * po/vi.po:
14187         * po/zh_CN.po:
14188         * po/zh_TW.po:
14189         * win32/common/config.h:
14190           0.10.6.2 prerelease
14191
14192 2006-06-07  Wim Taymans  <wim@fluendo.com>
14193
14194         * gst/gstindex.c: (gst_index_gtype_resolver):
14195         * tools/gst-xmlinspect.c: (print_plugin_info):
14196         Fix leak spotted by coverity checker. Fixes #343827
14197         Fix another other leak found by paolo borelli.
14198
14199 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14200
14201         * libs/gst/dataprotocol/dataprotocol.c:
14202         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14203         (gst_dp_version_get_type), (gst_dp_init),
14204         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14205         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14206         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14207         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14208         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14209         (gst_dp_packetizer_free):
14210         * libs/gst/dataprotocol/dataprotocol.h:
14211           API: add a GstDPPacketizer object, and create/free functions
14212           API: add GstDPVersion enum
14213           Add 1.0 event function that uses the string serialization
14214           Serialize more useful buffer flags
14215           Fixes #343988
14216
14217 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14218
14219         * tests/check/Makefile.am:
14220         * tests/check/gst/gstabi.c:
14221         * tests/check/gst/struct_ppc64.h:
14222         * tests/check/libs/libsabi.c:
14223         * tests/check/libs/struct_ppc64.h:
14224           add ppc64 structure sizes
14225
14226 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14227
14228         * tests/check/Makefile.am:
14229         * tests/check/gst/gstabi.c:
14230         * tests/check/gst/struct_x86_64.h:
14231         * tests/check/libs/libsabi.c:
14232         * tests/check/libs/struct_x86_64.h:
14233           generate and add structure size lists for x86_64
14234
14235 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14236
14237         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14238         * libs/gst/check/gstcheck.h:
14239           factor out the method from tests that checks size of structures,
14240           and add code to generate the header containing these sizes
14241         * tests/check/gst/gstabi.c: (GST_START_TEST):
14242         * tests/check/gst/struct_i386.h:
14243         * tests/check/libs/libsabi.c: (GST_START_TEST):
14244         * tests/check/libs/struct_i386.h:
14245           use it
14246
14247 2006-06-06  Michael Smith  <msmith@fluendo.com>
14248
14249         * gst/gstsegment.h:
14250           Don't use c++-style comments, fixes #343929
14251
14252 2006-06-05  Edward Hervey  <edward@fluendo.com>
14253
14254         * gst/gst.c:
14255         plugin_paths is not used if we build without registry support.
14256
14257         * gst/gstsegment.c: (gst_segment_copy): 
14258         _copy() was always returning NULL...
14259
14260 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14261
14262         * libs/gst/dataprotocol/dataprotocol.c:
14263         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14264         (gst_dp_packet_from_event):
14265           factor out CRC code
14266
14267 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14268
14269         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14270           make sure we unset caps
14271
14272 2006-06-02  Michael Smith  <msmith@fluendo.com>
14273
14274         * libs/gst/check/gstcheck.c: (gst_check_init),
14275         (gst_check_chain_func):
14276         * libs/gst/check/gstcheck.h:
14277           Add a cond/mutex to the check support lib, signal this whenever we
14278           add to the buffers list. This will allow tests to not busy-wait on
14279           the buffer-list.
14280
14281 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14282
14283         * libs/gst/dataprotocol/dataprotocol.c:
14284         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14285         (gst_dp_packet_from_event):
14286           factor out some common header init code
14287
14288 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14289
14290         * docs/libs/gstreamer-libs-sections.txt:
14291         * docs/libs/tmpl/gstdataprotocol.sgml:
14292         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14293         * libs/gst/dataprotocol/dataprotocol.h:
14294           API: make gst_dp_crc() public
14295
14296 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14297
14298         * plugins/indexers/gstindexers.c: (plugin_init):
14299         conditionally register fileindexer (fixes #343598)
14300
14301 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14302
14303         * gst/gsttagsetter.h:
14304         Can't cast ifaces to a class
14305
14306         * libs/gst/net/gstnetclientclock.h:
14307         * libs/gst/net/gstnettimeprovider.h:
14308         * plugins/elements/gstfakesink.h:
14309         * plugins/elements/gstfakesrc.h:
14310         * plugins/elements/gstfdsink.h:
14311         * plugins/elements/gstfdsrc.h:
14312         * plugins/elements/gstfilesink.h:
14313         * plugins/elements/gstfilesrc.h:
14314         * plugins/elements/gstidentity.h:
14315         * plugins/elements/gstqueue.h:
14316         * plugins/elements/gsttee.h:
14317         * plugins/indexers/gstfileindex.c:
14318         * plugins/indexers/gstmemindex.c:
14319         * tests/old/examples/plugins/example.h:
14320         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14321
14322 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14323
14324         * libs/gst/dataprotocol/dataprotocol.c:
14325         (gst_dp_header_from_buffer):
14326           make sure we zero the whole ABI-compatible area
14327
14328 2006-06-01  Wim Taymans  <wim@fluendo.com>
14329
14330         Patch by: Alessandro Decina <alessandro at nnva dot org>
14331
14332         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14333         Make sure the EOS flag is cleared from pads after a flush
14334         or stop. Fixes #343538.
14335
14336         * tests/check/libs/collectpads.c: (GST_START_TEST),
14337         (gst_collect_pads_suite):
14338         Added test for collectpads reusage after EOS.
14339
14340 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14341
14342         * gst/gst.c:
14343          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14344         * win32/common/libgstbase.def:
14345          export gst_collect_pads_set_flushing
14346         * win32/common/libgstreamer.def:
14347          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14348          gst_value_fraction_multiply
14349         * win32/vs6/gst_inspect.dsp:
14350          add a link to intl.lib
14351
14352 2006-05-30  Wim Taymans  <wim@fluendo.com>
14353
14354         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14355         (gst_collect_pads_chain):
14356         Handle the case where a pad is removed from the collection
14357         that could cause the other pads to become collectable.
14358
14359 2006-05-30  Wim Taymans  <wim@fluendo.com>
14360
14361         * gst/gstelement.c:
14362         Clarify the use of _release_request_pad() and
14363         _get_request_pad() a bit better.
14364
14365         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14366         (gst_adapter_take_buffer):
14367         Fix some doc and comment typos.
14368
14369 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14370
14371         * docs/gst/gstreamer-sections.txt:
14372         * docs/libs/gstreamer-libs-sections.txt:
14373           add declared symbols
14374
14375 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14376
14377         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14378         Add debug that can be enabled using a #define at the top of the file,
14379         for dumping stats about how late/early we were when waking up from
14380         waiting on the clock.
14381
14382 2006-05-30  Wim Taymans  <wim@fluendo.com>
14383
14384         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14385         When rebuilding the pad list, don't leak the previous list.
14386
14387 2006-05-30  Wim Taymans  <wim@fluendo.com>
14388
14389         Patch by: Lutz Mueller <lutz at topfrose dot de>
14390
14391         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14392         (gst_base_src_get_query_types), (gst_base_src_update_length):
14393         Publish supported query types.
14394         Update last_stop field in get_range mode so the position
14395         query works. Fixes #342321.
14396
14397 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14398
14399         * docs/gst/gstreamer-sections.txt:
14400         * gst/gsttaglist.c: (_gst_tag_initialize):
14401         * gst/gsttaglist.h:
14402           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14403
14404 2006-05-30  Wim Taymans  <wim@fluendo.com>
14405
14406         Patch by: Alessandro Decina <alessandro at nnva dot org>
14407
14408         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14409         Unlock mutex when removing an unknown pad.
14410         Fixes #343334.
14411
14412         * tests/check/Makefile.am:
14413         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14414         (push_event), (setup), (teardown), (GST_START_TEST),
14415         (gst_collect_pads_suite), (main):
14416         Added collecpads check, disabled for now as check crashes for
14417         some reason.
14418
14419 2006-05-29  Wim Taymans  <wim@fluendo.com>
14420
14421         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14422         Don't leak pads lists.
14423
14424 2006-05-29  Wim Taymans  <wim@fluendo.com>
14425
14426         * docs/libs/gstreamer-libs-sections.txt:
14427         * libs/gst/base/gstcollectpads.c:
14428         (gst_collect_pads_set_flushing_unlocked),
14429         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14430         (gst_collect_pads_stop):
14431         * libs/gst/base/gstcollectpads.h:
14432         API: gst_collect_pads_set_flushing()
14433         Added api to set the pads to flushing, useful for seeking
14434         code in elements using collectpads.
14435         Clear segment when receiving a flush.
14436
14437 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14438
14439         * gst/gst.c: (add_path_func), (init_post):
14440           Don't scan registry paths passed via --gst-plugin-path immediately
14441           (will crash, because absolutely nothing is set up and no types are
14442           registered etc.); do this later in init_post(). Fixes #343057.
14443
14444 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14445
14446         * gst/gst.c: (init_post):
14447           if we have fork, fork while reading/rebuilding the registry
14448           so the parent doesn't take the hit of having all plugins loaded
14449           in memory.  Fixes #342777.
14450         * configure.ac:
14451           Check if we have fork()
14452         * win32/common/config.h.in:
14453           no fork() on win32
14454
14455 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14456
14457         * plugins/elements/gstelements.c:
14458         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14459         (gst_file_src_init), (gst_file_src_set_property),
14460         (gst_file_src_get_property), (gst_file_src_start):
14461         * plugins/elements/gstfilesrc.h:
14462           API: GstFileSrc::use-mmap
14463
14464         Add a use-mmap property to enable easier testing of all code paths.
14465         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14466         in the absence of gnomevfssrc. (Closes #340501)
14467
14468 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14469
14470         * tools/gst-inspect.c:
14471         Add missing include, removes warning of ngettext not being defined on
14472         some arches.
14473
14474 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14475
14476         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14477         Handle NULL input and output pointers silently as a failed conversion,
14478         rather than g_warnings.
14479
14480 2006-05-25  Wim Taymans  <wim@fluendo.com>
14481
14482         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14483         Initialize variable before using. Fixes #342820.
14484
14485 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14486
14487         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14488           Fix off-by-one bug that would only allow peeks of N-1 bytes
14489           from the start even if the buffer to typefind on contains
14490           in fact N bytes of data (makes vorbis typefinding from a
14491           vorbis identification header buffer work).
14492
14493         * tests/check/Makefile.am:
14494         * tests/check/libs/.cvsignore:
14495         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14496         (gst_typefindhelper_suite), (main), (foobar_typefind),
14497         (plugin_init):
14498           Add very basic unit test for gst_type_find_helper_for_buffer()
14499           that checks for the problem fixed above.
14500
14501 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14502
14503         * tools/gst-inspect.c: (print_interfaces),
14504         (print_element_properties_info), (print_element_list), (main):
14505           add more translatable strings
14506
14507 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14508
14509         Patch by: Julien Moutte  <julien at moutte net>
14510
14511         * docs/gst/gstreamer-sections.txt:
14512           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14513           
14514         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14515         (gst_fake_sink_preroll):
14516         * plugins/elements/gstfakesink.h:
14517           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14518
14519 2006-05-23  Wim Taymans  <wim@fluendo.com>
14520
14521         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14522         * gst/gstpad.h:
14523         Added _CUSTOM error and success GstFlowReturn that can be
14524         used be elements internally. 
14525         Added macro to check for SUCCESS flowreturns.
14526         API: GST_FLOW_CUSTOM_SUCCESS
14527         API: GST_FLOW_CUSTOM_ERROR
14528         API: GST_FLOW_IS_SUCCESS
14529
14530         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14531         Added check for GstFlowReturn sanity.
14532
14533 2006-05-23  Wim Taymans  <wim@fluendo.com>
14534
14535         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14536
14537         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14538         (gst_collect_pads_event):
14539         clear/reset segment info in FLUSH_STOP.
14540         Fixes #336929.
14541
14542 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14543
14544         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14545         (gst_collect_pads_check_collected):
14546         Flush queued buffer on _stop(), fixes playing again (#342454)
14547
14548 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14549
14550         * tests/check/gst/gststructure.c: (GST_START_TEST),
14551         (gst_structure_suite):
14552           add a test for a complete structure
14553
14554 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14555
14556         * docs/faq/developing.xml:
14557         * docs/faq/faq.xml:
14558         * docs/faq/troubleshooting.xml:
14559         * docs/faq/using.xml:
14560           Some minor FAQ updates that won't change the fact that
14561           our FAQ is badly structured, full of information hardly
14562           anyone new to GStreamer needs to know and lacking lots
14563           of information people constantly ask for.
14564           
14565 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14566
14567         * gst/gstpad.c: (gst_pad_set_caps):
14568           Short-circuit gst_pad_set_caps if setting the existing
14569           caps pointer again, and avoid printing debug and 
14570           reffing/unreffing the caps.
14571
14572         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14573           There's actually no need to set the caps before pushing -
14574           the acceptcaps method will handle it anyway.
14575
14576 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14577
14578         * docs/gst/gstreamer-sections.txt:
14579         * win32/common/libgstreamer.def:
14580         * gst/gstutils.c: (gst_element_seek_simple):
14581         * gst/gstutils.h:
14582           API: add gst_element_seek_simple() (#342238).
14583
14584 2006-05-18  Edward Hervey  <edward@fluendo.com>
14585
14586         * gst/gsttypefind.c: (gst_type_find_get_type):
14587         * gst/gsttypefind.h:
14588         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14589         registered for GstTypeFind pointers. This allows wrapping the structure
14590         in bindings (i.e. gst-python).
14591
14592 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14593
14594         * gst/gsttagsetter.c:
14595           Docs additions and fixes (see #339918).
14596
14597 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14598
14599         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14600         The caps intersection algorithm can produce multiple copies of the
14601         caps. Until that is fixed, we need to simplify the result to be
14602         sure whether the allowed caps are fixed or not.
14603
14604         * plugins/elements/gstqueue.c: (gst_queue_init),
14605         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14606         (gst_queue_push_one):
14607         Proxied buffer alloc should not set the caps on the source pad.
14608         When pushing buffers, we always accept the caps change that triggers.
14609         This prevents negotiation errors caused by caps changing mid-stream 
14610         and then being refused on our source pad (because upstream is now
14611         refusing those caps).
14612
14613 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14614
14615         * tests/examples/helloworld/helloworld.c: (main):
14616           Must plug audioconvert and audioresample between decoder
14617           and audio sink.
14618
14619 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14620
14621         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14622         (load_feature), (load_plugin):
14623         Allow empty strings for some of the plugin fields so we don't 
14624         drop valid plugin entries that were written out correctly
14625         (Fixes #341479)
14626
14627 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14628         
14629         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14630           Use g_remove and g_rename instead of remove and rename that don't 
14631           handle utf8 characters. rename was failing for users who had specific
14632           characters in their name then the registry was built at each 
14633           gstreamer init.
14634         * win32/vs6/gst_inspect.dsp:
14635         * win32/vs6/gst_launch.dsp:
14636         * win32/vs6/libgstbase.dsp:
14637         * win32/vs6/libgstcoreelements.dsp:
14638         * win32/vs6/libgstreamer.dsp:
14639           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14640           build of libgstreamer and clean unused libraries in projects link 
14641           settings.
14642
14643 2006-05-17  Edward Hervey  <edward@fluendo.com>
14644
14645         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14646         The queue is not responsible for pushing an EOS when receiving a fatal
14647         flow error. It's up to the real element driving the pipeline to do that.
14648
14649 2006-05-16  Edward Hervey  <edward@fluendo.com>
14650
14651         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14652         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14653         buffer returned a fatal error. It should just send an EOS and stop
14654         its task.
14655         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14656         when pushing buffers on the queue and will be able to handle the event.
14657
14658 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14659
14660         * docs/manual/basics-bins.xml:
14661         * docs/manual/basics-init.xml:
14662           Fix typos and minor errors in sample code (#341856).
14663
14664 2006-05-16  Wim Taymans  <wim@fluendo.com>
14665
14666         * docs/design/part-qos.txt:
14667         Fix indexes in formulas to make more sense.
14668
14669 2006-05-15  Wim Taymans  <wim@fluendo.com>
14670
14671         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14672         Don't report POSITION based on clock time if sync is
14673         disabled in a sink.
14674
14675 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14676
14677         * gst/gstobject.h:
14678           Add cast to make compiler happy - refcount variable was a gint
14679           in GstObject but is a guint in GObject and g_atomic_int_get()
14680           wants a gint *.
14681
14682 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14683
14684         * gst/parse/Makefile.am:
14685           chain commands using &&, which also makes parallel make work
14686
14687 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
14688
14689         * docs/gst/gstreamer-sections.txt:
14690         * gst/gstevent.c:
14691         * gst/gstevent.h:
14692         * gst/gstmessage.h:
14693           Minor docs fixes.
14694
14695 === release 0.10.6 ===
14696
14697 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
14698
14699         * configure.ac:
14700           releasing 0.10.6, "Take the cannoli"
14701
14702 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
14703
14704         * tools/gst-launch.c: (print_tag):
14705           Fix use of uninitialized variable in the hypothetical
14706           case that some broken plugin creates a GST_TAG_IMAGE
14707           tag containing a NULL buffer (#341667).
14708
14709 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
14710
14711         * tools/gst-launch.c: (print_tag):
14712           Print something more intelligible for image tags when
14713           using the -t switch (#341556).
14714
14715 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14716
14717         * Makefile.am:
14718           updates for win32
14719         * configure.ac:
14720           define GST_MAJORMINOR so we have it available in win32/common/config.h
14721           Possibly remove it from our Makefile.am files later
14722         * win32/common/config.h:
14723         * win32/common/config.h.in:
14724           added GST_MAJORMINOR
14725         * win32/common/gstenumtypes.c: (register_gst_resource_error):
14726         * win32/common/gstversion.h:
14727           updated
14728
14729 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
14730
14731         * win32/MANIFEST:
14732           Update win32 files listing.
14733         * win32/common/gstversion.h:
14734           Add GST_MAJORMINOR definition.
14735         * win32/common/libgstreamer.def:
14736           Add new exported functions.
14737           
14738 2006-05-12  Michael Smith  <msmith@fluendo.com>
14739
14740         * gst/gstplugin.c: (gst_plugin_load_file):
14741           If an so file has no plugin entry point, unload the module.
14742
14743 2006-05-11  Wim Taymans  <wim@fluendo.com>
14744
14745         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14746         (gst_queue_set_property):
14747         Don't forget to signal the _chain or _loop function 
14748         when the queue size or thresholds change since that might
14749         cause them to make progres again.
14750
14751 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
14752
14753         * gst/gstclock.c: (gst_clock_class_init):
14754         * gst/gstindex.c: (gst_index_class_init):
14755         * gst/gstobject.c: (gst_object_class_init):
14756         * gst/gstpad.c: (gst_pad_class_init):
14757         * gst/gstpipeline.c: (gst_pipeline_class_init):
14758         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14759         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14760         * libs/gst/base/gstbasetransform.c:
14761         (gst_base_transform_class_init):
14762         * libs/gst/net/gstnetclientclock.c:
14763         (gst_net_client_clock_class_init):
14764         * libs/gst/net/gstnettimeprovider.c:
14765         (gst_net_time_provider_class_init):
14766         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14767         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14768         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14769         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14770         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14771         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14772         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14773         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14774         * plugins/elements/gsttee.c: (gst_tee_class_init):
14775         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14776         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14777           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14778
14779 2006-05-11  Wim Taymans  <wim@fluendo.com>
14780
14781         * gst/gstbuffer.c: (_gst_buffer_initialize):
14782         Register subbufer along with the buffer type so that
14783         it does not accidentally gets registered from N
14784         different streaming threads in a non threadsafe way.
14785
14786 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14787
14788         * gst/gstbuffer.h:
14789         * gst/gstevent.h:
14790         * gst/gstmessage.h:
14791           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14792           gst_event_ref() and gst_message_ref() functions again
14793           (ugly hack, please do fix if there's a better way besides
14794           overrides.txt, which doesn't seem to work).
14795
14796 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14797
14798         * libs/gst/check/gstcheck.h:
14799           add an assert for setting state to avoid lots of repetitive code
14800           in the future
14801
14802 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14803
14804         * gst/gstvalue.c: (gst_value_serialize_flags):
14805           fix a leak if no flags are set
14806         * tests/check/gst/gstvalue.c: (GST_START_TEST):
14807           fix leak in tests
14808
14809 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14810
14811         * docs/manual/basics-pads.xml:
14812           Expand a bit on caps and filtered links and update
14813           examples that were still using the no longer existing
14814           gst_pad_link_filtered() (#338206).
14815
14816 2006-05-10  Wim Taymans  <wim@fluendo.com>
14817
14818         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14819         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14820         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14821         (gst_collect_pads_stop):
14822         * libs/gst/base/gstcollectpads.h:
14823         No need to call _stop in _finalize.
14824         Iterate the main pad list in _finalize.
14825         Added some more debug.
14826         Free lists and data in the right order.
14827         Also free data whem doing _remove_pad when stopped for
14828         backward compatibility protect ::started with PAD_LOCK as
14829         well.
14830
14831 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14832
14833         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14834         (gst_structure_parse_value):
14835           add some comments
14836           rename a method so that it actually says what it does better
14837
14838 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14839
14840         * gst/gstevent.c: (_gst_event_initialize):
14841         * gst/gstformat.c: (_gst_format_initialize):
14842           make sure some essential types used by events are registered
14843           as part of gst_init()
14844         * gst/gstvalue.c: (gst_value_serialize_flags):
14845           if no flags are set, serialize them to a value that represents NONE
14846           so that deserializing them works
14847         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14848           add tests for serialization and deserialization of flags
14849
14850 2006-05-10  Wim Taymans  <wim@fluendo.com>
14851
14852         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14853         (gst_collect_pads_collect_range), (gst_collect_pads_available),
14854         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14855         (gst_collect_pads_event), (gst_collect_pads_chain):
14856         Update docs.
14857         Better debug info.
14858         Catch and return errors from the collect function
14859         Refuse data on eos pads.
14860
14861 2006-05-10  Edward Hervey  <edward@fluendo.com>
14862
14863         * gst/gstinterface.h:
14864         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14865         GInterface type checking.
14866         They were previously using non-defined macros.
14867
14868 2006-05-09  Wim Taymans  <wim@fluendo.com>
14869
14870         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14871         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14872         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14873         (gst_collect_pads_start), (gst_collect_pads_stop),
14874         (gst_collect_pads_peek), (gst_collect_pads_pop),
14875         (gst_collect_pads_available), (gst_collect_pads_read),
14876         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14877         (gst_collect_pads_is_collected), (gst_collect_pads_event),
14878         (gst_collect_pads_chain):
14879         * libs/gst/base/gstcollectpads.h:
14880         Clean up the mess that is collectpads, add comments and
14881         FIXMEs where needed.
14882         Maintain a separate pad list so we can add pads while
14883         collecting the other ones. For this we need a new separate 
14884         lock (see comics).
14885         Fix memory leak in finalize.
14886         Refactor some weird code to set/unset pad flushing flags, mark
14887         with comments.
14888         Don't crash in _available, _read, _flush when we're EOS.
14889
14890         * tests/check/libs/.cvsignore:
14891         Ignore adapter check binary.
14892
14893 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14894
14895         * gst/gstindex.c: (gst_index_resolver_get_type):
14896         * plugins/elements/gstfakesink.c:
14897         (gst_fake_sink_state_error_get_type):
14898         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14899         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14900         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14901           Const-ify GEnumValue arrays.
14902
14903 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14904
14905         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14906           Add test case for flags + gst_buffer_make_metadata_writable().
14907
14908 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14909
14910         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14911           gst_buffer_make_metadata_writable() should maintain the
14912           buffer flags (those that make sense at least) (see #340859).
14913
14914 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14915
14916         * tools/gst-inspect.c:
14917         * tools/gst-launch.c:
14918         * tools/gst-typefind.c:
14919         * tools/gst-xmlinspect.c:
14920         * tools/tools.h:
14921           Fix up includes: need to include stdlib.h in tools.h for exit().
14922
14923 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
14924
14925         * gst/gsttaglist.c: (_gst_tag_initialize):
14926         * gst/gsttaglist.h:
14927           API: add GST_TAG_IMAGE tag (#340721).
14928
14929 2006-05-08  Wim Taymans  <wim@fluendo.com>
14930
14931         * gst/gstquery.c:
14932         Added some docs for the segment query.
14933
14934 2006-05-08  Wim Taymans  <wim@fluendo.com>
14935
14936         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14937         (gst_base_src_loop), (gst_base_src_change_state):
14938         Always push non-flushing serialized events in the streaming 
14939         thread.
14940
14941 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14942
14943         * gst/gsterror.c: (_gst_stream_errors_init):
14944           Add a missing error string.
14945
14946 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
14947
14948         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
14949         Add applied_rate to the debug
14950
14951         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
14952         Copy applied_rate into the outgoing NEWSEGMENT event
14953
14954 2006-05-08  Wim Taymans  <wim@fluendo.com>
14955
14956         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
14957
14958         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
14959         (gst_base_sink_change_state):
14960         call ::unlock before taking the PREROLL_LOCK so we can safely
14961         handle elements that lock in ::render.
14962         Fixes #340174.
14963
14964 2006-05-08  Edward Hervey  <edward@fluendo.com>
14965
14966         * autogen.sh: (CONFIGURE_DEF_OPT): 
14967         Darwin's libtoolize is in fact called glibtoolize.
14968         Adding glibtoolize to the list of accepted names for libtoolize.
14969
14970 2006-05-08  Wim Taymans  <wim@fluendo.com>
14971
14972         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14973         Unify error handling, don't post an error message
14974         when a push() returns EOS but perform our normal EOS
14975         handling code. Fixes #340772.
14976
14977 2006-05-08  Wim Taymans  <wim@fluendo.com>
14978
14979         * docs/design/part-overview.txt:
14980         Make upsteam/downstream concepts more clear.
14981         Give an example of serialized/non-serialized events.
14982
14983         * docs/design/part-events.txt:
14984         * docs/design/part-streams.txt:
14985         Mention applied_rate.
14986
14987         * docs/design/part-trickmodes.txt:
14988         Mention applied rate, flesh out some more use cases.
14989
14990         * gst/gstevent.c: (gst_event_new_new_segment),
14991         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
14992         (gst_event_parse_new_segment_full), (gst_event_new_tag),
14993         (gst_event_parse_tag), (gst_event_new_buffer_size),
14994         (gst_event_parse_buffer_size), (gst_event_new_qos),
14995         (gst_event_parse_qos), (gst_event_parse_seek),
14996         (gst_event_new_navigation):
14997         * gst/gstevent.h:
14998         Add applied_rate field to NEWSEGMENT event.
14999         API: gst_event_new_new_segment_full()
15000         API: gst_event_parse_new_segment_full()
15001
15002         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15003         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15004         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15005         * gst/gstsegment.h:
15006         Add applied_rate to GstSegment structure.
15007         Make calculation of stream_time and running_time more correct
15008         wrt rate/applied_rate.
15009         Add some more docs.
15010         API: GstSegment::applied_rate field
15011         API: gst_segment_set_newsegment_full();
15012
15013         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15014         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15015         * libs/gst/base/gstbasetransform.c:
15016         (gst_base_transform_sink_eventfunc),
15017         (gst_base_transform_handle_buffer):
15018         Parse and use applied_rate in the GstSegment field.
15019
15020         * tests/check/gst/gstevent.c: (GST_START_TEST):
15021         Add check for applied_rate field.
15022
15023         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15024         (gstsegments_suite):
15025         Add more checks for various GstSegment operations.
15026
15027 2006-05-08  Wim Taymans  <wim@fluendo.com>
15028
15029         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15030         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15031         (gst_base_sink_get_position), (gst_base_sink_change_state):
15032         Store the sync time of the buffer end position separatly in a
15033         new variable eos_rtime so we can properly sync the EOS event.
15034         Fixes #340697.
15035         Fix the docs for gst_base_sink_set_qos_enabled().
15036         Don't set segment start to invalid value when we receive a 
15037         non TIME newsegment.
15038         get closer to handling position reporting for negative rates 
15039         correctly.
15040
15041 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15042
15043         * gst/gstcaps.c:
15044         Docs about how to print caps for debug purposes.
15045
15046         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15047         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15048
15049 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15050
15051         * gst/gstelement.c:
15052           use full enum names and preprend a '%' in docs strings to make recent 
15053           gtk-doc turn that into a link
15054
15055 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15056
15057         * docs/manual/basics-bins.xml:
15058         * docs/manual/basics-bus.xml:
15059         * docs/manual/basics-pads.xml:
15060           Some typo fixes, some additions, some clarifications. 
15061
15062 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15063
15064         * tools/gst-inspect.c: (main):
15065         * tools/gst-launch.c: (main):
15066         * tools/gst-run.c: (main):
15067         * tools/gst-typefind.c: (main):
15068         * tools/gst-xmlinspect.c: (main):
15069           Use the string passed to g_option_context_new() for
15070           what it's intended for - the program name is already
15071           printed elsewhere.
15072
15073 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15074
15075         * tools/Makefile.am:
15076         * tools/gst-inspect.c: (main):
15077         * tools/gst-launch.c: (main):
15078         * tools/gst-xmlinspect.c: (main):
15079         * tools/tools.h:
15080           Add back --version command line option (#340460).
15081
15082         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15083           Add --version option and use GOption for argument parsing; refactor a
15084           bit; accept directories as arguments and recurse into them; lastly,
15085           print a decent error message when things go wrong.
15086
15087 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15088
15089         * docs/manual/basics-bins.xml:
15090         Don't mention GstThread (#340611)
15091         * docs/manual/basics-elements.xml:
15092         Update link to GObject tutorial (#340607)
15093         
15094 2006-05-05  Wim Taymans  <wim@fluendo.com>
15095
15096         * gst/gstbuffer.h:
15097         * gst/gstminiobject.c:
15098         Add note about refcounting and miniobject/buffer writeability
15099         to docs. Fixes #340604
15100
15101         * gst/gstelementfactory.h:
15102         Added some explanation about @klass.
15103
15104 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15105
15106         * docs/manual/intro-motivation.xml:
15107         * docs/manual/manual.xml:
15108         Avoid CORBA & Bonobo references (#340598)
15109
15110 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15111
15112         * docs/manual/basics-bus.xml:
15113         * docs/manual/basics-pads.xml:
15114         Fix up some inaccuracies and omissions (#340609)
15115         
15116 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15117
15118         * gst/gstghostpad.c:
15119           Small typo in docs (#340625)
15120
15121 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15122
15123         * gst/parse/Makefile.am:
15124           Make 'make -j' proof (see #340698).
15125
15126 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15127
15128         * configure.ac:
15129           Require GLib-2.8 here as well.
15130
15131 2006-05-05  Wim Taymans  <wim@fluendo.com>
15132
15133         * gst/glib-compat.c:
15134         * gst/gst.c: (init_pre):
15135         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15136         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15137         (gst_object_dispatch_properties_changed):
15138         * gst/gstobject.h:
15139         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15140         * gst/gststructure.c: (gst_structure_set_valist):
15141         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15142         Remove pre glib2.8 compatibility, fixes #340508
15143
15144 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15145
15146         * gst/gsttaglist.h:
15147           Mention type of tags in doc blurbs.
15148
15149 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15150
15151         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15152         (gst_pad_configure_src), (gst_pad_push):
15153         Restore acceptcaps checking behaviour now that good plugins have
15154         been released.
15155
15156 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15157
15158         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15159
15160         * gst/gst.c:
15161         * gst/gstbus.c:
15162         * gst/gstclock.c:
15163         * gst/gstevent.c:
15164         * gst/gstformat.c:
15165         * gst/gstmessage.c:
15166         * gst/gstparse.c:
15167         * gst/gstquery.c:
15168         * gst/gstutils.c:
15169         * gst/parse/Makefile.am:
15170         * libs/gst/base/gstadapter.c:
15171         * libs/gst/base/gstbasesrc.c:
15172         * libs/gst/base/gstpushsrc.c:
15173         * libs/gst/base/gsttypefindhelper.c:
15174         * plugins/elements/gstfakesrc.c:
15175         * plugins/elements/gstidentity.c:
15176           Make sure gstprivate.h and/or config.h are
15177           always included first, otherwise some of our
15178           defines (like _FILE_OFFSET_BITS) might be
15179           redefined in the system headers. Fixes build
15180           on opensolaris (#340016).
15181
15182 2006-05-04  Wim Taymans  <wim@fluendo.com>
15183
15184         * docs/libs/gstreamer-libs-sections.txt:
15185         API: addition: gst_adapter_take_buffer()
15186         
15187         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15188         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15189         (gst_adapter_available_fast):
15190         * libs/gst/base/gstadapter.h:
15191         Prepare for optimizing the hell out of this hugely inefficient
15192         piece of code. 
15193         Added gst_adapter_take_buffer() so we can at least start thinking
15194         about subbuffering and merging.
15195         Added some comments.
15196
15197         * tests/check/Makefile.am:
15198         * tests/check/libs/adapter.c: (GST_START_TEST),
15199         (gst_adapter_suite), (main):
15200         Added GstAdapter check.
15201
15202 2006-05-04  Wim Taymans  <wim@fluendo.com>
15203
15204         * docs/design/part-overview.txt:
15205         Fix some typos, add blurb about buffer flags.
15206
15207 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15208
15209         * docs/libs/gstreamer-libs-sections.txt:
15210           make sure GstBaseTransformClass shows up in the docs
15211         * libs/gst/base/gstbasetransform.c:
15212         * libs/gst/base/gstbasetransform.h:
15213           move docs so gtk-doc picks it up now
15214
15215 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15216
15217         * docs/libs/gstreamer-libs-sections.txt:
15218           add missing symbols to docs
15219
15220 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15221
15222         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15223           back out the newsegment handling change, see #340060 for ongoing
15224           discussion
15225
15226 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15227
15228         * tools/gst-run.c: (get_candidates), (main):
15229           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15230           work); fix typo in error message. Fixes #340079.
15231
15232 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15233
15234         * common/Makefile.am:
15235         * docs/Makefile.am:
15236         * docs/faq/Makefile.am:
15237         * docs/gst/Makefile.am:
15238         * docs/libs/Makefile.am:
15239         * docs/manual/Makefile.am:
15240         * docs/plugins/Makefile.am:
15241         * docs/pwg/Makefile.am:
15242         * docs/slides/Makefile.am:
15243         * docs/upload.mak:
15244         * common/upload.mak:
15245           move upload.mak to common
15246
15247 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15248
15249         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15250           add more asserts on refcounts
15251           do more cleanup at end of tests
15252           fix test leaks showing in FC5
15253
15254 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15255
15256         * plugins/elements/gsttypefindelement.c:
15257         (gst_type_find_element_handle_event):
15258         reverted wrong change and reflowed code to avoid others falling into
15259         this trap
15260
15261 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15262
15263         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15264           fix changelog entry about last collectpads change,
15265           add notes about proper fix
15266
15267 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15268
15269         * gst/gst.c:
15270         * gst/gstregistry.c: (gst_registry_scan_path_level),
15271         (gst_registry_scan_path):
15272         * gst/gstregistry.h:
15273           only write out registry if it has changed, fixes #338339
15274
15275 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15276
15277         * gst/gstbin.c:
15278         * gst/gstpipeline.c:
15279         * plugins/elements/gstcapsfilter.c:
15280         * plugins/elements/gstfakesink.c:
15281         * plugins/elements/gstfakesrc.c:
15282         * plugins/elements/gstfdsink.c:
15283         * plugins/elements/gstfdsrc.c:
15284         * plugins/elements/gstfilesink.c:
15285         * plugins/elements/gstfilesrc.c:
15286         * plugins/elements/gstidentity.c:
15287         * plugins/elements/gstqueue.c:
15288         * plugins/elements/gsttee.c:
15289         * plugins/elements/gsttypefindelement.c:
15290         (gst_type_find_element_handle_event):
15291           make GstElementDetails const
15292
15293 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15294
15295         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15296         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15297         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15298           more detailed debug and formatting cleanup,
15299           forward newsegments to src-pad (so that e.g. adder not eats them)
15300
15301 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15302
15303         * gst/gstutils.c: (gst_element_link_pads):
15304           cleanup double code
15305
15306 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15307
15308         * libs/gst/controller/gstcontroller.c:
15309         (gst_controller_sync_values):
15310           some little tuning
15311         * tests/check/libs/controller.c: (GST_START_TEST),
15312         (gst_controller_suite):
15313           a new test for live value handling
15314
15315 2006-04-28  Wim Taymans  <wim@fluendo.com>
15316
15317         * gst/gstutils.c: (push_and_ref):
15318         Added some more docs.
15319         Fix refcount issue whith gst_element_found_tags() helper 
15320         function. Fixes #338335
15321
15322         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15323         Added testsuite for gst_element_found_tags().
15324
15325 2006-04-28  Michael Smith  <msmith@fluendo.com>
15326
15327         * gst/gstvalue.c: (gst_value_serialize_flags):
15328           Avoid NULL dereference when trying to serialize flags containing
15329           invalid values.
15330
15331 2006-04-28  Michael Smith  <msmith@fluendo.com>
15332
15333         * plugins/elements/gsttypefindelement.c:
15334         (gst_type_find_element_handle_event):
15335           If we get EOS before any data is accumulated, don't use
15336           uninitialised local variables.
15337
15338 2006-04-28  Michael Smith  <msmith@fluendo.com>
15339
15340         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15341         (gst_dp_event_from_packet):
15342           Fixes in reading/writing events over GDP (not currently used?) - 
15343           dereferencing NULL events for unknown/invalid event types, memory
15344           leak, and change g_warning to GST_WARNING.
15345
15346 2006-04-28  Wim Taymans  <wim@fluendo.com>
15347
15348         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15349         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15350         (gst_base_sink_get_position), (gst_base_sink_change_state):
15351         When frame dropping is enabled, we should not ignore frames
15352         without a duration.
15353         Update some documentation.
15354
15355 2006-04-28  Wim Taymans  <wim@fluendo.com>
15356
15357         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15358         (gst_base_src_send_event), (gst_base_src_change_state):
15359         Documentation updates.
15360
15361 2006-04-28  Wim Taymans  <wim@fluendo.com>
15362
15363         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15364         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15365         handle EAGAIN, EINTR and short writes correctly. Also clean
15366         up some error cases, avoid a deadlock on bad file descriptors and
15367         use GST_DEBUG_OBJECT.
15368         Fixes #339843
15369
15370 2006-04-28  Wim Taymans  <wim@fluendo.com>
15371
15372         * gst/gstvalue.c: (gst_value_serialize_buffer),
15373         (gst_value_deserialize_buffer):
15374         Don't try to serialize a GValue with a NULL buffer. 
15375         Fixes #339821.
15376
15377         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15378         Added check for serialisation of NULL buffers.
15379
15380 2006-04-28  Wim Taymans  <wim@fluendo.com>
15381
15382         * gst/gstminiobject.c: (gst_value_take_mini_object):
15383         Taking a NULL miniobject is valid, fix the case where
15384         we try to unref the NULL miniobject.
15385
15386 2006-04-28  Wim Taymans  <wim@fluendo.com>
15387
15388         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15389
15390         * gst/gstbin.c: (gst_bin_handle_message_func):
15391         Update docs.
15392         Don't leak bin refcount when a state recalc is
15393         in progress and we delay another one #339808.
15394
15395 2006-04-28  Wim Taymans  <wim@fluendo.com>
15396
15397         * docs/design/part-TODO.txt:
15398         Mention QoS as an ongoing work item.
15399
15400         * docs/design/part-buffering.txt:
15401         New doc about buffering that needs to be fleshed out
15402         at some point.
15403
15404         * docs/design/part-qos.txt:
15405         More QoS policy for decoders/demuxers/transforms
15406
15407         * docs/design/part-trickmodes.txt:
15408         Small update.
15409
15410 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15411
15412         * configure.ac:
15413           back to HEAD
15414
15415 === release 0.10.5 ===
15416
15417 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15418
15419         * configure.ac:
15420           releasing 0.10.5, "Fogo"
15421
15422 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15423
15424         patch by: Wim Taymans
15425
15426         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15427         (gst_pad_configure_src), (gst_pad_push):
15428         * gst/gstpipeline.c: (gst_pipeline_init):
15429           Fix internal data flow errors.  Fixes #338711.
15430
15431 2006-04-12  Wim Taymans  <wim@fluendo.com>
15432
15433         * tests/check/gst/gstelement.c: (GST_START_TEST):
15434         Don't leak the factory.
15435
15436 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15437
15438         * configure.ac:
15439         * win32/common/config.h:
15440           prerelease
15441
15442 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15443
15444         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15445         (gst_controller_unset_all):
15446           Free allocated GstTimedValues when freeing list nodes.
15447           Should fix leaks 'make check-valgrind' complains about.
15448
15449         * win32/common/libgstcontroller.def:
15450           Add gst_controller_unset_all.
15451
15452 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15453
15454         * docs/libs/gstreamer-libs-sections.txt:
15455         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15456         (gst_controller_unset_all):
15457         * libs/gst/controller/gstcontroller.h:
15458         API: Added new method gst_controller_unset_all()
15459         fixed gst_controller_unset()
15460         * tests/check/libs/controller.c: (GST_START_TEST),
15461         (gst_controller_suite):
15462         Added two testcases for new and fixed method
15463
15464 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15465
15466         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15467           MSG_DONTWAIT is not defined on Cygwin, so work
15468           around that (fixes #317048).
15469           
15470 2006-04-11  Wim Taymans  <wim@fluendo.com>
15471
15472         * gst/gstelementfactory.c: (gst_element_register),
15473         (gst_element_factory_create), (gst_element_factory_make):
15474         Some cleanups.
15475         Fixed a FIXME.
15476         Updated docs (Fixes #131079)
15477
15478         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15479         Small cleanups.
15480
15481         * tests/check/gst/gstelement.c: (GST_START_TEST),
15482         (gst_element_suite):
15483         Added testcase for elementfactory class field.
15484
15485 2006-04-10  Wim Taymans  <wim@fluendo.com>
15486
15487         * gst/gstsegment.c:
15488         Added some more docs.
15489
15490         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15491         (gst_base_sink_reset_qos):
15492         Calculate more accurate rate values.
15493
15494 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15495
15496         * gst/gst_private.h:
15497           add a new #ifdef to use __declspec(dllimport) only for
15498           other modules and not for gstreamer core
15499         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15500           use gst_guint64_to_gdouble for conversion
15501         * win32/common/libgstreamer.def:
15502           add new exported functions
15503         * win32/vs6/gst_inspect.dsp:
15504         * win32/vs6/gst_launch.dsp:
15505         * win32/vs6/libgstbase.dsp:
15506         * win32/vs6/libgstcontroller.dsp:
15507         * win32/vs6/libgstcoreelements.dsp:
15508         * win32/vs6/libgstdataprotocol.dsp:
15509         * win32/vs6/libgstnet.dsp:
15510           update project files
15511
15512 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15513
15514         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15515         * gst/gstclock.c: (gst_clock_class_init):
15516         * gst/gstelement.c: (gst_element_class_init):
15517         * gst/gstindex.c: (gst_index_class_init):
15518         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15519         * gst/gstobject.c: (gst_object_class_init),
15520         (gst_signal_object_class_init):
15521         * gst/gstpad.c: (gst_pad_class_init):
15522         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15523         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15524         * gst/gstregistry.c: (gst_registry_class_init):
15525         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15526         * gst/gsttask.c: (gst_task_class_init):
15527         * gst/gstxml.c: (gst_xml_class_init):
15528         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15529         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15530         (gst_base_src_loop):
15531         * libs/gst/controller/gstcontroller.c:/
15532         (_gst_controller_class_init):
15533         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15534         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15535         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15536         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15537         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15538         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15539
15540 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15541
15542         * gst/gstpad.c: (gst_pad_link):
15543           Must set peer pads before calling the link function, otherwise
15544           a task started from a link function might get a flow-not-linked
15545           result when trying to push because the other thread where the
15546           linking happens hasn't had a chance to set the peers yet. This
15547           might happen for example when a queue gets linked to a downstream
15548           element, as queue starts a streaming task when its source pad
15549           gets linked. Happens in real life when playing back flac/musepack
15550           files in playbin (#332390).
15551           
15552 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15553
15554         * gst/gstindex.h:
15555         * gst/gstxml.h:
15556         * libs/gst/base/gstadapter.h:
15557         * libs/gst/base/gstbasesink.h:
15558         * libs/gst/base/gstbasesrc.h:
15559         * libs/gst/base/gstbasetransform.h:
15560         * libs/gst/base/gstcollectpads.h:
15561         * libs/gst/base/gstpushsrc.h:
15562         Fix broken GObject macros
15563
15564 2006-04-07  Wim Taymans  <wim@fluendo.com>
15565
15566         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15567         Initialize start and stop times, thanks valgrind.
15568
15569 2006-04-07  Wim Taymans  <wim@fluendo.com>
15570
15571         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15572         Be a bit nicer to badly behaving upstream elements that expect
15573         us to deal with non TIME segments and timestamps (such as fakesrc
15574         in the testsuite).
15575
15576 2006-04-07  Wim Taymans  <wim@fluendo.com>
15577
15578         * gst/gstbus.c:
15579         Small documentation clarification about the signal watch.
15580
15581         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15582         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15583         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15584         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15585         (gst_base_sink_get_position_last),
15586         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15587         Convert and store timestamps in stream time and running time, the
15588         raw timestamps are not useful, also document this better.
15589         Use different window sizes for good and bad QoS observations so
15590         we react to badness a little quicker.
15591         Keep track of the amount of rendered and dropped buffers.
15592         Send QoS timestamps in running time.
15593
15594         * libs/gst/base/gstbasetransform.c:
15595         (gst_base_transform_sink_eventfunc),
15596         (gst_base_transform_handle_buffer):
15597         Compare QoS timestamps against running time.
15598
15599 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15600
15601         * gst/gstpad.c:
15602           Typo fixes in docs.
15603
15604 2006-04-06  Michael Smith  <msmith@fluendo.com>
15605
15606         * gst/gstpad.c: (gst_pad_set_property):
15607           Use g_value_get_object() instead of g_value_dup_gst_object(),
15608           to avoid double-reffing the pad template (which we then sink,
15609           so this worked previously if (and only if) the pad template
15610           was floating.
15611
15612         * gst/gstpadtemplate.c: (gst_pad_template_init),
15613         (gst_pad_template_pad_created):
15614           Never return floating references to pad templates, create
15615           them as initially-sunken.
15616
15617           Document an extra function (and make this stop sinking our
15618           pad template, since that is now guaranteed to do nothing,
15619           since we created it sunken).
15620
15621         * gst/gstghostpad.c:
15622           Fix docs typo.
15623
15624 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15625
15626         * gst/gstinfo.c: (__gst_in_valgrind):
15627           Add some newlines.
15628
15629         * plugins/elements/gsttypefindelement.c:
15630         (gst_type_find_element_chain):
15631           Don't leak buffer caps.
15632
15633 2006-04-06  Michael Smith  <msmith@fluendo.com>
15634
15635         * gst/parse/grammar.y:
15636           Fix a leak in parse-launch for any source-or-sink named element 
15637           references used.
15638
15639         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15640           Unref the pipeline if it exists after we've failed parsing.
15641
15642 2006-04-05  Michael Smith  <msmith@fluendo.com>
15643
15644         * gst/gstpipeline.c: (gst_pipeline_init):
15645           When we create a pipeline bus, initially create it in flushing mode.
15646           Fixes leaks in at least one test, and makes a new pipeline work the
15647           same as one that has gone to READY and then back to NULL.
15648
15649         * gst/gstelement.c:
15650           Typo fix in docs.
15651
15652 2006-04-05  Michael Smith  <msmith@fluendo.com>
15653
15654         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15655           Unref a pad we reffed.
15656         * tests/check/gst/gstutils.c: (GST_START_TEST):
15657           Unref bins
15658
15659 2006-04-05  Michael Smith  <msmith@fluendo.com>
15660
15661         * gst/gstquery.c: (gst_query_set_formats),
15662         (gst_query_set_formatsv):
15663           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15664
15665 2006-04-05  Michael Smith  <msmith@fluendo.com>
15666
15667         * tests/check/generic/sinks.c: (GST_START_TEST):
15668           Fix a variety of memleaks in sinks check, which are only sometimes 
15669           shown by running the tests under valgrind (weird?).
15670
15671 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15672
15673         * docs/version.entities.in:
15674           Fix the substituted entity name after thomas' changes on the
15675           weekend.
15676
15677 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15678
15679         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15680         VALGRIND_PRINTF
15681         
15682 2006-04-05  Andy Wingo  <wingo@pobox.com>
15683
15684         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15685
15686         * libs/gst/base/gstbasetransform.c
15687         (gst_base_transform_sink_eventfunc): When resetting our segment on
15688         FLUSH_STOP, also update the flag saying we haven't seen a
15689         newsegment.
15690
15691 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15692
15693         Patch by: Paolo Borelli  <pborelli at katamail dot com>
15694
15695         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15696         (gst_plugin_check_license):
15697           minor clean-ups: G_DEFINE_TYPE already takes care of the
15698           parent_class stuff, no need to do it twice. Mark array of
15699           license strings as constant. (#337103)
15700           
15701 2006-04-04  Michael Smith  <msmith@fluendo.com>
15702
15703         * tools/gst-inspect.c: (print_element_list):
15704           Free the right plugin list; fixes a memory leak.
15705
15706 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15707
15708         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
15709
15710         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15711           Don't error out on empty buffers (#336945).
15712           
15713 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
15714
15715         * docs/libs/gstreamer-libs-sections.txt:
15716         * gst/gsttaglist.c:
15717         * libs/gst/base/gstbasesink.c:
15718         * libs/gst/base/gstbasesink.h:
15719         * libs/gst/base/gstbasesrc.c:
15720         * libs/gst/base/gstbasesrc.h:
15721           Documentation updates. Make BaseSink and BaseSrc docs contain the
15722           class structure so that people can actually see the prototypes for
15723           virtual functions they're supposed to be overriding.
15724
15725 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15726
15727         * plugins/elements/gsttypefindelement.c:
15728         (gst_type_find_element_chain):
15729           More debug info; when skipping typefinding, send cached
15730           events in all cases.
15731
15732 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15733
15734         * configure.ac:
15735           use new AS_VERSION and AS_NANO macros
15736         * gst/gst-i18n-lib.h:
15737         * gst/gst.c:
15738         * gst/gsterror.c:
15739         * gst/gstversion.h.in:
15740         * win32/common/config.h:
15741         * win32/common/config.h.in:
15742           update accordingly
15743
15744 2006-03-31  Michael Smith  <msmith@fluendo.com>
15745
15746         * plugins/elements/gsttypefindelement.c:
15747         (gst_type_find_element_chain):
15748           Do not typefind content if the buffers already have caps.
15749           Neccesary for icydemux (#333657), and the right thing to do anyway.
15750
15751 2006-03-30  Wim Taymans  <wim@fluendo.com>
15752
15753         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15754         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15755         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15756         (gst_base_sink_record_qos_observation),
15757         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15758         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15759         (gst_base_sink_change_state):
15760         More QoS measurements as described in the design doc.
15761         Get rid of ringbuffer with observations, running average is
15762         more simple and equally good.
15763         Calculates valid proportion now.
15764         Added beginning of flood measurement.
15765
15766 2006-03-29  Wim Taymans  <wim@fluendo.com>
15767
15768         * docs/design/part-qos.txt:
15769         * gst/gstclock.c:
15770         Small documentation updates and additions.
15771
15772 2006-03-29  Wim Taymans  <wim@fluendo.com>
15773
15774         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15775         (gst_base_src_send_event), (gst_base_src_loop),
15776         (gst_base_src_change_state):
15777         Perform the EOS logic when we reach the segment stop position.
15778         Fix compilation on gcc4.1
15779
15780 2006-03-29  Wim Taymans  <wim@fluendo.com>
15781
15782         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15783
15784         * plugins/elements/gstqueue.c: (gst_queue_init),
15785         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15786         (gst_queue_set_property):
15787         * plugins/elements/gstqueue.h:
15788         In queue, when EOS is received, if minimum threshold > max_size -
15789         current_level, there is chance that queue blocks forever in conditional
15790         item del wait. This is because the queue is not emptied completely due
15791         to minimum threshold.  Here is another approach. Instead of setting
15792         cur_levels to max in EOS, just zero all minimum threshold levels. This
15793         should make sure that queue gives out all data. When going to READY
15794         (stop) state, just reset the original minimum threshold levels.
15795         Fixes #336336.
15796
15797 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
15798
15799         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15800         (gst_type_find_element_handle_event),
15801         (gst_type_find_element_send_cached_events),
15802         (gst_type_find_element_change_state):
15803         * plugins/elements/gsttypefindelement.h:
15804           When typefinding is done in push mode, we should cache
15805           events we receive during typefinding instead of just
15806           dropping them (e.g. newsegment, custom events from
15807           dvdreadsrc etc.) and then send them out once we've
15808           determined the type of the stream (and decodebin
15809           has had a chance to plug in a decoder/demuxer).
15810           
15811 2006-03-27  Wim Taymans  <wim@fluendo.com>
15812
15813         * docs/design/part-qos.txt:
15814         First QoS ideas.
15815
15816 2006-03-27  Wim Taymans  <wim@fluendo.com>
15817
15818         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15819
15820         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15821         (gst_base_src_send_event), (gst_base_src_change_state):
15822         Handle element seek correctly when we are streaming.
15823         Fixes #326998.
15824
15825 2006-03-24  Michael Smith  <msmith@fluendo.com>
15826
15827         * docs/faq/gst-uninstalled:
15828           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15829           allow you to correctly run intalled applications built against old 
15830           core, using plugins that require updated core (e.g. running
15831           installed totem against a full uninstalled gstreamer stack)
15832
15833 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15834
15835         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15836         more debug details
15837
15838 2006-03-24  Wim Taymans  <wim@fluendo.com>
15839
15840         * docs/gst/gstreamer-sections.txt:
15841         Rearrange the order of the methods so that related methods
15842         are grouped together in sections.
15843
15844 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15845
15846         * gst/gstelement.c:
15847           Little clarification in the docs
15848
15849 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15850
15851         * docs/README:
15852         formatting fix
15853         * plugins/elements/gstidentity.c:
15854         * plugins/elements/gstqueue.c:
15855         * plugins/elements/gsttee.c:
15856         * plugins/elements/gsttypefindelement.c:
15857         GST_ELEMENT_DETAILS formatting
15858
15859 2006-03-24  Wim Taymans  <wim@fluendo.com>
15860
15861         * libs/gst/base/gstbasesink.h:
15862         Only add fields, not insert or we break ABI.
15863
15864 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15865
15866         * win32/common/libgstbase.def:
15867         * win32/common/libgstreamer.def:
15868           Update, add recently added functions.
15869
15870 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15871
15872         * docs/gst/gstreamer-sections.txt:
15873         * gst/gstutils.c: (gst_pad_query_peer_position),
15874         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15875         * gst/gstutils.h:
15876           API: add some new utility functions:
15877            - gst_pad_query_peer_position()
15878            - gst_pad_query_peer_duration()
15879            - gst_pad_query_peer_convert()
15880           
15881 2006-03-23  Wim Taymans  <wim@fluendo.com>
15882
15883         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15884         (gst_base_sink_init), (gst_base_sink_finalize),
15885         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15886         (gst_base_sink_set_property), (gst_base_sink_get_property),
15887         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15888         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15889         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15890         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15891         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15892         (gst_base_sink_preroll_object), (gst_base_sink_event),
15893         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15894         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15895         (gst_base_sink_query), (gst_base_sink_change_state):
15896         Decouple max-lateness and the fact that QoS messages are generated
15897         with a new property (qos).
15898         added API: GstBaseSink::async_play()
15899         Add vmethod so subclasses can be notified of ASYNC playing
15900         state changes.
15901         Collect timestamp start and stop to report better current
15902         position in EOS/PLAYING/PAUSED/READY/NULL.
15903         Refactor QoS/frame dropping and other measurements.
15904         API: GstBaseSrc::qos
15905         Fixes #326311
15906
15907         * libs/gst/base/gstbasesink.h:
15908         Added Private struct.
15909         API: gst_base_sink_set_qos_enabled()
15910         API: gst_base_sink_is_qos_enabled()
15911
15912 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15913
15914         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15915           If compiling against GLib-2.8 or newer, try to read the
15916           registry file using GMappedFile first before falling back
15917           to fopen() + fread() (#332151).
15918
15919 2006-03-22  Wim Taymans  <wim@fluendo.com>
15920
15921         * gst/gstinfo.c: (gst_debug_set_active),
15922         (gst_debug_category_set_threshold):
15923         Disable debugging unless explicitly activated.
15924         Fixes #335480.
15925
15926 2006-03-22  Wim Taymans  <wim@fluendo.com>
15927
15928         * gst/gstelement.c: (gst_element_set_locked_state),
15929         (gst_element_dispose):
15930         Cleanup the error case.
15931
15932         * gst/gstobject.c: (gst_object_dispose):
15933         print a critical when some object was disposed with
15934         a parent, also revive the object since it might
15935         crash the parent.
15936
15937 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
15938
15939         * tools/gst-launch.1.in:
15940           Fix another typo.
15941
15942 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15943
15944         * configure.ac:
15945         * tests/check/Makefile.am:
15946           disable some tests when we don't have a registry
15947         * tests/check/gst/gstutils.c: (gst_utils_suite):
15948           don't build the part that needs parsing
15949
15950 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15951
15952         * gst/Makefile.am
15953         * tests/examples/Makefile.am:
15954           fix --disable-parse build
15955
15956 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
15957
15958         * tools/gst-feedback.1.in:
15959           Fix typo: s/feeback/feedback/ (#133494).
15960
15961 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
15962
15963         * tools/Makefile.am:
15964         * tools/gst-launch.1.in:
15965           Add FILES section and correct entry about GST_REGISTRY_PATH
15966           environment variable (#133495; #133494).
15967
15968 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
15969
15970         * tools/Makefile.am:
15971         * tools/gst-md5sum.1.in:
15972         * tools/gst-md5sum.c:
15973           Remove gst-md5sum and man page (the md5sink element
15974           required was removed ages ago)
15975
15976 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
15977
15978         * gst/gststructure.c: (gst_structure_id_set_value):
15979           Make sure that string fields in structures/taglists
15980           contain valid UTF-8 - we don't want to pass rubbish to
15981           applications because of a buggy plugin (cp. #334167).
15982
15983 2006-03-21  Edward Hervey  <edward@fluendo.com>
15984
15985         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15986         (gst_bin_handle_message_func):
15987         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
15988         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
15989         (gst_element_set_bus_func):
15990         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
15991         * gst/gstminiobject.c: (gst_value_set_mini_object),
15992         (gst_value_take_mini_object):
15993         * gst/gstpad.c: (gst_pad_set_pad_template):
15994         * gst/gstpipeline.c: (gst_pipeline_dispose),
15995         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15996         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
15997         (gst_collect_pads_chain):
15998         * libs/gst/net/gstnettimeprovider.c:
15999         (gst_net_time_provider_set_property):
16000         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16001         It's in fact all issues with gst_*object_replace().
16002
16003 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16004
16005         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16006         
16007         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16008         * pkgconfig/gstreamer-check.pc.in:
16009           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16010
16011 2006-03-21  Edward Hervey  <edward@fluendo.com>
16012
16013         * gst/gstbuffer.h:
16014         * gst/gstevent.h:
16015         * gst/gstmessage.h:
16016         gst_[buffer|event|message]_ref() macros are replaced by a static
16017         inline functions because gcc-4.1 will about if the return value
16018         isn't used.
16019         * tests/check/gst/gstevent.c: (event_probe):
16020         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16021
16022 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16023
16024         * gst/gstutils.h:
16025         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16026         the type' case. (Closes: #335195 for now). In the future, when we
16027         depend on GLib 2.10, we could also intern the type name using
16028         g_intern_static_string()
16029
16030 2006-03-20  Wim Taymans  <wim@fluendo.com>
16031
16032         * gst/gstbin.c: (gst_bin_handle_message_func),
16033         (bin_query_max_init), (bin_query_position_fold),
16034         (bin_query_position_done), (gst_bin_query):
16035         Position query should also take max of all streams.
16036
16037 2006-03-20  Wim Taymans  <wim@fluendo.com>
16038
16039         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16040         (gst_fake_src_finalize):
16041         Fix leaks in fakesrc.
16042
16043         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16044         Fix leaks in the testcase.
16045
16046 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16047
16048         * gst/gst_private.h:
16049           add win32 specific import decoration(__declspec(dllimport)) 
16050           for all extern GstDebugCategory * variables
16051         * win32/common/libgstbase.def:
16052         * win32/common/libgstcontroller.def:
16053         * win32/common/libgstreamer.def:
16054           Add some exports, remove empty lines
16055         * win32/common/libgstdataprotocol.def:
16056         * win32/common/libgstdataprotocol.dsp:
16057         * win32/common/libgstnet.def:
16058         * win32/common/libgstnet.dsp:
16059           new project files and exportation files added
16060         
16061 2006-03-19  Wim Taymans  <wim@fluendo.com>
16062
16063         * tests/check/libs/basesrc.c: (eos_event_counter):
16064         Use proper return value for probe.
16065
16066 2006-03-17  Wim Taymans  <wim@fluendo.com>
16067
16068         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16069         (gst_pad_push):
16070         Don't leak buffers, caps and pads on negotiation errors.
16071
16072 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16073
16074         * docs/faq/cvs.xml:
16075         * docs/faq/dependencies.xml:
16076         * docs/faq/developing.xml:
16077         * docs/faq/faq.xml:
16078         * docs/faq/general.xml:
16079         * docs/faq/getting.xml:
16080         * docs/faq/legal.xml:
16081         * docs/faq/troubleshooting.xml:
16082         * docs/faq/using.xml:
16083         Faq review and update.
16084
16085 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16086
16087         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16088         (gst_pad_push):
16089         Don't pound the cpu to pieces by checking get_caps when accept_caps
16090         is called with the same caps as the pad already has.
16091         Use GST_DEBUG_OBJECT when outputting caps change information.
16092
16093 2006-03-15  Wim Taymans  <wim@fluendo.com>
16094
16095         * gst/gstclock.c: (gst_clock_class_init):
16096         Fix docs.
16097
16098 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16099
16100         * gst/gstbuffer.h:
16101         Documentation fix.
16102
16103         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16104         (gst_pad_accept_caps), (gst_pad_configure_sink),
16105         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16106         Make the default acceptcaps behaviour be to check the requested 
16107         caps against the gst_pad_get_caps output. 
16108
16109         Ensure that gst_pad_accept_caps is used to check caps when a pad
16110         doesn't have a setcaps function, so that pads automatically refuse 
16111         caps that they don't allow in their pad template. (Fixes #332986)
16112
16113         When a buffer with attached caps is pushed, ensure that the source 
16114         pad receives those caps even if the element didn't call
16115         gst_pad_set_caps first.
16116
16117 2006-03-15  Wim Taymans  <wim@fluendo.com>
16118
16119         * libs/gst/base/gstadapter.c:
16120         Add some docs.
16121
16122 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16123
16124         * win32/common/libgstbase.def:
16125         * win32/common/libgstcontroller.def:
16126         * win32/common/libgstreamer.def:
16127           Add a whole bunch of missing functions (#334434).
16128
16129 2006-03-14  Wim Taymans  <wim@fluendo.com>
16130
16131         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16132         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16133         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16134         Better debug info when we receive a segment event.
16135         Reorganize a bit so we can pass the get_times() results around.
16136         Use the segment format when calculating the running time.
16137         Don't do QoS is sync is disabled or we have no clock or the
16138         element does not want us to sync to the clock.
16139         Don't drop buffers if QoS is disabled for now.
16140
16141 2006-03-14  Wim Taymans  <wim@fluendo.com>
16142
16143         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16144         Marked the stats property as unimplemented so people don't get
16145         wild ideas.
16146         Add debug message when regression goes wrong.
16147         Added some more docs.
16148
16149 2006-03-14  Wim Taymans  <wim@fluendo.com>
16150
16151         * gst/gstsegment.c: (gst_segment_to_stream_time):
16152         Return correct return type in case of errors.
16153
16154 2006-03-14  Wim Taymans  <wim@fluendo.com>
16155
16156         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16157           Don't segfault on invalid formats.
16158
16159 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16160
16161         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16162           Can't use gst_segment_to_running_time() when the segment
16163           is not in GST_TIME_FORMAT (like with filesink, for example).
16164           Stops flac encoding pipelines from spewing critical warnings
16165           at EOS (#331248).
16166           
16167 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16168
16169         * gst/gstpipeline.c: (gst_pipeline_class_init):
16170           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16171
16172         * plugins/elements/gsttypefindelement.c:
16173         (gst_type_find_element_handle_event):
16174           Don't try to typefind empty streams.
16175
16176 2006-03-14  Wim Taymans  <wim@fluendo.com>
16177
16178         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16179         (gst_base_sink_do_qos):
16180         Separate QoS calculation.
16181         Only drop buffers when lateness is bigger than the 
16182         duration of the buffer.
16183
16184 2006-03-13  Wim Taymans  <wim@fluendo.com>
16185
16186         * gst/gstpipeline.c: (gst_pipeline_set_property),
16187         (gst_pipeline_get_property), (do_pipeline_seek),
16188         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16189         (gst_pipeline_get_delay):
16190         Don't deadlock when reading properties.
16191
16192 2006-03-13  Wim Taymans  <wim@fluendo.com>
16193
16194         * libs/gst/base/gstbasetransform.c:
16195         (gst_base_transform_class_init), (gst_base_transform_init),
16196         (gst_base_transform_sink_event),
16197         (gst_base_transform_sink_eventfunc),
16198         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16199         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16200         (gst_base_transform_set_property),
16201         (gst_base_transform_get_property),
16202         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16203         (gst_base_transform_set_qos_enabled),
16204         (gst_base_transform_is_qos_enabled):
16205         * libs/gst/base/gstbasetransform.h:
16206         Make basetransform virtual method for src events too.
16207         Handle QOS in basetransform.
16208         API: gst_base_transform_update_qos()
16209         API: gst_base_transform_set_qos_enabled()
16210         API: gst_base_transform_is_qos_enabled()
16211
16212 2006-03-13  Wim Taymans  <wim@fluendo.com>
16213
16214         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16215         (gst_base_sink_do_sync):
16216         Small cleanups.
16217         Use QOS debug category.
16218
16219 2006-03-13  Wim Taymans  <wim@fluendo.com>
16220
16221         * plugins/elements/gstqueue.c:
16222         Very small doc update.
16223
16224 2006-03-13  Wim Taymans  <wim@fluendo.com>
16225
16226         * gst/gst_private.h:
16227         * gst/gstinfo.c: (_gst_debug_init):
16228         Added QOS debug category
16229
16230 2006-03-13  Wim Taymans  <wim@fluendo.com>
16231
16232         * docs/gst/gstreamer-sections.txt:
16233         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16234         * gst/gstbin.h:
16235         * gst/gstbus.c: (gst_bus_class_init):
16236         * gst/gstbus.h:
16237         * gst/gstclock.c:
16238         * gst/gstelement.c: (gst_element_set_locked_state):
16239         * gst/gstsegment.c:
16240         Documentation updates.
16241
16242         * gst/gstpipeline.c: (gst_pipeline_get_type),
16243         (gst_pipeline_class_init), (gst_pipeline_init),
16244         (gst_pipeline_dispose), (gst_pipeline_set_property),
16245         (gst_pipeline_get_property), (do_pipeline_seek),
16246         (gst_pipeline_send_event), (gst_pipeline_change_state),
16247         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16248         (gst_pipeline_get_delay):
16249         * gst/gstpipeline.h:
16250         Added methods for setting the delay.
16251         API: gst_pipeline_set_delay()
16252         API: gst_pipeline_get_delay()
16253         Add pipeline debug category
16254         Various cleanups.
16255         Updated docs.
16256         Don't reset stream time when seek failed.
16257
16258 2006-03-13  Wim Taymans  <wim@fluendo.com>
16259
16260         * docs/design/draft-klass.txt:
16261         * docs/design/part-clocks.txt:
16262         * docs/design/part-events.txt:
16263         * docs/design/part-gstbin.txt:
16264         * docs/design/part-gstpipeline.txt:
16265         * docs/design/part-messages.txt:
16266         * docs/design/part-negotiation.txt:
16267         * docs/design/part-overview.txt:
16268         * docs/design/part-preroll.txt:
16269         * docs/design/part-seeking.txt:
16270         * docs/design/part-states.txt:
16271         * docs/design/part-streams.txt:
16272         Documentation updates.
16273
16274 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16275
16276         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16277         us to leak strings...
16278
16279 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16280
16281         * libs/gst/net/gstnettimeprovider.c:
16282           fix docs
16283         * win32/common/config.h:
16284           update
16285
16286 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16287
16288         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16289
16290         * configure.ac:
16291           Don't check for libgnomeui (leftover from old examples
16292           that aren't built or disted any longer) (#334303).
16293           
16294 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16295
16296         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16297         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16298           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16299           there's no space left on the device.
16300
16301 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16302
16303         * gst/gstclock.h:
16304           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16305           to cast the input to GstClockTime before comparing with
16306           another GstClockTime value.
16307
16308 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16309
16310         * configure.ac:
16311           back to trunk
16312
16313 === release 0.10.4 ===
16314
16315 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16316
16317         * configure.ac:
16318           releasing 0.10.4, "Light"
16319
16320 2006-03-10  Michael Smith  <msmith@fluendo.com>
16321
16322         * libs/gst/dataprotocol/dataprotocol.c:
16323           Fix docs for dataprocotol to not get the return types completely
16324           wrong for a few functions.
16325
16326 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16327
16328         * docs/gst/gstreamer-sections.txt:
16329         * gst/gstpipeline.c: (gst_pipeline_class_init),
16330         (gst_pipeline_init), (gst_pipeline_set_property),
16331         (gst_pipeline_get_property), (gst_pipeline_change_state),
16332         (gst_pipeline_set_auto_flush_bus),
16333         (gst_pipeline_get_auto_flush_bus):
16334         * gst/gstpipeline.h:
16335           Add new API: gst_pipeline_set_auto_flush_bus() and
16336           gst_pipeline_get_auto_flush_bus() to disable automatic
16337           flushing of the pipeline's GstBus when going from READY
16338           to NULL state (#332045).
16339
16340 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16341
16342         * docs/gst/gstreamer-sections.txt:
16343         * gst/gsturi.c: (gst_uri_has_protocol):
16344         * gst/gsturi.h:
16345            Add new API: gst_uri_has_protocol() (#333779).
16346
16347 2006-03-09  Wim Taymans  <wim@fluendo.com>
16348
16349         * gst/gstclock.c: (gst_clock_entry_new),
16350         (gst_clock_id_compare_func), (gst_clock_id_wait),
16351         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16352         (gst_clock_init), (gst_clock_get_internal_time),
16353         (gst_clock_set_master), (do_linear_regression),
16354         (gst_clock_add_observation), (gst_clock_set_property):
16355         * gst/gstclock.h:
16356         Review docs.
16357         Small cleanups.
16358         Fix a possible segfault when the window-size is made smaller.
16359         Calculate jitter before performing the clock wait. Ideally
16360         the clock implementation should calculate jitter but we need
16361         API breakage for that.
16362
16363         * gst/gstsystemclock.c: (gst_system_clock_init):
16364         Docs review.
16365         
16366         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16367         Remove leftover else
16368
16369         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16370         (gst_systemclock_suite):
16371         Added check to test GST_CLOCK_DIFF.
16372
16373 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16374
16375         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16376         (gst_type_find_helper_get_range):
16377           If we are provided with the size, we should implement
16378           GstTypeFind::get_length, so that typefind functions who
16379           want to can actually peek at the middle of a file.
16380
16381 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16382
16383         * docs/manual/advanced-dataaccess.xml:
16384           Add some very very basic error checking.
16385
16386         * docs/pwg/appendix-checklist.xml:
16387           Some updates to the list of things to check when writing an element.
16388
16389 2006-03-08  Wim Taymans  <wim@fluendo.com>
16390
16391         * docs/design/part-element-transform.txt:
16392         Added some docs about the design of tranform elements.
16393
16394         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16395         (gst_base_src_loop), (gst_base_src_change_state):
16396         Mark buffers with the DISCONT flag.
16397
16398 2006-03-08  Michael Smith  <msmith@fluendo.com>
16399
16400         * gst/gstregistry.h:
16401         * gst/gstregistryxml.c: (gst_registry_save),
16402         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16403         (gst_registry_xml_save_pad_template),
16404         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16405         (gst_registry_xml_write_cache):
16406           Rewrite registry-saving to avoid race conditions and check for
16407           failed writes.
16408
16409 2006-03-08  Wim Taymans  <wim@fluendo.com>
16410
16411         * libs/gst/base/gstbasetransform.c:
16412         (gst_base_transform_transform_caps),
16413         (gst_base_transform_transform_size),
16414         (gst_base_transform_prepare_output_buffer),
16415         (gst_base_transform_get_unit_size),
16416         (gst_base_transform_buffer_alloc),
16417         (gst_base_transform_handle_buffer),
16418         (gst_base_transform_change_state):
16419         Cleanups, separate normal flow from errors, add sensible
16420         DEBUG lines.
16421         Don't try to renegotiate when allocating an output buffer.
16422         Also copy DISCONT buffer flag when copying a buffer.
16423         Reset the transform after we finish streaming, not during.
16424
16425 2006-03-08  Wim Taymans  <wim@fluendo.com>
16426
16427         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16428         Use last buffer timestamp in qos message.
16429
16430 2006-03-07  Wim Taymans  <wim@fluendo.com>
16431
16432         Patch by: Christophe Fergeau
16433
16434         * docs/pwg/advanced-tagging.xml:
16435         * docs/pwg/building-pads.xml:
16436           fixes #333416
16437
16438 2006-03-07  Wim Taymans  <wim@fluendo.com>
16439
16440         * docs/libs/gstreamer-libs-sections.txt:
16441         Added basesink new methods.
16442
16443         * gst/gstevent.c:
16444         * gst/gstevent.h:
16445         Docs updates. Flesh out the QoS docs.
16446
16447         * libs/gst/base/gstadapter.c:
16448         Small doc clarification about ownership and flushing.
16449
16450         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16451         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16452         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16453         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16454         * libs/gst/base/gstbasesink.h:
16455         API additions: 
16456         Added new methods to allow subclass to control max-lateness 
16457         and sync.
16458         Generate very basic QoS events based on last sync observation.
16459         Updated docs, fix typo, added some QoS blurb.
16460
16461         * libs/gst/base/gstbasesrc.c:
16462         Remove obsolete _get_state() calls from docs.
16463
16464 2006-03-07  Wim Taymans  <wim@fluendo.com>
16465
16466         * docs/libs/gstreamer-libs-sections.txt:
16467         * libs/gst/base/gstbasetransform.h:
16468         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16469         Fix docs for GstBaseSrc.
16470
16471 2006-03-07  Wim Taymans  <wim@fluendo.com>
16472
16473         * docs/gst/gstreamer-sections.txt:
16474         * gst/gstbuffer.h:
16475         * gst/gstvalue.c:
16476         * libs/gst/base/gstbasetransform.h:
16477         Small documentation fixes.
16478
16479 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16480
16481         * gst/gstvalue.c:
16482           Document thread-unsafety of gst_value_register_foo_func()
16483           when used at the same time as gst_value_foo() (#322628).
16484
16485 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16486
16487         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16488         (gst_push_src_check_get_range):
16489           Push sources don't support pull mode by default.
16490
16491 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16492
16493         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16494         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16495         (gst_base_src_default_check_get_range):
16496         * libs/gst/base/gstbasesrc.h:
16497           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16498           provide default implementation, and rename
16499           gst_base_src_check_get_range() to
16500           gst_base_src_pad_check_get_range() for clarity.
16501
16502 2006-03-06  Wim Taymans  <wim@fluendo.com>
16503
16504         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16505         Make property overridable.
16506
16507 2006-03-06  Wim Taymans  <wim@fluendo.com>
16508
16509         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16510         (gst_base_sink_init), (gst_base_sink_set_property),
16511         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16512         * libs/gst/base/gstbasesink.h:
16513         API addition: Make max-lateness a property.
16514
16515 2006-03-06  Wim Taymans  <wim@fluendo.com>
16516
16517         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16518         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16519         Don't ever draw a frame that is >10ms late.
16520
16521 2006-03-06  Michael Smith  <msmith@fluendo.com>
16522
16523         * gst/gstmessage.c: (_gst_message_copy):
16524           When copying a message, set the parent_refcount of the enclosed
16525           structure to point at the copy, not the original message.
16526
16527 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16528
16529         Patch by: Christophe Fergeau
16530
16531         * gst/gstutils.h:
16532           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16533           usable in c++ code (#333417)
16534
16535 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16536
16537         * gst/gstclock.h:
16538           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16539
16540 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16541
16542         * libs/gst/base/gstbasetransform.c:
16543         (gst_base_transform_transform_caps):
16544           Make sure caps are writable before passing them to
16545           gst_caps_append().
16546
16547 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16548
16549         * gst/gsterror.h:
16550           Fix some minor docs errors.
16551
16552 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16553
16554           Patch by: Ross Burton <ross at burtonini dot com>
16555
16556         * gst/gsterror.c: (_gst_resource_errors_init):
16557         * gst/gsterror.h:
16558           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16559
16560 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16561
16562         * gst/gst.c:
16563         Add a check and output a g_warning when GStreamer is built
16564         against GLib 2.6 but running against 2.8 or higher, and vice 
16565         versa. (Closes: #323542)
16566
16567 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16568
16569         * gst/parse/parse.l:
16570           Commit patch for parse_launch syntax from #331255. Removes 
16571           support for quoted strings and mimetypes when writing filtered 
16572           caps. See the bug report for more details - I'm pretty sure this
16573           obscure feature is not in use by _anyone_ anywhere.
16574
16575           With this simple change, the size of the gstreamer.so here 
16576           drops from 2193KB to 1565KB.
16577
16578 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16579
16580         * plugins/elements/gsttypefindelement.h:
16581         * plugins/elements/gsttypefindelement.c:
16582         (gst_type_find_element_src_event), (start_typefinding),
16583         (stop_typefinding), (gst_type_find_element_handle_event),
16584         (gst_type_find_element_chain),
16585         (gst_type_find_element_chain_do_typefinding):
16586           Use gst_type_find_helper_for_buffer() for chain-based
16587           typefinding.
16588
16589 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16590
16591         * plugins/elements/gsttypefindelement.c:
16592         (gst_type_find_element_class_init),
16593         (gst_type_find_element_set_property),
16594         (gst_type_find_element_get_property):
16595           Deprecate "maximum" property (not only was it only taken into
16596           account for typefinding in push-mode anyway, it also was never
16597           actually possible to set it in the first place because the
16598           property was registered with the numeric property ID for the
16599           "minimum" property). Register "maximum" property correctly,
16600           for the sake of future copy'n'pasters. Remove some cruft
16601           from property get/set functions.
16602
16603 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16604
16605         * plugins/elements/gsttypefindelement.c:
16606         (gst_type_find_element_activate):
16607           Use gst_type_find_helper_get_range() here, so we
16608           can honour the "minimum" property and also emit
16609           the signal with the correct probability of the found caps.
16610
16611 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16612
16613         * docs/libs/gstreamer-libs-sections.txt:
16614         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16615         (helper_find_suggest), (gst_type_find_helper_get_range),
16616         (gst_type_find_helper):
16617         * libs/gst/base/gsttypefindhelper.h:
16618           New API: gst_type_find_helper_get_range() (#333042).
16619
16620 2006-03-02  Michael Smith  <msmith@fluendo.com>
16621
16622         * gst/gstregistryxml.c: (load_feature):
16623           Asserting on a failure to read part of the registry is Not Cool.
16624           Just log a warning and return NULL (which is already handled)
16625
16626 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16627
16628         * win32/common/libgstbase.def:
16629           added export of gst_type_find_helper_for_buffer
16630         * win32/common/libgstbase.def:
16631           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16632           gst_ghost_pad_get_target
16633
16634 2006-02-28  Wim Taymans  <wim@fluendo.com>
16635
16636         * docs/design/draft-klass.txt:
16637         We use Filter now.
16638         Added Connector to mark elements that are only used to
16639         allow pipeline connections.
16640         Moved Debug to extra feature since most of them are 
16641         functionally something else.
16642
16643 2006-02-28  Wim Taymans  <wim@fluendo.com>
16644
16645         * docs/design/draft-klass.txt:
16646         Some updates and clarifications.
16647
16648 2006-02-28  Wim Taymans  <wim@fluendo.com>
16649
16650         * docs/design/draft-klass.txt:
16651         Proposal for klass field values.
16652
16653         * docs/design/part-streams.txt:
16654         Start of a doc describing stream anatomy.
16655
16656 2006-02-28  Wim Taymans  <wim@fluendo.com>
16657
16658         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16659         Help the compiler a bit with type registration.
16660         Use existing forward cod path instead of duplicating it when 
16661         handling a message.
16662         
16663         * gst/gstbus.c: (gst_bus_get_type):
16664         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16665         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16666         * gst/gstclock.c: (gst_clock_get_type):
16667         * gst/gstelement.c: (gst_element_get_type),
16668         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16669         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16670         * gst/gstminiobject.c: (gst_mini_object_get_type):
16671         * gst/gstpad.c: (gst_pad_get_type):
16672         * gst/gstsegment.c: (gst_segment_get_type):
16673         * gst/gststructure.c: (gst_structure_get_type):
16674         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16675         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16676         * gst/gstvalue.c:
16677         Help compiler with type registration.
16678
16679         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16680         Small doc update.
16681
16682 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16683
16684         * plugins/elements/gsttypefindelement.c:
16685         (gst_type_find_element_handle_event):
16686           When we get an EOS event and have not found a type yet
16687           (most likely because we had not yet accumulated
16688           TYPE_FIND_MIN_SIZE of data yet), try to determine the
16689           type given the data we have so far. Fixes typefinding
16690           for very short streams again, most notably quicktime
16691           redirections as used on Apple's trailer site (#331701).
16692
16693 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16694
16695         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16696         (gst_type_find_helper):
16697           Try typefinding factories with the highest rank first.
16698
16699 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16700
16701         * docs/libs/gstreamer-libs-docs.sgml:
16702         * docs/libs/gstreamer-libs-sections.txt:
16703         * libs/gst/base/gsttypefindhelper.c:
16704           Add section for typefind helper and add documentation
16705           for the old and the new function.
16706
16707 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16708
16709         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16710         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16711         (gst_type_find_helper_for_buffer):
16712         * libs/gst/base/gsttypefindhelper.h:
16713           New API: gst_type_find_helper_for_buffer() (#332723).
16714           
16715 2006-02-27  Michael Smith  <msmith@fluendo.com>
16716
16717         Patch by: Loïc Minier
16718
16719         * configure.ac:
16720         * docs/Makefile.am:
16721         * docs/slides/Makefile.am:
16722           prevent CVS directories getting disted.
16723
16724 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16725
16726         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16727           Use the REFCOUNTING category for caps refcounting.
16728           
16729 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16730
16731         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16732           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16733
16734 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16735
16736         * plugins/elements/gsttypefindelement.c:
16737         (gst_type_find_element_activate):
16738           Use gst_pad_check_pull_range() before _activate_pull()
16739           to avoid unnecessary open/close (see #331690).
16740
16741 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16742
16743         * gst/gstutils.c:
16744           Docs enhancement: make it crystal clear what the
16745           gst_pad_add_*_probe() callbacks should look like.
16746
16747 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16748
16749         * libs/gst/base/gstbasesrc.c:
16750           Document how applications can stop recording from
16751           live sources (see #330996).
16752
16753 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16754
16755         * tests/check/Makefile.am:
16756         * tests/check/libs/basesrc.c: (eos_event_counter),
16757         (basesrc_eos_events_pull), (basesrc_eos_events_push),
16758         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16759         (gst_basesrc_suite), (main):
16760           ... and add some tests for the base source EOS stuff.
16761
16762 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16763
16764         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16765           Test case originally showed the problem fixed below,
16766           but was then amended. Add checks back at the place
16767           where they used to be.
16768
16769 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16770
16771         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16772         (gst_base_src_init), (gst_base_src_loop),
16773         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16774         (gst_base_src_change_state):
16775         * libs/gst/base/gstbasesrc.h:
16776           Don't unconditionally send EOS when going from PAUSED to
16777           READY state, esp. make sure we don't send two EOS events
16778           in some cases (e.g. one when reaching EOS and one when
16779           going from PAUSED to READY). Also, we don't want to send
16780           EOS events when operating in pull mode. However, we do
16781           want to send an EOS event when shutting down a live
16782           source explicitly, for example (fixes #330996).
16783           
16784 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16785
16786         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16787           Update src->read_position after a seek when not using mmap.
16788           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16789
16790 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
16791
16792         * gst/Makefile.am:
16793         * gst/gstparse.h:
16794         * gst/gstutils.c:
16795         * gst/gstutils.h:
16796         Make things work with --disable-parse as they do with 
16797         --disable-load-save - the symbols involved disappear, but the
16798         header is still installed and GST_DISABLE_PARSE is included via
16799         gstconfig.h
16800
16801 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16802
16803         * libs/gst/base/gstbasetransform.c:
16804         (gst_base_transform_change_state): Fix a stupid bug. I was 
16805         sure I compiled that.
16806
16807 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16808
16809         * gst/gstpad.c: (gst_pad_set_blocked_async):
16810         * gst/gstutils.c: (gst_pad_add_data_probe),
16811         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16812         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16813         (gst_pad_remove_buffer_probe): Make those function act on the
16814         ghostpad target when it's a ghostpad. (Closes #331727)
16815
16816 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16817
16818         * libs/gst/base/gstbasetransform.c:
16819         (gst_base_transform_change_state): Make basetransform reusable.
16820         (Closes #331898)
16821
16822 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
16823
16824         * docs/random/release:
16825         Move the current documentation of how to do a release to the top
16826         of the file.
16827
16828         * gst/gstbin.c: (gst_bin_class_init),
16829         (gst_bin_handle_message_func):
16830         Allow multiple state-recalculation threads. (Closes #328873)
16831
16832 2006-02-19  Julien MOUTTE  <julien@moutte.net>
16833
16834         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16835         * gst/gstpad.c: (gst_pad_set_event_function),
16836         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16837         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16838         2 strings. You can't use the STR_NULL macro on that.
16839
16840 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
16841
16842         * gst/gstpad.c: (gst_pad_set_event_function),
16843         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16844         (gst_pad_set_getcaps_function)
16845         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16846           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16847           So now, we can use --gst-debug-level=5 on Windows
16848         * win32/common/libgstcontroller.def:
16849           Added export of gst_controller_init
16850         * win32/vs6/libgstcontroller.dsp:
16851           Fixed Release post build configuration
16852
16853 2006-02-17  Wim Taymans  <wim@fluendo.com>
16854
16855         * tests/check/gst/gstquery.c: (GST_START_TEST):
16856         Added another check.
16857
16858 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
16859
16860         * plugins/elements/gsttypefindelement.c: (find_peek):
16861           We can do peeks at non-zero offsets, as long as they
16862           fall within the buffer we have.
16863
16864 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
16865
16866         * tests/check/Makefile.am:
16867         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16868         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16869         (parse_suite), (main):
16870           Add testsuite for parse launch syntax
16871
16872 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
16873
16874         * plugins/elements/gsttypefindelement.c:
16875         (gst_type_find_element_chain):
16876           When typefinding is unsuccessful in the chain function, don't
16877           error out immediately. Only error out with NO_CAPS_FOUND if
16878           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16879           otherwise simply wait for more data so we can try typefinding
16880           again with more data later. Also, don't attempt to typefind
16881           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16882           this should improve typefinding from network sources where the
16883           size of the first buffer can be somewhat random.
16884
16885 2006-02-14  Wim Taymans  <wim@fluendo.com>
16886
16887         * docs/gst/gstreamer-sections.txt:
16888         * gst/gstpadtemplate.c:
16889         * gst/gstpadtemplate.h:
16890         Fix padtemplate docs, fixes #328805.
16891
16892 2006-02-14  Wim Taymans  <wim@fluendo.com>
16893
16894         * tools/gst-launch.c: (main):
16895         NO_PREROLL is not an ERROR so don't send confusing messages
16896         to the user.
16897
16898 2006-02-14  Wim Taymans  <wim@fluendo.com>
16899
16900         Patch by: Torsten Schoenfeld
16901
16902         * gst/gstregistry.c: (gst_registry_get_default),
16903         (_gst_registry_cleanup):
16904         Protect default registry with lock and ref/sink it.
16905         Fixes #324818
16906
16907 2006-02-14  Wim Taymans  <wim@fluendo.com>
16908
16909         * gst/gstbuffer.c:
16910         * gst/gstquery.c: (gst_query_list_add_format),
16911         (gst_query_set_formatsv), (gst_query_parse_formats_length),
16912         (gst_query_parse_formats_nth):
16913         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16914         Docs fixes.
16915
16916 2006-02-14  Wim Taymans  <wim@fluendo.com>
16917
16918         * docs/gst/gstreamer-sections.txt:
16919         Reworked query docs.
16920
16921         * gst/gstquery.c: (gst_query_new_formats),
16922         (gst_query_list_add_format), (gst_query_set_formats),
16923         (gst_query_set_formatsv), (gst_query_parse_formats_length),
16924         (gst_query_parse_formats_nth):
16925         * gst/gstquery.h:
16926         Flesh out formats query, added some new methods.
16927         Fix part of #324398.
16928
16929         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16930         Added query creation tests.
16931
16932 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
16933
16934         * gst/gstpad.c: (fixate_value):
16935         Add a default fixation for fraction lists.
16936
16937 2006-02-13  Wim Taymans  <wim@fluendo.com>
16938
16939         * gst/gsttask.c: (gst_task_init), (gst_task_func),
16940         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
16941         (gst_task_join):
16942         * gst/gsttask.h:
16943         Detect and warn for obvious deadlocks. fixes #320340
16944         Fix error case where lock was not released.
16945
16946         * tests/check/Makefile.am:
16947         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
16948         (task_func), (gst_element_suite), (main):
16949         Add task check.
16950
16951 2006-02-13  Wim Taymans  <wim@fluendo.com>
16952
16953         * docs/gst/gstreamer-sections.txt:
16954         * gst/gstbus.c:
16955         Add new functions to docs.
16956
16957 2006-02-13  Wim Taymans  <wim@fluendo.com>
16958
16959         * docs/design/part-TODO.txt:
16960         Updated TODO list, basesrc supports seeking to non-bytes
16961         formats.
16962
16963         * docs/design/part-element-sink.txt:
16964         Update docs.
16965
16966         * gst/gstbin.c: (bin_replace_message),
16967         (gst_bin_handle_message_func):
16968         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
16969         * gst/gstevent.c: (gst_event_finalize):
16970         * gst/gstpad.c: (gst_pad_event_default_dispatch),
16971         (gst_pad_send_event):
16972         Use shiny new _TYPE_NAME macros.
16973
16974         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16975         Move debug statement up.
16976
16977         * gst/gstelement.c: (gst_element_set_locked_state):
16978         Add some debugging.
16979
16980 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
16981
16982         * docs/gst/gstreamer-sections.txt:
16983         * gst/gstmessage.h:
16984         * gst/gstquery.h:
16985           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
16986           macros (#330906). Also, document the already existing
16987           GST_QUERY_TYPE macro.
16988
16989 2006-02-13  Wim Taymans  <wim@fluendo.com>
16990
16991         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
16992         (event_probe), (GST_START_TEST):
16993         Only events up to the pipeline EOS are counted, there are
16994         some more when going to NULL currently which we don't care
16995         about for now.
16996
16997 2006-02-13  Wim Taymans  <wim@fluendo.com>
16998
16999         * gst/gstpad.c: (gst_pad_send_event):
17000         Correctly check flushing and emit probes. fixes #330125
17001
17002 2006-02-10  Andy Wingo  <wingo@pobox.com>
17003
17004         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17005         structure.
17006         (gst_bus_init): Cache the location of the private data in the
17007         instance structure.
17008         (gst_bus_enable_sync_message_emission) 
17009         (gst_bus_disable_sync_message_emission): Implement new public
17010         functions.
17011         (gst_bus_post): Emit the sync-message signal if the user asked for
17012         it. Fixes #330684.
17013
17014         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17015         location of the bus-private structure.
17016         (gst_bus_enable_sync_message_emission)
17017         (gst_bus_disable_sync_message_emission): API addition
17018
17019 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17020
17021         Patch by: Vincent Torri
17022
17023         * docs/pwg/building-boiler.xml:
17024         PWG patch from #326800
17025
17026 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17027
17028         * configure.ac:
17029         * docs/Makefile.am:
17030         * docs/design/Makefile.am:
17031           Dist design docs.
17032
17033 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17034
17035         * configure.ac:
17036           back to CVS
17037
17038 === release 0.10.3 ===
17039
17040 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17041
17042         * configure.ac:
17043           releasing 0.10.3, "Like a virgin"
17044
17045 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17046
17047         * configure.ac:
17048           2nd prerelease of 0.10.3
17049           Bump libtool versioning.
17050
17051 2006-02-07  Andy Wingo  <wingo@pobox.com>
17052
17053         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17054         update last_stop if we're in TIME format and the timestamp is
17055         valid.
17056
17057         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17058         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17059         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17060         If we get a new newsegment with a different format, adapt
17061         accordingly.
17062
17063         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17064         of 0. Not a problem, really.
17065
17066         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17067         warn if sync=true.
17068
17069 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17070
17071         * configure.ac:
17072           Prelease of 0.10.3
17073
17074 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17075
17076         * win32/vs7:
17077           project files updated to the default vs7 configuration
17078         * win32/common/libgstbase.def:
17079         * win32/common/libgstreamer.def:
17080           added new symbols,
17081           removed empty lines,
17082           sorted all exported symbols alphabetically
17083         * win32/common/dirent.c:
17084         * win32/common/dirent.h:
17085         * win32/common/gchar.h:
17086           use windows line end.
17087           
17088 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17089
17090         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17091           Send EOS event when stopping.
17092
17093 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17094
17095         * docs/README:
17096           Tell folks what to do if the plugin-foobar.xml file
17097           hasn't been generated for a newly-added plugin.
17098
17099 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17100
17101         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17102         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17103         (gst_collect_pads_start), (gst_collect_pads_stop),
17104         (gst_collect_pads_event): Collectpads now holds a reference
17105         to the GstPad that was added. Indeed we don't want to look
17106         at pads that might just go away with no warning...
17107
17108 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17109
17110         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17111         (gst_collect_pads_start), (gst_collect_pads_stop),
17112         (gst_collect_pads_event), (gst_collect_pads_chain):
17113         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17114         Mark Nauwelaerts's patch on bug #328491.
17115
17116 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17117
17118         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17119         (gst_utils_suite):
17120           Add some simple tests for gst_parse_bin_from_description() and
17121           gst_bin_find_unconnected_pad() (#329069).
17122
17123 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17124
17125         * tools/gst-launch.c: (event_loop), (main):
17126           Catch errors during preroll (#320084).
17127
17128 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17129
17130         * plugins/elements/gsttypefindelement.c:
17131         (gst_type_find_element_activate):
17132           Post TYPE_NOT_FOUND error message when typefinding
17133           is unsuccessful in the activate function as well.
17134
17135 2006-02-02  Wim Taymans  <wim@fluendo.com>
17136
17137         * docs/design/part-element-sink.txt:
17138         Updated doc.
17139
17140 2006-02-02  Wim Taymans  <wim@fluendo.com>
17141
17142         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17143         (gst_base_sink_render_object),
17144         (gst_base_sink_queue_object_unlocked):
17145         Only keep track of prerollable items when we are 
17146         prerolling.
17147         Before rendering after preroll, always check if we
17148         have queued items.
17149         Added some more debugging.
17150
17151 2006-02-02  Wim Taymans  <wim@fluendo.com>
17152
17153         * gst/gstelement.c: (gst_element_continue_state),
17154         (gst_element_set_state_func), (gst_element_change_state):
17155         Fixed #326576, been running this for quite some time with
17156         no regressions at all.
17157
17158 2006-02-02  Wim Taymans  <wim@fluendo.com>
17159
17160         * common/gst.supp:
17161         Added more suppressions
17162
17163 2006-02-02  Wim Taymans  <wim@fluendo.com>
17164
17165         * docs/design/part-element-sink.txt:
17166         Updated document.
17167
17168         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17169         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17170         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17171         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17172         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17173         (gst_base_sink_preroll_object),
17174         (gst_base_sink_queue_object_unlocked),
17175         (gst_base_sink_queue_object), (gst_base_sink_event),
17176         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17177         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17178         (gst_base_sink_get_position), (gst_base_sink_change_state):
17179         * libs/gst/base/gstbasesink.h:
17180         Totally refactored matching the design doc.
17181         Use two segments, one to clip incomming buffers and another to
17182         perform sync.
17183         Handle queueing correctly, bypass the queue when playing.
17184         Make EOS cancelable.
17185         Handle errors correctly when operating in pull based mode.
17186
17187         * tests/check/elements/fakesink.c: (GST_START_TEST),
17188         (fakesink_suite):
17189         Added new check for sinks.
17190
17191 2006-02-02  Wim Taymans  <wim@fluendo.com>
17192
17193         * gst/gstsegment.c: (gst_segment_clip):
17194         No reason to refuse to clip when start == -1
17195
17196 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17197
17198         * docs/README:
17199         * docs/manual/intro-basics.xml:
17200         * docs/manual/intro-preface.xml:
17201         * docs/manual/manual.xml:
17202         * docs/pwg/advanced-dparams.xml:
17203         * docs/pwg/intro-basics.xml:
17204         * docs/pwg/intro-preface.xml:
17205         * docs/pwg/pwg.xml:
17206           describe dparams (controller) for plugins
17207           unify docs a little more
17208
17209 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17210
17211         * docs/gst/gstreamer-sections.txt:
17212         * gst/gstutils.c: (element_find_unconnected_pad),
17213         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17214         * gst/gstutils.h:
17215           Add new API: gst_parse_bin_from_description() and
17216           gst_bin_find_unconnected_pad() (#329069).
17217
17218 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17219
17220         * docs/manual/README:
17221           uncover a nasty detail of the docs build
17222
17223 2006-01-31  Wim Taymans  <wim@fluendo.com>
17224
17225         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17226         Don't cache duration messages if we're not going to use or
17227         free them.
17228
17229 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17230
17231         * docs/manual/advanced-dparams.xml:
17232         * docs/pwg/advanced-dparams.xml:
17233           more dparam docs
17234         * gst/gstindex.c:
17235           fix docs
17236         * libs/gst/controller/lib.c: (gst_controller_init):
17237           init just once
17238
17239 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17240
17241         * gst/gstelement.c: (gst_element_message_full):
17242           also show file/line/func if no additional debug was given
17243
17244 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17245         
17246         * win32/vs7/grammar.vcproj:
17247           activate copy of autogenerated files for Release mode
17248
17249 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17250         
17251         * win32/common/libgstreamer.def:
17252           export gst_value_compare
17253
17254 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17255
17256         * plugins/elements/Makefile.am:
17257         * plugins/elements/gstelements.c:
17258         * plugins/elements/gstfdsink.c: (_do_init),
17259         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17260         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17261         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17262         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17263         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17264         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17265         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17266         * plugins/elements/gstfdsink.h:
17267         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17268
17269 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17270
17271         * docs/manual/advanced-dparams.xml:
17272           describe controller
17273         * docs/manual/advanced-position.xml:
17274         * docs/manual/basics-init.xml:
17275         * docs/manual/manual.xml:
17276         * docs/manual/titlepage.xml:
17277         * docs/pwg/pwg.xml:
17278         * docs/pwg/titlepage.xml:
17279           cleanup xml (more to come)
17280         * libs/gst/controller/gstcontroller.c:
17281           fix typo
17282
17283 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17284         
17285         * win32/vs6/grammar.dsp:
17286           add autogen of gstmarshal.c,h for Release mode
17287                 
17288 2006-01-30  Wim Taymans  <wim@fluendo.com>
17289
17290         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17291         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17292         (gst_base_sink_handle_object), (gst_base_sink_event),
17293         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17294         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17295         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17296         (gst_base_sink_deactivate), (gst_base_sink_activate),
17297         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17298         (gst_base_sink_query), (gst_base_sink_change_state):
17299         Basesink cleanups, remove some old code.
17300         Handle the case where a subclass can preroll in the render
17301         method (mostly audiosinks).
17302         Handle more events.
17303         Remove some locks around variables that are now protected
17304         with the PREROLL_LOCK (clock_id, flushing, ..).
17305         Optimize position query some more, do correct locking.
17306         Remove old code to push queue in state change, this is not
17307         needed anymore since preroll blocks on all prerollable items 
17308         now.
17309         Almost implemented as described in design doc.
17310
17311 2006-01-30  Wim Taymans  <wim@fluendo.com>
17312
17313         * tests/check/gst/gstbin.c: (GST_START_TEST):
17314         Wait for refcount to settle down before checking.
17315
17316 2006-01-30  Wim Taymans  <wim@fluendo.com>
17317
17318         * docs/design/part-element-sink.txt:
17319         Pseudo code overview of desired sink behaviour regarding
17320         preroll.
17321
17322 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17323         * win32/vs6/grammar.dsp:
17324           fix some bugs in Release mode for autogenerated files
17325                 
17326 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17327         * win32/common/libgstbase.def:
17328         * win32/common/libgstreamer.def:
17329           export some new symbols: gst_base_src_set_format,
17330           gst_iterator_next, gst_structure_set_valist
17331
17332 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17333
17334         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17335         Set pad functions unconditionally. Fixes #329105.
17336
17337 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17338         * win32/vs8:
17339           add vs8 project files created by Sergey Scobich
17340
17341 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17342
17343         * gst/gstutils.c: (gst_element_unlink_pads):
17344         Don't leak pad references.
17345
17346         * tests/check/elements/fakesink.c: (GST_START_TEST):
17347         * tests/check/generic/sinks.c: (GST_START_TEST):
17348         * tests/check/generic/states.c: (GST_START_TEST):
17349         * tests/check/gst/gstbin.c: (GST_START_TEST):
17350         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17351         * tests/check/gst/gstelement.c: (GST_START_TEST):
17352         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17353         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17354         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17355         Fix a bunch of leaks. Make generic/sinks.c
17356         use a bit less cpu by slowing the buffer rate
17357         between fakesrc and fakesink.
17358         
17359 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17360         * gst/gstcaps.c:
17361         * gst/gstelement.c: (gst_element_send_event):
17362         * gst/gstevent.c:
17363         * gst/gstinfo.c:
17364         * gst/gstiterator.c:
17365         * gst/gstiterator.h:
17366         * gst/gstpad.c: (gst_pad_send_event):
17367         * gst/gststructure.c:
17368         * gst/gsturi.c:
17369         * gst/gstutils.c:
17370         * gst/gstvalue.c:
17371         * libs/gst/base/gstadapter.c:
17372           doc fixes, to link to function, just write gst_cool_function(), don't
17373           prefix with '#'
17374
17375 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17376
17377         * plugins/elements/gsttee.c: (gst_tee_do_push),
17378         (gst_tee_handle_buffer):
17379         Always prefer an actual return value from a src
17380         pad in place of NOT_LINKED. This means we return
17381         WRONG_STATE when all src pads are WRONG_STATE
17382         instead of NOT_LINKED.
17383
17384         Lock when replacing the last message to prevent
17385         racing with the get_property method.
17386
17387         Add debug output
17388
17389 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17390
17391         * tests/check/Makefile.am:
17392         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17393         (main):
17394         Add a very simple check that should have caught the memleak I fixed
17395         last night (if not for the slice allocator hiding it)
17396
17397 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17398
17399         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17400         (gst_bin_remove_func), (gst_bin_handle_message_func),
17401         (bin_query_duration_fold), (bin_query_generic_fold):
17402         Clean up references to the clock provider when disposed or when
17403         handling a clock-lost message from it.
17404
17405         Unref sinks when performing a query via gst_iterator_fold, as the
17406         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17407
17408         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17409         (gst_clock_set_master):
17410         Drop our reference to the master clock, if any, when we are disposed.
17411
17412         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17413         Chain up in dispose. 
17414
17415 2006-01-26  Wim Taymans  <wim@fluendo.com>
17416
17417         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17418         Add some debugging.
17419
17420 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17421
17422         * plugins/elements/gsttee.c: (gst_tee_do_push),
17423         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17424         handles pad being NOT_LINKED or in WRONG_STATE.
17425
17426 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17427
17428         * win32/MANIFEST:
17429           more updating
17430
17431 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17432
17433         * win32/MANIFEST:
17434           remove obsolete entry
17435
17436 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17437
17438         * docs/gst/gstreamer-sections.txt:
17439         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17440         (gst_bin_iterate_sources), (gst_bin_send_event):
17441         * gst/gstbin.h:
17442         * gst/gstelement.c: (gst_element_send_event):
17443         * gst/gstevent.c:
17444         * gst/gstpad.c: (gst_pad_send_event):
17445           added code for downstream events, reviewed docs in gstevent.c
17446
17447 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17448
17449         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17450         We only query position using the clock in the playing state.
17451         Query peer in the other cases.
17452         * win32/common/config.h: Updates.
17453
17454 2006-01-24  Wim Taymans  <wim@fluendo.com>
17455
17456         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17457         A clock entry that is scheduled for the exact time of the
17458         clock is still in time.
17459
17460         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17461         (gst_base_sink_do_sync):
17462         Add some more debug info.
17463
17464 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17465
17466         * win32/vs7:
17467           Add new vs7 project files and solution.
17468
17469 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17470
17471         * win32/vs7:
17472           all files removed as they were out-dated.
17473
17474 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17475
17476         * docs/random/release:
17477           update notes
17478         * gst/gstbin.c: (gst_bin_init):
17479         * gst/gstbus.c: (gst_bus_new):
17480         * gst/gstbus.h:
17481         * gst/gstpipeline.c: (gst_pipeline_init):
17482           use gst_bus_new(), improve logging, fix docs
17483         * win32/common/config.h:
17484           update for cvs build
17485
17486 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17487
17488         * autogen.sh:
17489           up required version of automake to 1.7
17490
17491 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17492
17493         * win32/common/libgstreamer.def:
17494           export gst_buffer_is_metadata_writable
17495
17496 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17497
17498         * docs/gst/gstreamer-sections.txt:
17499         * gst/gstevent.h:
17500           Add gst_event_replace() (#327001)
17501
17502 2006-01-20  Wim Taymans  <wim@fluendo.com>
17503
17504         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17505         Make it actually compile too..
17506
17507 2006-01-20  Wim Taymans  <wim@fluendo.com>
17508
17509         * gst/gstcaps.c:
17510         Clarify behaviour of _is_equal() when passing NULL parameters.
17511
17512         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17513         (gst_pad_set_caps):
17514         Cleanups. Don't unref NULL caps.
17515         When setting the same caps, protect caps of the pad with
17516         proper lock.
17517         Use full functionality of _is_equal() when comparing caps.
17518
17519 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17520
17521         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17522         Don't loop infinitely if there are no buffers to present. Partially
17523         fixes #327197, but collectpads is just broken for reusing elements
17524         to do multiple encodes atm.
17525
17526 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17527
17528         * tools/gst-inspect.c: (print_element_features):
17529         * tools/gst-xmlinspect.c: (main):
17530         URL_HANDLER is not a plugin feature we can search for in
17531         the registry.
17532
17533 2006-01-19  Edward Hervey  <edward@fluendo.com>
17534
17535         * gst/gstelement.c: (gst_element_pads_activate): 
17536         When activating, do src pads first, then sink pads.
17537         When de-activating, do sink pads first, then src pads.
17538
17539 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17540
17541         * docs/gst/gstreamer-sections.txt:
17542         Add gst_index_add_associationv to the docs
17543
17544 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17545
17546         * gst/gstevent.c:
17547           Fix docs typo
17548
17549         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17550         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17551           Do some refactoring. Doesn't actually change functionality,
17552           but makes landing the DRAIN event easier later.
17553
17554 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17555
17556         * docs/pwg/advanced-scheduling.xml:
17557           Update from 0.9.x to 0.10 API and make example a bit
17558           clearer.
17559
17560 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17561
17562         * docs/gst/gstreamer-sections.txt:
17563         Add gst_buffer_(is|make)_metadata_writable methods.
17564
17565 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17566
17567         * docs/design/part-sparsestreams.txt:
17568         Update sparse streams doc, hopefully for greater clarity
17569
17570 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17571
17572         * docs/design/part-events.txt:
17573         Remove mention of FILLER events.
17574         Add DRAIN event.
17575
17576         * docs/design/part-sparsestreams.txt:
17577         Write some things about using NEWSEGMENT to keep sparse streams
17578         flowing.
17579
17580 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17581
17582         * gst/gstbin.c: (gst_bin_dispose):
17583           Guard gst_object_unref call against a NULL object (dispose
17584           can theoretically be called multiple times).
17585           
17586 2006-01-18  Wim Taymans  <wim@fluendo.com>
17587
17588         * gst/gstbin.c: (gst_bin_element_set_state):
17589         * gst/gstclock.c: (gst_clock_id_wait):
17590         Added some more debug info.
17591
17592         * libs/gst/base/gstadapter.c:
17593         Added more docs.
17594
17595         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17596         (gst_base_sink_do_sync), (gst_base_sink_chain):
17597         Added some comments.
17598
17599 2006-01-18  Wim Taymans  <wim@fluendo.com>
17600
17601         * tests/check/Makefile.am:
17602         * tests/check/elements/fakesink.c: (chain_async_buffer),
17603         (chain_async), (chain_async_return), (GST_START_TEST),
17604         (fakesink_suite), (main):
17605         Added fakesink test that checks prerolling and clipping
17606         behaviour.
17607
17608         * tests/check/gst/gstutils.c: (GST_START_TEST):
17609         Make check run faster so that buildbots don't timeout.
17610
17611 2006-01-18  Wim Taymans  <wim@fluendo.com>
17612
17613         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17614         (gst_base_sink_do_sync):
17615         Some cleanups.
17616         When the sink finishes blocking on the preroll buffer, it can
17617         immediatly render it instead of rendering when the next buffer
17618         arrives.
17619
17620 2006-01-18  Wim Taymans  <wim@fluendo.com>
17621
17622         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17623         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17624         (gst_base_sink_chain):
17625         Small cleanups.
17626         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17627         Don't store _last_stop if the buffer is dropped.
17628
17629 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17630
17631         * plugins/elements/gsttypefindelement.c:
17632         (gst_type_find_element_class_init):
17633           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17634           object method handler that sets the caps on the pad and we want
17635           that to happen before we emit the signal (fixes e.g. feeding a
17636           plain text file to decodebin).
17637
17638 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17639
17640         * gst/gstplugin.c: Add MPL and Proprietary as license options
17641
17642 2006-01-18  Andy Wingo  <wingo@pobox.com>
17643
17644         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17645         symbol was exported before, it appears this was just an oversight.
17646         Fixes #168703.
17647         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17648
17649         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17650         prototype to gint. OK since this prototype was not in the header.
17651
17652 2006-01-17  Andy Wingo  <wingo@pobox.com>
17653
17654         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17655         registry while we remove plugins.
17656
17657         * tools/gst-inspect.c (print_element_info): Don't unref the
17658         factory arg, that should be the responsibility of whatever code
17659         received the ref. Fixes a double-free when called from
17660         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17661         (main): Unref the factory if we have one.
17662         (print_element_list): No change -- relies on the
17663         plugin_feature_list_free to free the list of features.
17664
17665 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17666
17667         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17668         (gst_buffer_make_metadata_writable):
17669         * gst/gstbuffer.h:
17670         * libs/gst/base/gstbasetransform.c:
17671         (gst_base_transform_prepare_output_buf):
17672         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17673         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17674           Replace gst_buffer_(make|is)_metadata_writable patch now
17675           that the release is out.
17676
17677 2006-01-17  Andy Wingo  <wingo@pobox.com>
17678
17679         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17680         in the present tense without reference to versions.
17681
17682         * gst/gstregistry.c (gst_registry_add_plugin)
17683         (gst_registry_remove_plugin, gst_registry_remove_feature)
17684         (gst_registry_find_feature, gst_registry_get_feature_list)
17685         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17686         (gst_registry_lookup, gst_registry_scan_path)
17687         (_gst_registry_remove_cache_plugins)
17688         (gst_registry_get_feature_list_by_plugin): Add argument
17689         validation.
17690
17691 === release 0.10.2 ===
17692
17693 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
17694
17695         * configure.ac:
17696           releasing 0.10.2, "If man is five"
17697
17698 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17699
17700         * gst/gstbuffer.c:
17701         * gst/gstbuffer.h:
17702         * libs/gst/base/gstbasetransform.c:
17703         (gst_base_transform_prepare_output_buf):
17704         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17705         * tests/check/gst/gstbuffer.c: (gst_test_suite):
17706           Back out patch until after the release.
17707
17708 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17709
17710         * gst/gstminiobject.c:
17711           Spelling fix in docs.
17712         * ChangeLog - remove conflict indicator
17713
17714 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17715
17716         Reviewed By: Andy Wingo
17717
17718         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17719         (gst_buffer_make_metadata_writable):
17720         * gst/gstbuffer.h:
17721           Add gst_buffer_(is|make)_metadata_writable as analogues of
17722           gst_buffer_(is|make)_writable.
17723
17724         * libs/gst/base/gstbasetransform.c:
17725         (gst_base_transform_prepare_output_buf):
17726         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17727           Use name gst_buffer_(is|make)_metadata_writable functions.
17728
17729         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17730           Test gst_buffer_(is|make)_metadata_writable
17731         
17732           (Closes: #324162)
17733
17734 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17735
17736         * docs/manual/Makefile.am:
17737           don't do parallel make
17738         * configure.ac:
17739           AC_SUBST HOST_CPU
17740         * win32/common/config.h.in:
17741           add generations for HOST_CPU and GST_MAJORMINOR
17742         * win32/common/config.h:
17743           commit generated result
17744
17745 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
17746
17747         * docs/manual/appendix-integration.xml:
17748           Update GNOME integration section to use gst_init_get_option_group()
17749           instead of the old popt stuff (#322911). Also, GNOME applications
17750           should  now use gconf*sink and gconf*src instead of the old gconf
17751           helper lib we had.
17752
17753 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
17754
17755
17756         * docs/gst/gstreamer-docs.sgml:
17757         * docs/gst/gstreamer-sections.txt:
17758         * docs/libs/gstreamer-libs-sections.txt:
17759           add new API entries to the docs
17760         * libs/gst/controller/Makefile.am:
17761         * libs/gst/controller/gstcontroller.c:
17762         * libs/gst/controller/gstcontroller.h:
17763         * libs/gst/controller/gstcontrollerprivate.h:
17764         * libs/gst/controller/gsthelper.c:
17765         * libs/gst/controller/gstinterpolation.c:
17766           move private structs to private header
17767         * po/README:
17768           gstreamer-0.7 -> gstreamer-0.10
17769         * tests/check/libs/struct_i386.h:
17770           remove private structs
17771
17772 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17773
17774         * plugins/indexers/Makefile.am:
17775           Fixes as part of #317048
17776
17777 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17778
17779         * plugins/indexers/Makefile.am:
17780           fix #316086 - compilation when mmap is missing
17781
17782 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
17783
17784         * libs/gst/base/gstbasesink.c:
17785           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
17786           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17787         * win32/common/config.h:
17788           added some defines GST_MAJORMINOR and HOST_CPU
17789         * win32/common/libgstbase.def:
17790         * win32/common/libgstreamer.def:
17791           added some exported functions.
17792
17793 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17794
17795         * libs/gst/controller/gstcontroller.c:
17796         (gst_controlled_property_set_interpolation_mode),
17797         (gst_controlled_property_new):
17798         * libs/gst/controller/gstcontroller.h:
17799         * libs/gst/controller/gstinterpolation.c:
17800         (interpolate_none_get_string_value_array):
17801           make G_TYPE_STRING controlable
17802
17803 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17804
17805         * tools/README:
17806         * tools/gst-feedback.1.in:
17807         * tools/gst-inspect.1.in:
17808         * tools/gst-launch.1.in:
17809         * tools/gst-md5sum.1.in:
17810         * tools/gst-typefind.1.in:
17811         * tools/gst-xmlinspect.1.in:
17812         * tools/gst-xmllaunch.1.in:
17813           cleanup man-pages, remove reference to gst-register, document env-vars
17814
17815 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
17816
17817         * gst/gstbuffer.c: (gst_buffer_span):
17818           gst_buffer_span should copy the timestamp of the first buffer
17819           if they were both originally overlapping subbuffers of the 
17820           same parent, using the same logic as the 'slow copy' case.
17821
17822 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
17823
17824         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17825           Need to awaken ALL the pads when we pop a buffer, otherwise
17826           collectpads only works when there is 2 input streams.
17827
17828 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
17829
17830         * docs/random/ensonic/media-device-daemon.txt:
17831           more ideas (dbus)
17832         * gst/gstbuffer.c:
17833           fix doc example, add clarification
17834         * tools/gst-launch.1.in:
17835           add initial info about GST_PLUGIN_PATH, needs more work
17836
17837 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
17838
17839         * docs/manual/basics-bins.xml:
17840         * docs/manual/basics-elements.xml:
17841         * docs/manual/intro-basics.xml:
17842           Some more minor docs additions and updates.
17843
17844 2006-01-11  Wim Taymans  <wim@fluendo.com>
17845
17846         * docs/manual/basics-bins.xml:
17847         * docs/manual/basics-elements.xml:
17848         Some small fixes as pointed out by Ser-ver on IRC.
17849
17850 2006-01-10  Edward Hervey  <edward@fluendo.com>
17851
17852         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17853         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17854         the single-segment mode.
17855
17856 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
17857
17858         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17859
17860         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17861         (gst_base_src_perform_seek), (gst_base_src_send_event),
17862         (gst_base_src_set_property), (gst_base_src_get_property),
17863         (gst_base_src_loop), (gst_base_src_start),
17864         (gst_base_src_activate_push):
17865         * libs/gst/base/gstbasesrc.h:
17866           Name (private) union; makes Sun's Forte compiler happy (#324900).
17867
17868 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
17869
17870         * README:
17871           gst-register is gone.
17872
17873 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17874
17875         * gst/gstvalue.c: (_gst_value_initialize):
17876           make the G_TYPE_DATE instantiation work if debug is disabled
17877
17878 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
17879
17880         * gst/gstmessage.c: (gst_message_parse_tag),
17881         (gst_message_parse_error), (gst_message_parse_warning):
17882           Don't crash when return location for error/warning debug
17883           string is NULL; add fact that return locations can be
17884           NULL to docs where appropriate.
17885
17886 2006-01-05  Wim Taymans  <wim@fluendo.com>
17887
17888         * gst/gstplugin.c: (gst_plugin_load_file):
17889         Replace strdup by g_strdup.
17890
17891 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17892
17893         * docs/pwg/advanced-types.xml:
17894           fix doc borkage
17895
17896 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17897
17898         submitted by: Abel Cheung
17899
17900         * po/LINGUAS:
17901         * po/zh_TW.po:
17902           Added Chinese (traditional) translation
17903
17904 2006-01-04  Wim Taymans  <wim@fluendo.com>
17905
17906         * docs/manual/basics-pads.xml:
17907         * docs/plugins/Makefile.am:
17908         * docs/plugins/gstreamer-plugins-docs.sgml:
17909         * docs/plugins/gstreamer-plugins-sections.txt:
17910         * docs/pwg/advanced-clock.xml:
17911         * docs/pwg/advanced-scheduling.xml:
17912         * docs/pwg/advanced-types.xml:
17913         * plugins/elements/gstfdsink.c:
17914         * plugins/elements/gstfdsrc.c:
17915         * plugins/elements/gstfdsrc.h:
17916         * plugins/elements/gstidentity.c: (gst_identity_class_init):
17917         * plugins/elements/gstidentity.h:
17918         * plugins/elements/gstqueue.h:
17919         * plugins/elements/gsttee.c:
17920         * plugins/elements/gsttee.h:
17921         * plugins/elements/gsttypefindelement.c:
17922         (gst_type_find_element_class_init):
17923         * plugins/elements/gsttypefindelement.h:
17924         Small updates to various docs.
17925         Added core plugins to docs.
17926
17927 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17928
17929         * common/gst.supp:
17930           add a suppression for liboil's uninitialized variable
17931
17932 2006-01-02  James Livingston  <jrl at ids dot org dot au>
17933
17934         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17935
17936         * gst/gstutils.h:
17937           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
17938           macro, so that gcc doesn't complain if the -Wmissing-prototypes
17939           compiler switch is being used (#325429).
17940
17941 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
17942
17943         * gst/gstbin.c: (gst_bin_query):
17944           Disable duration query caching in bins until it gets
17945           fixed (see #324807).
17946
17947 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
17948
17949         * tools/gst-inspect.c: (print_element_properties_info):
17950           Handle properties of POINTER and BOXED type.
17951
17952 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
17953
17954         * gst/gst.c: (init_post):
17955           Init tags stuff and some other things before loading
17956           any static plugins (there may be other static plugins
17957           than just the GStreamer ones, and they may want to
17958           register their own tags or formats or whatever, and
17959           preferably without segfaulting).
17960
17961         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
17962           Print at least a warning in the debug logs if we drop a
17963           query just because we don't know how to adjust the value
17964           in the particular format.
17965
17966 2005-12-24  David Schleef  <ds@schleef.org>
17967
17968         * tools/gstreamer-completion:
17969           Replacement for gst-complete written in sh and sed.  Only
17970           completes names of features, but that's 90% of what I want
17971           it for.  Properties are not available in registry.xml.  (Maybe
17972           they should be...)
17973
17974 === release 0.10.1 ===
17975
17976 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
17977
17978         * configure.ac:
17979           releasing 0.10.1, "Nollaig chridheil"
17980
17981 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
17982
17983         * docs/faq/cvs.xml:
17984           Add missing quote, should be make ERROR_CFLAGS="".
17985
17986 2005-12-20  Wim Taymans  <wim@fluendo.com>
17987
17988         * docs/design/part-trickmodes.txt:
17989         More documentation on trickmodes.
17990
17991 2005-12-20  Edward Hervey  <edward@fluendo.com>
17992
17993         * gst/gstcaps.c: (gst_static_caps_get_type):
17994         * gst/gstcaps.h:
17995           API addition: GST_TYPE_STATIC_CAPS
17996         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
17997         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
17998         * gst/gstpadtemplate.h:
17999           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18000         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18001         bindings.
18002
18003 2005-12-18  Wim Taymans  <wim@fluendo.com>
18004
18005         * libs/gst/base/gstadapter.c:
18006         * libs/gst/base/gstadapter.h:
18007         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18008         (gst_base_sink_get_position):
18009         * libs/gst/base/gstbasesink.h:
18010         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18011         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18012         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18013         (gst_base_src_send_event), (gst_base_src_update_length),
18014         (gst_base_src_get_range), (gst_base_src_loop),
18015         (gst_base_src_start):
18016         * libs/gst/base/gstbasesrc.h:
18017         * libs/gst/base/gstbasetransform.h:
18018         * libs/gst/base/gstcollectpads.h:
18019         * libs/gst/base/gstpushsrc.c:
18020         * libs/gst/base/gstpushsrc.h:
18021         * libs/gst/dataprotocol/dataprotocol.c:
18022         * libs/gst/dataprotocol/dataprotocol.h:
18023         * libs/gst/net/gstnetclientclock.h:
18024         * libs/gst/net/gstnettimeprovider.h:
18025         Documentation updates.
18026
18027 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18028
18029         * docs/manual/basics-helloworld.xml:
18030           Remove superfluous closing bracket in helloworld example.
18031
18032 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18033
18034         * tools/gst-launch.1.in:
18035           Update gst-launch man page; add a section with useful
18036           environment variables. Fixes #323882.
18037
18038 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18039
18040         * gst/gst.c:
18041         * gst/gst_private.h:
18042           change some char* into char[]
18043
18044 2005-12-16  Wim Taymans  <wim@fluendo.com>
18045
18046         * gst/gstregistryxml.c: (load_feature):
18047         Cleanups.
18048         Don't use g_object_unref on GstObjects so that we avoid
18049         leaks on unsafe glibs.
18050
18051 2005-12-16  Wim Taymans  <wim@fluendo.com>
18052
18053         * gst/gstbin.c: (gst_bin_recalc_state):
18054         Small doc updates.
18055
18056 2005-12-16  Wim Taymans  <wim@fluendo.com>
18057
18058         * common/check.mak:
18059         Added make forever target for check.
18060
18061 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18062
18063         * gst/gst.c: (init_post):
18064           make the registry cache file HOST_CPU-dependent
18065
18066 2005-12-16  Andy Wingo  <wingo@pobox.com>
18067
18068         * plugins/elements/gstbufferstore.c
18069         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18070         return value.
18071
18072         * tests/check/gst/gstobject.c
18073         (test_fake_object_name_threaded_unique): Pay attention to
18074         g_list_sort return value.
18075
18076 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18077
18078         * tools/gst-feedback-m.m:
18079           Update for 0.9/0.10 (fixes #323870).
18080
18081 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18082
18083         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18084           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18085           
18086         * tests/check/gst/gstminiobject.c: (my_foo_init),
18087         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18088         (test_value_collection), (gst_mini_object_suite):
18089           Add test to ensure refcounts end up as expected when passing
18090           GstMiniObjects through g_object_get() and g_object_set().
18091
18092 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18093
18094         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18095         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18096         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18097         of collectpads. This version removes a lot of races without
18098         touching API/ABI. Yay !
18099
18100 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18101
18102         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18103           Don't allow activation of a srcpad in pull_range if it has no
18104           getrange function.
18105           Change some debug statements to be a little clearer
18106
18107         * plugins/elements/gsttypefindelement.c:
18108         (gst_type_find_handle_src_query):
18109           Check that we have a peer before executing queries thereupon.
18110
18111         * tests/examples/metadata/read-metadata.c: (message_loop):
18112           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18113           immediately return us any available message with 0 timeout.
18114
18115 2005-12-12  Michael Smith  <msmith@fluendo.com>
18116
18117         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18118           Don't unref factories after calling them.
18119         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18120         * plugins/elements/gsttypefindelement.c:
18121         (gst_type_find_element_chain):
18122           Free lists of factories after using them. Fixing typefinding memory
18123           leaks.
18124
18125 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18126
18127         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18128         (gst_plugin_feature_load):
18129           more meaningful debug output
18130         * configure.ac:
18131         * tests/Makefile.am:
18132         * tests/old/examples/Makefile.am:
18133           make make distcheck happy again
18134
18135 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18136
18137         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18138           Catch the special case where we are operating chain-based,
18139           but the downstream peer pad has no chain function. Emit a
18140           custom error message in this case instead of letting the
18141           core generate one implying that this is some sort of core
18142           bug. It's not, it just means that whatever got plugged
18143           into the pipeline downstream when we announced the type
18144           can only operate pull-based, while our source can only
18145           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18146           Error string has not been marked for translation yet, as
18147           it probably needs some more work first.
18148
18149         (gst_type_find_element_get_best_possibility):
18150           Add helper function to find the best of all available
18151           found possibilities that qualify given the min. threshold.
18152
18153         (gst_type_find_element_handle_event):
18154           Fix the case where we get an EOS while still in TYPEFIND
18155           mode (we want to chose the best of all possible types,
18156           not just the first type that happens to be in our unsorted
18157           list of possible types).
18158
18159         (gst_type_find_element_chain):
18160           Make sure we return GST_FLOW_ERROR when we errored out
18161           in stop_typefinding(); also, don't just find the best of
18162           all found type entries and then use the last examined
18163           type entry, but actually use the best entry.
18164
18165 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18166
18167         * tests/examples/typefind/typefind.c: (type_found):
18168         * tests/examples/xml/runxml.c: (xml_loaded):
18169           More gcc4 fixes and a mem leak fix.
18170
18171 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18172
18173         * tests/examples/xml/createxml.c: (object_saved):
18174           gcc 4 fixes
18175
18176 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18177
18178         * tests/Makefile.am:
18179           enable the examples even more
18180
18181 2005-12-12  Andy Wingo  <wingo@pobox.com>
18182
18183         * libs/gst/net/gstnettimeprovider.c
18184         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18185         (gst_net_time_provider_set_property)
18186         (gst_net_time_provider_get_property):
18187         API addition: Export "active" as a GObject property.
18188         (gst_net_time_provider_thread): Only respond to time queries if
18189         the time provider is active.
18190
18191         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18192         NetTimeProvider, preserving binary compat.
18193
18194 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18195
18196         * tests/examples/controller/audio-example.c: (main):
18197         * tests/examples/launch/Makefile.am:
18198           convert comments again
18199
18200 2005-12-12  Wim Taymans  <wim@fluendo.com>
18201
18202         * libs/gst/base/gstpushsrc.c:
18203         Fix typo.
18204
18205 2005-12-12  Wim Taymans  <wim@fluendo.com>
18206
18207         * docs/libs/gstreamer-libs-sections.txt:
18208         Added new symbol to docs.
18209
18210         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18211         (gst_base_src_init), (gst_base_src_set_format),
18212         (gst_base_src_default_query), (gst_base_src_query),
18213         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18214         (gst_base_src_perform_seek), (gst_base_src_send_event),
18215         (gst_base_src_default_event), (gst_base_src_event_handler),
18216         (gst_base_src_set_property), (gst_base_src_get_property),
18217         (gst_base_src_wait), (gst_base_src_do_sync),
18218         (gst_base_src_update_length), (gst_base_src_get_range),
18219         (gst_base_src_check_get_range), (gst_base_src_loop),
18220         (gst_base_src_default_negotiate), (gst_base_src_start),
18221         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18222         (gst_base_src_change_state):
18223         * libs/gst/base/gstbasesrc.h:
18224         Implement seeking to other formats than _BYTES.
18225         Implement more seeking methods correctly.
18226         Doc updates.
18227         Added query vmethod.
18228         Added do_seek vmethod to make life easier for subclasses
18229         when seeking.
18230         API addition: gst_base_src_set_format()
18231
18232 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18233
18234         * tests/examples/Makefile.am:
18235           added that too
18236
18237 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18238
18239         * configure.ac:
18240         * docs/random/ensonic/media-device-daemon.txt:
18241         * tests/examples/controller/.cvsignore:
18242         * tests/examples/controller/Makefile.am:
18243         * tests/examples/controller/audio-example.c: (main):
18244         * tests/examples/helloworld/.cvsignore:
18245         * tests/examples/helloworld/Makefile.am:
18246         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18247         * tests/examples/launch/.cvsignore:
18248         * tests/examples/launch/Makefile.am:
18249         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18250         * tests/examples/metadata/.cvsignore:
18251         * tests/examples/metadata/Makefile.am:
18252         * tests/examples/metadata/read-metadata.c: (message_loop),
18253         (make_pipeline), (print_tag), (main):
18254         * tests/examples/queue/.cvsignore:
18255         * tests/examples/queue/Makefile.am:
18256         * tests/examples/queue/queue.c: (event_loop), (main):
18257         * tests/examples/typefind/.cvsignore:
18258         * tests/examples/typefind/Makefile.am:
18259         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18260         (main):
18261         * tests/examples/xml/.cvsignore:
18262         * tests/examples/xml/Makefile.am:
18263         * tests/examples/xml/createxml.c: (object_saved), (main):
18264         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18265         * tests/old/examples/Makefile.am:
18266         * tests/old/examples/TODO:
18267         * tests/old/examples/controller/.cvsignore:
18268         * tests/old/examples/controller/Makefile.am:
18269         * tests/old/examples/controller/audio-example.c:
18270         * tests/old/examples/helloworld/.cvsignore:
18271         * tests/old/examples/helloworld/Makefile.am:
18272         * tests/old/examples/helloworld/helloworld.c:
18273         * tests/old/examples/launch/.cvsignore:
18274         * tests/old/examples/launch/Makefile.am:
18275         * tests/old/examples/launch/mp3parselaunch.c:
18276         * tests/old/examples/launch/mp3play:
18277         * tests/old/examples/manual/Makefile.am:
18278         * tests/old/examples/metadata/Makefile.am:
18279         * tests/old/examples/metadata/read-metadata.c:
18280         * tests/old/examples/queue/.cvsignore:
18281         * tests/old/examples/queue/Makefile.am:
18282         * tests/old/examples/queue/queue.c:
18283         * tests/old/examples/typefind/.cvsignore:
18284         * tests/old/examples/typefind/Makefile.am:
18285         * tests/old/examples/typefind/typefind.c:
18286         * tests/old/examples/xml/.cvsignore:
18287         * tests/old/examples/xml/Makefile.am:
18288         * tests/old/examples/xml/createxml.c:
18289         * tests/old/examples/xml/runxml.c:
18290           applied some simple fixing to some examples
18291           re-enabled the working examples
18292
18293 2005-12-12  Wim Taymans  <wim@fluendo.com>
18294
18295         * gst/gstsegment.c: (gst_segment_init),
18296         (gst_segment_set_last_stop), (gst_segment_set_seek),
18297         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18298         (gst_segment_to_running_time):
18299         Added more documentation.
18300         Make sure the last_pos value is updated properly.
18301         Make sure to_stream_time and to_running_time don't
18302         operate on wrong values.
18303
18304         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18305         Update check.
18306
18307 2005-12-12  Michael Smith  <msmith@fluendo.com>
18308
18309         * plugins/elements/gsttypefindelement.c: (free_entry),
18310         (gst_type_find_element_chain):
18311           Now that we're not leaking factories, make sure we keep references
18312           to them while we need them.
18313
18314 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18315
18316         * tests/check/gst/struct_i386.h:
18317           ifdef out the XML structs
18318
18319 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18320
18321         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18322           floor is not needed, F is always positive; this obviates the
18323           need for adding -lm when building without libxml
18324
18325 2005-12-12  Wim Taymans  <wim@fluendo.com>
18326
18327         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18328         Take current playback rate into account when reporting
18329         the position.
18330
18331 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18332
18333         * docs/manual/mime-world.fig:
18334           Let's try this again, this time with a file that is
18335           actually in XFig format.
18336
18337 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18338
18339         * docs/manual/mime-world.fig:
18340           Add audioconvert element to diagram so that it
18341           matches the text and the code (fixes #319526).
18342
18343 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18344
18345         * docs/pwg/building-chainfn.xml:
18346         * docs/pwg/building-pads.xml:
18347         * docs/pwg/building-state.xml:
18348         * docs/pwg/other-source.xml:
18349           Update state change stuff for 0.10 (fixes #322969).
18350
18351 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18352
18353         * docs/manual/advanced-dataaccess.xml:
18354         * docs/manual/appendix-checklist.xml:
18355         * docs/manual/appendix-programs.xml:
18356         * docs/manual/basics-pads.xml:
18357         * docs/manual/highlevel-components.xml:
18358         * docs/manual/manual.xml:
18359           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18360           add converters in front of pipelines; remove curly
18361           brackets for threads stuff, they no longer exist; use
18362           GST_TYPE_FRACTION for framerates; update some pieces of
18363           code to 0.10, but there's plenty more to do.
18364
18365         * docs/manual/appendix-porting.xml:
18366           Expand on asynchroneous state changes; s/0.9/0.10/;
18367           mention disappearance of gst_init_get_popt_table()
18368           (fixes #322916).
18369
18370 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18371
18372         * docs/faq/using.xml:
18373           Spider no longer exists, and neither does gst-launch-ext.
18374           Update examples to use decodebin and playbin and put
18375           converters in front of sinks (fixes #323726).
18376
18377 2005-12-09  Michael Smith  <msmith@fluendo.com>
18378
18379         * plugins/elements/gsttypefindelement.c: (find_peek),
18380         (gst_type_find_element_chain):
18381           Fix leaking element factories in typefinding.
18382           Fix problem where we forgot about a probable type on non-seekable
18383           files, and thus later mis-typefound it.
18384
18385 2005-12-09  Michael Smith  <msmith@fluendo.com>
18386
18387         * common/m4/gst-makecontext.m4:
18388         * common/m4/gst-mcsc.m4:
18389         * configure.ac:
18390         * win32/common/config.h:
18391         * win32/common/config.h.in:
18392           Remove makecontext stuff; not used in 0.10 and causes problems on
18393           HPUX according to bug #322441
18394
18395 2005-12-07  Wim Taymans  <wim@fluendo.com>
18396
18397         * tests/check/Makefile.am:
18398         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18399         (main):
18400         * tests/check/libs/struct_i386.h:
18401         Added ABI check for libs
18402
18403 2005-12-07  Wim Taymans  <wim@fluendo.com>
18404
18405         * tests/check/Makefile.am:
18406         And add the struct_i386.h to dist.
18407
18408 2005-12-07  Wim Taymans  <wim@fluendo.com>
18409
18410         * tests/check/Makefile.am:
18411         * tests/check/gst/.cvsignore:
18412         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18413         (main):
18414         * tests/check/gst/struct_i386.h:
18415         Added check for ABI compatibility.
18416
18417 2005-12-07  Wim Taymans  <wim@fluendo.com>
18418
18419         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18420         (gst_fake_src_get_times), (gst_fake_src_create):
18421         Fix broken sync option, fixes #323259
18422
18423 2005-12-07  Wim Taymans  <wim@fluendo.com>
18424
18425         * gst/gstbuffer.c:
18426         Small docs update.
18427
18428         * gst/gstcaps.c: (gst_caps_is_equal):
18429         Don't assert on NULL <--> X. Fixes #323260
18430
18431         * gst/gstminiobject.c: (gst_mini_object_replace):
18432         If we're doing atomic operations, we might just as well use
18433         the proper way to get an atomic pointer.
18434
18435         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18436         Clean up debugging.
18437
18438 2005-12-07  Michael Smith  <msmith@fluendo.com>
18439
18440         * gst/parse/grammar.y:
18441           Remove handling of { } for threads.
18442
18443 2005-12-06  David Schleef  <ds@schleef.org>
18444
18445         * libs/gst/base/gstbasetransform.c: speling fix.
18446
18447 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18448
18449         * docs/libs/tmpl/gstdataprotocol.sgml:
18450         * docs/random/omega/testing/gstobject.c:
18451         * gst/gst.c:
18452         * gst/gstclock.c:
18453         * gst/gstelement.c:
18454         * gst/gstelementfactory.c:
18455         * gst/gsterror.c:
18456         * gst/gstevent.c:
18457         * gst/gstghostpad.c:
18458         * gst/gstinfo.c:
18459         * gst/gstpadtemplate.c:
18460         * gst/gstregistryxml.c:
18461         * gst/gsttaglist.c:
18462         * gst/gsttagsetter.c:
18463         * gst/gsttypefind.c:
18464         * gst/gstvalue.c:
18465         * libs/gst/base/gstbasesrc.c:
18466         * libs/gst/net/gstnetclientclock.c:
18467         * libs/gst/net/gstnettimeprovider.c:
18468         * plugins/elements/gstfakesrc.c:
18469         * plugins/elements/gstfdsrc.c:
18470         * plugins/elements/gstfilesrc.c:
18471         * plugins/elements/gstidentity.c:
18472         * plugins/elements/gstqueue.c:
18473         * plugins/elements/gsttypefindelement.c:
18474         * plugins/indexers/gstfileindex.c:
18475         * plugins/indexers/gstmemindex.c:
18476         * tests/check/gst/gsttag.c:
18477         * tests/old/examples/cutter/cutter.c:
18478         * tests/old/examples/mixer/mixer.c:
18479         * tests/old/examples/xml/runxml.c: (main):
18480         * tests/old/testsuite/caps/normalisation.c:
18481         * tests/old/testsuite/debug/global.c:
18482         * tests/old/testsuite/parse/parse1.c:
18483         * tools/gst-xmlinspect.c:
18484         * win32/common/dirent.c:
18485           expand tabs
18486
18487 === release 0.10.0 ===
18488
18489 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18490
18491         * configure.ac:
18492           releasing 0.10.0, "Maroilles"
18493
18494 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18495
18496         submitted by: Funda Wang <fundawang@linux.net.cn>
18497
18498         * po/LINGUAS:
18499         * po/zh_CN.po:
18500           added Chinese (Traditional) translation
18501
18502 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18503
18504         * docs/gst/gstreamer-sections.txt:
18505         * docs/libs/tmpl/gstdataprotocol.sgml:
18506         * docs/random/thomasvs/TODO:
18507         * gst/gstutils.c:
18508         * gst/gstutils.h:
18509           fix docs
18510
18511 2005-12-05  Andy Wingo  <wingo@pobox.com>
18512
18513         patch by: Wim Taymans <wim@fluendo.com>
18514
18515         * libs/gst/base/gstbasetransform.c
18516         (gst_base_transform_prepare_output_buf)
18517         (gst_base_transform_buffer_alloc):
18518         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18519         alloc_buffer_and_set_caps.
18520
18521         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18522         set_caps on the source pad.
18523         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18524         alloc_buffer used to do. Fixes #322874.
18525
18526         * docs/gst/gstreamer-sections.txt: 
18527         * docs/design/part-negotiation.txt: 
18528         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18529         changes.
18530
18531 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18532
18533         patch by: Sebastien Moutte
18534
18535         * win32/MANIFEST:
18536         * win32/common/config.h.in:
18537         * win32/vs6/libgstcontroller.dsp:
18538           win32 build fixes
18539
18540 2005-12-05  Wim Taymans  <wim@fluendo.com>
18541
18542         * gst/gstcaps.c: (gst_caps_is_equal):
18543         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18544         (gst_fake_src_create):
18545         Back out previous code changes, leave doc updates, file bugs 
18546         instead. 
18547
18548 2005-12-05  Wim Taymans  <wim@fluendo.com>
18549
18550         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18551         (gst_fake_src_get_times), (gst_fake_src_create):
18552         * plugins/elements/gstfakesrc.h:
18553         Fix broken sync code.
18554
18555 2005-12-05  Wim Taymans  <wim@fluendo.com>
18556
18557         * gst/gstcaps.c: (gst_caps_is_equal):
18558         Comparing NULL against !NULL yields different caps, not a
18559         failure.
18560
18561 2005-12-05  Wim Taymans  <wim@fluendo.com>
18562
18563         * gst/gstpipeline.c:
18564         Fix small typo in docs.
18565
18566 2005-12-05  Andy Wingo  <wingo@pobox.com>
18567
18568         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18569
18570         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18571         registries/plugins with a MAJORMINOR one.
18572         (plugin_desc): Rename library from gstcoreleements to
18573         staticelements. Fixes #323222.
18574
18575 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18576
18577         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18578           Change debug category to 'collectpads' from 'collect_pads'
18579           (fixes #323250).
18580
18581 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18582
18583         patch by: Sebastien Moutte
18584
18585         * libs/gst/controller/gstinterpolation.c:
18586           use convert function for uint64/double
18587         * win32/vs6/libgstcontroller.dsp:
18588           link to GLib
18589
18590 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18591
18592         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18593         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18594         * gst/gstutils.h:
18595         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18596           add tests that seem to show that the guint64/gdouble conversions
18597           are correct.
18598
18599 2005-12-02  Wim Taymans  <wim@fluendo.com>
18600
18601         * gst/gstregistry.c: (gst_registry_add_path):
18602         * gst/gstregistry.h:
18603         * gst/gstregistryxml.c:
18604         Fix docs again.
18605
18606 2005-12-02  Wim Taymans  <wim@fluendo.com>
18607
18608         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18609         (gst_util_uint64_scale_int):
18610         Small cleanup.
18611
18612         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18613         Add debug log line.
18614
18615         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18616         Add FIXME.
18617
18618 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18619
18620         * win32/MANIFEST:
18621         * win32/common/config.h:
18622         * win32/vs6/gstreamer.dsw:
18623         * win32/vs6/libgstcoreelements.dsp:
18624         * win32/vs6/libgstelements.dsp:
18625           renamed core elements plugin
18626
18627 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18628
18629         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18630         (get_candidates):
18631           do piece-wise major/minor comparison so 0.9 < 0.10
18632           also allow .exe extensions for tools
18633
18634 2005-12-02  Michael Smith  <msmith@fluendo.com>
18635
18636         * gst/gst.c:
18637           Escape a % to make gtkdoc happier; bug 322958.
18638
18639 === release 0.9.7 ===
18640
18641 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18642
18643         * configure.ac:
18644           releasing 0.9.7, "My Dog Has No Nose"
18645
18646 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18647
18648         * common/gst-xmlinspect.py:
18649         * configure.ac:
18650         * docs/libs/tmpl/gstdataprotocol.sgml:
18651         * docs/random/release:
18652         * po/af.po:
18653         * po/az.po:
18654         * po/bg.po:
18655         * po/ca.po:
18656         * po/cs.po:
18657         * po/de.po:
18658         * po/en_GB.po:
18659         * po/fr.po:
18660         * po/it.po:
18661         * po/nb.po:
18662         * po/nl.po:
18663         * po/ru.po:
18664         * po/sq.po:
18665         * po/sr.po:
18666         * po/sv.po:
18667         * po/tr.po:
18668         * po/uk.po:
18669         * po/vi.po:
18670         * win32/common/config.h:
18671         * win32/common/config.h.in:
18672         * win32/vs6/gst_inspect.dsp:
18673         * win32/vs6/gst_launch.dsp:
18674         * win32/vs6/libgstbase.dsp:
18675         * win32/vs6/libgstelements.dsp:
18676         * win32/vs6/libgstreamer.dsp:
18677         * win32/vs7/GStreamer.vcproj:
18678         * win32/vs7/gst-inspect.vcproj:
18679         * win32/vs7/gst-launch.vcproj:
18680         * win32/vs7/libgstbase.vcproj:
18681           bump GST_MAJORMINOR to 0.10
18682           reset libtool version
18683
18684 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18685
18686         * po/LINGUAS:
18687         * po/bg.po:
18688           Added Bulgarian translation by (Alexander Shopov)
18689
18690 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18691
18692         * tests/check/gst/gstplugin.c:
18693           fix test
18694
18695 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18696
18697         * common/gst-xmlinspect.py:
18698         * common/gtk-doc-plugins.mak:
18699         * configure.ac:
18700         * docs/Makefile.am:
18701         * docs/gst/Makefile.am:
18702         * docs/gst/gstreamer-docs.sgml:
18703         * docs/gst/gstreamer-sections.txt:
18704         * docs/gst/gstreamer.types:
18705         * docs/gst/gstreamer.types.in:
18706         * docs/plugins/Makefile.am:
18707         * docs/plugins/gstreamer-plugins-docs.sgml:
18708         * docs/plugins/gstreamer-plugins-sections.txt:
18709         * docs/plugins/gstreamer-plugins.types:
18710         * docs/plugins/inspect.stamp:
18711         * docs/plugins/inspect/plugin-coreelements.xml:
18712         * docs/plugins/inspect/plugin-coreindexers.xml:
18713         * docs/plugins/scanobj-build.stamp:
18714         * gstreamer.spec.in:
18715         * plugins/elements/Makefile.am:
18716         * plugins/elements/gstelements.c:
18717         * plugins/elements/gstfakesink.c:
18718         * plugins/elements/gstfakesrc.c:
18719         * plugins/elements/gstfilesink.c:
18720         * plugins/elements/gstfilesrc.c:
18721         * plugins/elements/gstqueue.c:
18722         * plugins/indexers/Makefile.am:
18723         * plugins/indexers/gstindexers.c:
18724           document core plugins in a separate document just like all the
18725           others
18726           rename these plugins to something starting with core
18727
18728 2005-12-01  Andy Wingo  <wingo@pobox.com>
18729
18730         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18731         padding here before, but it missed the commit.
18732
18733 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18734
18735         * libs/gst/controller/gstinterpolation.c:
18736           whitespace prices have crashed, we should feel free to use some now
18737           use gst_guint64_to_gdouble
18738
18739 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18740
18741         * libs/gst/controller/gstcontroller.c:
18742         * libs/gst/controller/gsthelper.c:
18743         * libs/gst/controller/gstinterpolation.c:
18744         * libs/gst/controller/lib.c:
18745           wrap config.h include
18746
18747 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18748
18749         * docs/gst/gstreamer-sections.txt:
18750           update docs
18751
18752 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18753
18754         * plugins/elements/gstelements.c:
18755         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18756         (gst_fd_sink__class_init), (gst_fd_sink__init),
18757         (gst_fd_sink__chain), (gst_fd_sink__set_property),
18758         (gst_fd_sink__get_property):
18759         * plugins/elements/gstfdsink.h:
18760         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18761         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18762         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18763         (gst_fd_src_unlock), (gst_fd_src_set_property),
18764         (gst_fd_src_get_property), (gst_fd_src_create),
18765         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18766         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18767         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18768         (gst_fd_src_uri_handler_init):
18769         * plugins/elements/gstfdsrc.h:
18770         * plugins/elements/gstqueue.c: (gst_queue_get_type):
18771           more anal cleanup
18772
18773 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18774
18775         * docs/gst/Makefile.am:
18776         * docs/gst/gstreamer.types.in:
18777         * gst/Makefile.am:
18778           fix the docs build
18779
18780 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18781
18782         * configure.ac:
18783         * gst/Makefile.am:
18784         * gst/gst.c:
18785         * gst/gstplugin.h:
18786         * gst/gstregistry.h:
18787         * tests/benchmarks/complexity.c:
18788         * tests/benchmarks/mass-elements.c:
18789         * tests/check/Makefile.am:
18790         * tools/Makefile.am:
18791         * tools/gst-inspect.c:
18792         * tools/gst-xmlinspect.c:
18793           various fixes to make
18794           --disable-nls --disable-registry --disable-loadsave
18795           --disable-parse --disable-gst-debug
18796           work and get the core .so down to 360444 bytes after stripping
18797
18798 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18799
18800         * Makefile.am:
18801         * configure.ac:
18802           descend into tests
18803         * docs/random/thomasvs/TODO:
18804         * tests/Makefile.am:
18805         * tests/README:
18806           add a README
18807
18808 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18809
18810         * win32/GStreamer.vcproj:
18811         * win32/MANIFEST:
18812         * win32/Makefile:
18813         * win32/Makefile.inspect:
18814         * win32/Makefile.launch:
18815         * win32/Makefile.register:
18816         * win32/README.txt:
18817         * win32/gst-inspect.vcproj:
18818         * win32/gst-launch.vcproj:
18819         * win32/gst-register.vcproj:
18820         * win32/gstelements.vcproj:
18821         * win32/gstgetbits.def:
18822         * win32/gstgetbits.vcproj:
18823         * win32/gstreamer-dbg.def:
18824         * win32/gstreamer.def:
18825         * win32/libgstbase.def:
18826         * win32/libgstbase.vcproj:
18827         * win32/link_oldruntime.c:
18828         * win32/mman.c:
18829         * win32/mman.h:
18830         * win32/mman.inl:
18831         * win32/msvc71.sln:
18832           move even more stuff, win32/ is nice and clean now
18833
18834 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18835
18836         * libs/gst/control/.cvsignore:
18837         * win32/MANIFEST:
18838         * win32/config.h:
18839         * win32/dirent.c:
18840         * win32/dirent.h:
18841         * win32/gstbytestream.def:
18842         * win32/gstbytestream.vcproj:
18843         * win32/gstconfig.h:
18844         * win32/gstenumtypes.c:
18845         * win32/gstenumtypes.h:
18846         * win32/gstoptimalscheduler.vcproj:
18847         * win32/gstversion.h:
18848         * win32/gtchar.h:
18849         * win32/testsuite/bins.vcproj:
18850         * win32/testsuite/bytestream.vcproj:
18851         * win32/testsuite/caps.vcproj:
18852         * win32/testsuite/cleanup.vcproj:
18853         * win32/testsuite/clock.vcproj:
18854         * win32/testsuite/debug.vcproj:
18855         * win32/testsuite/dlopen.vcproj:
18856         * win32/testsuite/dynparams.vcproj:
18857         * win32/testsuite/elements.vcproj:
18858         * win32/testsuite/ghostpads.vcproj:
18859         * win32/testsuite/indexers.vcproj:
18860         * win32/testsuite/negotiation.vcproj:
18861         * win32/testsuite/parse.vcproj:
18862         * win32/testsuite/plugin.vcproj:
18863         * win32/testsuite/refcounting.vcproj:
18864         * win32/testsuite/schedulers.vcproj:
18865         * win32/testsuite/states.vcproj:
18866         * win32/testsuite/tags.vcproj:
18867         * win32/testsuite/threads.vcproj:
18868           remove old win32 stuff that isn't maintained and should be
18869           reorganized
18870
18871 2005-11-30  Andy Wingo  <wingo@pobox.com>
18872
18873         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18874         loading the gst.interfaces python module bork.
18875
18876         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18877         available since GLib 2.2. Fixes #318031.
18878
18879 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18880
18881         * Makefile.am:
18882         * check/.cvsignore:
18883         * check/Makefile.am:
18884         * check/elements/.cvsignore:
18885         * check/elements/fakesrc.c:
18886         * check/elements/fdsrc.c:
18887         * check/elements/identity.c:
18888         * check/generic/.cvsignore:
18889         * check/generic/states.c:
18890         * check/gst-libs/.cvsignore:
18891         * check/gst-libs/controller.c:
18892         * check/gst-libs/gdp.c:
18893         * check/gst/.cvsignore:
18894         * check/gst/capslist.h:
18895         * check/gst/gst.c:
18896         * check/gst/gstbin.c:
18897         * check/gst/gstbuffer.c:
18898         * check/gst/gstbus.c:
18899         * check/gst/gstcaps.c:
18900         * check/gst/gstelement.c:
18901         * check/gst/gstevent.c:
18902         * check/gst/gstghostpad.c:
18903         * check/gst/gstiterator.c:
18904         * check/gst/gstmessage.c:
18905         * check/gst/gstminiobject.c:
18906         * check/gst/gstobject.c:
18907         * check/gst/gstpad.c:
18908         * check/gst/gstpipeline.c:
18909         * check/gst/gstplugin.c:
18910         * check/gst/gstsegment.c:
18911         * check/gst/gststructure.c:
18912         * check/gst/gstsystemclock.c:
18913         * check/gst/gsttag.c:
18914         * check/gst/gstutils.c:
18915         * check/gst/gstvalue.c:
18916         * check/net/.cvsignore:
18917         * check/net/gstnetclientclock.c:
18918         * check/net/gstnettimeprovider.c:
18919         * check/pipelines/.cvsignore:
18920         * check/pipelines/cleanup.c:
18921         * check/pipelines/simple_launch_lines.c:
18922         * check/pipelines/stress.c:
18923         * check/states/.cvsignore:
18924         * check/states/sinks.c:
18925         * configure.ac:
18926         * examples/Makefile.am:
18927         * examples/appreader/.cvsignore:
18928         * examples/appreader/Makefile.am:
18929         * examples/appreader/appreader.c:
18930         * examples/controller/.cvsignore:
18931         * examples/controller/Makefile.am:
18932         * examples/controller/audio-example.c:
18933         * examples/cutter/.cvsignore:
18934         * examples/cutter/Makefile.am:
18935         * examples/cutter/cutter.c:
18936         * examples/cutter/cutter.h:
18937         * examples/events/Makefile.am:
18938         * examples/events/seek.c:
18939         * examples/helloworld/.cvsignore:
18940         * examples/helloworld/Makefile.am:
18941         * examples/helloworld/helloworld.c:
18942         * examples/helloworld2/.cvsignore:
18943         * examples/helloworld2/Makefile.am:
18944         * examples/helloworld2/helloworld2.c:
18945         * examples/launch/.cvsignore:
18946         * examples/launch/Makefile.am:
18947         * examples/launch/mp3parselaunch.c:
18948         * examples/launch/mp3play:
18949         * examples/manual/.cvsignore:
18950         * examples/manual/Makefile.am:
18951         * examples/manual/extract.pl:
18952         * examples/metadata/Makefile.am:
18953         * examples/metadata/read-metadata.c:
18954         * examples/mixer/.cvsignore:
18955         * examples/mixer/Makefile.am:
18956         * examples/mixer/mixer.c:
18957         * examples/mixer/mixer.h:
18958         * examples/pingpong/.cvsignore:
18959         * examples/pingpong/Makefile.am:
18960         * examples/pingpong/pingpong.c:
18961         * examples/plugins/.cvsignore:
18962         * examples/plugins/Makefile.am:
18963         * examples/plugins/example.c:
18964         * examples/plugins/example.h:
18965         * examples/pwg/.cvsignore:
18966         * examples/pwg/Makefile.am:
18967         * examples/pwg/extract.pl:
18968         * examples/queue/.cvsignore:
18969         * examples/queue/Makefile.am:
18970         * examples/queue/queue.c:
18971         * examples/queue2/.cvsignore:
18972         * examples/queue2/Makefile.am:
18973         * examples/queue2/queue2.c:
18974         * examples/queue3/.cvsignore:
18975         * examples/queue3/Makefile.am:
18976         * examples/queue3/queue3.c:
18977         * examples/queue4/.cvsignore:
18978         * examples/queue4/Makefile.am:
18979         * examples/queue4/queue4.c:
18980         * examples/retag/.cvsignore:
18981         * examples/retag/Makefile.am:
18982         * examples/retag/retag.c:
18983         * examples/retag/transcode.c:
18984         * examples/thread/.cvsignore:
18985         * examples/thread/Makefile.am:
18986         * examples/thread/thread.c:
18987         * examples/typefind/.cvsignore:
18988         * examples/typefind/Makefile.am:
18989         * examples/typefind/typefind.c:
18990         * examples/xml/.cvsignore:
18991         * examples/xml/Makefile.am:
18992         * examples/xml/createxml.c:
18993         * examples/xml/runxml.c:
18994         * tests/Makefile.am:
18995         * tests/check/Makefile.am:
18996         * testsuite/.cvsignore:
18997         * testsuite/Makefile.am:
18998         * testsuite/Rules:
18999         * testsuite/caps/.cvsignore:
19000         * testsuite/caps/Makefile.am:
19001         * testsuite/caps/app_fixate.c:
19002         * testsuite/caps/audioscale.c:
19003         * testsuite/caps/caps.c:
19004         * testsuite/caps/caps.h:
19005         * testsuite/caps/caps_strings:
19006         * testsuite/caps/compatibility.c:
19007         * testsuite/caps/deserialize.c:
19008         * testsuite/caps/enumcaps.c:
19009         * testsuite/caps/eratosthenes.c:
19010         * testsuite/caps/filtercaps.c:
19011         * testsuite/caps/fixed.c:
19012         * testsuite/caps/fraction-convert.c:
19013         * testsuite/caps/fraction-multiply-and-zero.c:
19014         * testsuite/caps/intersect2.c:
19015         * testsuite/caps/intersection.c:
19016         * testsuite/caps/normalisation.c:
19017         * testsuite/caps/random.c:
19018         * testsuite/caps/renegotiate.c:
19019         * testsuite/caps/sets.c:
19020         * testsuite/caps/simplify.c:
19021         * testsuite/caps/string-conversions.c:
19022         * testsuite/caps/structure.c:
19023         * testsuite/caps/subtract.c:
19024         * testsuite/caps/union.c:
19025         * testsuite/debug/.cvsignore:
19026         * testsuite/debug/Makefile.am:
19027         * testsuite/debug/category.c:
19028         * testsuite/debug/commandline.c:
19029         * testsuite/debug/global.c:
19030         * testsuite/debug/output.c:
19031         * testsuite/debug/printf_extension.c:
19032         * testsuite/dlopen/.cvsignore:
19033         * testsuite/dlopen/Makefile.am:
19034         * testsuite/dlopen/dlopen_gst.c:
19035         * testsuite/dlopen/loadgst.c:
19036         * testsuite/elements/.cvsignore:
19037         * testsuite/elements/Makefile.am:
19038         * testsuite/elements/gst-inspect-check.in:
19039         * testsuite/elements/struct_i386.h:
19040         * testsuite/elements/struct_size.c:
19041         * testsuite/indexers/.cvsignore:
19042         * testsuite/indexers/Makefile.am:
19043         * testsuite/indexers/cache1.c:
19044         * testsuite/indexers/indexdump.c:
19045         * testsuite/parse/.cvsignore:
19046         * testsuite/parse/Makefile.am:
19047         * testsuite/parse/parse1.c:
19048         * testsuite/parse/parse2.c:
19049         * testsuite/plugin/.cvsignore:
19050         * testsuite/plugin/Makefile.am:
19051         * testsuite/plugin/README:
19052         * testsuite/plugin/dynamic.c:
19053         * testsuite/plugin/linked.c:
19054         * testsuite/plugin/loading.c:
19055         * testsuite/plugin/registry.c:
19056         * testsuite/plugin/static.c:
19057         * testsuite/plugin/static2.c:
19058         * testsuite/plugin/testplugin.c:
19059         * testsuite/plugin/testplugin2.c:
19060         * testsuite/plugin/testplugin2_s.c:
19061         * testsuite/plugin/testplugin_s.c:
19062         * testsuite/refcounting/.cvsignore:
19063         * testsuite/refcounting/Makefile.am:
19064         * testsuite/refcounting/bin.c:
19065         * testsuite/refcounting/element.c:
19066         * testsuite/refcounting/element_pad.c:
19067         * testsuite/refcounting/mainloop.c:
19068         * testsuite/refcounting/mem.c:
19069         * testsuite/refcounting/mem.h:
19070         * testsuite/refcounting/object.c:
19071         * testsuite/refcounting/pad.c:
19072         * testsuite/refcounting/sched.c:
19073         * testsuite/refcounting/thread.c:
19074         * testsuite/states/.cvsignore:
19075         * testsuite/states/Makefile.am:
19076         * testsuite/states/bin.c:
19077         * testsuite/states/locked.c:
19078         * testsuite/states/parent.c:
19079         * testsuite/threads/.cvsignore:
19080         * testsuite/threads/159566.c:
19081         * testsuite/threads/159852.c:
19082         * testsuite/threads/Makefile.am:
19083         * testsuite/threads/queue.c:
19084         * testsuite/threads/signals.c:
19085         * testsuite/threads/staticrec.c:
19086         * testsuite/threads/thread.c:
19087         * testsuite/threads/threadb.c:
19088         * testsuite/threads/threadc.c:
19089         * testsuite/threads/threadd.c:
19090         * testsuite/threads/threade.c:
19091         * testsuite/threads/threadf.c:
19092         * testsuite/threads/threadg.c:
19093         * testsuite/threads/threadh.c:
19094         * testsuite/threads/threadi.c:
19095           move all of these under tests
19096
19097 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19098
19099         * configure.ac:
19100         * tests/Makefile.am:
19101           fix distcheck
19102
19103 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19104
19105         * docs/gst/gstreamer-sections.txt:
19106         * tests/sched/.cvsignore:
19107         * tests/sched/Makefile.am:
19108         * tests/sched/cases/(fs-fs).xml:
19109         * tests/sched/cases/(fs-i-fs).xml:
19110         * tests/sched/cases/(fs-i-i-fs).xml:
19111         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19112         * tests/sched/dynamic-pipeline.c:
19113         * tests/sched/interrupt1.c:
19114         * tests/sched/interrupt2.c:
19115         * tests/sched/interrupt3.c:
19116         * tests/sched/runtestcases:
19117         * tests/sched/runxml.c:
19118         * tests/sched/sched-stress.c:
19119         * tests/sched/sort.c:
19120         * tests/sched/testcases:
19121         * tests/sched/testcases1.tc:
19122         * tests/seeking/.cvsignore:
19123         * tests/seeking/Makefile.am:
19124         * tests/seeking/seeking1.c:
19125         * tests/threadstate/.cvsignore:
19126         * tests/threadstate/Makefile.am:
19127         * tests/threadstate/test1.c:
19128         * tests/threadstate/test2.c:
19129         * tests/threadstate/threadstate1.c:
19130         * tests/threadstate/threadstate2.c:
19131         * tests/threadstate/threadstate3.c:
19132         * tests/threadstate/threadstate4.c:
19133         * tests/threadstate/threadstate5.c:
19134           remove obsolete tests
19135         * configure.ac:
19136         * tests/bench-complexity.scm:
19137         * tests/bench-mass_elements.scm:
19138         * tests/complexity.c:
19139         * tests/complexity.gnuplot:
19140         * tests/instantiate/.cvsignore:
19141         * tests/instantiate/Makefile.am:
19142         * tests/instantiate/caps.c:
19143         * tests/mass_elements.c:
19144         * tests/network-clock-utils.scm:
19145         * tests/network-clock.scm:
19146         * tests/plot-data:
19147         First pass at cleaning up tests/ dir before moving the rest
19148         Combined with CVS surgery
19149
19150 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19151
19152         * po/POTFILES.in:
19153           queue has moved, update
19154
19155 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19156
19157         * docs/gst/gstreamer-sections.txt:
19158           remove double entries from the docs
19159         * gst/gst_private.h:
19160         * gst/gstinfo.c: (_gst_debug_init):
19161           remove the THREAD debug category
19162         * gst/Makefile.am:
19163         * gst/gstqueue.c:
19164         * gst/gstqueue.h:
19165         * docs/gst/gstreamer.types:
19166         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19167         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19168           completely move queue and fix up debugging categories
19169
19170 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19171
19172         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19173           make initialization portable, using LL is not
19174
19175 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19176
19177         * win32/common/gstconfig.h:
19178           add large padding
19179
19180 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19181
19182         * win32/common/libgstreamer.def:
19183           rename symbols; sort base section
19184
19185 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19186
19187         * gst/gstclock.c: (do_linear_regression):
19188           remove crack non-portable handrolled DEBUG macro
19189
19190 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19191
19192         * docs/random/release:
19193           update notes
19194         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19195         (gst_object_flags_get_type), (register_gst_bin_flags),
19196         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19197         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19198         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19199         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19200         (gst_caps_flags_get_type), (register_gst_clock_return),
19201         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19202         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19203         (gst_clock_flags_get_type), (register_gst_state),
19204         (gst_state_get_type), (register_gst_state_change_return),
19205         (gst_state_change_return_get_type), (register_gst_state_change),
19206         (gst_state_change_get_type), (register_gst_element_flags),
19207         (gst_element_flags_get_type), (register_gst_core_error),
19208         (gst_core_error_get_type), (register_gst_library_error),
19209         (gst_library_error_get_type), (register_gst_resource_error),
19210         (gst_resource_error_get_type), (register_gst_stream_error),
19211         (gst_stream_error_get_type), (register_gst_event_type_flags),
19212         (gst_event_type_flags_get_type), (register_gst_event_type),
19213         (gst_event_type_get_type), (register_gst_seek_type),
19214         (gst_seek_type_get_type), (register_gst_seek_flags),
19215         (gst_seek_flags_get_type), (register_gst_format),
19216         (gst_format_get_type), (register_gst_index_certainty),
19217         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19218         (gst_index_entry_type_get_type),
19219         (register_gst_index_lookup_method),
19220         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19221         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19222         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19223         (gst_index_flags_get_type), (register_gst_debug_level),
19224         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19225         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19226         (gst_iterator_result_get_type), (register_gst_iterator_item),
19227         (gst_iterator_item_get_type), (register_gst_message_type),
19228         (gst_message_type_get_type), (register_gst_mini_object_flags),
19229         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19230         (gst_pad_link_return_get_type), (register_gst_flow_return),
19231         (gst_flow_return_get_type), (register_gst_activate_mode),
19232         (gst_activate_mode_get_type), (register_gst_pad_direction),
19233         (gst_pad_direction_get_type), (register_gst_pad_flags),
19234         (gst_pad_flags_get_type), (register_gst_pad_presence),
19235         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19236         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19237         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19238         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19239         (gst_plugin_flags_get_type), (register_gst_rank),
19240         (gst_rank_get_type), (register_gst_query_type),
19241         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19242         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19243         (gst_tag_flag_get_type), (register_gst_task_state),
19244         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19245         (gst_alloc_trace_flags_get_type),
19246         (register_gst_type_find_probability),
19247         (gst_type_find_probability_get_type), (register_gst_uri_type),
19248         (gst_uri_type_get_type), (register_gst_parse_error),
19249         (gst_parse_error_get_type):
19250         * win32/common/gstenumtypes.h:
19251         * win32/common/gstversion.h:
19252           update visual studio generated files
19253
19254 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19255
19256         * win32/vs6/libgstbase.dsp:
19257         * win32/vs6/libgstelements.dsp:
19258           update project files for new locations
19259
19260 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19261
19262         * Makefile.am:
19263           remove some files
19264         * README:
19265           reinstate and update
19266         * DEVEL:
19267         * REQUIREMENTS:
19268           removed
19269         * LICENSE:
19270         * docs/random/LICENSE:
19271           moved to random
19272
19273 2005-11-30  Edward Hervey  <edward@fluendo.com>
19274
19275         * gst/gsttypefind.c: (gst_type_find_register):
19276         * gst/gsttypefind.h:
19277         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19278         (gst_type_find_factory_dispose):
19279         * gst/gsttypefindfactory.h:
19280         Fix memory leak in GstTypeFindFactory.
19281
19282 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19283
19284         * gst/gst.c:
19285         * plugins/elements/Makefile.am:
19286         * plugins/elements/gstelements.c:
19287         * plugins/elements/gstqueue.c:
19288           move queue from core to the elements plugin
19289
19290 2005-11-29  Andy Wingo  <wingo@pobox.com>
19291
19292         * libs/gst/base/gstbasetransform.h: 
19293         * libs/gst/base/gstbasesrc.h: 
19294         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19295
19296         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19297         of pointers by which to pad very extensible base classes (like the
19298         ones in libs/gst/base).
19299
19300 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19301
19302         * docs/gst/gstreamer-docs.sgml:
19303         * docs/gst/gstreamer-sections.txt:
19304         * docs/libs/gstreamer-libs-docs.sgml:
19305         * docs/libs/gstreamer-libs-sections.txt:
19306           moving documentation from core to lib
19307
19308 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19309
19310         * check/Makefile.am:
19311         * configure.ac:
19312         * docs/gst/Makefile.am:
19313         * gst/Makefile.am:
19314         * gst/base/.cvsignore:
19315         * gst/base/Makefile.am:
19316         * gst/base/README:
19317         * gst/base/gstadapter.c:
19318         * gst/base/gstadapter.h:
19319         * gst/base/gstbasesink.c:
19320         * gst/base/gstbasesink.h:
19321         * gst/base/gstbasesrc.c:
19322         * gst/base/gstbasesrc.h:
19323         * gst/base/gstbasetransform.c:
19324         * gst/base/gstbasetransform.h:
19325         * gst/base/gstcollectpads.c:
19326         * gst/base/gstcollectpads.h:
19327         * gst/base/gstpushsrc.c:
19328         * gst/base/gstpushsrc.h:
19329         * gst/base/gsttypefindhelper.c:
19330         * gst/base/gsttypefindhelper.h:
19331         * gst/check/Makefile.am:
19332         * gst/check/gstcheck.c:
19333         * gst/check/gstcheck.h:
19334         * gst/net/Makefile.am:
19335         * gst/net/gstnet.h:
19336         * gst/net/gstnetclientclock.c:
19337         * gst/net/gstnetclientclock.h:
19338         * gst/net/gstnettimepacket.c:
19339         * gst/net/gstnettimepacket.h:
19340         * gst/net/gstnettimeprovider.c:
19341         * gst/net/gstnettimeprovider.h:
19342         * libs/gst/Makefile.am:
19343         * libs/gst/base/Makefile.am:
19344         * libs/gst/base/gstbasetransform.c:
19345         * libs/gst/check/Makefile.am:
19346         * plugins/elements/Makefile.am:
19347         * po/POTFILES.in:
19348           CVS surgery + support to move base, check, and net out of gst
19349           and into libs/gst
19350
19351 2005-11-29  Andy Wingo  <wingo@pobox.com>
19352
19353         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19354
19355         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19356         padding.
19357
19358         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19359
19360         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19361
19362         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19363
19364         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19365         padding; reduces object size by about 30%. We don't expect
19366         anything else to go into gstobject.
19367
19368         * gst/gstminiobject.h (struct _GstMiniObject)
19369         (struct _GstMiniObjectClass): Only one pointer of padding; the
19370         payload is only a pointer and two ints anyway. For the class there
19371         are only two methods as well.
19372         
19373         * gst/gstelement.h (struct _GstElementClass): Removed
19374         the state_changed signal callback, it is not used.
19375
19376 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19377
19378         * docs/gst/gstreamer.types:
19379           fix includes, though they are a little dinky
19380
19381 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19382
19383         * check/Makefile.am:
19384           look in the right place for elements, a lot more chance of
19385           success
19386         * gst/Makefile.am:
19387           remove indexers and elements subdirs
19388         * plugins/Makefile.am:
19389           make indexers conditional
19390
19391 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19392
19393         * Makefile.am:
19394         * configure.ac:
19395         * plugins/elements/Makefile.am:
19396         * plugins/elements/gstcapsfilter.c:
19397         * plugins/elements/gstfilesink.c:
19398         * plugins/elements/gstfilesrc.c:
19399         * plugins/elements/gstidentity.c:
19400         * plugins/indexers/Makefile.am:
19401           do CVS surgery and related build fixery to move elements
19402           and indexers in a new gstreamer/plugins directory, out of the
19403           gst/ directory
19404
19405 2005-11-29  Andy Wingo  <wingo@pobox.com>
19406
19407         * check/Makefile.am:
19408         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19409         * pkgconfig/gstreamer-net.pc.in:
19410         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19411         #322257.
19412
19413 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19414
19415         * tools/Makefile.am:
19416         * tools/gst-complete.1.in:
19417         * tools/gst-complete.c:
19418         * tools/gst-compprep.1.in:
19419         * tools/gst-compprep.c:
19420           removing -compprep and -complete
19421
19422 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19423
19424         * gst/gstevent.c: (gst_event_new_new_segment),
19425         (gst_event_parse_new_segment):
19426         * gst/gstevent.h:
19427           fix #320529 - clean up new_segment API and structure.
19428           Let's hope everyone was using the methods, and not the structure.
19429
19430 2005-11-29  Edward Hervey  <edward@fluendo.com>
19431
19432         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19433         (gst_base_sink_event), (gst_base_sink_do_sync),
19434         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19435         Properly handle non GST_FORMAT_TIME segment
19436         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19437         Properly handle non GST_FORMAT_TIME segment
19438         * gst/gstsegment.c:
19439         This function is valid if the accumulator is 0 and the format
19440         is different from the requested format.
19441         
19442 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19443
19444         * docs/gst/gstreamer-sections.txt:
19445         Add gst_query_new_seeking and gst_query_parse_seeking to the
19446         docs.
19447
19448 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19449
19450         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19451           Treat a pad alloc with new caps the same as if we were not
19452           negotiated, in order to allow a changing upstream output
19453           to produce a new format of data.
19454
19455 2005-11-29  Edward Hervey  <edward@fluendo.com>
19456
19457         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19458         (gst_base_transform_event), (gst_base_transform_eventfunc):
19459         The event virtual method is now properly implemented, with a default
19460         handler
19461         Sub classes should call the parent_class event method. They should
19462         return FALSE if they had a problem handling the given event, or don't
19463         want GstBaseTransform to send that even downstream
19464         * gst/elements/gstidentity.c: (gst_identity_class_init),
19465         (gst_identity_init), (gst_identity_event),
19466         (gst_identity_transform_ip), (gst_identity_set_property),
19467         (gst_identity_get_property):
19468         * gst/elements/gstidentity.h:
19469         Added the single-segment boolean property.
19470         If set to TRUE, it will output a single segment of data, starting from
19471         0, will eat up all incoming newsegment, and modify the timestamp of the
19472         buffers accordingly
19473
19474 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19475
19476         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19477           Don't ref NULL target pad (#322751). Improve docs.
19478
19479 2005-11-29  Michael Smith  <msmith@fluendo.com>
19480
19481         * gst/gstregistryxml.c: (load_plugin):
19482           Don't crash if we failed to load a feature from a plugin. 
19483
19484 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19485
19486         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19487         (GST_START_TEST):
19488           use more check API and less GLib API
19489
19490 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19491
19492         * Makefile.am:
19493           don't run checks if we don't have check
19494         * common/check.mak:
19495           remove the registry when running make torture
19496         * docs/gst/gstreamer-sections.txt:
19497           remove second multiply
19498         * gst/gstqueue.c: (gst_queue_loop):
19499           fix a compile warning when disabling debug
19500
19501 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19502
19503         * gst/gstinfo.h:
19504         Hey! Let's print the pad name if the pointer != NULL instead
19505         of when it == NULL :-)
19506
19507 2005-11-28  Wim Taymans  <wim@fluendo.com>
19508
19509         * check/gst/gstutils.c: (GST_START_TEST):
19510         Updated check, add some scaling accuracy checking code.
19511
19512         * gst/gstutils.c: (gst_util_div128_64),
19513         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19514         (gst_util_uint64_scale_int):
19515         Fix 6 times faster division code. Optimize for common 
19516         1/1 and less common X/1 cases.
19517
19518 2005-11-28  Wim Taymans  <wim@fluendo.com>
19519
19520         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19521         More checks.
19522
19523         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19524         (do_linear_regression), (gst_clock_add_observation):
19525         Cleanups.
19526         Release lock when the clock cannot be slaved.
19527         Catch the case where the regression returned an invalid denominator.
19528
19529         * gst/gstutils.c: (gst_util_div128_64_iterate),
19530         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19531         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19532         Add protentially more performant non-iterative 128/64 divide function
19533         that unfortunatly does not work yet.
19534         Shortcut the trivial 0/X = 0 case.
19535         Remove the warnings on overflow.
19536
19537 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19538
19539         * gst/gstplugin.c: (gst_plugin_register_func):
19540           everything causing a plugin not to load should be at least a WARNING
19541
19542 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19543
19544         * docs/random/ensonic/dparams.txt:
19545           some TODOs for the next dev cycle
19546         * libs/gst/controller/gstcontroller.c:
19547         (gst_controlled_property_set_interpolation_mode),
19548         (gst_controlled_property_new):
19549         * libs/gst/controller/gstcontroller.h:
19550           use base type to assign acccessor functions
19551
19552 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19553
19554         * check/Makefile.am:
19555         Oops, that should have been top_srcdir
19556
19557 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19558
19559         * check/Makefile.am:
19560         * check/elements/fdsrc.c: (GST_START_TEST):
19561         Use a cmdline define to specify the location of a file to use for
19562         testing, to avoid breaking distcheck.
19563
19564 2005-11-28  Andy Wingo  <wingo@pobox.com>
19565
19566         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19567
19568 2005-11-28  Edward Hervey  <edward@fluendo.com>
19569
19570         * tools/gst-launch.c: (main):
19571         Clarify the output strings, makes it easier to translate.
19572         Fixes #322626
19573
19574 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19575
19576         * gst/Makefile.am:
19577           don't try and build net if we don't even have <sys/socket.h>
19578
19579 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19580
19581         * check/Makefile.am:
19582         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19583         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19584           Add tests for fdsrc seekability
19585
19586         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19587         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19588         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19589         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19590         * gst/elements/gstfdsrc.h:
19591           fdsrc should not be a 'live' source.
19592           Implement seeking on seekable fd's.
19593
19594         * gst/gstquery.c: (gst_query_new_seeking),
19595         (gst_query_parse_seeking):
19596         * gst/gstquery.h:
19597           Implement SEEKING query functions: 
19598             *_new_seeking and *_parse_seeking
19599
19600 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19601
19602         * gst/gstelement.c: (gst_element_dispose):
19603           don't loop forever
19604
19605         * gst/gstiterator.c:
19606         * gst/gststructure.c:
19607           doc fixes
19608
19609         * libs/gst/controller/gstcontroller.c:
19610         (gst_controlled_property_set_interpolation_mode):
19611         * libs/gst/controller/gstcontroller.h:
19612         * libs/gst/controller/gstinterpolation.c:
19613         (interpolate_none_get_enum_value_array):
19614           support controlling enums
19615
19616 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19617
19618         * gst/gstvalue.c:
19619           Improve documentation for gst_value_union().
19620
19621         * gst/gstvalue.h:
19622           Change return value for union, intersect and subtract functions
19623           from gint to gboolean.
19624
19625 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19626
19627         * gst/gstvalue.c: (gst_value_serialize_any_list),
19628         (gst_value_transform_any_list_string),
19629         (gst_value_deserialize_list), (gst_value_deserialize_array),
19630         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19631         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19632         (gst_value_set_fraction_range_full),
19633         (gst_value_deserialize_fraction_range),
19634         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19635         (gst_value_deserialize_boolean),
19636         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19637         (gst_value_serialize_float), (gst_value_deserialize_float),
19638         (gst_string_wrap), (gst_value_deserialize_string),
19639         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19640         (gst_value_union_int_range_int_range),
19641         (gst_value_intersect_int_range_int_range),
19642         (gst_value_intersect_double_range_double_range),
19643         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19644         (gst_value_subtract_int_range_int_range),
19645         (gst_value_subtract_double_double_range),
19646         (gst_value_subtract_double_range_double_range),
19647         (gst_value_deserialize_fraction):
19648         * gst/gstvalue.h:
19649           Use gint, gdouble and gchar in our API instead of int, double and
19650           char (and make usage in gstvalue.c more consistent).
19651
19652 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19653
19654         * check/Makefile.am:
19655         * libs/gst/controller/Makefile.am:
19656         * libs/gst/dataprotocol/Makefile.am:
19657           fix up Makefile.am and remove GST_ENABLE_NEW
19658
19659 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19660
19661         * configure.ac:
19662         * gst/Makefile.am:
19663         * gst/base/Makefile.am:
19664         * gst/check/Makefile.am:
19665         * gst/elements/Makefile.am:
19666         * gst/net/Makefile.am:
19667           update LDFLAGS use some more
19668
19669 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19670
19671         * common/m4/gst-doc.m4:
19672           Fixes #312589
19673
19674 2005-11-26  Edward Hervey  <edward@fluendo.com>
19675
19676         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19677         This shouldn't issue a g_warning since it returns NULL if it
19678         couldn't find the plugin, and all functions using this behave
19679         properly on a NULL return. Switching to a GST_WARNING.
19680
19681 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19682
19683         * gst/gstbin.c: (gst_bin_handle_message_func):
19684         Don't leak clock messages.
19685
19686 2005-11-25  Wim Taymans  <wim@fluendo.com>
19687
19688         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19689         (gst_util_uint64_scale_int):
19690         Optimisations, remove unneeded vars.
19691
19692 2005-11-25  Wim Taymans  <wim@fluendo.com>
19693
19694         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19695         Added more checks for the high precision uint64 cases.
19696
19697         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19698         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19699         Implement high precision (guint64 * guint64) / guint64.
19700
19701 2005-11-24  Wim Taymans  <wim@fluendo.com>
19702
19703         * gst/base/gstbasesrc.c: (gst_base_src_query):
19704         Fix wrong percentage query.
19705
19706         * gst/gstutils.c: (gst_util_uint64_scale),
19707         (gst_util_uint64_scale_int):
19708         Add some more common cases that can be handled 
19709         efficiently to _scale.
19710
19711 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19712
19713         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19714         (gst_mini_object_suite):
19715           don't use check calls from threads; check probably isn't
19716           threadsafe and using a lock to make it threadsafe would
19717           defeat the purpose of this check
19718         * gst/check/gstcheck.c:
19719         * gst/check/gstcheck.h:
19720           use GST_DEBUG some more
19721
19722 2005-11-24  Wim Taymans  <wim@fluendo.com>
19723
19724         * gst/gstutils.c: (gst_util_uint64_scale),
19725         (gst_util_uint64_scale_int):
19726         Chain trivial case to _scale_int.
19727
19728 2005-11-24  Wim Taymans  <wim@fluendo.com>
19729
19730         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19731         Added test for scaling.
19732
19733         * gst/gstclock.h:
19734         Small doc fix.
19735
19736         * gst/gstutils.c: (gst_util_uint64_scale_int):
19737         Implemented high precision scaling code.
19738
19739 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
19740
19741         * gst/gstinfo.h:
19742           do not crash on pad==NULL
19743
19744 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19745
19746         Patch by: Stefan Kost
19747
19748         * common/gtk-doc.mak:
19749         * docs/gst/Makefile.am:
19750         * docs/libs/Makefile.am:
19751           Fix distcheck issues for the libraries docs build
19752           Closes #319599.
19753
19754 2005-11-24  Michael Smith <msmith@fluendo.com>
19755
19756         * docs/manual/basics-helloworld.xml:
19757           Fix bug #315027: memory leak in example code in docs.
19758
19759 2005-11-24  Michael Smith <msmith@fluendo.com>
19760
19761         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19762           Unlock the PREROLL_LOCK in a failure case.
19763
19764 2005-11-24  Wim Taymans  <wim@fluendo.com>
19765
19766         * docs/gst/gstreamer-sections.txt:
19767         * gst/base/gstadapter.h:
19768         * gst/base/gstbasesink.h:
19769         * gst/base/gstbasesrc.h:
19770         * gst/base/gstbasetransform.h:
19771         * gst/base/gstpushsrc.h:
19772         * gst/elements/gstfakesink.h:
19773         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19774         * gst/elements/gstfakesrc.h:
19775         * gst/elements/gstfilesink.h:
19776         * gst/elements/gstfilesrc.h:
19777         * gst/gst.c:
19778         * gst/gstbin.c:
19779         * gst/gstbuffer.c: (_gst_buffer_copy):
19780         * gst/gstbus.h:
19781         * gst/gstcaps.c:
19782         * gst/gstchildproxy.c:
19783         * gst/gstclock.c:
19784         * gst/gstelement.c:
19785         * gst/gstelementfactory.c:
19786         * gst/gstelementfactory.h:
19787         * gst/gstevent.c:
19788         * gst/gstghostpad.h:
19789         * gst/gstindex.h:
19790         * gst/gstinterface.h:
19791         * gst/gstminiobject.c:
19792         * gst/gstminiobject.h:
19793         * gst/gstpad.c:
19794         * gst/gstpad.h:
19795         * gst/gstpadtemplate.h:
19796         * gst/gstpipeline.h:
19797         * gst/gstpluginfeature.h:
19798         * gst/gstquery.h:
19799         * gst/gstqueue.h:
19800         * gst/gsttaglist.c:
19801         * gst/gsttaglist.h:
19802         * gst/gsttagsetter.c:
19803         * gst/gsttagsetter.h:
19804         * gst/gsttrace.c:
19805         * gst/gsttrace.h:
19806         * gst/gsttypefind.h:
19807         * gst/gsturi.h:
19808         * gst/gstvalue.c:
19809         * gst/net/gstnetclientclock.c:
19810         * gst/net/gstnetclientclock.h:
19811         * gst/net/gstnettimepacket.c:
19812         * gst/net/gstnettimeprovider.c:
19813         * gst/net/gstnettimeprovider.h:
19814         Doc fixes.
19815
19816 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19817
19818         * configure.ac: back to HEAD
19819
19820 === release 0.9.6 ===
19821
19822 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
19823
19824         * configure.ac:
19825           releasing 0.9.6, "Always On Time"
19826
19827 2005-11-23  Wim Taymans  <wim@fluendo.com>
19828
19829         * docs/gst/gstreamer-sections.txt:
19830         * gst/glib-compat.c:
19831         * gst/gsttagsetter.c:
19832         * gst/gstvalue.c:
19833         * gst/net/gstnetclientclock.c:
19834         * gst/net/gstnettimepacket.h:
19835         Doc updates.
19836
19837 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19838
19839         * docs/faq/using.xml:
19840         * docs/libs/tmpl/gstcontrol.sgml:
19841         * docs/manual/advanced-dparams.xml:
19842         * docs/manual/appendix-checklist.xml:
19843         * docs/manual/basics-elements.xml:
19844         * docs/pwg/other-source.xml:
19845         * docs/random/moving-plugins:
19846         * gst/gstpad.c:
19847         * tools/gst-launch.1.in:
19848           remove mentions of sinesrc
19849
19850 2005-11-23  Michael Smith <msmith@fluendo.com>
19851
19852         * docs/gst/gstreamer-sections.txt:
19853           Update for new API and API changes.
19854         * gst/gstobject.h:
19855           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19856         * gst/gstvalue.c:
19857           Documentation typo fix.
19858         * gst/net/gstnettimepacket.c:
19859           Documentation fixes for arguments.
19860
19861 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
19862
19863         * gst/gststructure.c: (gst_structure_get_fraction),
19864         (gst_structure_parse_value),
19865         (gst_structure_fixate_field_nearest_fraction):
19866         * gst/gststructure.h:
19867         * gst/gstutils.c: (gst_util_uint64_scale_int):
19868         * gst/gstutils.h:
19869         * scripts/update-funcnames:
19870         API Changes. 
19871         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19872         Make gst_structure_fixate_field_nearest_fraction take a numerator
19873         and denominator argument instead of a GValue
19874         add gst_structure_get_fraction helper function.
19875
19876 2005-11-23  Wim Taymans  <wim@fluendo.com>
19877
19878         * docs/design/part-TODO.txt:
19879         Update TODO.
19880
19881         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19882         * gst/net/gstnetclientclock.h:
19883         Use parent fields for timeout and window_size.
19884
19885 2005-11-23  Andy Wingo  <wingo@pobox.com>
19886
19887         * check/net/gstnetclientclock.c (test_functioning): Adjust to
19888         rate_num/rate_denom change.
19889
19890         * gst/net/gstnetclientclock.c
19891         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19892         OBJECT_LOCK. Don't call add_observation with the lock.
19893
19894         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19895         fraction.
19896         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19897         rate fraction.
19898         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19899         deal with rate as a fraction whose numerator and denominator are
19900         GstClockTime values.
19901         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19902         master; the other fields are protected by the SLAVE_LOCK.
19903         (do_linear_regression): Note that this must be called with the
19904         SLAVE_LOCK.
19905         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19906         OBJECT_LOCK. Call set_calibration instead of touching the
19907         variables directly.
19908         (gst_clock_set_property, gst_clock_get_property): Protect
19909         master/slave parameters with the SLAVE_LOCK.
19910
19911         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19912         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19913         note that all of the instance variables that add_observation and
19914         the set_master functions use are protected by that lock and not
19915         the OBJECT_LOCK.
19916         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19917
19918         * gst/gstclock.c (gst_clock_add_observation): No longer requires
19919         the caller to take the object lock.
19920
19921 2005-11-23  Wim Taymans  <wim@fluendo.com>
19922
19923         * gst/gsterror.c: (_gst_core_errors_init):
19924         * gst/gsterror.h:
19925         Add error for clock stuff.
19926
19927         * gst/gstpipeline.c: (gst_pipeline_change_state),
19928         (gst_pipeline_set_clock):
19929         Post clock error when clock cannot be used in a pipeline.
19930
19931 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
19932
19933         * docs/gst/gstreamer-sections.txt:
19934           make two symbols from gstinfo private for the docs
19935         * gst/base/gstcollectpads.h:
19936         * gst/gstutils.c:
19937           fix doc typos, update docs
19938
19939 2005-11-22  Wim Taymans  <wim@fluendo.com>
19940
19941         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19942         (gst_base_sink_wait), (gst_base_sink_do_sync),
19943         (gst_base_sink_handle_event):
19944         * gst/base/gstbasesink.h:
19945         No need to store the clock, the parent element class already
19946         has it.
19947
19948         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
19949         Updates for clock_set returning a gboolean
19950
19951         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
19952         (gst_clock_id_wait_async), (gst_clock_class_init),
19953         (gst_clock_init), (gst_clock_finalize),
19954         (gst_clock_get_internal_time), (gst_clock_get_time),
19955         (gst_clock_slave_callback), (gst_clock_set_master),
19956         (gst_clock_get_master), (do_linear_regression),
19957         (gst_clock_add_observation), (gst_clock_set_property),
19958         (gst_clock_get_property):
19959         * gst/gstclock.h:
19960         Implement master/slave. When setting a clock as a slave, a
19961         periodic timeout is scheduled to sample master and slave times.
19962         Then the slave clock is recalibrated to match offset and rate
19963         of the master clock.
19964         Update logging a bit.
19965         Add flag so that a clock can state that is cannot be slaved to
19966         another clock.
19967
19968         * gst/gstelement.c: (gst_element_set_clock):
19969         * gst/gstelement.h:
19970         The set clock returns a gboolean for when an element cannot
19971         deal with the selected clock in the pipeline. 
19972
19973         * gst/gstpipeline.c: (gst_pipeline_change_state),
19974         (gst_pipeline_set_clock):
19975         * gst/gstpipeline.h:
19976         Handle the case where the selected clock cannot be set on
19977         the pipeline.
19978
19979         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
19980         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
19981         (gst_net_client_clock_set_property),
19982         (gst_net_client_clock_get_property),
19983         (gst_net_client_clock_observe_times):
19984         * gst/net/gstnetclientclock.h:
19985         Use regression code in GstClock parent, remove duplicated
19986         functionality.
19987
19988 2005-11-22  Michael Smith <msmith@fluendo.com>
19989
19990         * gst/gstutils.c: (gst_util_clock_time_scale):
19991         * gst/gstutils.h:
19992         * docs/gst/gstreamer-sections.txt:
19993           Rename method to have extra underscore.
19994
19995 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19996
19997         * gst/elements/Makefile.am:
19998         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
19999         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20000         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20001         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20002         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20003         * gst/elements/gstfakesrc.h:
20004         * gst/gstqueue.c: (queue_leaky_get_type):
20005           correctly fix GEnumValues so that nick is the short lowercase
20006           dashed tag
20007         * tools/gst-inspect.c: (print_element_properties_info):
20008           also show the nick, since it's useful to use from parse_launch
20009           syntax
20010           Fixes #322139
20011
20012 2005-11-22  Michael Smith <msmith@fluendo.com>
20013
20014         * gst/gstutils.c: (gst_util_clocktime_scale):
20015         * gst/gstutils.h:
20016         * docs/gst/gstreamer-sections.txt:
20017           Add util method for scaling a clocktime by a fraction. Useful 
20018           implementation is left as an exercise for the reader.
20019
20020 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20021
20022         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20023         If needed, allocate storage in the destination value during
20024         collection.
20025
20026 2005-11-22  Edward Hervey  <edward@fluendo.com>
20027
20028         * docs/gst/gstreamer-sections.txt:
20029         * gst/Makefile.am:
20030         * gst/gst.h:
20031         * gst/gsturitype.c:
20032         * gst/gsturitype.h:
20033         * gst/gstutils.c: (gst_util_set_object_arg):
20034         * tools/gst-compprep.c: (main):
20035         * tools/gst-inspect.c: (print_element_properties_info):
20036         Removed GstURI, closes bug #321061
20037
20038 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20039
20040         * check/gst/gststructure.c: (GST_START_TEST):
20041         * gst/gststructure.c: (gst_structure_parse_value):
20042           Oops, broke automatic string type parsing.
20043           Add a test to catch it in future.
20044
20045 2005-11-22  Andy Wingo  <wingo@pobox.com>
20046
20047         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20048         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20049         Actually rename the function implementations. Grr.
20050
20051 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20052
20053         * check/gst/capslist.h:
20054           Comment test cases
20055         * check/gst/gststructure.c: (GST_START_TEST),
20056         (gst_structure_suite):
20057           Test automatic value type detection in gst_structure_from_string.
20058         * gst/gststructure.c: (gst_structure_parse_value):
20059           Add fraction as a type we try and guess automatically in
20060           caps/structure strings.
20061
20062 2005-11-22  Andy Wingo  <wingo@pobox.com>
20063
20064         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20065
20066         * gst/gsttagsetter.h:
20067         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20068         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20069         (gst_tag_setter_add_tag_valist)
20070         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20071         _add_values, _add_valist, and _add_valist_values. Since this is an
20072         interface the function suffixes should be more explicit so
20073         language binding don't end up with element.add_valist ->
20074         gst_tag_setter_add_valist, for example. Fixes #322069.
20075
20076 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20077
20078         * check/gst/gstcaps.c: (GST_START_TEST):
20079           Extend caps string tests to check that a caps to string
20080           conversion is reversible and produces the same caps.
20081
20082         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20083           Output "fraction" as the generic type fraction range, so caps
20084           serialisation and deserialisation works.
20085         * check/gst/capslist.h:
20086         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20087           Support 'MIN' and 'MAX' for deserialising fractions.
20088
20089 2005-11-22  Andy Wingo  <wingo@pobox.com>
20090
20091         * gst/gstevent.h (gst_event_new_new_segment)
20092         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20093         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20094         Renamed from *_newsegment, *_buffersize, *_notarget.
20095
20096         * scripts/update-funcnames: New script, performs the changes
20097         listed above.
20098
20099 2005-11-22  Wim Taymans  <wim@fluendo.com>
20100
20101         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20102         Make sure the GstFlowReturn is returned.
20103
20104         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20105         (gst_bus_add_signal_watch):
20106         * gst/gstbus.h:
20107         add gst_bus_add_signal_watch_full.
20108
20109         * gst/gstplugin.c: (gst_plugin_load_file):
20110         Small style cleanup.
20111
20112 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20113
20114         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20115           Block the fakesrc srcpad when we send an event, to avoid
20116           contention on the stream_lock causing random test failures.
20117
20118 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20119
20120         * check/gst/gstvalue.c: (GST_START_TEST):
20121         * gst/gstvalue.c: (gst_value_fraction_subtract):
20122           Fix subtraction.
20123
20124 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20125
20126         * gst/gst.h:
20127           include "gstchildproxy.h"
20128         * gst/gstchildproxy.h:
20129         * libs/gst/controller/gstcontroller.h:
20130           use G_GNUC_NULL_TERMINATED
20131
20132 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20133
20134         * check/gst/capslist.h:
20135         * check/gst/gstcaps.c: (GST_START_TEST):
20136         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20137         * gst/gststructure.c: (gst_structure_parse_range),
20138         (gst_structure_fixate_field_nearest_fraction):
20139         * gst/gststructure.h:
20140         * gst/gstvalue.c: (gst_value_init_fraction_range),
20141         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20142         (gst_value_collect_fraction_range),
20143         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20144         (gst_value_set_fraction_range_full),
20145         (gst_value_get_fraction_range_min),
20146         (gst_value_get_fraction_range_max),
20147         (gst_value_serialize_fraction_range),
20148         (gst_value_transform_fraction_range_string),
20149         (gst_value_compare_fraction_range),
20150         (gst_value_deserialize_fraction_range),
20151         (gst_value_intersect_fraction_fraction_range),
20152         (gst_value_intersect_fraction_range_fraction_range),
20153         (gst_value_subtract_fraction_fraction_range),
20154         (gst_value_subtract_fraction_range_fraction),
20155         (gst_value_subtract_fraction_range_fraction_range),
20156         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20157         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20158         (gst_value_transform_string_fraction), (_gst_value_initialize):
20159         * gst/gstvalue.h:
20160           Implement fraction ranges and extend GstFraction to support
20161           arithmetic subtraction, as well as deserialization from integer
20162           strings such as "100"
20163           Add a testsuite as for int and double range set operations
20164
20165 2005-11-21  Andy Wingo  <wingo@pobox.com>
20166
20167         * gst/gsttaglist.h: 
20168         * gst/gstcaps.h: 
20169         * gst/gststructure.h: Add glib-compat.h.
20170
20171 2005-11-21  Wim Taymans  <wim@fluendo.com>
20172
20173         * gst/gstbin.c: (gst_bin_change_state_func):
20174         Fix for #321595
20175
20176 2005-11-21  Wim Taymans  <wim@fluendo.com>
20177
20178         * gst/gstsegment.h:
20179         And add a nice define too.
20180
20181 2005-11-21  Wim Taymans  <wim@fluendo.com>
20182
20183         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20184         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20185         (gst_segment_set_duration), (gst_segment_set_last_stop),
20186         (gst_segment_set_seek), (gst_segment_set_newsegment),
20187         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20188         (gst_segment_clip):
20189         * gst/gstsegment.h:
20190         Make binding friendly.
20191
20192 2005-11-21  Andy Wingo  <wingo@pobox.com>
20193
20194         * gst/gsttagsetter.h: 
20195         * gst/gsttaglist.h: 
20196         * gst/gststructure.h: 
20197         * gst/gstcaps.h: 
20198         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20199         #319940.
20200
20201         * gst/gsterror.c (_gst_core_errors_init):
20202         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20203         category.
20204
20205         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20206         (noinst_HEADERS): noinst the -private.
20207
20208 2005-11-21  Michael Smith <msmith@fluendo.com>
20209
20210         * gst/gstplugin.h:
20211         * gst/gstregistry.h:
20212           Remove unimplemented declarations for which we can see no sensible
20213           use.
20214
20215 2005-11-21  Andy Wingo  <wingo@pobox.com>
20216
20217         * gst/gst.h: Include glib-compat.h.
20218
20219         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20220
20221         * gst/glib-compat.c: Include the public and the private header.
20222
20223         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20224
20225         * gst/gstvalue.c: 
20226         * gst/gstpad.c: 
20227         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20228
20229         * check/gst/gstevent.c (create_custom_events): Check that
20230         FLUSH_STOP is serialized.
20231
20232         * check/elements/identity.c (event_func): 
20233         * check/elements/fakesrc.c (event_func): No stream lock, the core
20234         takes it.
20235
20236         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20237         stream lock taking, yay.
20238
20239         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20240         ensure that core takes the stream lock.
20241
20242         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20243         lock name change.
20244
20245         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20246         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20247         it already. For the flush start we do take it though so we get the
20248         right preroll state change messages.
20249
20250         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20251         the stream lock here, the core does it for us.
20252
20253         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20254         GST_STREAM_GET_LOCK.
20255         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20256         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20257         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20258         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20259         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20260         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20261
20262         * gst/gstpad.c: Update for stream lock name change.
20263
20264         * gst/base/gstbasesink.c: Update for preroll lock name change.
20265
20266 2005-11-21  Wim Taymans  <wim@fluendo.com>
20267
20268         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20269         (gst_clock_get_master):
20270         * gst/gstclock.h:
20271         * gst/gstsystemclock.c: (gst_system_clock_init):
20272         Convert Clock flags to object flags.
20273         Added methods to manage master/slave clocks.
20274
20275 2005-11-21  Wim Taymans  <wim@fluendo.com>
20276
20277         * check/gst/gstsegment.c: (GST_START_TEST):
20278         * docs/design/part-TODO.txt:
20279         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20280         (gst_base_sink_event), (gst_base_sink_do_sync),
20281         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20282         (gst_base_sink_query), (gst_base_sink_change_state):
20283         * gst/base/gstbasesink.h:
20284         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20285         (gst_base_src_default_newsegment),
20286         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20287         (gst_base_src_get_range), (gst_base_src_loop),
20288         (gst_base_src_change_state):
20289         * gst/base/gstbasesrc.h:
20290         * gst/base/gstbasetransform.c:
20291         (gst_base_transform_prepare_output_buf),
20292         (gst_base_transform_event), (gst_base_transform_change_state):
20293         * gst/base/gstbasetransform.h:
20294         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20295         (gst_collect_pads_event):
20296         * gst/base/gstcollectpads.h:
20297         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20298         (gst_fake_src_create):
20299         * gst/elements/gstfakesrc.h:
20300         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20301         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20302         (gst_segment_set_last_stop), (gst_segment_set_seek),
20303         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20304         (gst_segment_to_running_time), (gst_segment_clip):
20305         * gst/gstsegment.h:
20306         More segment updates, replace code in plugins with segment
20307         helper functions.
20308
20309 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20310
20311         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20312         Don't ignore sscanf results
20313
20314 2005-11-21  Andy Wingo  <wingo@pobox.com>
20315
20316         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20317
20318         * *.h:
20319         * *.c: Ran scripts/update-macros. Oh yes.
20320
20321         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20322         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20323         GST_GET_LOCK, etc.
20324
20325         * scripts/update-macros: New script. Run it on your files to
20326         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20327         well.
20328
20329 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20330
20331         * docs/gst/Makefile.am:
20332         * docs/gst/gstreamer-docs.sgml:
20333         * docs/gst/gstreamer-sections.txt:
20334         * docs/gst/gstreamer.types:
20335         * gst/gstinfo.h:
20336           more docs fixes, add new api to the docs
20337
20338 2005-11-21  Andy Wingo  <wingo@pobox.com>
20339
20340         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20341         state_broadcast call.
20342
20343         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20344
20345 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20346
20347         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20348         function calls for arrays.
20349
20350 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20351
20352         * docs/random/ensonic/media-device-daemon.txt:
20353           wild idea, can this be done?
20354         * docs/gst/gstreamer-sections.txt:
20355         * gst/gsterror.h:
20356         * gst/gstfilter.c:
20357         * gst/gstfilter.h:
20358         * gst/gstplugin.h:
20359         * gst/gstpluginfeature.c:
20360         * gst/gsttrace.c:
20361         * gst/gstvalue.c:
20362         * gst/gstvalue.h:
20363           doc fixes and additions
20364
20365 2005-11-21  Andy Wingo  <wingo@pobox.com>
20366
20367         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20368         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20369         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20370         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20371         private to the basesrc implementation.
20372
20373         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20374         behalf of event function if necessary. It should no longer be
20375         necessary to take the stream lock in pad's event functions. Fixes
20376         #320299.
20377
20378 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20379         * docs/gst/gstreamer-sections.txt:
20380         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20381         (gst_structure_fixate_field_nearest_double),
20382         (gst_structure_fixate_field_boolean):
20383         * gst/gststructure.h:
20384         * win32/common/libgstreamer.def:
20385         * win32/gstreamer.def:
20386
20387         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20388         (#322027)
20389
20390 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20391
20392         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20393         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20394         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20395         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20396         (gst_fdsrc_uri_handler_init):
20397         * gst/elements/gstfdsrc.h:
20398           Port fd:// URI handler from 0.8 to fdsrc
20399
20400 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20401
20402         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20403         (gst_value_serialize_fourcc):
20404         * gst/gstvalue.h:
20405           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20406           consistent with our other format defines (#320324).
20407
20408 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20409
20410         * gst/gstvalue.c: (gst_value_is_fixed):
20411           Revert previous commit. Value lists are by definition
20412           not fixed, as they are a list of possible values.
20413
20414 2005-11-21  Andy Wingo  <wingo@pobox.com>
20415
20416         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20417         during the stable series if we need it. Fixes #319178.
20418
20419         * gst/gstevent.c (gst_event_new_filler): Removed.
20420
20421         * check/gst/gstevent.c: Update comment about filler events.
20422
20423 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20424
20425         * gst/gstvalue.c: (gst_value_is_fixed):
20426           Should handle both value arrays and value lists.
20427
20428 2005-11-21  Andy Wingo  <wingo@pobox.com>
20429
20430         patch by: Alessandro Dessina <alessandro nnva org>
20431
20432         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20433         functions to access arrays. Fixes #321962.
20434
20435 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20436
20437         * docs/gst/gstreamer.types:
20438           gst_collectpads_get_type => gst_collect_pads_get_type.
20439           
20440         * gst/base/gstbasetransform.c:
20441           Remove unused SIGNAL_HANDOFF enum.
20442
20443 2005-11-21  Andy Wingo  <wingo@pobox.com>
20444
20445         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20446         the event type (upstream, downstream, serialized). Renamed
20447         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20448         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20449         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20450
20451         * gst/gstevent.c: Update for new CUSTOM event names.
20452
20453         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20454
20455         * gst/gstevent.h:
20456         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20457         bug #319392.
20458
20459 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20460
20461         * docs/gst/gstreamer-sections.txt:
20462         * win32/common/libgstbase.def:
20463         * win32/libgstbase.def:
20464         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20465         (gst_collect_pads_class_init), (gst_collect_pads_init),
20466         (gst_collect_pads_finalize), (gst_collect_pads_new),
20467         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20468         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20469         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20470         (gst_collect_pads_start), (gst_collect_pads_stop),
20471         (gst_collect_pads_peek), (gst_collect_pads_pop),
20472         (gst_collect_pads_available), (gst_collect_pads_read),
20473         (gst_collect_pads_flush), (gst_collect_pads_event),
20474         (gst_collect_pads_chain):
20475         * gst/base/gstcollectpads.h:
20476           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20477           unimplemented functions as unimplemented. Add padding to
20478           GstCollectData. (#320766, #320423)
20479
20480 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20481
20482         * gst/gstmessage.c:
20483           Improve docs for DURATION message (usage of duration parameter)
20484           (#320113)
20485
20486 2005-11-20  Wim Taymans  <wim@fluendo.com>
20487
20488         * check/Makefile.am:
20489         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20490         (main):
20491         * gst/Makefile.am:
20492         * gst/gst.h:
20493         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20494         (gst_segment_set_seek), (gst_segment_set_newsegment),
20495         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20496         (gst_segment_clip):
20497         * gst/gstsegment.h:
20498         Added segment helper structure and methods. Not fully implemented
20499         yet.
20500         Added segment check.
20501
20502 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20503
20504         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20505           Add a deserialisation test for fractions
20506         * examples/metadata/read-metadata.c: (message_loop),
20507         (make_pipeline), (main):
20508           Fix up metadata reading sample.
20509         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20510           Debug format fix
20511         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20512           Don't try and fixate empty caps
20513         * gst/gst_private.h:
20514           Wrap in G_BEGIN_DECLS/G_END_DECLS
20515         * gst/gstvalue.c: (gst_value_collect_fraction),
20516         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20517         (gst_value_transform_string_fraction),
20518         (gst_value_compare_fraction):
20519           Add some extra guards to ensure that we don't end up 
20520           with an invalid denominator of 0 in a gstfraction and
20521           that fractions always get reduced.
20522
20523 2005-11-20  Wim Taymans  <wim@fluendo.com>
20524
20525         * docs/gst/gstreamer-sections.txt:
20526         * gst/gstbuffer.h:
20527         * gst/gstelement.c:
20528         * gst/gstformat.c:
20529         * gst/gstformat.h:
20530         * gst/gstindex.h:
20531         * gst/gstquery.c:
20532         * gst/gstquery.h:
20533         * gst/gstvalue.c:
20534         Doc fixes.
20535
20536 2005-11-20  Wim Taymans  <wim@fluendo.com>
20537
20538         * docs/design/part-TODO.txt:
20539         * gst/gstcaps.h:
20540         Make a proper enum of the flag.
20541
20542 2005-11-19  Wim Taymans  <wim@fluendo.com>
20543
20544         * docs/design/part-TODO.txt:
20545         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20546         (gst_format_to_quark), (gst_format_register):
20547         * gst/gstformat.h:
20548         * gst/gstquery.c: (_gst_query_initialize),
20549         (gst_query_type_get_name), (gst_query_type_to_quark),
20550         (gst_query_type_register):
20551         * gst/gstquery.h:
20552         Add type to quark and type to string conversions.
20553
20554 2005-11-19  Andy Wingo  <wingo@pobox.com>
20555
20556         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20557         #320097.
20558
20559 2005-11-19  Wim Taymans  <wim@fluendo.com>
20560
20561         * docs/design/part-TODO.txt:
20562         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20563         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20564         (gst_bin_handle_message_func):
20565         * gst/gstbin.h:
20566         Make message handling overridable.
20567
20568 2005-11-19  Andy Wingo  <wingo@pobox.com>
20569
20570         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20571
20572         * gst/gstclock.h:
20573         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20574         be a GstClockTime.
20575         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20576         is a GstClockTime. Fixes #321710.
20577
20578         * gst/gstclock.h (GstClock): Remove offset property. Add
20579         internal_calibration and external_calibration. Fix padding. Pad
20580         also by GstClockTime so we don't run into problems.
20581
20582         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20583         (gst_clock_get_rate_offset): Remove.
20584         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20585
20586         * gst/gstutils.h:
20587         * gst/gstutils.c (g_static_rec_cond_wait)
20588         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20589
20590         * gst/gstbin.c: Remove terrible continue_state prototype.
20591
20592         * gst/gstelement.h (gst_element_continue_state): Make public.
20593
20594         * gst/gstelement.h:
20595         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20596         by continue_state. Fixes #319389.
20597
20598         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20599         Really fixes #168438. However I don't see anywhere where the
20600         filter function is called... stupid GStreamer...
20601         
20602         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20603         don't have a dispose function, so it won't get called when the
20604         object is unreffed, but oh well!
20605
20606         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20607         allows a destroy function to be set so user_data can be freed.
20608         Fixes #168438.
20609         (gst_index_set_filter): Call gst_index_set_filter_full.
20610
20611         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20612
20613         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20614         string should produce an error, given the lack of a way to
20615         represent NULL strings. Fixes #165650.
20616         
20617         * gst/gstvalue.h: 
20618         * gst/gstvalue.c (gst_value_array_append_value) 
20619         (gst_value_array_prepend_value, gst_value_array_get_size) 
20620         (gst_value_array_get_value): New API, copied from
20621         gst_value_list_*, only operates on arrays.
20622         (gst_value_list_append_value, gst_value_list_prepend_value) 
20623         (gst_value_list_concat, gst_value_list_get_size) 
20624         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20625
20626         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20627         init_list, because it works on both.
20628         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20629         (gst_value_copy_list_or_array): Renamed from copy_list.
20630         (gst_value_free_list_or_array): Renamed from free_list.
20631         (gst_value_collect_list_or_array): Renamed from collect_list.
20632         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20633         (gst_value_list_or_array_peek_pointer): Renamed from
20634         list_peek_pointer.
20635         (_gst_value_array_value_table, _gst_value_list_value_table):
20636         Update value table functions.
20637         (gst_value_compare_list_or_array): Renamed from compare_list.
20638
20639         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20640         some constness.
20641
20642         * gst/gsttaglist.c:
20643         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20644         GstTagList*. Fixes #143472.
20645
20646         * gst/gststructure.h: Clarify what the foreach/map functions can
20647         or can't do to their arguments.
20648
20649 2005-11-18  Wim Taymans  <wim@fluendo.com>
20650
20651         * gst/gstclock.c: (gst_clock_set_calibration),
20652         (gst_clock_get_calibration):
20653         Doc and API fixes.
20654         Calibration can be set with internal time equal to current
20655         internal time too.
20656
20657 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20658
20659         * gst/gsterror.c:
20660         * gst/gsterror.h:
20661           document
20662
20663 2005-11-18  Andy Wingo  <wingo@pobox.com>
20664
20665         * configure.ac: 
20666         * pkgconfig/gstreamer-net.pc.in:
20667         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20668         * pkgconfig/Makefile.am: Add net pkgconfig files.
20669
20670 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20671
20672         * gst/gstcaps.c:
20673         * gst/gstghostpad.c:
20674         * gst/gsttrace.c:
20675         * gst/gstvalue.c:
20676         * gst/gstvalue.h:
20677           docs fixes
20678
20679 2005-11-18  Andy Wingo  <wingo@pobox.com>
20680
20681         * gst/net/gstnetclientclock.c: Turn off debugging.
20682
20683         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20684         times connverge somewhat. Can't make a real test.
20685
20686         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20687         integer arithmetic. Return the minimum of the domain, which can be
20688         set as "internal" for gst_clock_set_calibration.
20689         (gst_net_client_clock_observe_times): Call _set_calibration.
20690         (gst_net_client_clock_new): Call _set_calibration instead of
20691         rate_offset.
20692
20693         * check/net/gstnetclientclock.c (test_functioning): Use the right
20694         adjustment api.
20695
20696         * gst/gstclock.h:
20697         * gst/gstclock.c (gst_clock_get_calibration) 
20698         (gst_clock_set_calibration): New functions, obsolete the ones I
20699         added yesterday. Doh. Precision issues mean we have to extrapolate
20700         from a point in the more recent past than 1970.
20701         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20702         obsolete.
20703         (gst_clock_adjust_unlocked): Use the right calibration data.
20704
20705 2005-11-18  Edward Hervey  <edward@fluendo.com>
20706
20707         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
20708         Also reset the ->current_* values in READY->PAUSED
20709
20710 2005-11-18  Andy Wingo  <wingo@pobox.com>
20711
20712         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20713         Whoops, check the right fd. Also add some debugging.
20714         (gst_net_client_clock_observe_times): Adjust for int64 offset.
20715         (do_linear_regression): Add a crapload of debugging. Subtract off
20716         the minimum values from the input series to discard unneeded bits.
20717         Use only int arithmetic. There is still double arithmetic when
20718         calculating the intercept that needs fixing. Return boolean to
20719         indicate success; FALSE would mean the domain or range is too
20720         great. Still needs fixes.
20721
20722 2005-11-18  Wim Taymans  <wim@fluendo.com>
20723
20724         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20725         For the current position in stream time, we need to subtract
20726         accumulated time.
20727         
20728         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20729         Release lock before calling the callback function of async
20730         entries.
20731
20732 2005-11-18  Andy Wingo  <wingo@pobox.com>
20733
20734         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20735         Port goes all the way to MAXUINT16.
20736
20737         * gst/net/gstnettimeprovider.c: Make the port range the same as
20738         for the kernel: 0 assigns, otherwise ports are less than
20739         MAXUINT16.
20740
20741         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20742         port change.
20743
20744         * check/net/gstnetclientclock.c (test_functioning): Add the start
20745         of another test. 
20746
20747 2005-11-18  Wim Taymans  <wim@fluendo.com>
20748
20749         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20750         (gst_bin_remove_func), (bin_bus_handler):
20751         * gst/gstbin.h:
20752         Removing a clock provider from a bin, triggers a clock lost message
20753         so that a new clock will be selected.
20754         Adding a clock to a bin triggers a clock provider message.
20755         Make sure we reselect a clock when we received a clock lost message.
20756         Keep a reference to the element that provided the clock.
20757
20758 2005-11-18  Andy Wingo  <wingo@pobox.com>
20759
20760         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20761         the clock initially so it produces values around the base time.
20762         (gst_net_client_clock_class_init): Typo fix.
20763         (gst_net_client_clock_thread): Add note on when the socket gets
20764         closed.
20765
20766 2005-11-17  Wim Taymans  <wim@fluendo.com>
20767
20768         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20769         Free remote and local time arrays.
20770
20771 2005-11-17  Wim Taymans  <wim@fluendo.com>
20772
20773         * gst/net/gstnetclientclock.c: (do_linear_regression),
20774         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20775         Fix compilation, uninitialized vars and a forgotten continue.
20776
20777 2005-11-17  Andy Wingo  <wingo@pobox.com>
20778
20779         * check/Makefile.am (check_PROGRAMS): 
20780         * check/net/gstnetclientclock.c: Add a most minimal test for the
20781         net client clock. More to come later.
20782
20783         * gst/net/gstnet.h: 
20784         * gst/net/Makefile.am: Add netclientclock.
20785
20786         * gst/net/gstnetclientclock.h:
20787         * gst/net/gstnetclientclock.c: New files, implement an untested
20788         GstClock that takes its time from a network time provider.
20789         Implements the algorithm in network-clock.scm.
20790
20791         * tests/network-clock.scm (*window-size*): Rename from
20792         *queue-length*.
20793         * tests/network-clock.scm (network-time): 
20794         * tests/network-clock-utils.scm (q-push): Update callers.
20795
20796 2005-11-17  Wim Taymans  <wim@fluendo.com>
20797
20798         * gst/gstbin.c: (gst_bin_provide_clock_func),
20799         (gst_bin_sort_iterator_new):
20800         And unref the child too..
20801
20802 2005-11-17  Wim Taymans  <wim@fluendo.com>
20803
20804         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20805         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20806         Refactor the sort iterator so it can be used while holding the
20807         LOCK too.
20808         Make clock selection select a clock closest to the source.
20809
20810 2005-11-17  Michael Smith <msmith@fluendo.com>
20811
20812         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20813         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20814         * gst/gstclock.h:
20815           Anonymous structs are a gcc (and some other compilers) extension, so
20816           don't use them. Since this is only for ABI-compatibility, and our
20817           API/ABI freeze is over in a few days, this whole thing will only
20818           last a few days, so don't bother trying to think up a meaningful
20819           name for the struct.
20820
20821 2005-11-17  Andy Wingo  <wingo@pobox.com>
20822
20823         * gst/gstclock.h (GstClock): Add rate and offset properties,
20824         preserving ABI stability. Add rate/offset accessors. Will file bug
20825         for the freeze break.
20826
20827         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20828         and offset, trying to keep precision and avoiding
20829         underflow/overflow.
20830         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20831         functions. Make gst_clock_set_time_adjust obsolete.
20832         (gst_clock_set_time_adjust): Note that this function is obsolete.
20833         Will file bug soon.
20834
20835         * gst/base/gstbasetransform.h: Make the ABI-stability hack
20836         greppable by using GST_PADDING-1+1.
20837
20838 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
20839
20840         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20841
20842         * gst/gstmessage.c: (gst_message_parse_clock_lost):
20843           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20844
20845         * gst/gstpadtemplate.h:
20846         * gst/gstpluginfeature.h:
20847           Don't use c++ style comments in headers (#321638).
20848
20849 2005-11-16  Andy Wingo  <wingo@pobox.com>
20850
20851         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20852         buffer.
20853
20854         * check/net/gstnettimeprovider.c: Check to see that the time
20855         provider actually provides times. Works, yo!
20856
20857 2005-11-16  Wim Taymans  <wim@fluendo.com>
20858
20859         * check/Makefile.am:
20860         Enable more tests.
20861
20862         * check/elements/fakesrc.c: (GST_START_TEST):
20863         Set element to NULL before disposing it.
20864
20865 2005-11-16  Andy Wingo  <wingo@pobox.com>
20866
20867         * gst/net/Makefile.am:
20868         * gst/net/gstnet.h:
20869         * gst/net/gstnettimeprovider.c: 
20870         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20871         provider, include it from gstnet.h, and add it to the build.
20872
20873         * gst/net/gstnettimepacket.h: 
20874         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20875         sending and receiving.
20876
20877 2005-11-16  Wim Taymans  <wim@fluendo.com>
20878
20879         * check/Makefile.am:
20880         Enable valgrind check.
20881
20882         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20883         (gst_fake_src_alloc_buffer):
20884         Fix memleak.
20885
20886 2005-11-16  Wim Taymans  <wim@fluendo.com>
20887
20888         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20889         Call parent finalize too.
20890
20891 2005-11-16  Wim Taymans  <wim@fluendo.com>
20892
20893         * check/Makefile.am:
20894         Enable valgrind check that should work fine now.
20895
20896         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20897         * gst/gstqueue.c: (gst_queue_init):
20898         Fix memleaks in pad allocation.
20899
20900 2005-11-16  Andy Wingo  <wingo@pobox.com>
20901
20902         * gst/net/Makefile.am:
20903         * gst/net/gstnet.h: New part of core to hold network elements and
20904         objects. Put in core because it exposes API that applications want
20905         to use. The library is named libgstnet-tempname right now because
20906         of the existing libgstnet in gst-plugins-base. Solution is
20907         probably to rename the one in plugins-base; will file a bug for
20908         the freeze break.
20909
20910         * gst/net/gstnettimeprovider.c: 
20911         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20912         get_time call over the network.
20913
20914         * configure.ac: 
20915         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20916
20917         * check/Makefile.am:
20918         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20919         get additions shortly.
20920
20921 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20922
20923         * gst/gstpad.c: (gst_pad_new_from_static_template):
20924         * gst/gstpad.h:
20925           add gst_pad_new_from_static_template functions
20926         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20927         (gst_check_setup_sink_pad):
20928         * gst/elements/gsttee.c: (gst_tee_init):
20929           and use them
20930
20931 2005-11-16  Wim Taymans  <wim@fluendo.com>
20932
20933         * gst/gstpad.c: (gst_pad_pause_task):
20934         Removed warning, it's not really an error either.
20935
20936 2005-11-16  Wim Taymans  <wim@fluendo.com>
20937
20938         * gst/base/gstbasetransform.c:
20939         (gst_base_transform_prepare_output_buf),
20940         (gst_base_transform_event):
20941         Check if the caps are NULL, this can happen if the element
20942         is shutting down and the pad caps are set to NULL.
20943
20944 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20945
20946         * gst/elements/gsttee.c: (gst_tee_init):
20947           fix pad template leak in tee
20948
20949 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20950
20951         * gst/glib-compat.c: (g_value_dup_gst_object):
20952         * gst/glib-compat.h:
20953         * gst/gstpad.c: (gst_pad_set_property):
20954           use gst_object_ref when setting the pad template; this will
20955           trigger the pad template leaks on GLib 2.6 and the slaves
20956
20957 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20958
20959         * gst/glib-compat.c: (gst_flags_get_first_value):
20960         * gst/glib-compat.h:
20961         * gst/gstregistryxml.c:
20962           remove functions copied from GLib 2.6
20963
20964 2005-11-16  Michael Smith <msmith@fluendo.com>
20965
20966         * gst/Makefile.am:
20967           Don't link against VALGRIND_LIBS. That was always the wrong thing to
20968           do, but only breaks with newer valgrind versions. We're not a
20969           valgrind tool, we have no link-time dependencies on libcoregrind.
20970
20971 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20972
20973         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20974           some debug changes
20975         * gst/gstmessage.h:
20976           typo fixes
20977
20978 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20979
20980         * gst/base/gstbasesrc.c: (gst_base_src_init):
20981         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20982         * gst/gstqueue.c: (gst_queue_init):
20983         * gst/gstregistryxml.c: (load_feature):
20984           Revert all these unrefs, they don't even pass make check !
20985
20986 2005-11-15  Johan Dahlin  <johan@gnome.org>
20987
20988         * gst/base/gstbasesrc.c: (gst_base_src_init):
20989         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20990         * gst/gstqueue.c: (gst_queue_init): 
20991         Free pad templates, fixes a couple of leaks.
20992
20993 2005-11-15  Daniel Fischer  <dan at f3c dot com>
20994
20995         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20996
20997         * gst/gstpad.c: (gst_pad_get_property):
20998           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
20999           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21000           (#321452)
21001
21002 2005-11-15  Wim Taymans  <wim@fluendo.com>
21003
21004         * gst/gstevent.c:
21005         Small doc update.
21006
21007 2005-11-15  Andy Wingo  <wingo@pobox.com>
21008
21009         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21010
21011         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21012         using GST_CLOCK_TIME_NONE to disable base time management.
21013         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21014         time if it was NONE before.
21015         (gst_pipeline_change_state): Only munge the base time if
21016         stream_time != GST_CLOCK_TIME_NONE.
21017
21018         * check/gst/gstpipeline.c (test_base_time): Punt around the
21019         problem of the probe not being called, because that's not the
21020         issue I'm looking at. Add a check that setting stream_time to NONE
21021         disables base time management.
21022         
21023 2005-11-15  Wim Taymans  <wim@fluendo.com>
21024
21025         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21026         segment_stop == -1 at startup.
21027
21028         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21029         (gst_base_transform_change_state):
21030         Init segment values at start.
21031
21032 2005-11-15  Wim Taymans  <wim@fluendo.com>
21033
21034         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21035         0 segment values are 0 in any format.
21036
21037         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21038         * gst/base/gstbasetransform.h:
21039         Parse newsegment correctly in basetransform
21040
21041         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21042         Sync to clock using updated segment values.
21043
21044 2005-11-15  Andy Wingo  <wingo@pobox.com>
21045
21046         * check/gst/gstpipeline.c (test_base_time): Add check that the
21047         base time and stream time are reset correctly.
21048
21049 2005-11-15  Wim Taymans  <wim@fluendo.com>
21050
21051         * docs/design/part-TODO.txt:
21052         Some more TODO items.
21053
21054 2005-11-15  Andy Wingo  <wingo@pobox.com>
21055
21056         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21057         error if the user selected "no clock" as the clocking method.
21058
21059         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21060         timestamps with live capture.
21061
21062         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21063         is 0 but we are a live source, timestamp the buffers using the
21064         element's clock.
21065
21066 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21067
21068         * docs/gst/gstreamer-sections.txt:
21069         * gst/gsterror.c:
21070         * gst/gstghostpad.c:
21071         * gst/gstobject.h:
21072         * gst/gstxml.c:
21073           more section docs
21074
21075 2005-11-14  Wim Taymans  <wim@fluendo.com>
21076
21077         * common/gst.supp:
21078           add suppressions from Wim's Debian machine
21079
21080 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21081
21082         * common/gst.supp:
21083           add suppressions from Andy's AMD64 Ubuntu machine
21084
21085 2005-11-14  Andy Wingo  <wingo@pobox.com>
21086
21087         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21088         STATE_LOCK not necessary. Fixes #311489.
21089
21090         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21091         #305291.
21092
21093         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21094         this function is not implemented.
21095
21096 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21097
21098         * gst/base/gstbasetransform.c:
21099         (gst_base_transform_prepare_output_buf):
21100         Ref the source pad caps while we need them.
21101         Fixes (#321386)
21102
21103 2005-11-11  Wim Taymans  <wim@fluendo.com>
21104
21105         * docs/gst/gstreamer-sections.txt:
21106         Added some docs for GstCollectData.
21107
21108         * gst/base/gstadapter.c:
21109         Some small code example fix.
21110
21111         * gst/base/gstcollectpads.c:
21112         * gst/base/gstcollectpads.h:
21113         Document some more.
21114
21115 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21116
21117         * configure.ac: back to HEAD
21118
21119 === release 0.9.5 ===
21120
21121 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21122
21123         * configure.ac:
21124           releasing 0.9.5, "Bike Lunch Day"
21125
21126 2005-11-11  Wim Taymans  <wim@fluendo.com>
21127
21128         * gst/gstbuffer.c: (_gst_buffer_copy):
21129         Copy more flags.
21130
21131         * gst/gstcaps.c: (gst_caps_is_equal):
21132         Fix some docs.
21133         Make _is_equal fast in the trivial cases.
21134
21135         * gst/gstminiobject.c:
21136         * gst/gstminiobject.h:
21137         More docs. Spifify .h file.
21138
21139         * gst/gstutils.c:
21140         Small doc update.
21141
21142 2005-11-11  Wim Taymans  <wim@fluendo.com>
21143
21144         * gst/base/gstbasetransform.c:
21145         (gst_base_transform_prepare_output_buf),
21146         (gst_base_transform_handle_buffer):
21147         Small cleanups.
21148         If we're processing a buffer and need to allocate an output
21149         buffer, we cannot accept a format change. If we did get a 
21150         format change, we have to alloc a buffer ourselves of the 
21151         right size.
21152
21153 2005-11-11  Wim Taymans  <wim@fluendo.com>
21154
21155         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21156         While checking the flag for reentrancy in the gstcaps function
21157         is nice to detect recursive invocations, it also makes it 
21158         impossible to call getcaps from multiple threads, which must be
21159         possible. So, checking for recursive calls has to go.
21160
21161 2005-11-11  Michael Smith <msmith@fluendo.com>
21162
21163         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21164           Don't sync on buffers that fall partially outside our current
21165           segment. Prevents an assertion failure/abort playing some files.
21166
21167 2005-11-10  Andy Wingo  <wingo@pobox.com>
21168
21169         * check/gst/gstbin.c (test_message_state_changed_children): Style
21170         fix..
21171
21172         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21173         gst_bus_poll with the signal watch. Ensures that poll and a signal
21174         watch see the same messages.
21175
21176         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21177         a poll and a watch at the same time get the same messages.
21178
21179 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21180
21181         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21182         * gst/gstcaps.c: (gst_caps_intersect):
21183           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21184           and it's not needed.
21185
21186 2005-11-10  Wim Taymans  <wim@fluendo.com>
21187
21188         * docs/design/part-TODO.txt:
21189         Updated todo.
21190
21191 2005-11-10  Wim Taymans  <wim@fluendo.com>
21192
21193         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21194         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21195         (gst_base_src_do_sync), (gst_base_src_get_range):
21196         Implement clock sync in base class.
21197
21198 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21199
21200         patch by: Tim-Philipp Müller <tim at centricular dot net>
21201
21202         * gst/gststructure.c: (gst_structure_parse_field),
21203         (gst_structure_from_string):
21204           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21205           so that gst_parse_launch() can deal with spaces in filtered link
21206           caps (fixes #164479)
21207         * check/gst/capslist.h:
21208         * check/gst/gststructure.c: (GST_START_TEST):
21209           add unit tests for this change
21210
21211 2005-11-10  Wim Taymans  <wim@fluendo.com>
21212
21213         * docs/gst/gstreamer-sections.txt:
21214         * gst/gstelement.c:
21215         * gst/gstelement.h:
21216         Fix docs, move some STATE macros to private.
21217
21218 2005-11-10  Wim Taymans  <wim@fluendo.com>
21219
21220         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21221         Added check for bug #317341
21222
21223         * gst/gstbuffer.c:
21224         * gst/gstbuffer.h:
21225         Some more spiffifying.
21226
21227         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21228         Call peer linkfunction if we are a source pad. Totally fixes
21229         #317341
21230
21231         * gst/gstpad.c:
21232         Update docs, source pads should call the peer linkfunction
21233         so they can atomically perform the pad link.
21234
21235 2005-11-09  Wim Taymans  <wim@fluendo.com>
21236
21237         * gst/gstbuffer.c:
21238         * gst/gstbuffer.h:
21239         Uber-spiffy-spiffify some more.
21240
21241 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21242
21243         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21244         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21245         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21246         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21247         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21248         * gst/gstpad.c: (gst_pad_init):
21249           Use GST_DEBUG_FUNCPTR() more extensively.
21250
21251 2005-11-09  Wim Taymans  <wim@fluendo.com>
21252
21253         * gst/gstobject.c: (gst_object_class_init):
21254         * gst/gstobject.h:
21255         Documentation fixes.
21256
21257 2005-11-09  Edward Hervey  <edward@fluendo.com>
21258
21259         * gst/gsttypefindfactory.c:
21260         Fix docs.
21261         
21262 2005-11-09  Edward Hervey  <edward@fluendo.com>
21263
21264         * gst/base/gsttypefindhelper.c:
21265         * gst/gsttypefind.c:
21266         * gst/gsttypefind.h:
21267         Fix docs.
21268
21269 2005-11-09  Wim Taymans  <wim@fluendo.com>
21270
21271         * gst/gstiterator.c:
21272         Fix revision data.
21273
21274         * gst/gsttask.c:
21275         * gst/gsttask.h:
21276         Fix docs.
21277
21278 2005-11-09  Wim Taymans  <wim@fluendo.com>
21279
21280         * gst/gstevent.h:
21281         * gst/gsturi.h:
21282         Fix docs.
21283
21284 2005-11-09  Wim Taymans  <wim@fluendo.com>
21285
21286         * docs/gst/gstreamer-sections.txt:
21287         Moved the message async delivery private lock and cond
21288         to the private section.
21289
21290         * gst/gstmessage.c:
21291         * gst/gstmessage.h:
21292         Fixed docs.
21293
21294 2005-11-09  Edward Hervey  <edward@fluendo.com>
21295
21296         * docs/gst/gstreamer-sections.txt:
21297         * gst/gsturi.c:
21298         * gst/gsturi.h:
21299         Document GstURIHandler
21300
21301 2005-11-09  Wim Taymans  <wim@fluendo.com>
21302
21303         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21304         (gst_iterator_find_custom):
21305         * gst/gstiterator.h:
21306         Fix iterator docs.
21307
21308 2005-11-09  Wim Taymans  <wim@fluendo.com>
21309
21310         * gst/gstbin.h:
21311         Document another field.
21312
21313         * gst/gststructure.c:
21314         * gst/gststructure.h:
21315         Document.
21316
21317 2005-11-09  Wim Taymans  <wim@fluendo.com>
21318
21319         * gst/gstbin.h:
21320         Documented structs.
21321
21322 2005-11-09  Wim Taymans  <wim@fluendo.com>
21323
21324         * docs/gst/gstreamer-sections.txt:
21325         Added some new macros.
21326
21327         * gst/gstclock.c:
21328         * gst/gstclock.h:
21329         * gst/gstobject.h:
21330         Docs updates.
21331
21332 2005-11-09  Wim Taymans  <wim@fluendo.com>
21333
21334         * docs/design/part-TODO.txt:
21335         Some more items for the TODO
21336
21337         * gst/gstcaps.c:
21338         * gst/gstcaps.h:
21339         Document GstCaps.
21340
21341 2005-11-09  Andy Wingo  <wingo@pobox.com>
21342
21343         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21344         to work on something else now tho...
21345
21346         * gst/base/gstadapter.c: More adapter docs.
21347
21348         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21349         (gst_file_sink_stop): New functions, replace the state change
21350         handler.
21351         (gst_file_sink_class_init): Hook up the start and stop functions.
21352         (gst_file_sink_base_init): Don't set the state change handler any
21353         more. It was a bit ugly too, being set from here...
21354         (gst_file_sink_get_property, gst_file_sink_set_property):
21355         Cleanups...
21356         (gst_file_sink_set_location): More robust check that doesn't call
21357         GST_STATE. Ugggggg.
21358
21359 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21360
21361         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21362           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21363
21364 2005-11-08  Wim Taymans  <wim@fluendo.com>
21365
21366         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21367         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21368         (gst_base_sink_chain), (gst_base_sink_change_state):
21369         * gst/base/gstbasesink.h:
21370         * gst/base/gstbasesrc.h:
21371         * gst/gstelement.h:
21372         * gst/gstevent.h:
21373         Avoid excessive typechecking in macros.
21374
21375         * gst/gstminiobject.c: (gst_mini_object_get_type),
21376         (gst_mini_object_init), (gst_mini_object_new),
21377         (gst_mini_object_free):
21378         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21379         (gst_object_finalize):
21380         Remove cruft code, optimize alloc_trace.
21381
21382 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21383
21384         * docs/faq/gst-uninstalled:
21385           fix up PS1 for systems that try to reset it
21386
21387 2005-11-07  Wim Taymans  <wim@fluendo.com>
21388
21389         * gst/base/gstbasesrc.c: (gst_base_src_init),
21390         (gst_base_src_get_range):
21391         Set the segment_end to -1 initially. Fixed typefind.
21392
21393 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21394
21395         * gst/base/gstadapter.c:
21396           Debug category should be 'adapter', not 'GstAdapter'.
21397           
21398         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21399         (gst_collectpads_class_init), (gst_collectpads_init),
21400         (gst_collectpads_peek), (gst_collectpads_pop),
21401         (gst_collectpads_event), (gst_collectpads_chain):
21402           Add debug category and some debugging output. Use boilerplate
21403           macros. Remove some extraneous words from docs.
21404
21405 2005-11-05  Andy Wingo  <wingo@pobox.com>
21406
21407         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21408         macro.
21409
21410 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21411
21412         * docs/gst/gstreamer-sections.txt:
21413         * gst/gstcaps.h:
21414         * gst/gstinfo.c:
21415         * gst/gstminiobject.h:
21416         * gst/gstobject.h:
21417         * gst/gstutils.h:
21418           more docs added
21419
21420 2005-11-04  Wim Taymans  <wim@fluendo.com>
21421
21422         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21423         Small update to stop at the configured segment_end
21424         position.
21425
21426 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21427
21428         * gst/gstregistry.c:
21429         * gst/gstregistry.h:
21430           added missing docs
21431
21432 2005-11-04  Edward Hervey  <edward@fluendo.com>
21433
21434         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21435         Check if we are doing a segment seek and have arrived at the
21436         end of that segment.
21437
21438 2005-11-04  Wim Taymans  <wim@fluendo.com>
21439
21440         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21441         Don't leak a mutex unlock in case of an error.
21442
21443         * gst/gstbus.h:
21444         Doc fixes.
21445
21446 2005-11-04  Wim Taymans  <wim@fluendo.com>
21447
21448         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21449         (gst_bus_post):
21450         Get the context to wake up only once.
21451
21452 2005-11-03  Wim Taymans  <wim@fluendo.com>
21453
21454         * check/states/sinks.c: (GST_START_TEST):
21455         Uncomment fixed check.
21456
21457         * docs/design/part-TODO.txt:
21458         Updated TODO.
21459
21460         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21461         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21462         (gst_base_sink_get_position):
21463         If we are going to PLAYING, post the right pending state
21464         when we post the intermediate paused message.
21465
21466         * gst/gstelement.c: (gst_element_continue_state),
21467         (gst_element_set_state_func), (gst_element_change_state):
21468         Don't post state changes that were between the same state
21469         and were not ASYNC.
21470
21471 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21472
21473         * docs/gst/gstreamer-sections.txt:
21474         * gst/gstcaps.h:
21475         * gst/gstinfo.c:
21476         * gst/gstminiobject.h:
21477         * gst/gstobject.h:
21478         * gst/gstutils.h:
21479           more docs and doc style fixes
21480
21481 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21482
21483         * docs/gst/gstreamer-sections.txt:
21484         * gst/gstelement.c:
21485         * gst/gstminiobject.c:
21486         doc fixes
21487
21488 2005-11-03  Andy Wingo  <wingo@pobox.com>
21489
21490         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21491         state-changed messages actually have the right order and the right
21492         values.
21493
21494 2005-11-03  Wim Taymans  <wim@fluendo.com>
21495
21496         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21497         Added some more checks. Specifically the case where NO_PREROLL
21498         elements are in the pipeline.
21499
21500         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21501         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21502         (gst_base_sink_get_position):
21503         Post READY->PAUSED state change messages too.
21504         Fix bug where VOID was posted as pending state...
21505
21506         * gst/gstbin.c: (gst_bin_recalc_state):
21507         use _element_continue_state() to continue the state change.
21508
21509         * gst/gstelement.c: (gst_element_continue_state),
21510         (gst_element_commit_state), (gst_element_set_state_func),
21511         (gst_element_change_state), (gst_element_change_state_func):
21512         Lots of state change cleanups, assign the STATE_RETURN in
21513         a new continue_state() function that also propagates the
21514         last return value from a state change to the app.
21515         Update some debug statements with proper category.
21516
21517 2005-11-03  Wim Taymans  <wim@fluendo.com>
21518
21519         * docs/design/part-events.txt:
21520         * docs/design/part-gstpipeline.txt:
21521         * docs/design/part-messages.txt:
21522         * docs/design/part-overview.txt:
21523         * docs/design/part-seeking.txt:
21524         * docs/design/part-states.txt:
21525         * docs/design/part-trickmodes.txt:
21526         * docs/manual/advanced-position.xml:
21527         Small docs updates.
21528
21529         * gst/gstobject.h:
21530         People think !! is ugly, this looks better.
21531
21532         * gst/gstpad.c: (gst_pad_set_blocked_async):
21533         Remove !! since it's fixed elsewhere now.
21534
21535 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21536
21537         * gst/gstminiobject.h:
21538         * gst/gstobject.h:
21539           Add !! to _FLAG_IS_SET macros to make the result boolean.
21540
21541 2005-11-03  Edward Hervey  <edward@fluendo.com>
21542
21543         * gst/gstpad.c: (gst_pad_set_blocked_async):
21544         comparing a flag and a gboolean rarely returns coherent results...
21545         Added two characters (!!) to make that work correctly.
21546         
21547 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21548
21549         * gst/gstbus.c: (gst_bus_class_init):
21550           Fix some typos.
21551           
21552         * gst/gstqueue.c: (gst_queue_loop):
21553           Don't assume a miniobject that isn't a buffer is an
21554           event (it could be that there is a refcounting
21555           problem somewhere and the pointer is stale and
21556           refers to an already destroyed miniobject).
21557
21558 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21559
21560         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21561
21562 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21563
21564         * docs/manual/advanced-position.xml:
21565           Update seek example and explanations to current 0.9 API.
21566
21567         * gst/elements/gsttypefindelement.c:
21568         (gst_type_find_element_activate):
21569           Remove FIXME comment now that the found caps
21570           are unreffed.
21571
21572 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21573
21574         * gst/gstregistryxml.c: (load_feature):
21575           Add another GST_STR_NULL instance
21576
21577 2005-11-02  Edward Hervey  <edward@fluendo.com>
21578
21579         * gst/gstpad.c: (handle_pad_block):
21580         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21581         
21582 2005-11-02  Wim Taymans  <wim@fluendo.com>
21583
21584         * gst/gstbin.c:
21585         Fix typo in docs.
21586
21587         * gst/gstelement.c: (gst_element_commit_state):
21588         Remove unused value.
21589
21590         * gst/gstiterator.c:
21591         Mention that the returned element is reffed in the docs.
21592
21593 2005-11-02  Wim Taymans  <wim@fluendo.com>
21594
21595         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21596         (gst_pad_push), (gst_pad_push_event):
21597         Unlock blocked pads when they are flushed.
21598
21599 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21600
21601         * docs/README:
21602         * docs/gst/gstreamer-sections.txt:
21603         * gst/gstbin.c:
21604           doc updates
21605         * gst/gstregistry.c: (gst_registry_scan_path_level):
21606           fix for a nasty little missed situation where an installed plug-in
21607           which was in the cache did not get overridden by an uninstalled one
21608           which was earlier in the plugin path because the newly created plugin
21609           for the uninstalled one (not in the registry) didn't get its
21610           ->registered set to TRUE
21611
21612 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21613
21614         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21615         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21616         (gst_collectpads_is_active), (gst_collectpads_collect),
21617         (gst_collectpads_collect_range), (gst_collectpads_start),
21618         (gst_collectpads_stop), (gst_collectpads_peek),
21619         (gst_collectpads_pop), (gst_collectpads_available),
21620         (gst_collectpads_read), (gst_collectpads_flush):
21621           Guard public API with assertions.
21622         
21623         * gst/gstpad.c:
21624           Fix docs for gst_pad_set_link_function().
21625
21626 2005-11-02  Johan Dahlin  <johan@gnome.org>
21627
21628         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21629         Unref found_caps after we used it.
21630
21631 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21632
21633         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21634           Don't try to ref NULL.
21635
21636 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21637
21638         * win32/common/config.h.in:
21639           provide a GST_FUNCTION that just gives a string for now
21640
21641 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21642
21643         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21644         (gst_object_flags_get_type), (register_gst_bin_flags),
21645         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21646         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21647         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21648         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21649         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21650         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21651         (gst_clock_flags_get_type), (register_gst_state),
21652         (gst_state_get_type), (register_gst_state_change_return),
21653         (gst_state_change_return_get_type), (register_gst_state_change),
21654         (gst_state_change_get_type), (register_gst_element_flags),
21655         (gst_element_flags_get_type), (register_gst_core_error),
21656         (gst_core_error_get_type), (register_gst_library_error),
21657         (gst_library_error_get_type), (register_gst_resource_error),
21658         (gst_resource_error_get_type), (register_gst_stream_error),
21659         (gst_stream_error_get_type), (register_gst_event_type),
21660         (gst_event_type_get_type), (register_gst_seek_type),
21661         (gst_seek_type_get_type), (register_gst_seek_flags),
21662         (gst_seek_flags_get_type), (register_gst_format),
21663         (gst_format_get_type), (register_gst_index_certainty),
21664         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21665         (gst_index_entry_type_get_type),
21666         (register_gst_index_lookup_method),
21667         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21668         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21669         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21670         (gst_index_flags_get_type), (register_gst_debug_level),
21671         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21672         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21673         (gst_iterator_result_get_type), (register_gst_iterator_item),
21674         (gst_iterator_item_get_type), (register_gst_message_type),
21675         (gst_message_type_get_type), (register_gst_mini_object_flags),
21676         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21677         (gst_pad_link_return_get_type), (register_gst_flow_return),
21678         (gst_flow_return_get_type), (register_gst_activate_mode),
21679         (gst_activate_mode_get_type), (register_gst_pad_direction),
21680         (gst_pad_direction_get_type), (register_gst_pad_flags),
21681         (gst_pad_flags_get_type), (register_gst_pad_presence),
21682         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21683         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21684         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21685         (gst_plugin_error_get_type), (register_gst_plugin_flags),
21686         (gst_plugin_flags_get_type), (register_gst_rank),
21687         (gst_rank_get_type), (register_gst_query_type),
21688         (gst_query_type_get_type), (register_gst_tag_merge_mode),
21689         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21690         (gst_tag_flag_get_type), (register_gst_task_state),
21691         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21692         (gst_alloc_trace_flags_get_type),
21693         (register_gst_type_find_probability),
21694         (gst_type_find_probability_get_type), (register_gst_uri_type),
21695         (gst_uri_type_get_type), (register_gst_parse_error),
21696         (gst_parse_error_get_type):
21697         * win32/common/gstversion.h:
21698           update win32 copies
21699
21700 2005-11-01  Luca Ognibene  <luogni@tin.it>
21701
21702         * gst/gst.c:
21703           fix docs. popt is dead, long live GOption.
21704
21705 2005-10-31  Wim Taymans  <wim@fluendo.com>
21706
21707         * gst/gstbuffer.h:
21708         Small doc fix.
21709
21710 2005-10-31  Andy Wingo  <wingo@pobox.com>
21711
21712         * Boo!
21713
21714         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21715
21716         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21717         need to serialize property notifications on GLib 2.8. GLib 2.6 has
21718         the possibility of deadlocks here if code calling notify() or
21719         set() has a lock that can be taken in another notify handler (ABBA
21720         with class lock and e.g. python GIL state lock).
21721
21722 2005-10-28  Julien MOUTTE  <julien@moutte.net>
21723
21724         * gst/gstbus.c: Doc updates.
21725
21726 2005-10-28  Wim Taymans  <wim@fluendo.com>
21727
21728         * docs/design/part-TODO.txt:
21729         * gst/gstiterator.c:
21730         * gst/gstsystemclock.c:
21731         * gst/gstsystemclock.h:
21732         Doc updates.
21733
21734 2005-10-28  Edward Hervey  <edward@fluendo.com>
21735
21736         * docs/gst/gstreamer-docs.sgml:
21737         * docs/gst/gstreamer-sections.txt:
21738         the GstURIType documentation page is private, it only defines GstURIType
21739         which should be defined in the GstURIHandler page
21740         
21741 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21742
21743         * gst/gstbin.c: (gst_bin_class_init):
21744         * gst/gstbin.h:
21745         * gst/gstutils.c:
21746         Documentation updates.
21747
21748 2005-10-28  Wim Taymans  <wim@fluendo.com>
21749
21750         * docs/gst/gstreamer-sections.txt:
21751         * gst/gstclock.c:
21752         * gst/gstclock.h:
21753         Documented the clocks.
21754
21755 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
21756
21757         * docs/gst/gstreamer-sections.txt:
21758           move some macros to private sections
21759         * gst/gstminiobject.c:
21760         * gst/gstminiobject.h:
21761           add descriptions provided by ds and some more
21762         * gst/gstpad.h:
21763           mark macro as to be removed
21764
21765 2005-10-28  Wim Taymans  <wim@fluendo.com>
21766
21767         * docs/design/part-TODO.txt:
21768         Add an item to TODO.
21769
21770         * gst/gstiterator.c: (gst_iterator_fold),
21771         (gst_iterator_find_custom):
21772         * gst/gstiterator.h:
21773         Add iterator docs.
21774
21775 2005-10-28  Wim Taymans  <wim@fluendo.com>
21776
21777         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21778         (gst_base_transform_init):
21779         Don't leak class.
21780
21781         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21782         An EOS event marks the queue as completely filled.
21783
21784 2005-10-27  Wim Taymans  <wim@fluendo.com>
21785
21786         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21787         (gst_base_sink_do_sync), (gst_base_sink_get_position):
21788         Some more debugging.
21789
21790         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21791         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21792         (gst_base_transform_event), (gst_base_transform_getrange),
21793         (gst_base_transform_chain):
21794         * gst/base/gstbasetransform.h:
21795         Fix debugging,
21796         Protect transform and concurrent buffer alloc with a new lock.
21797         Try not to break ABI/API.
21798
21799 2005-10-27  Wim Taymans  <wim@fluendo.com>
21800
21801         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21802         (gst_base_src_init), (gst_base_src_query),
21803         (gst_base_src_default_newsegment),
21804         (gst_base_src_configure_segment), (gst_base_src_do_seek),
21805         (gst_base_src_send_event), (gst_base_src_event_handler),
21806         (gst_base_src_pad_get_range), (gst_base_src_loop),
21807         (gst_base_src_unlock), (gst_base_src_default_negotiate),
21808         (gst_base_src_start), (gst_base_src_deactivate),
21809         (gst_base_src_activate_push), (gst_base_src_change_state):
21810         Move some stuff around and cleanup things.
21811
21812 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
21813
21814         * gst/base/gstbasesrc.c: (gst_base_src_query):
21815           Add missing break statements.
21816
21817 2005-10-27  Wim Taymans  <wim@fluendo.com>
21818
21819         * check/gst/gstbin.c: (GST_START_TEST):
21820         An extra refcount is taken in basesrc.
21821
21822         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21823         (gst_base_src_get_range), (gst_base_src_pad_get_range),
21824         (gst_base_src_loop):
21825         Small cleanups, check for flushing after being unlocked from the 
21826         LIVE_LOCK. take refcounts correctly (not yet everywhere).
21827         Don't send out EOS when going to READY.
21828
21829 2005-10-27  Wim Taymans  <wim@fluendo.com>
21830
21831         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21832         (gst_base_sink_get_position):
21833         Some more debug.
21834
21835         * gst/gstbin.c: (message_check), (bin_replace_message),
21836         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21837         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21838         (bin_query_duration_init), (bin_query_duration_fold),
21839         (bin_query_duration_done), (bin_query_generic_fold),
21840         (gst_bin_query):
21841         * tools/gst-launch.c: (main):
21842         Remove old option.
21843
21844 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
21845
21846         * examples/controller/audio-example.c: (main):
21847         * examples/queue/queue.c: (event_loop):
21848         * gst/base/gstbasetransform.h:
21849         * gst/gstelement.c: (gst_element_send_event):
21850         * gst/gstevent.h:
21851         * gst/gstpad.c: (gst_pad_send_event):
21852           fixing examples
21853           fixing docs typos
21854           changing log priority in error situations
21855
21856 2005-10-25  Wim Taymans  <wim@fluendo.com>
21857
21858         * gst/gstbin.c: (message_check), (bin_replace_message),
21859         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21860         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21861         (bin_query_duration_init), (bin_query_duration_fold),
21862         (bin_query_duration_done), (bin_query_generic_fold),
21863         (gst_bin_query):
21864         Some doc and debug updates.
21865         Cache previously requested query DURATION for speed. invalidate
21866         cached duration if element posts a DURATION message.
21867
21868 2005-10-25  Wim Taymans  <wim@fluendo.com>
21869
21870         * docs/design/part-TODO.txt:
21871         Update TODO.
21872
21873         * gst/gstbin.c: (message_check), (bin_replace_message),
21874         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21875         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21876         (bin_query_duration_init), (bin_query_duration_fold),
21877         (bin_query_duration_done), (bin_query_generic_fold),
21878         (gst_bin_query):
21879         Handle SEGMENT_START/DONE messages correctly.
21880         More evolved query algorithm that handles duration queries
21881         correctly.
21882
21883         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21884         (gst_element_get_state_func), (gst_element_abort_state),
21885         (gst_element_commit_state), (gst_element_lost_state):
21886         Some more debugging.
21887
21888         * gst/gstmessage.h:
21889         Added doc.
21890
21891 2005-10-25  Wim Taymans  <wim@fluendo.com>
21892
21893         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21894         Don't use invalid stream_time.
21895
21896         * gst/gstevent.c: (gst_event_new_newsegment):
21897         stream_time in newsegment cannot be undefined.
21898
21899 2005-10-24  Wim Taymans  <wim@fluendo.com>
21900
21901         * gst/gstbus.c:
21902         Doc fix.
21903
21904         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21905         (gst_queue_loop):
21906         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21907
21908 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
21909
21910         * docs/libs/tmpl/gstdparam.sgml:
21911         * docs/libs/tmpl/gstdplinint.sgml:
21912         * docs/libs/tmpl/gstdpman.sgml:
21913         * docs/libs/tmpl/gstdpsmooth.sgml:
21914         * docs/libs/tmpl/gstunitconvert.sgml:
21915           these are obsolete
21916
21917 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21918
21919         * configure.ac:
21920           back to HEAD
21921
21922 === release 0.9.4 ===
21923
21924 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21925
21926         * configure.ac:
21927           releasing 0.9.4, "Tyrannosaurus Rex"
21928
21929 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
21930
21931         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21932         (gst_file_sink_get_current_offset):
21933           Use fseeko() and ftello() if available. When falling back on
21934           lseek() to get the current offset, fflush() first to make sure
21935           everything is up-to-date and we get the right offset.
21936
21937 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21938
21939         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21940         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21941         * gst/gsterror.c: (_gst_stream_errors_init):
21942         * gst/gsterror.h:
21943         * gst/gstqueue.c: (gst_queue_loop):
21944         * po/POTFILES.in:
21945           remove prematurely added error category and clean up the instances
21946
21947 2005-10-21  Wim Taymans  <wim@fluendo.com>
21948
21949         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21950         (gst_base_sink_get_position), (gst_base_sink_query),
21951         (gst_base_sink_change_state):
21952         Simply set the right flag when going to playing, that's all
21953         we need to do instead of calling a function inside the object
21954         lock (that could take the lock as well and deadlock)
21955
21956 2005-10-21  Wim Taymans  <wim@fluendo.com>
21957
21958         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
21959         (gst_base_src_loop):
21960         Don't warn, the peer element knows what to do best when
21961         the seek failed, it might try something else.
21962
21963 2005-10-21  Wim Taymans  <wim@fluendo.com>
21964
21965         * gst/base/gstbasesrc.c: (gst_base_src_init),
21966         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21967         Fix seeking.
21968
21969 2005-10-21  Wim Taymans  <wim@fluendo.com>
21970
21971         * docs/design/part-segments.txt:
21972         More docs.
21973
21974         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
21975         Correctly set caps, even on the subbufer.
21976
21977 2005-10-21  Wim Taymans  <wim@fluendo.com>
21978
21979         * docs/gst/gstreamer-docs.sgml:
21980         * docs/gst/gstreamer-sections.txt:
21981         * gst/gstelement.h:
21982         * gst/gstevent.c:
21983         * gst/gstevent.h:
21984         * gst/gstmessage.h:
21985         * gst/gstpad.h:
21986         * gst/gstparse.h:
21987         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
21988         * gst/gsttask.h:
21989         * gst/gstutils.c:
21990         * gst/gstutils.h:
21991         And 2% more doc coverage.
21992
21993 2005-10-21  Andy Wingo  <wingo@pobox.com>
21994
21995         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
21996         position reporting.
21997
21998 2005-10-20  Wim Taymans  <wim@fluendo.com>
21999
22000         * gst/gsterror.c: (gst_error_get_message):
22001         * gst/gstparse.h:
22002         * gst/gstquery.h:
22003         * gst/gststructure.c:
22004         * gst/gsttrace.c:
22005         * gst/gstutils.c:
22006         More docs.
22007
22008 2005-10-20  Wim Taymans  <wim@fluendo.com>
22009
22010         * gst/gstbuffer.h:
22011         * gst/gstpad.c:
22012         * gst/gstparse.c:
22013         Another 1% more coverage.
22014
22015 2005-10-20  Wim Taymans  <wim@fluendo.com>
22016
22017         * docs/gst/gstreamer-sections.txt:
22018         * gst/gstelement.c: (gst_element_get_state_func),
22019         (gst_element_abort_state), (gst_element_commit_state),
22020         (gst_element_lost_state):
22021         * gst/gstevent.h:
22022         * gst/gstquery.c: (gst_query_set_position),
22023         (gst_query_parse_position), (gst_query_set_duration),
22024         (gst_query_parse_duration), (gst_query_new_convert):
22025         * gst/gstutils.c:
22026         Yay! 1% more docs coverage.
22027
22028 2005-10-20  Wim Taymans  <wim@fluendo.com>
22029
22030         * gst/gstpad.h:
22031         * gst/gstquery.c: (gst_query_set_position),
22032         (gst_query_parse_position), (gst_query_set_duration),
22033         (gst_query_parse_duration), (gst_query_new_convert):
22034         * gst/gstquery.h:
22035         * gst/gstutils.c: (gst_element_query_convert):
22036         * gst/gstutils.h:
22037         Docs and consistency fixes.
22038
22039 2005-10-20  Wim Taymans  <wim@fluendo.com>
22040
22041         * gst/gsttask.c:
22042         * gst/gsttask.h:
22043         More docs.
22044
22045 2005-10-20  Wim Taymans  <wim@fluendo.com>
22046
22047         * gst/gstbin.c: (message_check), (bin_replace_message),
22048         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22049         (update_degree), (gst_bin_sort_iterator_next),
22050         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22051         Reworked the message handling a bit, cache the messages instead of
22052         only the senders. alows us to do more in the future.
22053
22054 2005-10-20  Wim Taymans  <wim@fluendo.com>
22055
22056         * docs/design/part-TODO.txt:
22057         Update TODO
22058
22059         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22060         (gst_base_sink_query):
22061         Don't use clock time to report position when in EOS.
22062
22063 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22064
22065         * tools/gst-inspect.c: (print_interfaces),
22066         (print_element_properties_info), (print_element_info):
22067           Fix interface output with gst-inspect -a; don't print
22068           newlines after double/float properties.
22069
22070 2005-10-20  Wim Taymans  <wim@fluendo.com>
22071
22072         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22073         (gst_base_sink_query):
22074         Speed up current position calculation.
22075
22076         * gst/base/gstbasesrc.c: (gst_base_src_query),
22077         (gst_base_src_default_newsegment):
22078         Correctly set stream position in newsegment.
22079
22080         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22081         (update_degree), (gst_bin_sort_iterator_next),
22082         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22083         * gst/gstmessage.c: (gst_message_new_custom):
22084         Clean up debugging info
22085
22086         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22087         (gst_queue_loop), (gst_queue_handle_src_query):
22088         Pause task faster.
22089
22090 2005-10-19  Wim Taymans  <wim@fluendo.com>
22091
22092         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22093         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22094         Fix query handling again.
22095
22096 2005-10-19  Wim Taymans  <wim@fluendo.com>
22097
22098         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22099         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22100         * gst/base/gstbasesrc.c: (gst_base_src_query):
22101         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22102         * gst/elements/gsttypefindelement.c:
22103         (gst_type_find_handle_src_query), (find_element_get_length),
22104         (gst_type_find_element_activate):
22105         API change fix.
22106
22107         * gst/gstquery.c: (gst_query_new_position),
22108         (gst_query_set_position), (gst_query_parse_position),
22109         (gst_query_new_duration), (gst_query_set_duration),
22110         (gst_query_parse_duration), (gst_query_set_segment),
22111         (gst_query_parse_segment):
22112         * gst/gstquery.h:
22113         Bundling query position/duration is not a good idea since duration
22114         does not change much and we don't want to recalculate it for every
22115         position query, so they are separated again..
22116         Base value in segment query is not needed.
22117
22118         * gst/gstqueue.c: (gst_queue_handle_src_query):
22119         * gst/gstutils.c: (gst_element_query_position),
22120         (gst_element_query_duration), (gst_pad_query_position),
22121         (gst_pad_query_duration):
22122         * gst/gstutils.h:
22123         Updates for query API change.
22124         Added some docs here and there.
22125
22126 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22127
22128         * check/gst/gstbin.c: (GST_START_TEST):
22129         * check/gst/gstghostpad.c: (GST_START_TEST):
22130         * check/pipelines/cleanup.c: (GST_START_TEST):
22131           wait on thread to die so we can check refcount correctly
22132
22133 2005-10-18  Wim Taymans  <wim@fluendo.com>
22134
22135         * check/pipelines/stress.c: (GST_START_TEST):
22136         Make check a little more time consuming.
22137
22138 2005-10-18  Wim Taymans  <wim@fluendo.com>
22139
22140         * check/Makefile.am:
22141         * check/pipelines/stress.c: (GST_START_TEST),
22142         (simple_launch_lines_suite), (main):
22143         Small state change torture test.
22144
22145         * docs/design/part-states.txt:
22146         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22147         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22148         (gst_base_sink_change_state):
22149         Never take state lock from streaming thread, clean up ugly
22150         hacks. Unfortunatly core does not yet support nice ways to
22151         async commit state.
22152         
22153         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22154         (bin_bus_handler):
22155         Start state recalc if a STATE_DIRTY message is posted, but only
22156         on the toplevel bin.
22157
22158         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22159         (gst_element_get_state_func), (gst_element_abort_state),
22160         (gst_element_commit_state), (gst_element_lost_state),
22161         (gst_element_set_state_func), (gst_element_change_state):
22162         * gst/gstelement.h:
22163         State variables are now protected with the LOCK, the state
22164         lock is only used to serialize _set_state().
22165
22166 2005-10-18  Wim Taymans  <wim@fluendo.com>
22167
22168         * check/gst/gstbin.c: (GST_START_TEST):
22169         * check/gst/gstmessage.c: (GST_START_TEST):
22170         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22171         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22172         (bin_bus_handler):
22173         * gst/gstelement.c: (gst_element_abort_state),
22174         (gst_element_commit_state), (gst_element_lost_state):
22175         * gst/gstmessage.c: (gst_message_new_state_changed),
22176         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22177         (gst_message_new_segment_done), (gst_message_new_duration),
22178         (gst_message_parse_state_changed),
22179         (gst_message_parse_segment_start),
22180         (gst_message_parse_segment_done), (gst_message_parse_duration):
22181         * gst/gstmessage.h:
22182         * tools/gst-launch.c: (event_loop):
22183         Seriously, this is better than a previous commit as we only need
22184         to notify the fact that an element changed state in a streaming
22185         thread, marking the state of the parents dirty, hence the 
22186         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22187         message.
22188
22189 2005-10-18  Wim Taymans  <wim@fluendo.com>
22190
22191         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22192         (gst_bin_recalc_func):
22193         * gst/gstelement.c: (gst_element_set_clock),
22194         (gst_element_abort_state), (gst_element_lost_state):
22195         Cleanups, prepare for state change fixes.
22196
22197 2005-10-18  Wim Taymans  <wim@fluendo.com>
22198
22199         * gst/gstbin.h:
22200         * gst/gstelement.c: (gst_element_class_init),
22201         (gst_element_set_state), (gst_element_set_state_func):
22202         * gst/gstelement.h:
22203         Pending ABI changes.
22204         GThreadPool in GstBinClass to monitor async state changes.
22205         state_cookie in GstElement to detect concurrent gst/set state.
22206         set_state is now virtual too in case a very complicated element
22207         has to be constructed.
22208
22209 2005-10-18  Wim Taymans  <wim@fluendo.com>
22210
22211         * check/gst/gstbin.c: (GST_START_TEST):
22212         * check/gst/gstmessage.c: (GST_START_TEST):
22213         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22214         * gst/gstbin.c: (bin_bus_handler):
22215         * gst/gstelement.c: (gst_element_commit_state),
22216         (gst_element_lost_state):
22217         * gst/gstmessage.c: (gst_message_new_state_changed),
22218         (gst_message_new_segment_start), (gst_message_new_segment_done),
22219         (gst_message_new_duration), (gst_message_parse_state_changed),
22220         (gst_message_parse_segment_start),
22221         (gst_message_parse_segment_done), (gst_message_parse_duration):
22222         * gst/gstmessage.h:
22223         * tools/gst-launch.c: (event_loop):
22224         Make messages future proof.
22225         state-change gets a flag if it was a message comming from the
22226         streaming thread.
22227         segment-start/stop can also be specified in other formats.
22228         A message to notify an app that a pipeline changed playback 
22229         duration.
22230         Also fix a GstMessage leak in -launch
22231
22232 2005-10-18  Andy Wingo  <wingo@pobox.com>
22233
22234         * gst/gstelement.c (gst_element_dispose): More helpful message.
22235
22236 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22237
22238         reviewed by: <delete if not using a buddy>
22239
22240         * common/gtk-doc.mak:
22241
22242 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22243
22244         * gst/gstregistry.c: (gst_registry_scan_path_level):
22245           unref a plug-in we get that was already initialized
22246
22247 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22248
22249         * docs/gst/gstreamer-sections.txt:
22250         * docs/libs/gstreamer-libs-sections.txt:
22251         * gst/gstelement.h:
22252           add new api entries
22253           hide internal macro
22254
22255 2005-10-17  Andy Wingo  <wingo@pobox.com>
22256
22257         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22258         cleanup.
22259
22260         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22261
22262         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22263
22264         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22265         (gst_element_get_state_func): Better debug message.
22266         (gst_element_commit_state): s/INFO/DEBUG/.
22267         (gst_element_lost_state, gst_element_change_state): 
22268
22269         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22270         (gst_message_new_custom): s/INFO/LOG/.
22271
22272 2005-10-17  Michael Smith <msmith@fluendo.com>
22273
22274         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22275           Check if end time is valid using end time, not start time.
22276
22277 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22278
22279         * check/gst-libs/controller.c: (GST_START_TEST),
22280         (gst_controller_suite):
22281         * libs/gst/controller/gstcontroller.c:
22282         (gst_controlled_property_set_interpolation_mode):
22283         * libs/gst/controller/gstcontroller.h:
22284         * libs/gst/controller/gstinterpolation.c:
22285         * testsuite/controller/.cvsignore:
22286         * testsuite/controller/Makefile.am:
22287         * testsuite/controller/interpolator.c:
22288           merge controller testsuites
22289           fix broken tests
22290           remove mem-chunk from docs
22291
22292 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22293
22294         * gst/gstmemchunk.c:
22295         * gst/gstmemchunk.h:
22296         * gst/gsttrashstack.c:
22297         * gst/gsttrashstack.h:
22298           out.  get out.  you're fired.  to the Attic !
22299
22300 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22301
22302         * gst/gstcaps.c: (gst_caps_intersect):
22303           fix signedness issues in a (hopefully) correct way
22304         * gst/gstelement.c: (gst_element_pads_activate):
22305           some debugging
22306         * gst/gstobject.c: (gst_object_set_parent):
22307           some debugging
22308
22309 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22310
22311         * gst/gstvalue.h: Fix prototypes.
22312
22313 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22314
22315         * docs/gst/gstreamer-sections.txt:
22316         * gst/gst.c: (gst_version_string):
22317         * gst/gst.h:
22318         * gst/gstversion.h.in:
22319         * win32/common/libgstreamer.def:
22320           add gst_version_string ()
22321
22322 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22323
22324         * configure.ac:
22325           clean up further
22326         * gst/gst.c: (init_post):
22327         * win32/common/config.h.in:
22328           it's PLUGINDIR now
22329         * gst/gstcaps.c: (gst_caps_intersect):
22330           use gint64, the range could be bigger than a guint
22331
22332 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22333
22334         * gst/gstclock.h:
22335           document potential problem in 2038
22336
22337 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22338
22339         * gst/gstcaps.c: (gst_caps_intersect):
22340           Fix guint j diving under 0
22341
22342 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22343
22344         * configure.ac:
22345         * win32/common/config.h:
22346         * win32/common/config.h.in:
22347           check for process.h, declares getpid() on Windows
22348         * gst/gstinfo.c:
22349           include process.h if we have it
22350         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22351         * gst/gstmemchunk.h:
22352           fix signedness issues
22353         * win32/common/libgstreamer.def:
22354           fix get_type's
22355
22356 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22357
22358         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22359         fix. Because of unsigned ints, caps intersection was going nuts and
22360         trying to access structures with G_MAXUINT index. That fixes
22361         videotestsrc ! ffmpegcolorspace ! fakesink
22362         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22363         consistency.
22364
22365 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22366
22367         * configure.ac:
22368           use the gettext macro
22369         * gst/elements/gstelements.c:
22370         * gst/gst.c:
22371         * gst/indexers/gstindexers.c:
22372           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22373         * win32/common/config.h:
22374           updated config.h
22375         * win32/common/config.h.in:
22376           add the template to generate config.h
22377         * win32/common/gstenumtypes.c:
22378         * win32/common/gstversion.h:
22379           updated copies
22380
22381 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22382
22383         * gst/gst.c: (gst_version):
22384         * gst/gstversion.h.in:
22385           add the nano
22386
22387 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22388
22389         * gst/gstevent.h:
22390           Oops, add missing closing bracket.
22391
22392 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22393
22394         * configure.ac:
22395           use common m4's for argument checking
22396
22397 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22398
22399         * docs/gst/gstreamer-sections.txt:
22400         * gst/gstevent.h:
22401           Add GST_EVENT_TYPE_NAME() macro.
22402
22403 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22404
22405         * gst/gstinfo.c:
22406         * gst/gstpluginfeature.c:
22407         * gst/gsttask.c:
22408           privatize more symbols
22409
22410 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22411
22412         * configure.ac:
22413           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22414           everything that uses GStreamer API should have the includes
22415
22416 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22417
22418         * docs/gst/gstreamer-sections.txt:
22419         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22420         * gst/gstvalue.h:
22421           give each value a _get_type, removes the DATA exports
22422
22423 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22424
22425         * gst/gst.c:
22426         * gst/gst.h:
22427           remove _gst_registry_auto_load, not used anymore
22428         * gst/gstbin.c: (gst_bin_get_type):
22429         * gst/gstbin.h:
22430         * gst/gstelement.c: (gst_element_get_type):
22431         * gst/gstelement.h:
22432         * gst/gstobject.c: (gst_object_get_type):
22433         * gst/gstobject.h:
22434         * gst/gstpad.c: (gst_pad_get_type):
22435         * gst/gstpad.h:
22436           make _get_type functions similar, fixes data export from library
22437
22438 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22439
22440         * configure.ac:
22441           correctly make conditionals
22442         * gst/elements/Makefile.am:
22443         * gst/elements/gstelements.c:
22444           fix typo causing fdsrc not to build
22445
22446 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22447
22448         * testsuite/Makefile.am:
22449         * testsuite/bytestream/.cvsignore:
22450         * testsuite/bytestream/Makefile.am:
22451         * testsuite/bytestream/filepadsink.c:
22452         * testsuite/bytestream/gstbstest.c:
22453         * testsuite/bytestream/test1.c:
22454         * testsuite/bytestream/testfile1:
22455         * testsuite/caps/normalisation.c:
22456         * testsuite/caps/random.c: (main):
22457         * testsuite/cleanup/.cvsignore:
22458         * testsuite/cleanup/Makefile.am:
22459         * testsuite/cleanup/cleanup1.c:
22460         * testsuite/cleanup/cleanup2.c:
22461         * testsuite/cleanup/cleanup3.c:
22462         * testsuite/cleanup/cleanup4.c:
22463         * testsuite/cleanup/cleanup5.c:
22464         * testsuite/controller/interpolator.c:
22465         * testsuite/debug/printf_extension.c: (main):
22466         * testsuite/elements/tee.c:
22467         * testsuite/negotiation/.cvsignore:
22468         * testsuite/negotiation/Makefile.am:
22469         * testsuite/negotiation/pad_link.c:
22470         * testsuite/pad/Makefile.am:
22471         * testsuite/pad/chainnopull.c:
22472         * testsuite/pad/getnopush.c:
22473         * testsuite/pad/link.c:
22474         * testsuite/refcounting/sched.c: (create_pipeline):
22475         * testsuite/registry/Makefile.am:
22476         * testsuite/registry/gst-print-formats.c:
22477         * testsuite/schedulers/.cvsignore:
22478         * testsuite/schedulers/142183-2.c:
22479         * testsuite/schedulers/142183.c:
22480         * testsuite/schedulers/143777-2.c:
22481         * testsuite/schedulers/143777.c:
22482         * testsuite/schedulers/147713.c:
22483         * testsuite/schedulers/147819.c:
22484         * testsuite/schedulers/147894-2.c:
22485         * testsuite/schedulers/147894.c:
22486         * testsuite/schedulers/Makefile.am:
22487         * testsuite/schedulers/group_link.c:
22488         * testsuite/schedulers/queue_link.c:
22489         * testsuite/schedulers/relink.c:
22490         * testsuite/schedulers/unlink.c:
22491         * testsuite/schedulers/unref.c:
22492         * testsuite/schedulers/useless_iteration.c:
22493         * testsuite/states/bin.c:
22494           clean out/remove some stuff from the testsuite directories
22495
22496 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22497
22498         * configure.ac:
22499           check for some headers
22500         * gst/elements/Makefile.am:
22501         * gst/elements/gstelements.c:
22502           don't compile fdsrc without sys/socket.h
22503         * gst/indexers/Makefile.am:
22504         * gst/indexers/gstindexers.c: (plugin_init):
22505           don't compile fileindex without mmap
22506
22507 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22508
22509         * configure.ac:
22510           reorganize
22511           clean up
22512           document more
22513           remove cruft
22514         * check/Makefile.am:
22515         * docs/gst/Makefile.am:
22516         * examples/helloworld/Makefile.am:
22517         * gst/Makefile.am:
22518         * gst/base/Makefile.am:
22519         * gst/check/Makefile.am:
22520         * gst/elements/Makefile.am:
22521         * gst/indexers/Makefile.am:
22522         * gst/parse/Makefile.am:
22523         * libs/gst/controller/Makefile.am:
22524         * libs/gst/dataprotocol/Makefile.am:
22525         * examples/helloworld/helloworld.c: (event_loop):
22526           compile fixes, though it's not being compiled currently
22527
22528 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22529
22530         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22531           Add some simple tests for the new taglist date API.
22532
22533 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22534
22535         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22536         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22537           Beautify 'last-message' output: print 'none' for buffer timestamps
22538           and durations if none is set; improve alignment with next messages.
22539
22540 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22541
22542         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22543         * gst/gstpluginfeature.h:
22544         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22545         * gst/gstregistry.h:
22546         * docs/gst/gstreamer-sections.txt:
22547           Add new API to check plugin feature version requirements.
22548
22549         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22550           Some basic tests for the above.         
22551
22552 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22553
22554         * gst/gststructure.c: (gst_structure_to_string):
22555           guard against NULL printf - happens when for example
22556           a message structure with GstClock gets serialized
22557
22558 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22559
22560         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22561           Fix presumable copy'n'pasto.
22562
22563 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22564
22565         * gst/elements/gstfakesrc.h:
22566         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22567         * gst/elements/gsttypefindelement.c:
22568           fix some signedness
22569         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22570           I wonder if this could actually write +2GB files before
22571
22572 2005-10-13  Andy Wingo  <wingo@pobox.com>
22573
22574         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22575         Fix Timmeke Waymans bug.
22576         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22577         string of the proper length to gst_caps_from_string. There's a
22578         potential for, before this fix, that this could cause someone
22579         connecting over the network to cause a segfault if the payload is
22580         not NUL-terminated.
22581
22582 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22583
22584         * docs/design/draft-push-pull.txt:
22585         * docs/design/part-overview.txt:
22586         * docs/random/TODO-pre-0.9:
22587         * docs/random/old/ChangeLog.gstreamer:
22588         * gst/base/gstpushsrc.c:
22589         * gst/gstclock.c:
22590           fixed typos
22591
22592 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22593
22594         * gst/glib-compat.c: (gst_flags_get_first_value):
22595         * gst/glib-compat.h:
22596         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22597         (gst_value_compare_double), (gst_value_serialize_flags):
22598           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22599           infinite loop
22600
22601 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22602
22603         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22604         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22605           fix up debugging
22606         * tools/gst-launch.c: (event_loop):
22607           print out clock nicely
22608
22609 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22610
22611         * docs/gst/gstreamer-sections.txt:
22612         * gst/gsttaglist.h:
22613         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22614         (gst_tag_list_get_date_index):
22615           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22616           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22617
22618 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22619
22620         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22621         (gst_collectpads_chain):
22622         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22623         in CollectData.
22624
22625 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22626
22627         * docs/gst/gstreamer-sections.txt:
22628         * gst/gst.c:
22629         * gst/gsterror.h:
22630         * tools/gst-inspect.c: (main):
22631         * tools/gst-launch.c: (main):
22632         * tools/gst-run.c: (main):
22633         * tools/gst-xmlinspect.c: (main):
22634           fix GOption context leaks
22635           doc fixes
22636
22637 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22638
22639         * gst/gstbus.c:
22640           use HAVE_UNISTD_H
22641         * win32/common/config.h:
22642           update config
22643         * win32/vs6/grammar.dsp:
22644         * win32/vs6/libgstelements.dsp:
22645         * win32/vs6/libgstreamer.dsp:
22646           update vs6 files
22647
22648 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22649
22650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22651         * gst/base/gstbasesrc.c: (gst_base_src_query):
22652           fix more guint64<->gdouble conversions
22653
22654 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22655
22656         * Makefile.am:
22657           add win32-update target
22658         * win32/common/gstconfig.h:
22659         * win32/common/gstenumtypes.c:
22660         * win32/common/gstenumtypes.h:
22661         * win32/common/gstversion.h:
22662           add files that visual studio can't generate
22663
22664 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22665
22666         * Makefile.am:
22667           add a win32-update target
22668         * configure.ac:
22669
22670 2005-10-12  Wim Taymans  <wim@fluendo.com>
22671
22672         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22673         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22674         * gst/gstelement.c: (gst_element_commit_state),
22675         (gst_element_set_state):
22676         Protect flags with proper lock.
22677         unref provided cached clock in dispose.
22678
22679 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22680
22681         * gst/gst.c:
22682         * gst/gstminiobject.h:
22683         * gst/gstpad.h:
22684         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22685           removed unused flags from miniobject
22686           doc fixes
22687
22688 2005-10-12  Wim Taymans  <wim@fluendo.com>
22689
22690         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22691         (gst_file_sink_event), (gst_file_sink_render):
22692         Flush before seeking.
22693
22694 2005-10-12  Andy Wingo  <wingo@pobox.com>
22695
22696         * gst/gst.c (gst_init_check): Ignore unknown options, as has
22697         always been the case.
22698
22699 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22700
22701         * check/gst/gstbin.c: (GST_START_TEST):
22702         * docs/gst/gstreamer-sections.txt:
22703         * gst/base/gstbasesink.c: (gst_base_sink_init):
22704         * gst/base/gstbasesrc.c: (gst_base_src_init),
22705         (gst_base_src_get_range), (gst_base_src_check_get_range),
22706         (gst_base_src_start), (gst_base_src_stop):
22707         * gst/base/gstbasesrc.h:
22708         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22709         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22710         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22711         (bin_bus_handler):
22712         * gst/gstbin.h:
22713         * gst/gstbuffer.h:
22714         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22715         * gst/gstbus.h:
22716         * gst/gstelement.c: (gst_element_is_locked_state),
22717         (gst_element_set_locked_state), (gst_element_commit_state),
22718         (gst_element_set_state):
22719         * gst/gstelement.h:
22720         * gst/gstindex.c: (gst_index_init):
22721         * gst/gstindex.h:
22722         * gst/gstminiobject.h:
22723         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22724         (gst_object_set_parent):
22725         * gst/gstobject.h:
22726         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22727         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22728         * gst/gstpad.h:
22729         * gst/gstpadtemplate.h:
22730         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22731         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22732         * gst/gstpipeline.h:
22733         * gst/indexers/gstfileindex.c: (gst_file_index_load),
22734         (gst_file_index_commit):
22735         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22736         * testsuite/pad/link.c: (gst_test_src_init),
22737         (gst_test_filter_init), (gst_test_sink_init):
22738         * testsuite/states/locked.c: (main):
22739           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22740           moved bitshift from macro to enum definition
22741
22742 2005-10-12  Wim Taymans  <wim@fluendo.com>
22743
22744         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22745         * gst/elements/gstfilesink.c: (gst_file_sink_event),
22746         (gst_file_sink_render):
22747         Some more debugging info.
22748
22749 2005-10-12  Wim Taymans  <wim@fluendo.com>
22750
22751         * docs/design/part-states.txt:
22752         * tools/gst-launch.c: (main):
22753         Some doc updates.
22754         Revert non-intentional change.
22755
22756 2005-10-12  Wim Taymans  <wim@fluendo.com>
22757
22758         * check/gst/gstbin.c: (GST_START_TEST):
22759         * check/gst/gstelement.c: (GST_START_TEST):
22760         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22761         * check/gst/gstghostpad.c: (GST_START_TEST):
22762         * check/gst/gstpipeline.c: (GST_START_TEST):
22763         * check/pipelines/simple_launch_lines.c: (run_pipeline):
22764         * check/states/sinks.c: (GST_START_TEST):
22765         * gst/elements/gsttypefindelement.c: (stop_typefinding):
22766         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22767         (gst_bin_remove_func), (gst_bin_get_state_func),
22768         (gst_bin_recalc_state), (gst_bin_change_state_func),
22769         (bin_bus_handler):
22770         * gst/gstelement.c: (gst_element_get_state_func),
22771         (gst_element_get_state), (gst_element_abort_state),
22772         (gst_element_commit_state), (gst_element_set_state),
22773         (gst_element_change_state), (gst_element_change_state_func):
22774         * gst/gstelement.h:
22775         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22776         (gst_pipeline_provide_clock_func):
22777         * gst/gstutils.c: (gst_element_link_pads_filtered):
22778         * tools/gst-launch.c: (main):
22779         * tools/gst-typefind.c: (main):
22780         Use GstClockTime in _get_state() instead of GTimeVal.
22781         Remove old code in gstutils.c
22782
22783 2005-10-12  Andy Wingo  <wingo@pobox.com>
22784
22785         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22786         removed.
22787
22788         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22789         there is no task. Shouldn't affect any code, as nothing in our
22790         plugins checks this return value.
22791         (gst_pad_stop_task): Also take the stream lock if the pad has no
22792         task. Docs updated.
22793
22794 2005-10-12  Wim Taymans  <wim@fluendo.com>
22795
22796         * gst/gstpad.c: (pre_activate), (post_activate),
22797         (gst_pad_activate_pull), (gst_pad_activate_push):
22798         Cleanup activation code. Reset old state if
22799         activation failed.
22800
22801 2005-10-12  Wim Taymans  <wim@fluendo.com>
22802
22803         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22804         (gst_base_sink_change_state):
22805         No need to prerol after receiving EOS.
22806
22807         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22808         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22809         * gst/elements/gstidentity.c: (gst_identity_event):
22810         Print events more verbosely.
22811
22812 2005-10-12  Wim Taymans  <wim@fluendo.com>
22813
22814         * check/Makefile.am:
22815         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22816         * check/states/sinks2.c:
22817         Moved sinks2 testcode in sinks check.
22818
22819         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22820         (gst_bin_remove_func), (gst_bin_recalc_state),
22821         (gst_bin_change_state_func), (bin_bus_handler):
22822         Fix potential race condition when _get_state() iterated over an
22823         ASYNC element right before it posted a state completion.
22824
22825         * gst/gstclock.h:
22826         Do proper cast here.
22827
22828         * gst/gstevent.c: (gst_event_new_newsegment),
22829         (gst_event_parse_newsegment):
22830         A playback rate of 0.0 is not allowed.
22831
22832 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22833
22834         * win32/common/config.h:
22835         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22836         (_trewinddir), (_ttelldir), (_tseekdir):
22837         * win32/common/dirent.h:
22838         * win32/common/gtchar.h:
22839         * win32/common/libgstbase.def:
22840         * win32/common/libgstreamer.def:
22841         * win32/vs6/grammar.dsp:
22842         * win32/vs6/gst_inspect.dsp:
22843         * win32/vs6/gst_launch.dsp:
22844         * win32/vs6/gstreamer.dsw:
22845         * win32/vs6/libgstbase.dsp:
22846         * win32/vs6/libgstelements.dsp:
22847         * win32/vs6/libgstreamer.dsp:
22848           Visual Studio 6 project files, and a new common directory.
22849           Phear.
22850
22851 2005-10-11  Wim Taymans  <wim@fluendo.com>
22852
22853         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22854         (gst_base_sink_do_sync), (gst_base_sink_query),
22855         (gst_base_sink_change_state):
22856         * gst/base/gstbasesink.h:
22857         Correctly parse newsegment info.
22858
22859 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22860
22861         * gst/gst.c: (init_post):
22862           split plugin paths correctly
22863
22864 2005-10-11  Wim Taymans  <wim@fluendo.com>
22865
22866         * check/gst/gstevent.c: (GST_START_TEST):
22867         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22868         (gst_base_sink_change_state):
22869         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22870         * gst/base/gstbasetransform.c: (gst_base_transform_event):
22871         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22872         * gst/gstevent.c: (gst_event_new_newsegment),
22873         (gst_event_parse_newsegment):
22874         * gst/gstevent.h:
22875         Added extra flag to newsegment for future API freeze.
22876         Updated check and base elements.
22877
22878 2005-10-11  Julien MOUTTE  <julien@moutte.net>
22879
22880         * gst/base/gstcollectpads.c: (gst_collectpads_init),
22881         (gst_collectpads_add_pad), (gst_collectpads_pop),
22882         (gst_collectpads_event), (gst_collectpads_chain):
22883         * gst/base/gstcollectpads.h: Handle EOS correctly.
22884
22885 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22886
22887         * tools/gst-launch.c: (main):
22888           more null protecting
22889
22890 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22891
22892         * gst/gst-i18n-lib.h:
22893           check for ENABLE_NLS, not GETTEXT_PACKAGE
22894         * gst/gstregistry.c: (gst_registry_add_plugin),
22895         (gst_registry_scan_path_level),
22896         (_gst_registry_remove_cache_plugins):
22897           protect possibly NULL strings
22898         * gst/parse/types.h:
22899           config.h already included before
22900         * tools/gst-inspect.c: (main):
22901           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22902           check for ENABLE_NLS, not GETTEXT_PACKAGE
22903         * tools/gst-launch.c: (main):
22904           check for ENABLE_NLS, not GETTEXT_PACKAGE
22905
22906 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22907
22908         * configure.ac:
22909           if we don't have glib, fail before testing 2.8
22910         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22911           fix a leak, should fix plugins-base testsuite
22912
22913 2005-10-11  Andy Wingo  <wingo@pobox.com>
22914
22915         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22916         take the mode we're going to as an arg. Go head and set the mode
22917         and flushing flags now, so that if the activate function starts a
22918         thread all the flags will be in the right state.
22919         (post_activate): Renamed also. Just handle making sure streaming
22920         finishes for the deactivation case, and setting the deactivated
22921         mode.
22922         (gst_pad_set_active): Complain loudly if deactivation fails.
22923         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22924         (gst_pad_activate_push): Adapt to pre/post_activate changes,
22925         remove the terrible hack.
22926
22927 2005-10-11  Wim Taymans  <wim@fluendo.com>
22928
22929         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22930         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22931         (gst_bin_recalc_state), (gst_bin_change_state_func),
22932         (gst_bin_dispose), (bin_bus_handler):
22933         * gst/gstbin.h:
22934         Prepare to make current EOS message queue more generic.
22935         Fix some typos.
22936
22937         * gst/gstevent.c: (gst_event_new_newsegment),
22938         (gst_event_parse_newsegment):
22939         * gst/gstevent.h:
22940         Rename base to stream_time.
22941
22942         * gst/gstmessage.h:
22943         Fix typo in docs.
22944
22945 2005-10-11  Wim Taymans  <wim@fluendo.com>
22946
22947         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22948         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
22949         (gst_bin_change_state_func), (bin_bus_handler):
22950         * gst/gstbin.h:
22951         Work on proper clock selection.
22952
22953 2005-10-11  Edward Hervey  <edward@fluendo.com>
22954
22955         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
22956         * libs/gst/controller/gstcontroller.h:
22957         Added GList* version of _remove_properties() in order to be able to wrap
22958         it in bindings.
22959
22960 2005-10-11  Wim Taymans  <wim@fluendo.com>
22961
22962         * docs/design/part-states.txt:
22963         Some more docs.
22964
22965         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
22966         (gst_bin_change_state_func), (bin_bus_handler):
22967         Doc updates. Don't distribute the same clock over and over again.
22968
22969         * gst/gstclock.c:
22970         * gst/gstclock.h:
22971         Doc updates.
22972
22973         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
22974         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
22975         (gst_pad_send_event):
22976         * gst/gstpad.h:
22977         Make probe emission threadsafe again.
22978         Register quarks and move _get_name() from utils.
22979         Doc updates.
22980
22981         * gst/gstpipeline.c: (gst_pipeline_class_init),
22982         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22983         Only redistribute the clock of it changed.
22984
22985         * gst/gstsystemclock.h:
22986         Doc updates. 
22987
22988         * gst/gstutils.c:
22989         * gst/gstutils.h:
22990         Moved the _flow_get_name() to GstPad.
22991
22992 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22993
22994         * check/gst-libs/gdp.c: (GST_START_TEST):
22995         * check/gst/gstcaps.c: (GST_START_TEST):
22996         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
22997         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
22998         (gst_dp_packet_from_caps):
22999           fix more valgrind warnings before turning up the heat
23000
23001 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23002
23003         * gst/parse/grammar.y:
23004           some cleanup before the hacking
23005
23006 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23007
23008         * gst/base/gstbasesrc.c: (gst_base_src_query):
23009           use conversions
23010         * gst/gstutils.c: (gst_guint64_to_gdouble),
23011         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23012         * gst/gstutils.h:
23013           externalize, basesrc uses it
23014           obviously the implementation needs testing
23015
23016 2005-10-10  Wim Taymans  <wim@fluendo.com>
23017
23018         * tests/sched/Makefile.am:
23019         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23020         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23021
23022 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23023
23024         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23025           apparently converting from guint64 to double is not implemented
23026           on MSVC
23027
23028 2005-10-10  Wim Taymans  <wim@fluendo.com>
23029
23030         * check/Makefile.am:
23031         * check/generic/states.c: (GST_START_TEST):
23032         * check/gst/gstbin.c: (GST_START_TEST):
23033         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23034         * check/states/sinks.c: (GST_START_TEST):
23035         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23036         (main):
23037         Check fixes, use API as stated in design docs, remove hacks.
23038
23039         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23040         (gst_base_sink_change_state):
23041         Catch stopping our task while we're shutting down.
23042
23043         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23044         (gst_bin_remove_func), (gst_bin_get_state_func),
23045         (gst_bin_recalc_state), (gst_bin_change_state_func),
23046         (bin_bus_handler):
23047         * gst/gstbin.h:
23048         * gst/gstelement.c: (gst_element_init),
23049         (gst_element_get_state_func), (gst_element_abort_state),
23050         (gst_element_commit_state), (gst_element_lost_state),
23051         (gst_element_set_state), (gst_element_change_state),
23052         (gst_element_change_state_func):
23053         * gst/gstelement.h:
23054         New state change algorithm (see #318116)
23055
23056         * gst/gstpipeline.c: (gst_pipeline_class_init),
23057         (gst_pipeline_init), (gst_pipeline_set_property),
23058         (gst_pipeline_get_property), (do_pipeline_seek),
23059         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23060         * gst/gstpipeline.h:
23061         Remove crude state change hacks.
23062
23063         * gst/gstutils.h:
23064         Remove crude hacks.
23065
23066         * tools/gst-launch.c: (main):
23067         Fixes for state change. Needs some more work to fully use the
23068         new stuff.
23069
23070 2005-10-10  Andy Wingo  <wingo@pobox.com>
23071
23072         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23073
23074         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23075         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23076         issue.
23077
23078 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23079
23080         * gst/gstiterator.c: (gst_iterator_new):
23081           Fix my previous commit: GTypes passed to gst_iterator_new()
23082           can be fundamental types.
23083
23084 2005-10-10  Wim Taymans  <wim@fluendo.com>
23085
23086         * gst/gstelement.c: (gst_element_iterate_pad_list),
23087         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23088         (gst_element_iterate_sink_pads):
23089         Use src/sink pads lists for the respective iterators instead
23090         of filtering.
23091
23092 2005-10-10  Andy Wingo  <wingo@pobox.com>
23093
23094         Merged in popt removal + GOption addition patch from Ronald, bug
23095         #169772.
23096
23097         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23098         GstElement macros around, remove popt-related symbols, add goption
23099         stuff.
23100
23101         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23102         
23103         * docs/gst/Makefile.am:
23104         * docs/libs/Makefile.am: No POPT_CFLAGS.
23105         
23106         * examples/manual/Makefile.am:
23107         * docs/manual/basics-init.xml: Doc updates with an example.
23108         
23109         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23110         (gst_init), (parse_one_option), (parse_goption_arg):
23111         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23112         bit of hand merging and debugging to get the GOption stuff working
23113         tho.
23114         
23115         * tests/Makefile.am:
23116         * tools/Makefile.am:
23117         * tools/gst-inspect.c: (main):
23118         * tools/gst-launch.c: (main):
23119         * tools/gst-run.c: (main):
23120         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23121
23122 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23123
23124         * gst/gstiterator.c: (gst_iterator_new):
23125           Add assertions to make sure passed GType is likely to really
23126           be a GType (as the compiler won't catch it if the size and
23127           GType arguments get mixed up, see #318447).
23128
23129 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23130
23131         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23132
23133         * gst/gstbin.c: (gst_bin_iterate_sorted):
23134           Pass GType and size arguments to gst_iterator_new() in the right
23135           order (maybe we should make _new() take the GType as first argument
23136           just like _new_list()?) (#318447).
23137           
23138
23139 2005-10-10  Wim Taymans  <wim@fluendo.com>
23140
23141         * gst/gstelement.c: (gst_element_finalize):
23142         And free the GStaticRecMutex too
23143
23144 2005-10-10  Andy Wingo  <wingo@pobox.com>
23145
23146         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23147         Allocate and free the mutex properly.
23148
23149         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23150         New macros.
23151         (GstElement): The state_lock is now recursive. Rebuild your
23152         plugins, suckers. Old macros adapted.
23153
23154         * docs/gst/gstreamer-sections.txt: Doc updates.
23155
23156         * gst/gstutils.h:
23157         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23158         (g_static_rec_cond_wait): Ported from state changes patch, while
23159         we wait on bug #317802 to be solved in a well-distributed GLib.
23160
23161         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23162         gst_element_change_state, variable name changes.
23163         (gst_element_change_state): Split out of gst_element_set_state in
23164         preparation for the state change merge. Doesn't pay attention to
23165         the 'transition' argument.
23166         (gst_element_set_state): Updates, hopefully purely cosmetic.
23167         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23168         state change patch.
23169         (gst_element_get_state_func): Renamed from get_state, cosmetic
23170         changes.
23171
23172 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23173
23174         * gst/elements/gstelements.c:
23175         * win32/GStreamer.vcproj:
23176         * win32/config.h:
23177         * win32/dirent.c: (_tseekdir):
23178         * win32/gst-inspect.vcproj:
23179         * win32/gst-launch.vcproj:
23180         * win32/gstconfig.h:
23181         * win32/gstelements.vcproj:
23182         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23183         * win32/gstreamer.def:
23184         * win32/msvc71.sln:
23185           updates for the win32 build (patch from Sebastien Moutte)
23186
23187 2005-10-10  Andy Wingo  <wingo@pobox.com>
23188
23189         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23190         gst_bin_get_state, cleaned up (but no logic changes).
23191         (bin_element_is_sink): Comment updates.
23192         (sink_iterator_filter): Remove needless cast.
23193         (gst_bin_iterate_sinks): Doc update.
23194         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23195         cleaned up (but no logic changes).
23196
23197         * check/states/sinks.c (test_src_sink): Cleanups from the state
23198         change patch.
23199         (test_livesrc_sink): Sync on the state.
23200
23201         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23202         the state change patch.
23203
23204         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23205         change patch.
23206
23207         * check/gst/gstbin.c: Merge in some style fixes and additional
23208         checks from Wim's state change patch.
23209
23210 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23211
23212         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23213         (gst_type_find_helper):
23214           Check whether we have the requested data already in our list of
23215           cached buffers before pulling a new buffer; also make the buffer
23216           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23217
23218 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23219
23220         * gst/gstcaps.c:
23221         * gst/gstevent.c:
23222           doc updates
23223         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23224           don't use long long, it's not portable.  Replacing with
23225           gint64 seems to work; let's hope no skeletons fall out of the closet.
23226
23227 2005-10-10  Andy Wingo  <wingo@pobox.com>
23228
23229         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23230
23231 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23232
23233         * docs/gst/gstreamer-sections.txt:
23234         * gst/gstevent.c:
23235         * gst/gstevent.h:
23236         * gst/gstinfo.c:
23237         * gst/gstinfo.h:
23238         * gst/gstmessage.c: (gst_message_parse_state_changed):
23239         * gst/gstpad.c:
23240         * gst/gstpad.h:
23241           more docs, fix compilation
23242
23243 2005-10-09  Philippe Khalaf <burger@speedy.org>
23244         * gst/gstmessage.c:
23245           Fixed a few forgotten variables on previous commit
23246
23247 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23248
23249         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23250           Fix evil typefind crasher: getrange() might return a short
23251           buffer at the end of a file, but gst_type_find_peek() must
23252           either return the full data as requested or NULL, but
23253           never a short buffer.
23254
23255 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23256
23257         * gst/gstmessage.c: (gst_message_new_state_changed),
23258         (gst_message_parse_state_changed):
23259         * gst/gstmessage.h:
23260           don't use "new", it's a C++ keyword
23261
23262 2005-10-08  Wim Taymans  <wim@fluendo.com>
23263
23264         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23265         * gst/gstelement.c: (gst_element_post_message):
23266         * gst/gstpipeline.c: (gst_pipeline_change_state):
23267         Small docs and debug updates.
23268
23269 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23270
23271         * docs/gst/gstreamer-sections.txt:
23272         * gst/gstelementfactory.c:
23273         * gst/gstevent.c:
23274         * gst/gsttaglist.c:
23275           more docs
23276
23277 2005-10-08  Wim Taymans  <wim@fluendo.com>
23278
23279         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23280         (gst_bin_dispose), (bin_bus_handler):
23281         Fix typos, add comments.
23282         Clear EOS list when going to PAUSED from any direction and do it
23283         in a threadsafe way.
23284         Get base time in a threadsafe way too.
23285         Fix confusing debug in the change_state function.
23286         Various other small cleanups.
23287         
23288         * gst/gstelement.c: (gst_element_post_message):
23289         Fix very verbose bus posting code.
23290
23291         * gst/gstpipeline.c: (gst_pipeline_class_init),
23292         (gst_pipeline_set_property), (gst_pipeline_get_property),
23293         (gst_pipeline_change_state):
23294         Small ARG_ -> PROP_ cleanup
23295
23296 2005-10-08  Wim Taymans  <wim@fluendo.com>
23297
23298         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23299         Do a less CPU demanding EOS check because we can.
23300
23301 2005-10-08  Wim Taymans  <wim@fluendo.com>
23302
23303         * libs/gst/dataprotocol/dataprotocol.c:
23304         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23305         (gst_dp_packet_from_event):
23306         * libs/gst/dataprotocol/dataprotocol.h:
23307         * libs/gst/dataprotocol/dp-private.h:
23308         It's about time we bump the version number.
23309         Since event types don't fit in the guint8 anymore describing
23310         the payload type, make payload type 16 bits wide.
23311
23312 2005-10-08  Wim Taymans  <wim@fluendo.com>
23313
23314         * docs/design/part-TODO.txt:
23315         * docs/design/part-clocks.txt:
23316         * docs/design/part-events.txt:
23317         * docs/design/part-gstbin.txt:
23318         * docs/design/part-gstelement.txt:
23319         * docs/design/part-gstpipeline.txt:
23320         * docs/design/part-live-source.txt:
23321         * docs/design/part-messages.txt:
23322         * docs/design/part-overview.txt:
23323         * docs/design/part-states.txt:
23324         Many doc updates.
23325
23326 2005-10-08  Wim Taymans  <wim@fluendo.com>
23327
23328         * gst/gstevent.c:
23329         * gst/gstevent.h:
23330         Fix event quark registration.
23331         Add some space between events so we can insert them in the
23332         right groups.
23333
23334 2005-10-08  Wim Taymans  <wim@fluendo.com>
23335
23336         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23337         (gst_base_sink_handle_buffer):
23338         Better log message.
23339
23340         * gst/gstbus.h:
23341         * gst/gstelement.h:
23342         More docs.
23343
23344         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23345         (gst_queue_set_property), (gst_queue_get_property):
23346         * gst/gstqueue.h:
23347         Remove old unused properties.
23348
23349 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23350         * docs/gst/gstreamer-sections.txt:
23351         * gst/gstmessage.c:
23352         * gst/gstmessage.h:
23353         * gst/gstminiobject.c:
23354         * gst/gstminiobject.h:
23355         * gst/gstobject.h:
23356         * gst/gstpad.h:
23357         * gst/gstutils.h:
23358           lots of new docs and doc fixes
23359
23360 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23361
23362         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23363         * gst/gstplugin.h:
23364         * gst/gstregistry.c: (gst_registry_lookup_locked),
23365         (gst_registry_scan_path_level):
23366         * gst/gstregistryxml.c: (load_plugin):
23367           Only ever load one plugin for a given plugin basename.
23368           This ensures correct overriding of GST_PLUGIN_PATH over
23369           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23370           system installed plugins.
23371
23372 2005-10-08  Wim Taymans  <wim@fluendo.com>
23373
23374         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23375         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23376         Prepare for doing QOS.
23377
23378 2005-10-08  Wim Taymans  <wim@fluendo.com>
23379
23380         * check/gst/gstbin.c: (GST_START_TEST):
23381         * check/pipelines/cleanup.c: (GST_START_TEST):
23382         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23383         Allow new clock message too.
23384
23385 2005-10-08  Wim Taymans  <wim@fluendo.com>
23386
23387         * gst/gstmessage.c: (gst_message_new_error),
23388         (gst_message_new_warning), (gst_message_new_tag),
23389         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23390         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23391         (gst_message_new_segment_start), (gst_message_new_segment_done),
23392         (gst_message_parse_state_changed),
23393         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23394         (gst_message_parse_new_clock):
23395         * gst/gstmessage.h:
23396         Also carry the clock in question.
23397
23398 2005-10-08  Wim Taymans  <wim@fluendo.com>
23399
23400         * gst/gstmessage.c: (gst_message_new_custom),
23401         (gst_message_new_eos), (gst_message_new_error),
23402         (gst_message_new_warning), (gst_message_new_tag),
23403         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23404         (gst_message_new_new_clock), (gst_message_new_segment_start),
23405         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23406         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23407         * gst/gstmessage.h:
23408         Clean up.
23409         Added clock related messages.
23410
23411         * gst/gstpipeline.c: (gst_pipeline_change_state):
23412         Post message when the clock changed.
23413
23414         * tools/gst-launch.c: (event_loop):
23415         Print new clock.
23416
23417 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23418
23419         * tools/gst-inspect.c: (print_element_properties_info):
23420           Can't pass NULL strings to g_print() on windows.
23421
23422 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23423
23424         * docs/Makefile.am:
23425         * docs/gst/Makefile.am:
23426         * docs/gst/gstreamer-docs.sgml:
23427         * docs/gst/running.xml:
23428         * docs/version.entities.in:
23429           add a chapter on running GStreamer.
23430           document GST_DEBUG and GST_PLUGIN* env vars
23431
23432 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23433
23434         * Makefile.am:
23435           remove include dir
23436         * configure.ac:
23437           remove PLUGINS_BUILDDIR stuff
23438         * gst/gst.c: (init_post):
23439           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23440         * idiottest.mak:
23441           remove, it was condescending and not needed
23442
23443 2005-10-08  Wim Taymans  <wim@fluendo.com>
23444
23445         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23446         (gst_base_sink_handle_object), (gst_base_sink_event),
23447         (gst_base_sink_wait), (gst_base_sink_handle_event),
23448         (gst_base_sink_change_state):
23449         * gst/base/gstbasesink.h:
23450         Repost EOS message while going to PLAYING if still EOS.
23451         Make sure that when receiving a FLUSH_START we don't attempt
23452         to sync on the clock anymore.
23453
23454 2005-10-08  Wim Taymans  <wim@fluendo.com>
23455
23456         * tools/gst-launch.c: (event_loop):
23457         Better message printout.
23458
23459 2005-10-08  Wim Taymans  <wim@fluendo.com>
23460
23461         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23462         (gst_bin_child_proxy_get_children_count):
23463         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23464         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23465         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23466         (gst_child_proxy_set_valist):
23467         * gst/parse/grammar.y:
23468         Make ChildProxy threadsafe and fix mem leaks.
23469
23470 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23471
23472         * gst/gst.c: (init_post):
23473           debug the GST_PLUGIN_ env vars
23474
23475 2005-10-08  Wim Taymans  <wim@fluendo.com>
23476
23477         * check/gst/gstbin.c: (GST_START_TEST):
23478         * check/gst/gstmessage.c: (GST_START_TEST):
23479         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23480         * gst/gstelement.c: (gst_element_commit_state),
23481         (gst_element_lost_state):
23482         * gst/gstmessage.c: (gst_message_new_state_changed),
23483         (gst_message_parse_state_changed):
23484         * gst/gstmessage.h:
23485         * tools/gst-launch.c: (event_loop):
23486         Added extra field to STATE_CHANGE message with the pending
23487         state, which will be different from the new state soon.
23488
23489 2005-10-08  Wim Taymans  <wim@fluendo.com>
23490
23491         * gst/gstbus.c: (gst_bus_pop):
23492         * gst/gstclock.c:
23493         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23494         Small cleanups and doc updates.
23495
23496 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23497
23498         * gst/gst.c: (init_pre):
23499         * gst/gstbin.c: (gst_bin_add_func):
23500           log distributing clocks and base time
23501         * gst/gstregistry.c: (gst_registry_add_plugin),
23502         (gst_registry_scan_path_level), (gst_registry_scan_path):
23503           clean up the debugging output a little
23504         * gst/gstutils.c: (gst_element_state_get_name):
23505           warn about a memleak (I've actually seen this be used, though
23506           it was probably a bug)
23507
23508 2005-10-07  Wim Taymans  <wim@fluendo.com>
23509
23510         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23511         (gst_base_src_init), (gst_base_src_default_newsegment),
23512         (gst_base_src_newsegment), (gst_base_src_do_seek),
23513         (gst_base_src_loop), (gst_base_src_start):
23514         * gst/base/gstbasesrc.h:
23515         Make the newsegment event customizable by subclasses.
23516
23517 2005-10-07  Wim Taymans  <wim@fluendo.com>
23518
23519         * gst/gstevent.c: (gst_event_new_buffersize),
23520         (gst_event_parse_buffersize):
23521         * gst/gstevent.h:
23522         New event for future idea.
23523
23524 2005-10-07  Andy Wingo  <wingo@pobox.com>
23525
23526         * gst/gstelement.c (gst_element_post_message): Doc update.
23527
23528         * docs/gst/gstreamer-sections.txt: Update.
23529
23530         * gst/gstmessage.c (gst_message_new_application): Made into a
23531         function like honest API calls.
23532         (gst_message_new_element): New message type.
23533
23534         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23535
23536         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23537         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23538         times.
23539
23540         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23541         NO_PREROLL from gst_element_change_state to fall through.
23542
23543 2005-10-07  Wim Taymans  <wim@fluendo.com>
23544
23545         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23546         (gst_ghost_pad_do_activate_push):
23547         Activating a ghostpad with no internal pad in push mode
23548         is ok.
23549
23550 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23551
23552         * gst/gstobject.h:
23553           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23554           Fixes compilation on Windows.
23555
23556 2005-10-07  Michael Smith <msmith@fluendo.com>
23557
23558         * tools/gst-inspect.c:
23559           Print out feature and plugin count at the end when printing out
23560           all features.
23561
23562 2005-10-04  Michael Smith <msmith@fluendo.com>
23563
23564         * gst/gsterror.c: (_gst_stream_errors_init):
23565           Add another error string used in a few existing plugins.
23566
23567         * gst/gstplugin.c:
23568         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23569         * tools/gst-inspect.c: (print_element_info):
23570           When a feature disappears from a plugin (and the feature exists in
23571           the cached registry file), things went horribly wrong. This isn't a
23572           complete fix, we should actually be removing the 'missing' features
23573           from the features list when we load the actual plugin. That's not
23574           yet implemented. 
23575
23576 2005-10-04  Johan Dahlin  <johan@gnome.org>
23577
23578         * check/gst/gstiterator.c: (GST_START_TEST):
23579         * gst/gstbin.c: (gst_bin_iterate_elements),
23580         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23581         * gst/gstelement.c: (gst_element_iterate_pads):
23582         * gst/gstformat.c: (gst_format_iterate_definitions):
23583         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23584         (gst_iterator_new_list), (gst_iterator_filter):
23585         * gst/gstiterator.h:
23586         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23587         Add a GType to GstIterator, update callsites and tests.
23588
23589 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23590
23591         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23592           give events a chance to be handled by event probes when the pad
23593           is not linked
23594
23595 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23596
23597         * gst/gstevent.c: (gst_event_type_get_name),
23598         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23599         * gst/gstevent.h:
23600           add string representations for event types
23601
23602 2005-10-06  Wim Taymans  <wim@fluendo.com>
23603
23604         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23605         Don't use NULL pointers.
23606
23607 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23608
23609         * gst/gst_private.h:
23610         * gst/gstbus.c:
23611         * gst/gstelement.c:
23612         * gst/gstinfo.c:
23613         * gst/gstpluginfeature.c:
23614           widen the debug category in output to fit the biggest one we have
23615           add a bus category and use it
23616           play with the colors
23617           fix up some categories
23618
23619 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23620
23621         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23622           add push activation of sink ghost pads.
23623           Andye, please verify
23624
23625 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23626
23627         * gst/gstutils.c: (gst_element_link_pads):
23628           fix a bug in the case where neither element has a pad
23629         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23630           add a test for that case
23631
23632 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23633
23634         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23635           emit have-data before checking for peers.  This allows
23636           for probe handlers to connect elements.  This helps autopluggers.
23637         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23638         (gst_pad_suite):
23639           add six checks, linked/unlinked with no/true/false probe
23640
23641 2005-10-04  Wim Taymans  <wim@fluendo.com>
23642
23643         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23644         (gst_fake_sink_event), (gst_fake_sink_preroll),
23645         (gst_fake_sink_render), (gst_fake_sink_change_state):
23646         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23647         (gst_fake_src_get_property), (gst_fake_src_create),
23648         (gst_fake_src_stop):
23649         * gst/elements/gstidentity.c: (gst_identity_stop):
23650         Protect last_message with lock.
23651
23652 2005-10-04  Edward Hervey  <edward@fluendo.com>
23653
23654         * gst/gstformat.h: 
23655         Added precision in the comments for GST_FORMAT_DEFAULT
23656
23657 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23658
23659         * tools/gst-launch.c: (main):
23660           Don't try to run erroneous pipelines.
23661
23662 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23663
23664         * gst/gstbus.c: We don't need this header.
23665
23666 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23667
23668         * configure.ac:
23669           back to development
23670
23671 === release 0.9.3 ===
23672
23673 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23674
23675         * README:
23676         * configure.ac:
23677           Releasing 0.9.3, "Unregistered"
23678
23679 2005-10-03  Andy Wingo  <wingo@pobox.com>
23680
23681         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23682         whereby calling a pad's activatepush() function can start a thread
23683         that starts to push or pull before the pad gets the FLUSHING flag
23684         unset. Hack around it by holding the stream lock until the flag is
23685         set. Need to replace this with a proper solution. Together with
23686         the ghost pad fixes, this fixes mp3 playing/tagreading.
23687
23688         * docs/design/part-gstghostpad.txt: Add a note about activation of
23689         proxy pads outside of ghost pads.
23690
23691         * gst/gstghostpad.c: Implement the ghost pad activation design.
23692
23693 2005-10-02  Andy Wingo  <wingo@pobox.com>
23694
23695         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23696         It is volatile, after all.
23697
23698         * docs/design/part-gstghostpad.txt: Flesh out activation with
23699         ghost pads.
23700
23701         * gst/base/gstbasesrc.c (gst_base_src_init): Use
23702         GST_DEBUG_FUNCPTR.
23703
23704 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
23705
23706         * configure.ac:
23707           Fix (unused) AM_CONDITIONAL tests.
23708
23709 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
23710
23711         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23712
23713         * gst/gstutils.c: (gst_pad_query_convert):
23714           Add assertion that makes sure src_val is >=0, just like
23715           gst_query_new_convert() has. (#315895)
23716
23717 2005-09-30  Edward Hervey  <edward@fluendo.com>
23718
23719         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23720         Let's not iterate pads we're not interested in, it avoids getting 
23721         sky-high refcounts on sinkpad.
23722
23723 2005-09-30  Wim Taymans  <wim@fluendo.com>
23724
23725         * gst/gstelement.c: (gst_element_set_state),
23726         (gst_element_change_state):
23727         Small tweak, element in ASYNC remains ASYNC.
23728
23729 2005-09-30  Wim Taymans  <wim@fluendo.com>
23730
23731         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23732         Only error is an error.
23733
23734         * gst/gstbin.c: (gst_bin_change_state):
23735         Better debugging.
23736
23737         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23738         Also call pad_block in pad alloc.
23739
23740         * gst/gstutils.c: (gst_flow_get_name):
23741         Better debugging.
23742
23743 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23744
23745         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23746         (gst_base_src_get_range):
23747           Fix documentation typos. Add some more debug info.
23748
23749 2005-09-29  David Schleef  <ds@schleef.org>
23750
23751         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23752           more end-user friendly.
23753         * tools/gst-inspect.c: (main): Check if command-line argument is
23754           a file and attempt to load that file as a plugin.
23755
23756 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23757
23758         * check/gst/gstbin.c:
23759         * check/states/sinks.c:
23760           fix tests for the new warning
23761         * check/gst/gstpipeline.c:
23762           add a test for pipeline and bus interaction
23763         * gst/gstelement.c:
23764           elements should be NULL if they get disposed; add a warning if not
23765
23766 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23767
23768         * gst/gstobject.c:
23769           for 2.6 refcounting, make debug log more correct by printing
23770           the actual refcounts at the time of swap (Wim)
23771
23772 2005-09-29  Andy Wingo  <wingo@pobox.com>
23773
23774         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23775         removes signal watches previously added via
23776         gst_bus_add_signal_watch.
23777         (gst_bus_add_signal_watch): Don't return the source id, just store
23778         it on the bus if there wasn't an id already.
23779
23780         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23781         add_signal_watch and remove_signal_watch.
23782
23783 2005-09-29  Edward Hervey  <edward@fluendo.com>
23784
23785         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
23786         Better if we actually iterate the list :)
23787
23788 2005-09-29  Wim Taymans  <wim@fluendo.com>
23789
23790         * check/gst/gstbin.c: (GST_START_TEST):
23791         Change for new bus API.
23792
23793         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23794         (send_messages), (GST_START_TEST), (gstbus_suite):
23795         Change for new bus signal API.
23796
23797         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23798         (gst_bus_source_prepare), (gst_bus_source_check),
23799         (gst_bus_create_watch), (gst_bus_add_watch_full),
23800         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23801         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23802         * gst/gstbus.h:
23803         Remove support for multiple GSources operating on different
23804         message types as it is too complex and unneeded when using
23805         signals.
23806         Added support for receiving signals from the bus.
23807
23808 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23809
23810         * docs/libs/tmpl/gstdataprotocol.sgml:
23811         * docs/manual/advanced-dataaccess.xml:
23812         * gst/elements/gstcapsfilter.c:
23813         * gst/gstutils.c:
23814           rename filter-caps to caps property
23815
23816 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23817
23818         * gst/gstvalue.c: (gst_value_deserialize_fraction):
23819           More robust fraction string parsing.
23820
23821         * docs/pwg/appendix-porting.xml:
23822           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23823
23824 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23825
23826         * gst/gstcaps.c: (gst_caps_do_simplify):
23827           Thou shalt not free a structure and then continue using it
23828           in the next loop iteration.
23829
23830         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23831         (gst_caps_suite):
23832           Add test case for caps simplification.
23833
23834 2005-09-29  Wim Taymans  <wim@fluendo.com>
23835
23836         * check/gst/gstbin.c: (GST_START_TEST):
23837         Oops.
23838
23839 2005-09-29  Wim Taymans  <wim@fluendo.com>
23840
23841         * check/gst/gstbin.c: (GST_START_TEST):
23842         Add bus to bin.
23843
23844         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23845         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23846         (find_element), (gst_bin_sort_iterator_next),
23847         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23848         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23849         (gst_bin_change_state), (gst_bin_dispose):
23850         A bin does not have a bus, it gets the bus from the parent.
23851
23852         * gst/gstelement.c: (gst_element_requires_clock),
23853         (gst_element_provides_clock), (gst_element_is_indexable),
23854         (gst_element_is_locked_state), (gst_element_change_state),
23855         (gst_element_set_bus_func):
23856         Small cleanups.
23857
23858         * gst/gstpipeline.c: (gst_pipeline_class_init),
23859         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23860         The pipeline provides a bus.
23861
23862 2005-09-28  Johan Dahlin  <johan@gnome.org>
23863
23864         * gst/gstmessage.c (gst_message_parse_state_changed): Use
23865         gst_structure_get_enum instead of gst_structure_get_int
23866
23867         * gst/gststructure.c (gst_structure_get_enum): Impl.
23868
23869         * gst/gststructure.h (gst_structure_get_enum): Add
23870
23871         * docs/gst/gstreamer-sections.txt: Ditto
23872
23873         * gst/gstmessage.c (gst_message_new_state_changed): Use
23874         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23875         which does introspection.
23876         Reviewed by Christian Schaller
23877
23878 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
23879
23880         * gst/gstinfo.c: (gst_debug_log_default):
23881           don't do dummy g_strdup()s
23882         * libs/gst/controller/gstcontroller.c:
23883         (on_object_controlled_property_changed),
23884         (gst_controlled_property_new), (gst_controller_new_valist),
23885         (gst_controller_new_list),
23886         (gst_controller_remove_properties_valist), (gst_controller_set),
23887         (gst_controller_get), (gst_controller_sync_values),
23888         (gst_controller_get_value_array), (_gst_controller_class_init),
23889         (gst_controller_get_type):
23890         * libs/gst/controller/gstcontroller.h:
23891         * libs/gst/controller/gstinterpolation.c:
23892         (gst_controlled_property_find_timed_value_node):
23893           convert // to /**/ comments
23894
23895 2005-09-28  Wim Taymans  <wim@fluendo.com>
23896
23897         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23898         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23899         (gst_bus_sync_signal_handler):
23900         * gst/gstbus.h:
23901         Added async-message and sync-message signals to the bus.
23902         Added helper BusFunc to emit signals for all posted messages.
23903
23904         * gst/gstmessage.c: (gst_message_type_get_name),
23905         (gst_message_type_to_quark), (gst_message_get_type):
23906         * gst/gstmessage.h:
23907         Register quarks for message names.
23908
23909 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
23910
23911         * docs/libs/gstreamer-libs-sections.txt:
23912         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23913         (gst_controller_new_list):
23914         * libs/gst/controller/gstcontroller.h:
23915           added another constructor for language bindings
23916
23917 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
23918
23919         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23920           add another check
23921         * gst/gstbus.c:
23922           add some doc
23923         * gst/gstinfo.c: (_gst_debug_init):
23924           slightly more readable color for refcount debugging
23925
23926 2005-09-28  Wim Taymans  <wim@fluendo.com>
23927
23928         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23929         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23930         (find_element), (gst_bin_sort_iterator_next),
23931         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23932         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23933         (gst_bin_change_state), (gst_bin_dispose):
23934         Small doc fixes. get_clock -> provide_clock.
23935
23936         * gst/gstelement.c: (gst_element_class_init),
23937         (gst_element_provides_clock), (gst_element_provide_clock),
23938         (gst_element_get_clock), (gst_element_commit_state),
23939         (gst_element_lost_state):
23940         * gst/gstelement.h:
23941         Make get/set_clock() symetric. Add provide_clock vmethod since
23942         that is actually what this function does.
23943
23944         * gst/gstpipeline.c: (gst_pipeline_class_init),
23945         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
23946         (gst_pipeline_get_clock):
23947         get_clock -> provide_clock.
23948
23949 2005-09-28  Andy Wingo  <wingo@pobox.com>
23950
23951         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
23952         lieu of real docs...
23953
23954         * gst/elements/gstfdsrc.c: Cleaned up a bit.
23955
23956 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
23957
23958         * gst/elements/gstcapsfilter.c:
23959         * gst/elements/gstfakesink.c:
23960         * gst/elements/gstfakesrc.c:
23961         * gst/elements/gstfdsink.c:
23962         * gst/elements/gstfdsrc.c:
23963         * gst/elements/gstfilesink.c:
23964         * gst/elements/gstfilesrc.c:
23965         * gst/elements/gstidentity.c:
23966         * gst/elements/gsttee.c:
23967         * gst/elements/gsttypefindelement.c:
23968           Make element details static.
23969
23970 2005-09-28  Wim Taymans  <wim@fluendo.com>
23971
23972         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23973         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23974         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23975         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23976         (gst_bin_change_state), (gst_bin_dispose):
23977         Some documentation updates.
23978         Clean up dispose handlers.
23979
23980         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
23981         * gst/gstpad.c: (gst_pad_dispose):
23982         Clean up dispose handler.
23983
23984         * gst/gstpipeline.c: (gst_pipeline_change_state):
23985         Removed spurious UNLOCK.
23986
23987 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
23988
23989         * docs/gst/gstreamer-sections.txt:
23990         * gst/base/gstbasesrc.h:
23991         * gst/gstelement.h:
23992         * gst/gstevent.h:
23993         * gst/gstobject.h:
23994         * gst/gstpad.h:
23995         * gst/gstpipeline.c:
23996         * gst/gstpipeline.h:
23997         * gst/gstutils.h:
23998         * gst/gstxml.h:
23999           added two new functions to the docs
24000                 documents all undocumented GstXXXFlags
24001                 completed some incomplete docs 
24002
24003 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24004
24005         * gst/gstbin.c: (gst_bin_dispose):
24006         * gst/gstelement.c: (gst_element_dispose):
24007           remove now useless and leaky resurrection code in dispose
24008         * gst/base/gstbasesrc.c: (gst_base_src_init):
24009         * gst/gstelementfactory.c: (gst_element_factory_create):
24010         * gst/gstobject.c: (gst_object_set_parent):
24011           add some debugging
24012
24013 2005-09-27  Wim Taymans  <wim@fluendo.com>
24014
24015         * docs/design/part-TODO.txt:
24016         Update TODO.
24017
24018         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24019         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24020         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24021         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24022         (gst_bin_change_state):
24023         * gst/gstelement.h:
24024         Remove element variable, we keep element info in the iterator now.
24025
24026 2005-09-27  Andy Wingo  <wingo@pobox.com>
24027
24028         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24029         values.
24030
24031 2005-09-27  Wim Taymans  <wim@fluendo.com>
24032
24033         * check/gst/gstbin.c: (GST_START_TEST):
24034         Enable check that works now.
24035
24036         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24037         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24038         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24039         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24040         (gst_bin_change_state):
24041         * gst/gstbin.h:
24042         Redid the state change algorithm using a topological sort algo.
24043         Handles all cases correctly.
24044         Exposed iterator for state change order.
24045
24046         * gst/gstelement.h:
24047         Temp storage for state changes. Need to get rid of this soon.
24048
24049 2005-09-27  Wim Taymans  <wim@fluendo.com>
24050
24051         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24052         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24053         (link_fold_func), (gst_pad_proxy_setcaps):
24054         Leak fixes, the fold functions need to unref the passed object and
24055         _get_parent_*() returns ref to parent.
24056
24057 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24058
24059         * check/gst/gstbuffer.c: (test_make_writable):
24060           Plug leak in test case and fix 'make check-valgrind'
24061
24062 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24063
24064         * gst/gstbuffer.c: (gst_subbuffer_init):
24065           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24066           works correctly in all circumstances (we could have just copied
24067           the parent buffer's readonly flag, but conceptually it seems
24068           cleaner to mark all subbuffers as read-only). (based on patch
24069           by Alessandro Decina, #314710).
24070         
24071         * check/gst/gstbuffer.c: (create_read_only_buffer),
24072         (test_make_writable), (test_subbuffer_make_writable),
24073         (gst_test_suite):
24074           Add some tests for gst_buffer_make_writable().
24075
24076 2005-09-27  Wim Taymans  <wim@fluendo.com>
24077
24078         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24079         use gst_object_has_ancestor().
24080
24081         * gst/gstobject.c: (gst_object_has_ancestor):
24082         * gst/gstobject.h:
24083         gst_object_has_ancestor() copied from gstbin.c as it is a
24084         useful function.
24085
24086         * tests/instantiate/create.c: (create_all_elements):
24087         * tests/lat.c: (handoff_src), (handoff_sink):
24088         * tests/sched/runxml.c: (main):
24089         * tests/seeking/seeking1.c: (main):
24090         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24091         (main):
24092         Fix compilation of some tests.
24093
24094 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24095
24096         * gst/gsterror.h:
24097           Remove comment. GST_TYPE_G_ERROR is here to stay,
24098           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24099           (#316961, #300610).
24100
24101 2005-09-26  Wim Taymans  <wim@fluendo.com>
24102
24103         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24104         Added check that shows error in state change order.
24105
24106 2005-09-26  Wim Taymans  <wim@fluendo.com>
24107
24108         * gst/gstbin.c: (gst_bin_change_state):
24109         Make state change function use 3 queues again, we were
24110         adding elements in the wrong order.
24111
24112         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24113         Some debug info,
24114
24115         * gst/gstpad.c: (gst_pad_dispose):
24116         Added some debug info first.
24117
24118 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24119
24120         * docs/design/draft-push-pull.txt:
24121         * docs/design/part-events.txt:
24122         * docs/design/part-overview.txt:
24123         * docs/design/part-scheduling.txt:
24124           Replace all _pull_region() with _pull_range()
24125           
24126 2005-09-26  Andy Wingo  <wingo@pobox.com>
24127
24128         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24129
24130         * check/gst-libs/controller.c: Update for controller api change.
24131
24132         * configure.ac: 
24133         * tests/Makefile.am:
24134         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24135         over by GLib bug 118439.
24136         
24137         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24138         routines to a function.
24139
24140         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24141
24142         * libs/gst/controller/gsthelper.c:
24143         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24144         (gst_object_sync_values): Renamed from sink_values. Ugh.
24145
24146         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24147
24148         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24149         Renamed from controller_key, as it is exported.
24150
24151         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24152
24153 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24154
24155         * gst/Makefile.am:
24156         * gst/gst.h:
24157         * gst/gstpad.h:
24158         * gst/gstpadtemplate.h:
24159         * gst/gstquery.c:
24160         * gst/gstquery.h:
24161         * gst/gstqueryutils.c:
24162         * gst/gstqueryutils.h:
24163           remove queryutils headers after moving the two used functions
24164           to gstquery.  also fixes build problem for gstsiddec
24165
24166 2005-09-26  Michael Smith <msmith@fluendo.com>
24167
24168         * tools/gst-launch.1.in:
24169         Correct documentation in manpage of debug syntax
24170
24171 2005-09-26  Wim Taymans  <wim@fluendo.com>
24172
24173         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24174         (gst_base_src_is_seekable), (gst_base_src_change_state):
24175         Some more debugging info.
24176
24177 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24178
24179         * docs/gst/gstreamer-sections.txt:
24180         * gst/base/gstbasetransform.h:
24181         * gst/gstindex.h:
24182           added more docs
24183
24184 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24185
24186         * docs/gst/.cvsignore:
24187         * docs/gst/tmpl/.cvsignore:
24188         * docs/gst/tmpl/gstpipeline.sgml:
24189         * docs/gst/tmpl/gstplugin.sgml:
24190         * gst/gstpipeline.c:
24191         * gst/gstplugin.c:
24192         * gst/gstplugin.h:
24193           inlined the last two docs files
24194           removed the tmpl directory from cvs (no more conflicts here!)
24195
24196 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24197
24198         * docs/gst/gstreamer-sections.txt:
24199         * docs/gst/tmpl/.cvsignore:
24200         * docs/gst/tmpl/gstpad.sgml:
24201         * docs/gst/tmpl/gstpadtemplate.sgml:
24202         * gst/Makefile.am:
24203         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24204         (gst_pad_finalize), (gst_pad_set_pad_template):
24205         * gst/gstpad.h:
24206         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24207         (gst_pad_template_class_init), (gst_pad_template_init),
24208         (gst_pad_template_dispose), (name_is_valid),
24209         (gst_static_pad_template_get), (gst_pad_template_new),
24210         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24211         (gst_pad_template_pad_created):
24212         * gst/gstpadtemplate.h:
24213           inlined two more docs
24214           factored gstpadtemplate out of gstpad
24215
24216 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24217
24218         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24219         (test_children_state_change_order_semi_sink):
24220           Fix test case: we can't rely on a fixed state change order when
24221           going from READY => PAUSED because the sink might commit its 
24222           new state first when the first buffer created by the source 
24223           reaches the sink before the source has finished its change state.
24224           (Test case still fails at times, see #316856, comment 5 onwards)
24225
24226 2005-09-24  Wim Taymans  <wim@fluendo.com>
24227
24228         * docs/design/part-events.txt:
24229         * docs/design/part-gstbus.txt:
24230         * docs/design/part-gstpipeline.txt:
24231         * docs/design/part-messages.txt:
24232         * docs/design/part-overview.txt:
24233         * docs/design/part-segments.txt:
24234         * gst/gstbin.c:
24235         * gst/gstbuffer.c:
24236         * gst/gstclock.c:
24237         * gst/gstelement.c:
24238         * gst/gstevent.c:
24239         * gst/gstfilter.c:
24240         * gst/gstiterator.c:
24241         Various documentation updates.
24242
24243 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24244
24245         * gst/gstclock.h:
24246           Well, that's embarassing.  Luckily we weren't using
24247           GST_CLOCK_DIFF anywhere.
24248
24249 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24250
24251         * common/gtk-doc.mak:
24252           don't fail on building XML, FC4 slave shows a bunch of doc
24253           missing bits that I don't get
24254         * gst/gstpad.c:
24255         * gst/gstpipeline.c:
24256         * gst/gststructure.c:
24257           some doc updates
24258
24259 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24260
24261         * docs/design/part-gstbin.txt:
24262         * docs/design/part-gstbus.txt:
24263         * gst/gstbus.c:
24264           Add blurb about how the bus goes into flushing mode and
24265           drops all messages when its bin goes from READY into NULL 
24266           state.
24267
24268 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24269
24270         * docs/gst/gstreamer-sections.txt:
24271         * gst/gststructure.c: (gst_structure_get_clock_time):
24272         * gst/gststructure.h:
24273           add a method to get a GstClockTime out of a structure
24274
24275 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24276
24277         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24278         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24279           Added test to check state change order in bins (can still be made
24280           to fail here under heavy disk load; bails out with 'Push on pad
24281           fakesink:sink0, but it was not activated in push mode').
24282
24283         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24284           Fix state change order when there is only a semi sink (#316856)
24285
24286         * gst/gstbus.c: (gst_bus_class_init):
24287           Use _class_peek_parent(), not _class_ref(); fix docs to say
24288           'default main context' instead of 'mainloop' where that is
24289           what's meant.
24290
24291         * gst/gstelement.c: (gst_element_commit_state),
24292         (gst_element_set_state):
24293           Fix typos in debug messages
24294
24295 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24296
24297         * docs/README:
24298         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24299         * gst/gstpluginfeature.c:
24300         * gst/gstutils.c:
24301           various doc updates
24302         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24303           change an assert into an error until it gets fixed properly
24304
24305 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24306
24307         * docs/gst/gstreamer-sections.txt:
24308         * docs/gst/tmpl/.cvsignore:
24309         * docs/gst/tmpl/gstelement.sgml:
24310         * docs/gst/tmpl/gstinfo.sgml:
24311         * docs/gst/tmpl/gstobject.sgml:
24312         * gst/gstelement.c:
24313         * gst/gstelement.h:
24314         * gst/gstinfo.c:
24315         * gst/gstinfo.h:
24316         * gst/gstobject.c: (gst_object_class_init):
24317         * gst/gstobject.h:
24318           inlined 3 more biiiig doc files and added some missing docs on the fly
24319
24320 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24321
24322         * check/gst/.cvsignore:
24323         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24324         * gst/gstregistryxml.c: (load_plugin),
24325         (gst_registry_xml_save_plugin):
24326           put back source in registry.  add checks for find_plugin.
24327         * testsuite/states/bin.c: (assert_state), (empty_bin),
24328         (test_adding_one_element), (main):
24329         * testsuite/states/locked.c: (main):
24330           some compile/run fixes
24331
24332 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24333
24334         * check/gst/gstvalue.c: (GST_START_TEST):
24335           fix leaks in the test itself
24336
24337 2005-09-22  Wim Taymans  <wim@fluendo.com>
24338
24339         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24340         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24341         (gst_base_sink_query):
24342         Prepare for more accurate position reporting and query
24343         handling.
24344
24345         * gst/gstelement.c: (gst_element_send_event),
24346         (gst_element_set_state):
24347         Add some comment.
24348
24349 2005-09-22  Wim Taymans  <wim@fluendo.com>
24350
24351         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24352         (gst_query_parse_segment):
24353         * gst/gstquery.h:
24354         More documentation.
24355         Add segment query for future use.
24356
24357 2005-09-22  Wim Taymans  <wim@fluendo.com>
24358
24359         * gst/gstbin.c: (gst_bin_add_func):
24360         Some more debug info.
24361
24362         * gst/gstelement.c: (gst_element_send_event):
24363         Simplify send_event
24364
24365         * gst/gstelement.h:
24366         Don't know how flags got broken.
24367
24368         * gst/gstquery.h:
24369         Added new query.
24370
24371 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24372
24373         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24374           Add simplistic test suite for GST_TYPE_DATE serialisation and
24375           deserialisation.
24376
24377 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24378
24379         * docs/gst/gstreamer-sections.txt:
24380         * gst/gststructure.c: (gst_structure_set_valist),
24381         (gst_structure_get_date):
24382         * gst/gststructure.h:
24383         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24384         (gst_date_copy), (gst_value_compare_date),
24385         (gst_value_serialize_date), (gst_value_deserialize_date),
24386         (gst_value_transform_date_string),
24387         (gst_value_transform_string_date), (_gst_value_initialize):
24388         * gst/gstvalue.h:
24389           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24390           bunch of utility functions along with a hack that checks that
24391           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24392           is required. Part of the grand scheme in #170777.
24393
24394 2005-09-22  Andy Wingo  <wingo@pobox.com>
24395
24396         * gst/gstconfig.h.in: Psych out gtk-doc.
24397
24398         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24399
24400         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24401
24402         * tools/gst-inspect.c (print_element_list): Plug some
24403         inconsequential leaks.
24404
24405         * gst/gstregistry.c (gst_registry_get_default): Doc.
24406
24407         * check/gst/gstplugin.c: 
24408         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24409         * gst/gstelementfactory.c (gst_element_factory_create): 
24410         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24411         refcount changes.
24412
24413         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24414         (gst_plugin_feature_load): Doc, don't eat refs.
24415
24416         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24417         (gst_plugin_list_free): Doc.
24418         (gst_plugin_load_file): Doc updates.
24419
24420         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24421         accessors returning refcounted objects, return a ref.
24422
24423         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24424         accessor for caps. IDEMPOTENCE. Oh yes.
24425
24426 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24427
24428         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24429
24430         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24431         (_gst_debug_register_funcptr):
24432           Add mutex to serialise access to the hash table with
24433           the function pointer => function name string mapping;
24434           make that hash table static scope (#316809).
24435
24436         * gst/registries/.cvsignore:
24437           Remove left-over file.
24438
24439 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24440
24441         * docs/pwg/appendix-porting.xml:
24442           And something about newsegment events and caps-on-buffers to
24443           the porting guide (feel free to improve).
24444
24445 2005-09-21  Andy Wingo  <wingo@pobox.com>
24446
24447         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24448         data and event probes on the same pad.
24449         (test_buffer_probe_once): Test that removing probes from within
24450         the probe functions works.
24451
24452 2005-09-21  Andy Wingo  <wingo@pobox.com>
24453
24454         * check/gst/gstutils.c: New file.
24455         (test_buffer_probe_n_times): A simple buffer probe test. More to
24456         come, foolios.
24457
24458         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24459         have-data::buffer, not have-data.
24460         (gst_pad_add_event_probe): Likewise for have-data::event.
24461         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24462         peer' isn't quite right yet though.
24463         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24464         (gst_pad_remove_data_probe): Change to take the guint handler_id
24465         as their arg, not the function+data, which is more glib-like.
24466
24467         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24468         the signal emission to indicate if the data is a buffer or an
24469         event.
24470         (gst_pad_get_type): Initialize buffer and event quarks.
24471         (gst_pad_class_init): have-data is now a detailed signal, yes it
24472         is.
24473
24474 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24475
24476         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24477         * gst/gstutils.c: (gst_util_set_value_from_string),
24478         (gst_util_set_object_arg):
24479           Don't put functional code in g_return_if_fail() or
24480           g_return_val_if_fail() statements, otherwise things will 
24481           break when G_DISABLE_CHECKS is defined during compilation.
24482
24483 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24484
24485         * docs/gst/tmpl/.cvsignore:
24486         * docs/gst/tmpl/gstvalue.sgml:
24487         * gst/gstvalue.c:
24488         * gst/gstvalue.h:
24489           inlied another one and added  some obvious docs
24490
24491 2005-09-21  Wim Taymans  <wim@fluendo.com>
24492
24493         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24494         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24495         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24496         (gst_fdsrc_get_property), (gst_fdsrc_create):
24497         * gst/elements/gstfdsrc.h:
24498         Properly implement fdsrc. Removed signal and timeout,
24499         better implemented somewhere else.
24500
24501 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24502
24503         * docs/gst/tmpl/.cvsignore:
24504         * docs/gst/tmpl/gstimplementsinterface.sgml:
24505         * gst/gstinterface.c:
24506           inlined more docs
24507
24508 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24509
24510         * docs/gst/gstreamer-sections.txt:
24511         * docs/gst/tmpl/.cvsignore:
24512         * docs/gst/tmpl/gstenumtypes.sgml:
24513           remove obsolete doc file
24514
24515 2005-09-21  David Schleef  <ds@schleef.org>
24516
24517         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24518         little beer, fix a little leak.
24519
24520 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24521
24522         * docs/gst/gstreamer-docs.sgml:
24523         * docs/gst/gstreamer-sections.txt:
24524         * docs/gst/tmpl/.cvsignore:
24525         * gst/Makefile.am:
24526         * gst/gst.h:
24527         * gst/gstbin.c:
24528         * gst/gstelement.h:
24529         * gst/gstindex.c: (gst_index_class_init):
24530         * gst/gstindex.h:
24531         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24532         (gst_index_factory_class_init), (gst_index_factory_init),
24533         (gst_index_factory_finalize), (gst_index_factory_new),
24534         (gst_index_factory_destroy), (gst_index_factory_find),
24535         (gst_index_factory_create), (gst_index_factory_make):
24536         * gst/gstindexfactory.h:
24537         * gst/gstpluginfeature.c:
24538         * gst/gstpluginfeature.h:
24539         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24540           more docs inlined, splitted gstindex.{c,h}
24541
24542 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24543
24544         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24545           fix a leak
24546
24547 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24548
24549         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24550           Set sync to FALSE by default.
24551
24552 2005-09-20  Wim Taymans  <wim@fluendo.com>
24553
24554         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24555         (gst_base_sink_init):
24556         Make sync property settable from subclass.
24557
24558         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24559         (gst_fake_sink_change_state):
24560         Set sync to FALSE by default.
24561
24562 2005-09-20  Wim Taymans  <wim@fluendo.com>
24563
24564         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24565         * tools/gst-launch.c: (main):
24566         The timeout handler should have lower priority than the source
24567         so we don't timeout before popping a message with 0 timeout.
24568         Dump error messages after failed state change.
24569
24570 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24571
24572         * tools/gst-inspect.c: (print_element_properties_info):
24573           Fix two typos.
24574
24575 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24576
24577         * check/gst/gstevent.c:
24578         * gst/elements/gstfakesink.c:
24579         * gst/elements/gstfakesink.h:
24580           remove the sync property from fakesink.
24581           has the side effect of setting sync TRUE
24582           for fakesink, which is a change.  Anyone who knows how
24583           to fix this nicely in a GObject-y way, feel free.
24584
24585 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24586
24587         * docs/gst/gstreamer-docs.sgml:
24588           remove probe refsection
24589
24590 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24591
24592         * check/Makefile.am:
24593           disable valgrinding the controller test again
24594         * docs/gst/gstreamer-sections.txt:
24595           update for api-changes
24596
24597 2005-09-20  Wim Taymans  <wim@fluendo.com>
24598
24599         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24600         (gst_base_sink_set_property), (gst_base_sink_get_property),
24601         (gst_base_sink_do_sync):
24602         * gst/base/gstbasesink.h:
24603         Added sync property to basesink to disable clock sync.
24604
24605 2005-09-20  Andy Wingo  <wingo@pobox.com>
24606
24607         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24608         eating the caller's refcount.
24609
24610         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24611         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24612         refcount.
24613
24614         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24615         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24616         of GLib 2.8 public, so we can know which refcount to check in
24617         tests.
24618
24619         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24620         (gst_object_init): Only set the gst refcount if we're going ahead
24621         with the refcount hack.
24622
24623 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24624
24625         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24626         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24627           more leaks plumbed, added more debug-logging
24628         * gst/gstmacros.h:
24629           whitespace fix
24630
24631 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24632
24633         * gst/gstmessage.c:
24634           remove include of gstmemchunk.h
24635
24636 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24637
24638         * gst/gstclock.c: (_gst_clock_id_free):
24639           Commit from the Political Party For More Atomic CVS Commits,
24640           so that people don't waste too much of their day fishing
24641           out obvious leaks out of massive commits.
24642           Oh, and fix a pretty damn obvious leak in the memchunk
24643           removal code.
24644
24645 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24646
24647         * check/Makefile.am:
24648         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24649           plug mem-leak, re-add to valgrindable tests
24650
24651 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24652
24653         * gst/gstplugin.h:
24654           unbreak the build for those who have chronic arthritis
24655           and typing "make check" is just too taxing on the hands
24656
24657 2005-09-20  Andy Wingo  <wingo@pobox.com>
24658
24659         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24660         really want it out, you should fix plugins at the same time.
24661
24662 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24663
24664         * configure.ac:
24665         * docs/gst/gstreamer-sections.txt:
24666         * gst/gstobject.c:
24667           added missing symbols to api docs
24668           disable ref-count hack if we have glib >= 2.8
24669
24670 2005-09-19  David Schleef  <ds@schleef.org>
24671
24672         * docs/gst/Makefile.am: Ignore a few more internal headers
24673         * docs/gst/gstreamer-docs.sgml: Remove old sections
24674         * docs/gst/gstreamer-sections.txt: Remove old sections
24675         * docs/gst/tmpl/gstobject.sgml: update
24676         * docs/gst/tmpl/gstplugin.sgml: update
24677         * docs/gst/tmpl/gstpluginfeature.sgml: update
24678         * docs/random/ds/0.9-suggested-changes: update.
24679         * gst/Makefile.am: remove memchunk and trashstack, since they're
24680           not used.
24681         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24682         * gst/gst.h: don't include some headers
24683         * gst/gstchildproxy.c: add gstmarshal.h
24684         * gst/gstclock.c: Don't use memchunks
24685         * gst/gstminiobject.c: Add some docs
24686         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24687         * gst/gstobject.h: same
24688         * gst/gstplugin.c: include gstmacros.h
24689         * gst/gstplugin.h: don't include gstmacros.h, since it's private
24690         * gst/gstquery.c: don't use memchunks
24691         * gst/gstregistry.c: rename gst_registry_deinit()
24692         * gst/gstregistry.h: same
24693
24694 2005-09-19  David Schleef  <ds@schleef.org>
24695
24696         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24697         * docs/libs/gstreamer-libs-sections.txt:
24698         * docs/libs/tmpl/gstgetbits.sgml:
24699         * docs/libs/tmpl/gstputbits.sgml:
24700
24701 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
24702
24703         * win32/gstenumtypes.c:
24704         * win32/gstenumtypes.h:
24705           Update.
24706
24707 2005-09-19  Wim Taymans  <wim@fluendo.com>
24708
24709         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24710         Automatically PAUSE and RESUME a pipeline when a flushing seek
24711         is performed.
24712
24713 2005-09-19  Andy Wingo  <wingo@pobox.com>
24714
24715         * gst/gstregistry.h: Spacing fixen.
24716
24717 2005-09-19  Wim Taymans  <wim@fluendo.com>
24718
24719         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24720         Handle state change failure more correctly.
24721
24722 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24723
24724         * check/Makefile.am:
24725         * check/pipelines/cleanup.c: (run_pipeline):
24726         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24727         (GST_START_TEST):
24728           enable cleanup again after fixing the leak
24729         * docs/README:
24730           some more info on docs
24731
24732 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24733
24734         * check/Makefile.am:
24735           re-enable tests now that leaks are plugged
24736         * check/gst/gst.c:
24737         * check/gst/gstbin.c:
24738         * check/gst/gstpipeline.c:
24739           add some more tests while fixing leaks
24740         * common/check.mak:
24741           make sure binaries are uptodate when valgrinding/gdbing
24742         * gst/gst.c:
24743         * gst/gstelementfactory.c:
24744           remove a ref too many, and add a FIXME for when we get
24745           round to disposing of classes
24746         * gst/gstplugin.c:
24747           fix the refcounting when loading a plugin from a file and
24748           the code pretends that the pointer is the same even though
24749           of course it can change
24750         * gst/gstpluginfeature.c:
24751           unref plugins marked cached (a bit confusing as a name)
24752           as the docs state should be done
24753           various doc additions to explain refcounting
24754         * gst/gstregistry.c:
24755         * gst/gstregistryxml.c:
24756           debugging
24757
24758 2005-09-19  Wim Taymans  <wim@fluendo.com>
24759
24760         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24761         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24762         (send_messages), (GST_START_TEST), (gstbus_suite):
24763         * check/gst/gstpipeline.c: (GST_START_TEST):
24764         * check/pipelines/cleanup.c: (run_pipeline):
24765         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24766         (GST_START_TEST):
24767         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24768         (gst_bus_source_check), (gst_bus_source_dispatch),
24769         (gst_bus_create_watch), (gst_bus_add_watch_full),
24770         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24771         * gst/gstbus.h:
24772         * tools/gst-launch.c: (event_loop):
24773         * tools/gst-md5sum.c: (event_loop):
24774         GstBusHandler -> GstBusFunc, return value has the same meaning as
24775         any other GSource (FALSE == remove source).
24776         _add_watch() and _add_watch_full() now take a MessageType mask to
24777         only handle specific types of messages.
24778         _poll() returns the GstMessage instead of the message type to avoid
24779         race conditions.
24780         _have_pending() takes a MessageType mask now too.
24781         Added testsuite for multiple bus watches.
24782         Fix testsuites and applications for new bus API.
24783
24784 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24785
24786         * check/Makefile.am:
24787           mark a bunch of the tests as to fix until we fix them
24788
24789 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24790
24791         * common/check.mak:
24792           use GST_PLUGIN settings for valgrind tests as well, so we're
24793           valgrinding the correct thing
24794         * gst/gst.c: (init_post):
24795           plug another leak
24796
24797 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24798
24799         * gst/gst.c: (init_post), (gst_deinit):
24800         * gst/gstelementfactory.c: (gst_element_factory_class_init),
24801         (gst_element_factory_finalize), (gst_element_factory_cleanup):
24802         * gst/gstindex.c: (gst_index_factory_class_init),
24803         (gst_index_factory_finalize):
24804         * gst/gstobject.c: (gst_object_dispose):
24805         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24806         (gst_plugin_load_file), (gst_plugin_desc_free):
24807         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24808         (gst_plugin_feature_finalize):
24809         * gst/gstregistry.c: (gst_registry_class_init),
24810         (gst_registry_init), (gst_registry_finalize),
24811         (gst_registry_get_default), (gst_registry_deinit):
24812         * gst/gstregistry.h:
24813         * gst/gstregistryxml.c: (load_feature), (load_plugin):
24814           various cleanups and memleak plugging.  make valgrind is happy now.
24815
24816 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24817
24818         * common/check.mak:
24819           add a check-valgrind target
24820
24821 2005-09-18  David Schleef  <ds@schleef.org>
24822
24823         * tools/gst-inspect.c: Revert the GOption code.
24824
24825 2005-09-17  David Schleef  <ds@schleef.org>
24826
24827         * check/Makefile.am: Fix environment variables.
24828         * check/gst/gstplugin.c: Fix for API changes.
24829         * tools/gst-inspect.c: Fix for API changes.
24830         * tools/gst-xmlinspect.c: Fix for API changes.
24831         * gst/gstelementfactory.c:
24832         * gst/gstplugin.c:
24833         * gst/gstplugin.h:
24834         * gst/gstpluginfeature.c:
24835         * gst/gstpluginfeature.h:
24836         * gst/gstregistry.c:
24837         * gst/gstregistry.h:
24838         * gst/gstregistryxml.c:
24839         * gst/gsttypefind.c:
24840         * gst/gsttypefindfactory.c:
24841         * gst/indexers/gstfileindex.c:
24842         * gst/indexers/gstmemindex.c:
24843         * gst/schedulers/Makefile.am:
24844           Change registry to keep track of both plugins and features,
24845           removing the feature tracking from plugins themselves.
24846
24847 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
24848
24849         * check/Makefile.am:
24850         * tools/gst-register.1.in:
24851           remove gst-register
24852
24853 2005-09-15  David Schleef  <ds@schleef.org>
24854
24855         * check/gst/gstplugin.c:
24856         * gst/gstelementfactory.c:
24857         * gst/gstplugin.c:
24858         * gst/gstpluginfeature.c:
24859         * gst/gstregistry.c:
24860           Getting tired of debugging.  Disabled all the unreffing of
24861           plugins and features, which fixes the segfaults, but of
24862           course leaks like crazy.  At least playbin works.
24863
24864 2005-09-15  David Schleef  <ds@schleef.org>
24865
24866         * check/gst/gstplugin.c: (register_check_elements),
24867         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24868         More testing
24869         * gst/elements/gsttypefindelement.c: Fix refcounting.
24870         * gst/gsttypefind.c:
24871         * gst/gsttypefindfactory.c:
24872         * gst/gsttypefindfactory.h:
24873
24874 2005-09-15  David Schleef  <ds@schleef.org>
24875
24876         * gst/gstindex.c: get refcounting correct.
24877         * gst/gstregistry.c: Handle the case where a feature/plugin is
24878           not found.
24879
24880 2005-09-15  David Schleef  <ds@schleef.org>
24881
24882         * check/Makefile.am:
24883         * check/gst/gstplugin.c: Add test
24884         * gst/gstplugin.c: Fix problems noticed by testsuite
24885         * gst/gstplugin.h:
24886         * gst/gstregistry.c: 
24887         * gst/gstregistry.h:
24888
24889 2005-09-15  David Schleef  <ds@schleef.org>
24890
24891         * gst/gstplugin.c: Implement semi-decent recounting and locking
24892           in plugins and plugin features.
24893         * gst/gstplugin.h:
24894         * gst/gstpluginfeature.c:
24895         * gst/gstpluginfeature.h:
24896         * gst/gstregistry.c:
24897
24898 2005-09-15  Michael Smith <msmith@fluendo.com>
24899
24900         * gst/gstregistry.c: (gst_registry_get_feature_list):
24901           Implement this. Makes oggdemux work; decodebin still broken.
24902
24903 2005-09-14  David Schleef  <ds@schleef.org>
24904
24905         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24906           #316076)
24907         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24908         * gst/check/Makefile.am:
24909         * libs/gst/controller/Makefile.am:
24910         * libs/gst/dataprotocol/Makefile.am:
24911
24912 2005-09-14  David Schleef  <ds@schleef.org>
24913
24914         * configure.ac: Remove getbits library.  Nothing uses it, and
24915           it should be in something like liboil if someone did want
24916           to use it.
24917         * libs/gst/Makefile.am:
24918         * libs/gst/getbits/Makefile.am:
24919         * libs/gst/getbits/gbtest.c:
24920         * libs/gst/getbits/getbits.c:
24921         * libs/gst/getbits/getbits.h:
24922         * libs/gst/getbits/gstgetbits_generic.c:
24923         * libs/gst/getbits/gstgetbits_i386.s:
24924         * libs/gst/getbits/gstgetbits_inl.h:
24925
24926 2005-09-14  David Schleef  <ds@schleef.org>
24927
24928         * gst/Makefile.am: Dist glib-compat.h
24929
24930 2005-09-14  David Schleef  <ds@schleef.org>
24931
24932         * configure.ac: Remove gst/registries, since it's no longer used.
24933         * gst/registries/Makefile.am:
24934         * gst/registries/gstlibxmlregistry.c:
24935         * gst/registries/gstlibxmlregistry.h:
24936         * gst/registries/gstxmlregistry.c:
24937         * gst/registries/gstxmlregistry.h:
24938         * gst/registries/registrytest.c:
24939
24940 2005-09-14  David Schleef  <ds@schleef.org>
24941
24942         * gst/glib-compat.h:
24943         * gst/gstregistryxml.c:
24944           Convergence is near.  Seriously.
24945
24946 2005-09-14  David Schleef  <ds@schleef.org>
24947
24948         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24949         * gst/glib-compat.h:
24950           Attempt #4 to appease the buildbots.
24951
24952 2005-09-14  David Schleef  <ds@schleef.org>
24953
24954         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24955           Attempt #3.
24956
24957 2005-09-14  David Schleef  <ds@schleef.org>
24958
24959         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24960         Attempt #2.
24961
24962 2005-09-14  David Schleef  <ds@schleef.org>
24963
24964         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
24965           the new functions.
24966
24967 2005-09-14  David Schleef  <ds@schleef.org>
24968
24969         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24970         * gst/glib-compat.h: Add some functions that are in newer versions
24971           of glib than we care to require.
24972         * gst/gstregistryxml.c: Use them.
24973
24974 2005-09-14  David Schleef  <ds@schleef.org>
24975
24976         * po/POTFILES.in: remove gst-register.c
24977
24978 2005-09-14  David Schleef  <ds@schleef.org>
24979
24980         * docs/gst/gstreamer-docs.sgml:
24981         * docs/gst/gstreamer-sections.txt:
24982         * docs/gst/gstreamer.types:
24983         * docs/gst/tmpl/gstelement.sgml:
24984         * docs/gst/tmpl/gstplugin.sgml:
24985         * docs/gst/tmpl/gstpluginfeature.sgml:
24986           Documentation updates for registry changes.
24987
24988 2005-09-14  David Schleef  <ds@schleef.org>
24989
24990         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
24991           because we don't require glib-2.8.
24992
24993 2005-09-14  David Schleef  <ds@schleef.org>
24994
24995         * gst/gstregistryxml.c: Added.  Essentially moved out of the
24996           registries directory.
24997
24998 2005-09-14  David Schleef  <ds@schleef.org>
24999
25000         * check/Makefile.am:
25001         * check/generic/states.c:
25002         * gst/Makefile.am:
25003         * gst/gst.c:
25004         * gst/gst.h:
25005         * gst/gst_private.h:
25006         * gst/gstelementfactory.c:
25007         * gst/gstindex.c:
25008         * gst/gstinfo.c:
25009         * gst/gstplugin.c:
25010         * gst/gstplugin.h:
25011         * gst/gstpluginfeature.c:
25012         * gst/gstpluginfeature.h:
25013         * gst/gstregistry.c:
25014         * gst/gstregistry.h:
25015         * gst/gstregistrypool.c: remove
25016         * gst/gstregistrypool.h: remove
25017         * gst/gsttypefind.c:
25018         * gst/gsttypefindfactory.c:
25019         * gst/gsturi.c:
25020         * tools/Makefile.am:
25021         * tools/gst-compprep.c:
25022         * tools/gst-inspect.c:
25023         * tools/gst-register.c: remove
25024         * tools/gst-xmlinspect.c:
25025           Registry rewrite.  Changes registry from being a file created
25026           by a tool into a simple cache file created automatically by 
25027           libgstreamer.  Removed gst-register (because it's no longer
25028           needed).  Remove registry pools, because we only have one
25029           registry implementation (XML).  Fix up other subsystems as
25030           necessary.
25031
25032 2005-09-13  Michael Smith <msmith@fluendo.com>
25033
25034         * gst/gstconfig.h.in:
25035           Don't Use windows linking attributes for MinGW. Fixes #316157
25036
25037 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25038
25039         * gst/gstutils.c: (set_state_async_thread_func),
25040         (gst_element_set_state_async):
25041           Apparently people think it's better if this function doesn't
25042           try to set the state to whatever state was asked for on the first
25043           call to this function for any object.  Seriously.
25044
25045 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25046
25047         * check/gst/gstpipeline.c: (GST_START_TEST):
25048         * docs/gst/gstreamer-sections.txt:
25049         * gst/gstutils.c: (set_state_async_thread_func),
25050         (gst_element_set_state_async):
25051         * gst/gstutils.h:
25052           add a "gst_element_set_state_async" method that
25053           sets the state and starts a thread to make sure the state
25054           change completes as best as it can
25055
25056 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25057
25058         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25059           codify design+behaviour in testsuite after discussion
25060
25061 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25062
25063         * docs/gst/tmpl/gstelement.sgml:
25064         * docs/manual/appendix-quotes.xml:
25065           add a quote
25066         * gst/gstelement.c: (gst_element_set_state):
25067           add some debug
25068
25069 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25070
25071         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25072         (gst_base_transform_prepare_output_buf),
25073         (gst_base_transform_handle_buffer):
25074         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25075         (gst_capsfilter_prepare_buf):
25076           Remove the requirement for sub-classes to call the parent
25077           implementation of prepare_output_buffer with a wrapper function.
25078           
25079         * gst/gsttaglist.h:
25080         * gst/gsttagsetter.h:
25081           Fix #define wrapper
25082
25083 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25084
25085         * docs/gst/gstreamer-sections.txt:
25086           more doc cleanups
25087
25088 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25089
25090         * docs/gst/gstreamer-sections.txt:
25091         * docs/gst/tmpl/gstelement.sgml:
25092         * docs/gst/tmpl/gstplugin.sgml:
25093         * gst/gstminiobject.c:
25094         * gst/gstvalue.h:
25095           docs now stop throwing warnings
25096
25097 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25098
25099         * docs/gst/gstreamer-sections.txt:
25100         * docs/gst/gstreamer.types:
25101         * docs/gst/tmpl/gstpad.sgml:
25102         * docs/gst/tmpl/gsttypes.sgml:
25103         * gst/base/gstadapter.h:
25104         * gst/base/gstbasesink.h:
25105         * gst/base/gstbasesrc.h:
25106         * gst/gstbin.h:
25107         * gst/gstbuffer.h:
25108         * gst/gstbus.h:
25109         * gst/gstcaps.h:
25110         * gst/gstclock.h:
25111         * gst/gstelement.h:
25112         * gst/gstevent.h:
25113         * gst/gstmessage.h:
25114         * gst/gstpad.h:
25115         * gst/gststructure.c:
25116         * gst/registries/gstlibxmlregistry.h:
25117           various documentation fixes
25118
25119 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25120
25121         * docs/gst/gstreamer-sections.txt:
25122         * docs/gst/tmpl/gstvalue.sgml:
25123           rearrange gstvalue section
25124         * gst/gstutils.c: (gst_element_state_get_name):
25125           NONE -> VOID
25126         * gst/gstvalue.c: (_gst_value_initialize):
25127         * gst/gstvalue.h:
25128           doc updates
25129
25130 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25131
25132         * check/gst-libs/controller.c:
25133           Header include fix.
25134         * gst/base/gstbasetransform.c:
25135         (gst_base_transform_default_prepare_buf),
25136         (gst_base_transform_handle_buffer):
25137         * gst/base/gstbasetransform.h:
25138           Some more basetransform changes and fixes to enable sub-classes
25139           that modify buffer metadata only.
25140         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25141         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25142         (gst_capsfilter_prepare_buf):
25143           If the output pad has fixed allowed caps and input buffers 
25144           don't have any, set the fixed caps on outgoing buffers.
25145
25146 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25147         * check/elements/identity.c: (GST_START_TEST):
25148           Make the error a little clearer when the test fails because
25149           identity made a copy of the buffer.
25150         * docs/gst/gstreamer-sections.txt:
25151           New symbols in gstbasetransform.h
25152         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25153         (gst_base_transform_init), (gst_base_transform_transform_size),
25154         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25155         (gst_base_transform_default_prepare_buf),
25156         (gst_base_transform_get_unit_size),
25157         (gst_base_transform_buffer_alloc),
25158         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25159         (gst_base_transform_change_state),
25160         (gst_base_transform_set_passthrough),
25161         (gst_base_transform_set_in_place),
25162         (gst_base_transform_is_in_place):
25163         * gst/base/gstbasetransform.h:
25164           Change BaseTransform to separate in_place operate from same_caps
25165           output. in_place implies that the element can perform the transform
25166           on incoming buffers in-place, even if the caps on the output are
25167           different.
25168           Sub-class elements can now implement special buffer allocation
25169           methods for outgoing buffers if they wish to.
25170           Big documentation addition.
25171         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25172         * gst/elements/gstelements.c:
25173           Changes for basetransform modifications.
25174         * gst/elements/Makefile.am:
25175         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25176           Compile fix. Extra debug output.
25177
25178 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25179
25180         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25181         (gst_pad_suite):
25182           add tests for valid pad naming
25183         * gst/check/gstcheck.c: (gst_check_log_message_func),
25184         (gst_check_log_critical_func):
25185           add ASSERT_WARNING
25186           remove printing of code, it is fragile when the code contains
25187           % and the line number is enough info
25188         * gst/check/gstcheck.h:
25189         * gst/gstpad.c: (gst_pad_template_new):
25190           fix memleaks
25191
25192 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25193
25194         * configure.ac:
25195           say what CHECK flags we use
25196         * docs/libs/gstreamer-libs.types:
25197         * libs/gst/controller/Makefile.am:
25198         * libs/gst/controller/gst-controller.c:
25199         * libs/gst/controller/gst-controller.h:
25200         * libs/gst/controller/gst-helper.c:
25201         * libs/gst/controller/gst-interpolation.c:
25202         * libs/gst/controller/gstcontroller.c:
25203         * libs/gst/controller/gsthelper.c:
25204         * libs/gst/controller/gstinterpolation.c:
25205         * tools/gst-inspect.c: (print_plugin_info):
25206           we don't use dashes in header names
25207
25208 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25209
25210         * check/Makefile.am:
25211         * check/gst/.cvsignore:
25212         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25213         (gst_pipeline_suite), (main):
25214           adding a test for pipelines and state changes
25215         * gst/gstutils.c: (get_state_func):
25216           add some debugging
25217         * gstreamer.spec.in:
25218           fix up spec file
25219
25220 2005-09-08  Michael Smith <msmith@fluendo.com>
25221
25222         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25223         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25224         (gst_file_src_is_seekable), (gst_file_src_get_size),
25225         (gst_file_src_start):
25226         * gst/elements/gstfilesrc.h:
25227           Various fixes for unseekable, unmmapable, and non-normal files, so
25228           that fallback to read() rather than mmap() works.
25229         * gst/gstevent.c: (gst_event_new_newsegment):
25230           Allow newsegment events with segment_start == segment_end, as will
25231           correctly happen if you use filesrc on a zero-size file, for
25232           example.
25233
25234 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25235
25236         * gst/gstplugin.c: (gst_plugin_load_file):
25237           Call g_module_close when we don't load the module
25238
25239         * gst/registries/gstlibxmlregistry.c:
25240         (gst_xml_registry_get_property):
25241           Port leak fix from 0.8
25242
25243 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25244
25245         * docs/gst/gstreamer-docs.sgml:
25246         * docs/gst/tmpl/.cvsignore:
25247         * docs/gst/tmpl/gsttrace.sgml:
25248         * docs/gst/tmpl/gsttrashstack.sgml:
25249         * gst/Makefile.am:
25250         * gst/gst.h:
25251         * gst/gstelement.h:
25252         * gst/gstevent.h:
25253         * gst/gstmessage.c:
25254         * gst/gstmessage.h:
25255         * gst/gsttag.c:
25256         * gst/gsttag.h:
25257         * gst/gsttaginterface.c:
25258         * gst/gsttaginterface.h:
25259         * gst/gsttaglist.c:
25260         * gst/gsttaglist.h:
25261         * gst/gsttagsetter.c:
25262         * gst/gsttagsetter.h:
25263         * gst/gsttrace.c:
25264         * gst/gsttrace.h:
25265         * gst/gsttrashstack.c:
25266           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25267           inlined docs for gsttrace, gsttrashstack
25268
25269 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25270
25271         * gst/Makefile.am:
25272         * gst/elements/gstbufferstore.h:
25273         * gst/elements/gsttypefindelement.c:
25274         * gst/elements/gsttypefindelement.h:
25275         * gst/gst.h:
25276         * gst/gsttypefind.c:
25277         * gst/gsttypefind.h:
25278         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25279         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25280         (gst_type_find_factory_dispose),
25281         (gst_type_find_factory_unload_thyself),
25282         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25283         (gst_type_find_factory_get_caps),
25284         (gst_type_find_factory_get_extensions),
25285         (gst_type_find_factory_call_function):
25286         * gst/gsttypefindfactory.h:
25287         * gst/registries/gstlibxmlregistry.c:
25288         * gst/registries/gstxmlregistry.c:
25289           splitted gsttypefind into gsttypefind, gsttypefindfactory
25290
25291 2005-09-07  Andy Wingo  <wingo@pobox.com>
25292
25293         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25294         condition whereby the pad's task function is entered before the
25295         pad_mode variable was set.
25296
25297 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25298
25299         * gst/gstpad.c: (gst_pad_alloc_buffer):
25300           Catch misbehaving pad_alloc functions that don't
25301           set up caps and do it for them.
25302
25303 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25304
25305         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25306           test for pipe!=NULL
25307         * docs/gst/tmpl/.cvsignore:
25308         * docs/gst/tmpl/gstmemchunk.sgml:
25309         * docs/gst/tmpl/gstparse.sgml:
25310         * docs/gst/tmpl/gsttaglist.sgml:
25311         * docs/gst/tmpl/gsttagsetter.sgml:
25312         * docs/gst/tmpl/gsttypefind.sgml:
25313         * docs/gst/tmpl/gsttypefindfactory.sgml:
25314         * gst/gstmemchunk.c:
25315         * gst/gstparse.c:
25316         * gst/gsttag.c:
25317         * gst/gsttaginterface.c:
25318         * gst/gsttypefind.c:
25319         * gst/gsttypefind.h:
25320           inlined more docs
25321
25322 === release 0.9.2 ===
25323
25324 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25325
25326         * NEWS:
25327         * RELEASE:
25328         * configure.ac:
25329           releasing 0.9.2, "South"
25330
25331 2005-09-05  Andy Wingo  <wingo@pobox.com>
25332
25333         * gst/registries/gstxmlregistry.h:
25334         * gst/registries/gstxmlregistry.c: Um... resurrect...
25335         
25336         * gst/registries/gstxmlregistry.h:
25337         * gst/registries/gstxmlregistry.c: and update to newer API.
25338         Incidentally they should be a bit faster now that they don't have
25339         to parse the caps.
25340         
25341 2005-09-05  Andy Wingo  <wingo@pobox.com>
25342
25343         * gst/registries/gstxmlregistry.h:
25344         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25345         replaced by the libxml registry a while back
25346
25347 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25348
25349         * docs/gst/tmpl/gstplugin.sgml:
25350         * gst/elements/gstelements.c:
25351         * gst/gst.c:
25352         * gst/gstplugin.c: (gst_plugin_register_func),
25353         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25354         (gst_plugin_get_source):
25355         * gst/gstplugin.h:
25356         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25357         (gst_xml_registry_save_plugin):
25358         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25359         (gst_xml_registry_save_plugin):
25360         * tools/gst-inspect.c: (print_plugin_info):
25361           add a "source" plugin description field, to represent the source
25362           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25363           will set it to PACKAGE, which is automake's idea of the name of
25364           the source project.
25365
25366 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25367
25368         * Makefile.am:
25369         * autogen.sh:
25370         * configure.ac:
25371         * docs/Makefile.am:
25372         * docs/faq/Makefile.am:
25373         * docs/gst/tmpl/gstelement.sgml:
25374         * docs/gst/tmpl/gsttypes.sgml:
25375         * docs/htmlinstall.mak:
25376         * docs/manual/Makefile.am:
25377         * docs/pwg/Makefile.am:
25378           reorganize doc build a little
25379           split out docbook and gtk-doc stuff
25380           have two separate --enable's and enable them through autogen
25381           but disable by default in configure (to be similar to other
25382           projects)
25383         * gstreamer.spec.in:
25384           clean up docs install
25385         * po/af.po:
25386         * po/az.po:
25387         * po/ca.po:
25388         * po/cs.po:
25389         * po/de.po:
25390         * po/en_GB.po:
25391         * po/fr.po:
25392         * po/it.po:
25393         * po/nb.po:
25394         * po/nl.po:
25395         * po/ru.po:
25396         * po/sq.po:
25397         * po/sr.po:
25398         * po/sv.po:
25399         * po/tr.po:
25400         * po/uk.po:
25401         * po/vi.po:
25402           translation updates
25403
25404 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25405
25406         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25407           Add comment.
25408           
25409         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25410         (gst_fake_sink_change_state):
25411           Make state change function thread-safe.
25412           
25413         * gst/gstpad.c: (gst_pad_alloc_buffer):
25414           Set offset on generic buffer allocated by fallback.
25415
25416 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25417
25418         * docs/gst/gstreamer-sections.txt:
25419         * docs/gst/tmpl/gstelement.sgml:
25420         * gst/gstpad.c:
25421         * libs/gst/controller/gst-controller.c:
25422         (gst_controlled_property_set_interpolation_mode),
25423         (gst_controlled_property_new),
25424         (gst_controller_find_controlled_property):
25425          run the wingo-magic script against the docs
25426
25427 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25428
25429         * docs/gst/gstreamer-docs.sgml:
25430         * docs/gst/gstreamer-sections.txt:
25431         * docs/gst/tmpl/.cvsignore:
25432         * docs/gst/tmpl/gstelementdetails.sgml:
25433         * docs/gst/tmpl/gstelementfactory.sgml:
25434         * gst/gst.c:
25435         * gst/gstbus.c:
25436         * gst/gstelementfactory.c:
25437         * gst/gstelementfactory.h:
25438           merged elementdetails docs into elementfactory docs
25439           inlined both
25440
25441 2005-09-02  Andy Wingo  <wingo@pobox.com>
25442
25443         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25444         consider this enum an enum and not a flags.
25445
25446 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25447
25448         * docs/gst/gstreamer-docs.sgml:
25449         * docs/gst/tmpl/.cvsignore:
25450         * docs/gst/tmpl/gstghostpad.sgml:
25451         * docs/gst/tmpl/gstiterator.sgml:
25452         * docs/gst/tmpl/gstmacros.sgml:
25453         * docs/gst/tmpl/gstrealpad.sgml:
25454         * docs/gst/tmpl/gstregistry.sgml:
25455         * docs/gst/tmpl/gstregistrypool.sgml:
25456         * docs/gst/tmpl/gststructure.sgml:
25457         * docs/gst/tmpl/gstsystemclock.sgml:
25458         * docs/gst/tmpl/gsttrace.sgml:
25459         * gst/gstghostpad.c:
25460         * gst/gstmacros.h:
25461         * gst/gstmemchunk.c:
25462         * gst/gstmemchunk.h:
25463         * gst/gstqueue.c:
25464         * gst/gstregistry.c:
25465         * gst/gstregistrypool.c:
25466         * gst/gststructure.c:
25467         * gst/gstsystemclock.c:
25468           more docs inlined
25469
25470 2005-09-02  Andy Wingo  <wingo@pobox.com>
25471
25472         * gst/gstelement.h (GstState): Renamed from GstElementState,
25473         changed to be a normal enum instead of flags.
25474         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25475         munged to be GST_STATE_CHANGE_*.
25476         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25477         work with the new state representation.
25478         (GstStateChange): New enumeration of possible state transitions.
25479         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25480         (GstElementClass::change_state): Pass the GstStateChange along as
25481         an argument. Helps language bindings, so they don't have to use
25482         tricky lock-needing macros like GST_STATE_CHANGE ().
25483
25484         * scripts/update-states (file): New script. Run it on a file to
25485         update it for state naming and API changes. Updates files in
25486         place.
25487
25488         * All files updated for the new API.
25489
25490 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25491
25492         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25493         * gst/gstutils.c: (gst_util_set_value_from_string),
25494         (gst_util_set_object_arg):
25495           fix a bunch of unchecked return values
25496         * tools/gst-complete.c: (main):
25497         * gstreamer.spec.in:
25498           clean up a little
25499
25500 2005-09-01  Wim Taymans  <wim@fluendo.com>
25501
25502         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25503         (gst_base_sink_event), (gst_base_sink_do_sync),
25504         (gst_base_sink_handle_event):
25505         * gst/base/gstbasesink.h:
25506         Handle newsegments more correctly.
25507
25508         * gst/gstbus.c:
25509         Fix docs.
25510
25511         * gst/gstevent.c: (gst_event_new_newsegment):
25512         A newsegment cannot have a start_time of -1
25513
25514 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25515
25516         * win32/gstenumtypes.c:
25517         * win32/gstenumtypes.h:
25518           Update
25519
25520 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25521
25522         * libs/gst/controller/gst-controller.c:
25523         (gst_controlled_property_set_interpolation_mode),
25524         (gst_controlled_property_new):
25525          fixed boolean again
25526
25527 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25528
25529         * docs/faq/gst-uninstalled:
25530           add -good
25531         * gst/gstevent.c:
25532         * gst/gstevent.h:
25533           remove wrong docs
25534         * gst/gstutils.c: (gst_element_link_filtered):
25535         * gst/gstutils.h:
25536           add gst_element_link_filtered
25537
25538 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25539
25540         * docs/gst/gstreamer-docs.sgml:
25541         * docs/gst/gstreamer-sections.txt:
25542         * docs/gst/tmpl/.cvsignore:
25543         * docs/gst/tmpl/gsterror.sgml:
25544         * docs/gst/tmpl/gstfilter.sgml:
25545         * docs/gst/tmpl/gsturihandler.sgml:
25546         * docs/gst/tmpl/gsturitype.sgml:
25547         * docs/gst/tmpl/gstutils.sgml:
25548         * docs/gst/tmpl/gstxml.sgml:
25549         * gst/gsterror.c:
25550         * gst/gsterror.h:
25551         * gst/gstfilter.c:
25552         * gst/gsturi.c:
25553         * gst/gsturitype.c:
25554         * gst/gstutils.c:
25555         * gst/gstxml.c:
25556           inlined more docs, fixed double id-ref
25557
25558 2005-08-31  Wim Taymans  <wim@fluendo.com>
25559
25560         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25561         (gst_base_transform_handle_buffer):
25562         Passthrough elements don't need the caps as they don't care.
25563
25564 2005-08-31  Wim Taymans  <wim@fluendo.com>
25565
25566         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25567         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25568         Don't leak refcounts on buffers.
25569
25570 2005-08-31  Wim Taymans  <wim@fluendo.com>
25571
25572         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25573         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25574         (gst_base_transform_chain), (gst_base_transform_change_state):
25575         * gst/base/gstbasetransform.h:
25576         Handle the case where we are not negotiated more gracefully.
25577
25578 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25579
25580         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25581         (gst_file_src_map_region):
25582           Set READONLY flag on mmap'ed buffers, otherwise
25583           gst_buffer_make_writable() won't work properly (#314708).
25584
25585 2005-08-31  Wim Taymans  <wim@fluendo.com>
25586
25587         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25588         passthrough elements can even do inplace on non writable
25589         buffers (as they don't touch them).
25590
25591 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25592
25593         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25594         (gst_test_mono_source_set_property),
25595         (gst_test_mono_source_class_init), (GST_START_TEST),
25596         (gst_controller_suite):
25597           more tests (hehe I have the most)
25598         * gst/gstbus.c:
25599           describe popping messages whenusing mulltiple sources
25600         * libs/gst/controller/gst-controller.c:
25601         (gst_controlled_property_set_interpolation_mode),
25602         (gst_controlled_property_new):
25603         * libs/gst/controller/gst-controller.h:
25604         * libs/gst/controller/gst-interpolation.c:
25605           implement boolean properties
25606
25607 2005-08-31  Wim Taymans  <wim@fluendo.com>
25608
25609         * gst/gstminiobject.c: (gst_mini_object_ref):
25610         Cannot assert that the refcount has to be positive
25611         since a disposed object can be resurrected.
25612
25613 2005-08-31  Wim Taymans  <wim@fluendo.com>
25614
25615         * gst/gstpad.c: (gst_pad_init):
25616         Revert change, need to first fix badly behaving 
25617         apps.
25618
25619 2005-08-30  Wim Taymans  <wim@fluendo.com>
25620
25621         * check/elements/fakesrc.c: (setup_fakesrc):
25622         * check/elements/identity.c: (setup_identity):
25623         Activate pads before using them.
25624
25625 2005-08-30  Wim Taymans  <wim@fluendo.com>
25626
25627         * gst/base/gstadapter.c: (gst_adapter_flush):
25628         Flushing out 0 bytes is ok for this function.
25629
25630         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25631         no newsegment gives a warning and sets the start/stop to 
25632         invalid.
25633
25634         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25635         (gst_base_transform_set_passthrough):
25636         Some debug info.
25637
25638         * gst/gstminiobject.c: (gst_mini_object_ref):
25639         Check refcount here too.
25640
25641         * gst/gstpad.c: (gst_pad_init):
25642         Pads are initially flushing and refusing data.
25643
25644         * gst/gstutils.c: (gst_element_link_pads_filtered):
25645         When adding a capsfilter element make sure it has the
25646         same state as the parent bin.
25647
25648 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25649
25650         * docs/gst/tmpl/.cvsignore:
25651         * docs/gst/tmpl/gstformat.sgml:
25652         * docs/gst/tmpl/gstversion.sgml:
25653         * gst/gstbus.h:
25654         * gst/gstformat.c:
25655         * gst/gstformat.h:
25656         * gst/gstversion.h.in:
25657           more docs and two more inlined
25658
25659 2005-08-30  Wim Taymans  <wim@fluendo.com>
25660
25661         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25662         Don't sync to clock.
25663
25664 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25665
25666         * docs/gst/gstreamer-sections.txt:
25667           ultral33t func10ns deserve to appear in the docs actually
25668         * docs/gst/tmpl/.cvsignore:
25669         * docs/gst/tmpl/gstcompat.sgml:
25670         * docs/gst/tmpl/gstconfig.sgml:
25671         * gst/check/gstcheck.c:
25672         * gst/gstcompat.h:
25673         * gst/gstconfig.h.in:
25674           inlined more docs
25675
25676 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25677
25678         * docs/gst/tmpl/.cvsignore:
25679         * docs/gst/tmpl/gstquery.sgml:
25680         * docs/gst/tmpl/gstutils.sgml:
25681         * gst/gstquery.c:
25682         * gst/gstquery.h:
25683           inlined and extended docs
25684
25685 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25686
25687         * check/gst-libs/controller.c: (GST_START_TEST),
25688         (gst_controller_suite):
25689           more tests
25690         * docs/gst/tmpl/gstutils.sgml:
25691         * docs/libs/gstreamer-libs-sections.txt:
25692         * docs/libs/tmpl/gstdataprotocol.sgml:
25693           include path fixes
25694         * examples/controller/audio-example.c: (main):
25695           controller example works now
25696         * gst/gstclock.h:
25697           doc fixes
25698         * tools/gst-inspect.c: (print_element_properties_info):
25699           show param spec flags
25700
25701 2005-08-29  Andy Wingo  <wingo@pobox.com>
25702
25703         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25704
25705 2005-08-28  Andy Wingo  <wingo@pobox.com>
25706
25707         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25708         as having two arguments instead of just one. Allows superclasses
25709         to access information on subclasses -- see the terrible for() loop
25710         in gtype.c:g_type_create_instance for the reason why. All callers
25711         changed.
25712
25713 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25714
25715         * docs/design/part-messages.txt:
25716           update info
25717         * docs/gst/tmpl/.cvsignore:
25718         * docs/gst/tmpl/gstcaps.sgml:
25719         * docs/gst/tmpl/gstclock.sgml:
25720         * gst/gstbus.c:
25721         * gst/gstcaps.c:
25722         * gst/gstcaps.h:
25723         * gst/gstclock.c:
25724         * gst/gstclock.h:
25725         * gst/gstmessage.c:
25726           added descriptions for bus and message
25727           inline caps and clock docs
25728
25729 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25730
25731         * gst/gstmessage.c:
25732         * gst/gstmessage.h:
25733           doc fixes
25734
25735 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25736
25737         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25738           fix div-by-zero
25739
25740 2005-08-26  Andy Wingo  <wingo@pobox.com>
25741
25742         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25743         element_set_state's return val.
25744         (test_2_elements): Add test that's been disabled for months.
25745
25746         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25747         can-activate-pull properties.
25748
25749         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25750         can-activate-pull properties. Implement is_seekable so fakesrc can
25751         operate in pull mode.
25752
25753         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25754         properties.
25755         (gst_base_sink_activate, gst_base_sink_activate_pull)
25756         (gst_base_sink_activate_push): Make activation mode choosing work.
25757         Cleanups.
25758         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25759         is right. Make pull mode work. Post an eos before pausing in pull
25760         mode.
25761         (gst_base_sink_change_state): Pay attention to the core's
25762         change_state() return val.
25763         
25764         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25765         has-getrange properties. Cleanups.
25766         
25767         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25768         has_getrange and replace with can_activate_pull and
25769         can_activate_push.
25770
25771         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25772         locking comments. Remove has_loop, has_chain and replace with
25773         can_activate_pull and can_activate_push.
25774
25775 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
25776
25777         * configure.ac:
25778         * examples/Makefile.am:
25779         * examples/metadata/Makefile.am:
25780         * examples/metadata/read-metadata.c: (message_loop),
25781         (have_pad_handler), (make_pipeline), (print_tag), (main):
25782           Add metadata reading example that loops over a list of filenames,
25783           dumping any tags found.
25784
25785         * gst/gstbus.c: (gst_bus_dispose):
25786         * gst/gstelement.c: (gst_element_dispose):
25787           Release a few potentially-held references in dispose.
25788
25789 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25790
25791         * docs/gst/tmpl/gstminiobject.sgml:
25792           do *not* add tmpl/*.sgml files to CVS!
25793
25794 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25795
25796         * libs/gst/bytestream/.cvsignore:
25797         * libs/gst/bytestream/Makefile.am:
25798         * libs/gst/bytestream/adapter.c:
25799         * libs/gst/bytestream/adapter.h:
25800         * libs/gst/bytestream/bytestream.c:
25801         * libs/gst/bytestream/bytestream.h:
25802         * libs/gst/bytestream/filepad.c:
25803         * libs/gst/bytestream/filepad.h:
25804           removing obsolete files
25805
25806 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25807
25808         * docs/gst/gstreamer-docs.sgml:
25809         * docs/libs/gstreamer-libs-docs.sgml:
25810           disabed additional index entries again, as this makes docs-gen just
25811           slow and they aren't useful yet
25812         * docs/libs/gstreamer-libs-sections.txt:
25813           little -section.txt cleanup for libs
25814
25815 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
25816
25817         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25818         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25819           fix up some debugging
25820         (gst_base_transform_get_unit_size),
25821         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25822         (gst_base_transform_handle_buffer):
25823         * gst/base/gstbasetransform.h:
25824           handle and store timed NEWSEGMENT events so that subclasses that
25825           calculate time by counting samples have a segment_start time they
25826           need to add to their timestamps - see audioresample
25827
25828 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25829
25830         * gst/gstbin.h:
25831           removed ';' from the end of macro defs
25832         * docs/gst/gstreamer-docs.sgml:
25833         * docs/gst/gstreamer-sections.txt:
25834         * docs/gst/tmpl/.cvsignore:
25835         * gst/gstbus.h:
25836         * gst/gstelement.c: (gst_element_class_init),
25837         (gst_element_set_state), (activate_pads),
25838         (gst_element_save_thyself):
25839         * gst/gstevent.c: (gst_event_new_newsegment):
25840         * gst/gstevent.h:
25841         * gst/gstiterator.c:
25842         * gst/gstiterator.h:
25843         * gst/gstpad.c:
25844         * gst/gstprobe.h:
25845         * gst/gstutils.c: (gst_pad_query_convert):
25846         * gst/gstutils.h:
25847           fixed parameter name mismatches between source, header and docs
25848           added some more docs, resolved the last batch of unused elements in
25849           docs (now someone needs to doc them)
25850
25851 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25852
25853         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25854         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25855           don't walk through the plugins backwards.  Where is all this
25856           reversed logic coming from ?
25857
25858 2005-08-25  Wim Taymans  <wim@fluendo.com>
25859
25860         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25861         (gst_base_transform_transform_size),
25862         (gst_base_transform_configure_caps),
25863         (gst_base_transform_get_unit_size),
25864         (gst_base_transform_buffer_alloc),
25865         (gst_base_transform_change_state):
25866         * gst/base/gstbasetransform.h:
25867         Cache caps unit_size.
25868         Make sure we cannot negotiate up and downstream at the
25869         same time.
25870
25871 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25872
25873         * gst/gst.c: (init_pre), (init_post):
25874           register the installed plugin path after the env var
25875         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25876         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25877           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25878           directories, so the tests can prefer uninstalled over installed
25879
25880 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25881
25882         * gst/base/gstbasetransform.h:
25883           comment
25884         * gst/gstpad.c:
25885           add to docs
25886
25887 2005-08-25  Wim Taymans  <wim@fluendo.com>
25888
25889         * gst/gstbin.c: (bin_bus_handler):
25890         Be a bit more conservative about the posted message.
25891         
25892         * gst/gstbus.c: (gst_bus_post):
25893         Some cleanups, warn wrong return values.
25894
25895 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
25896
25897         * check/gst/gstbin.c: (GST_START_TEST):
25898         * gst/gstbin.c: (bin_bus_handler):
25899         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25900         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25901         (gst_message_new_warning), (gst_message_new_tag),
25902         (gst_message_new_state_changed), (gst_message_new_segment_start),
25903         (gst_message_new_segment_done), (gst_message_new_custom):
25904         * gst/gstmessage.h:
25905         * tools/gst-launch.c: (event_loop):
25906         * tools/gst-md5sum.c: (event_loop):
25907           Revert unpopular change for GST_MESSAGE_SRC to GObject.
25908
25909 2005-08-25  Wim Taymans  <wim@fluendo.com>
25910
25911         * check/generic/states.c: (GST_START_TEST):
25912         Cleanup can be done at the end.
25913
25914         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25915         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25916         (gst_task_get_state), (gst_task_start), (gst_task_pause):
25917         Oh boy.. Thanks for finding this, Thomas. 
25918
25919 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
25920
25921         * docs/gst/gstreamer.types:
25922           added missing types
25923
25924 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
25925
25926         * docs/gst/gstreamer-docs.sgml:
25927         * docs/gst/gstreamer-sections.txt:
25928         * docs/gst/tmpl/.cvsignore:
25929         * gst/gstbin.c:
25930         * gst/gstiterator.c:
25931         * gst/gstutils.c:
25932         * gst/registries/gstxmlregistry.h:
25933           added missing classes and symbols (123 more to go)
25934           removed removed symbols from section file
25935           fixed many doc-comments
25936
25937 2005-08-24  Wim Taymans  <wim@fluendo.com>
25938
25939         * check/generic/states.c: (GST_START_TEST):
25940         Make sure all tasks are stopped.
25941
25942         * check/gst/gstbin.c: (GST_START_TEST):
25943         Unref after usage for proper valgrinding.
25944
25945         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
25946         Really wait for the task to stop before destroying the
25947         mutex.
25948
25949         * gst/gstqueue.c: (gst_queue_sink_activate_push),
25950         (gst_queue_src_activate_push):
25951         Small cleanups. Don't stop the task when we did not start
25952         it.
25953
25954         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
25955         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25956         (gst_task_get_state), (gst_task_start), (gst_task_pause),
25957         (gst_task_join):
25958         * gst/gsttask.h:
25959         Protect the stream lock with the object lock.
25960         Disallow setting the stream lock when running.
25961         Add cleanup_all to wait for the threadpool to finish.
25962         Remove code to autoallocate a mutex if none was provided.
25963         Add _join() to wait for a task to stop.
25964         Protect the thread pool with a global lock.
25965
25966 2005-08-24  Wim Taymans  <wim@fluendo.com>
25967
25968         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25969         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25970         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
25971         * gst/base/gstbasesink.h:
25972         Handle newsegment events correctly.
25973         Drop buffers out of the segment range.
25974
25975 2005-08-22  Andy Wingo  <wingo@pobox.com>
25976
25977         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
25978         macro, implements an interface and gstimplementsinterface for a
25979         new type.
25980
25981 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
25982
25983         * check/Makefile.am:
25984         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
25985           add a test that does a bunch of state changes on elements
25986           needs some fixing for valgrind
25987         * check/states/sinks.c: (gst_object_suite):
25988           whitespace
25989         * gst/gstcaps.h:
25990           add prototype for gst_caps_is_equal_fixed
25991         * gst/gstplugin.c:
25992         * gst/gstregistrypool.c:
25993           doc fixes
25994
25995 2005-08-24  Andy Wingo  <wingo@pobox.com>
25996
25997         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
25998         convert a negative value. Doesn't make much sense. Mostly this is
25999         here to force callers to ensure -1 maps to -1.
26000
26001 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26002
26003         * docs/pwg/advanced-types.xml:
26004           Well done to Michael for catching my deliberate introduction
26005           of this spelling mistake. 
26006         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26007         * gst/gstelement.h:
26008           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26009           unlink pads before removing the element from the bin.
26010
26011 2005-08-24  Andy Wingo  <wingo@pobox.com>
26012
26013         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26014         the same thing as GST_DEBUG=*:4.
26015         (parse_debug_level, parse_debug_category): New helper parsers.
26016
26017 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26018
26019         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26020         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26021         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26022         (gst_base_transform_buffer_alloc),
26023         (gst_base_transform_handle_buffer):
26024           use gboolean return values and pointers to size so we can use the
26025           full GST_BUFFER_SIZE range (guint) for buffer sizes
26026           use GstPadDirection for transform_caps
26027         * gst/base/gstbasetransform.h:
26028           rename get_size to get_unit_size since that's what it is
26029         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26030           use GstPadDirection for transform_caps
26031         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26032         * gst/gstutils.h:
26033           cleanup and debugging
26034
26035 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26036
26037         * gst/gstelement.c: (gst_element_class_init),
26038         (gst_element_set_state), (activate_pads),
26039         (gst_element_save_thyself):
26040         * tools/gst-compprep.c: (main):
26041         * tools/gst-inspect.c: (print_element_properties_info):
26042         * tools/gst-xmlinspect.c: (print_element_properties):
26043           Fixed long standing mem-leak
26044
26045 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26046
26047         * check/gst/gstbin.c: (GST_START_TEST):
26048         * gst/gstbin.c: (bin_bus_handler):
26049         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26050         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26051         (gst_message_new_warning), (gst_message_new_tag),
26052         (gst_message_new_state_changed), (gst_message_new_segment_start),
26053         (gst_message_new_segment_done), (gst_message_new_custom):
26054         * gst/gstmessage.h:
26055         * tools/gst-launch.c: (event_loop):
26056         * tools/gst-md5sum.c: (event_loop):
26057           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26058           that applications can sensibly post custom messages with references
26059           to their own objects.
26060
26061 2005-08-24  Andy Wingo  <wingo@pobox.com>
26062
26063         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26064         already.
26065
26066 2005-08-24  Wim Taymans  <wim@fluendo.com>
26067
26068         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26069         (gst_base_transform_transform_caps),
26070         (gst_base_transform_transform_size),
26071         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26072         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26073         (gst_base_transform_handle_buffer):
26074         * gst/base/gstbasetransform.h:
26075         Many fixes and new features added by Thomas. Can now also do
26076         transforms with variable sizes and a custom fixate_caps function.
26077
26078 2005-08-24  Wim Taymans  <wim@fluendo.com>
26079
26080         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26081         Some debugging.
26082
26083         * gst/gstclock.h:
26084         Cast to ClockTime before formatting to time.
26085
26086         * gst/gstutils.h:
26087         Cleanups.
26088
26089 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26090
26091         * check/gst-libs/controller.c: (GST_START_TEST),
26092         (gst_controller_suite):
26093         * docs/gst/tmpl/gstcaps.sgml:
26094         * docs/gst/tmpl/gstghostpad.sgml:
26095         * docs/gst/tmpl/gstquery.sgml:
26096         * docs/gst/tmpl/gstutils.sgml:
26097         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26098         (gst_object_sink_values), (gst_object_get_value_arrays),
26099         (gst_object_get_value_array):
26100           gracefully handle helper method calls to objects that are not beeing
26101           controlled, added test case for that          
26102
26103 2005-08-23  Wim Taymans  <wim@fluendo.com>
26104
26105         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26106         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26107         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26108         (gst_event_parse_qos), (gst_event_new_seek),
26109         (gst_event_parse_seek):
26110         * gst/gstevent.h:
26111         Some more debugging output and doc cleanups.
26112
26113         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26114         Fix possible deadlock.
26115
26116 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26117
26118         * docs/gst/gstreamer-docs.sgml:
26119         * docs/gst/gstreamer-sections.txt:
26120         * docs/gst/gstreamer.types:
26121         * docs/gst/tmpl/.cvsignore:
26122         * gst/gstbin.h:
26123         * gst/gstbus.c:
26124         * gst/gstelement.c:
26125         * gst/gstevent.h:
26126           added 100 symbols from gstreamer-unused.txt to the right sections
26127           fixed more broken comments
26128           added GstBus to docs
26129
26130 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26131
26132         * docs/gst/gstreamer-sections.txt:
26133         * docs/gst/tmpl/.cvsignore:
26134         * docs/gst/tmpl/gstbin.sgml:
26135         * docs/gst/tmpl/gstbuffer.sgml:
26136         * gst/base/gstbasesrc.c:
26137         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26138         * gst/gstbuffer.c:
26139         * gst/gstbuffer.h:
26140         * tools/gst-launch.1.in:
26141           inlined more doc comments, added missing comments and fixed comments
26142           fixed typos
26143
26144 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26145
26146         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26147           some debugging
26148         * gst/gstcaps.h:
26149           whitespace fixes
26150         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26151           more debugging
26152         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26153         * gst/gststructure.h:
26154           add a fixate function for booleans; add a FIXME that these func
26155           names should probably be gst_structure_fixate_*
26156
26157 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26158
26159         * docs/gst/gstreamer-docs.sgml:
26160         * docs/gst/gstreamer-sections.txt:
26161         * gst/Makefile.am:
26162         * gst/gstbin.c: (gst_bin_get_type),
26163         (gst_bin_child_proxy_get_child_by_index),
26164         (gst_bin_child_proxy_get_children_count),
26165         (gst_bin_child_proxy_init):
26166         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26167         (gst_child_proxy_get_child_by_index),
26168         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26169         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26170         (gst_child_proxy_get), (gst_child_proxy_set_property),
26171         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26172         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26173         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26174         * gst/gstchildproxy.h:
26175         * gst/parse/grammar.y:
26176         * tools/gst-inspect.c: (print_interfaces),
26177         (print_element_properties_info), (print_element_info):
26178           ported gstchildproxy over from 0.8
26179           ported gst-inspect fixes and enhancements over from 0.8
26180
26181 2005-08-22  Wim Taymans  <wim@fluendo.com>
26182
26183         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26184         (gst_base_transform_handle_buffer):
26185         Also call the transform function if we have ANY caps.
26186
26187         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26188         Fix debug info.
26189
26190 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26191
26192         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26193           Don't pretend to handle seek events if the source is not seekable
26194
26195 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26196
26197         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26198           Remove extra parameter to debug output
26199
26200         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26201         (gst_base_src_do_seek), (gst_base_src_activate_push):
26202           Fix seek event handling.
26203
26204         * gst/gstpipeline.c: (gst_pipeline_change_state):
26205         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26206         (gst_queue_src_activate_push):
26207           Don't start the src pad task on FLUSH_STOP if the pad
26208           isn't linked.
26209           Debug changes.
26210
26211 2005-08-22  Wim Taymans  <wim@fluendo.com>
26212
26213         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26214         Added check for gst_static_caps_get() refcounting.
26215
26216 2005-08-22  Wim Taymans  <wim@fluendo.com>
26217
26218         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26219         Make _static_caps_get() refcounting sane.
26220         
26221         * gst/gstelement.c: (gst_element_set_state):
26222         Add g_return_val_if_fail() to protect against segfaults.
26223
26224 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26225
26226         * docs/gst/tmpl/gstevent.sgml:
26227         * gst/gstevent.c:
26228         * gst/gstevent.h:
26229           inlined remaining docs, added missing doc comments
26230
26231 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26232
26233         * check/gst/gstbin.c: (GST_START_TEST):
26234           since we don't know when preroll is done, use refcount range
26235           check for the sink
26236         * gst/check/gstcheck.h:
26237           add macro for checking refcount range
26238
26239 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26240
26241         * check/Makefile.am:
26242           clean up environment for when registry gets built versus
26243           when actual tests are run; valgrind seems to not report
26244           leaks if GST_PLUGIN_PATH is set to some specific values
26245         * check/gst/gstbin.c: (GST_START_TEST):
26246           add more refcounting checks; maybe this exposes a
26247           preroll lock bug ?
26248         * common/check.mak:
26249         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26250         * gst/check/gstcheck.h:
26251         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26252         (gst_bin_change_state):
26253         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26254           add/fix debugging/whitespace
26255
26256 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26257
26258         * check/gst/gstevent.c: (event_probe), (test_event),
26259         (GST_START_TEST):
26260          Er, don't call gst_bin_watch_for_state_change you idiot.
26261
26262 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26263
26264         * check/Makefile.am:
26265           Use CHECK_CFLAGS and CHECK_LIBS
26266         * check/gst/gstevent.c: (event_probe), (test_event),
26267         (GST_START_TEST):
26268           Don't leak events.
26269         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26270         (gst_base_src_start), (gst_base_src_stop),
26271         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26272         (gst_base_src_change_state):
26273           Sprinkle gst_base_src_stop liberally around error paths to fix
26274           problems reusing a source after failed state changes.
26275         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26276         (helper_find_suggest), (gst_type_find_helper):
26277           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26278         * gst/gstevent.h:
26279         * docs/gst/tmpl/gstevent.sgml:
26280           Migrate part of the docs from the SGML file. Wait for ensonic to
26281           tell me how I did it wrong ;)
26282         * tools/gst-typefind.c: (main):
26283           Extra robustness to state changes between files.
26284
26285 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26286
26287         * check/Makefile.am:
26288           don't valgrind the controller test - it's leaking - Stefan, HELP
26289         * gst/check/gstcheck.c: (gst_check_message_error),
26290         (gst_check_chain_func), (gst_check_setup_element),
26291         (gst_check_teardown_element), (gst_check_setup_src_pad),
26292         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26293         (gst_check_teardown_sink_pad):
26294         * gst/check/gstcheck.h:
26295           add a bunch of methods to set up elements, and src and sink pads
26296         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26297         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26298         (GST_START_TEST):
26299           use them
26300         * gst/gstmessage.c:
26301         * gst/gsttag.h:
26302           whitespace/doc fixes
26303
26304 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26305
26306         * gst/gstelement.h:
26307           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26308           be handled by the application and not always printed as well
26309
26310 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26311
26312         * check/Makefile.am:
26313           set GST_TOOLS_DIR
26314         * gst/check/gstcheck.c: (gst_check_message_error):
26315         * gst/check/gstcheck.h:
26316           add a fail_unless_equals_int
26317           add fail_unless for error messages
26318
26319 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26320
26321         * check/Makefile.am:
26322         * check/gst.supp:
26323         * common/Makefile.am:
26324         * common/check.mak:
26325         * common/gst.supp:
26326           factor out some of the common stuff so we can use it
26327
26328 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26329
26330         * check/Makefile.am:
26331         * check/gst/gstiterator.c: (GST_START_TEST):
26332         * check/gst/gstsystemclock.c: (GST_START_TEST),
26333         (gst_systemclock_suite):
26334         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26335         * gst/gstclock.c:
26336           valgrind more tests
26337
26338 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26339
26340         * check/elements/.cvsignore:
26341         * check/elements/gstfakesrc.c:
26342           rename to name of element
26343         * check/elements/identity.c: (chain_func), (event_func),
26344         (setup_identity), (cleanup_identity), (GST_START_TEST),
26345         (identity_suite), (main):
26346           add a test for identity
26347         * check/Makefile.am:
26348         * pkgconfig/Makefile.am:
26349         * pkgconfig/gstreamer-check.pc.in:
26350         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26351         * gst/check:
26352         * gst/Makefile.am:
26353         * configure.ac:
26354           move the check stuff to a library that gets installed
26355         * check/gst-libs/controller.c: (GST_START_TEST):
26356         * check/gst-libs/gdp.c:
26357         * check/gst/gst.c: (GST_START_TEST):
26358         * check/gst/gstbin.c:
26359         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26360         * check/gst/gstbus.c:
26361         * check/gst/gstcaps.c: (GST_START_TEST):
26362         * check/gst/gstelement.c:
26363         * check/gst/gstghostpad.c:
26364         * check/gst/gstiterator.c:
26365         * check/gst/gstmessage.c:
26366         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26367         * check/gst/gstobject.c:
26368         * check/gst/gstpad.c: (GST_START_TEST):
26369         * check/gst/gststructure.c: (GST_START_TEST):
26370         * check/gst/gstsystemclock.c: (GST_START_TEST),
26371         (gst_systemclock_suite):
26372         * check/gst/gsttag.c: (gst_tag_suite):
26373         * check/gst/gstvalue.c:
26374         * check/pipelines/cleanup.c:
26375         * check/pipelines/simple_launch_lines.c:
26376         * check/states/sinks.c:
26377           change include statement
26378
26379         * docs/gst/gstreamer-sections.txt:
26380         * docs/gst/tmpl/gstpad.sgml:
26381           document more pad stuff
26382         * gst/gstminiobject.c: (gst_mini_object_ref),
26383         (gst_mini_object_unref):
26384           debug refcounting
26385
26386 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26387
26388         * docs/gst/tmpl/gst.sgml:
26389         * gst/gst.c:
26390           eliminate another tmpl file, fix spelling in the long-description
26391
26392 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26393
26394         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26395         (test_event), (timediff), (gstevents_suite):
26396           Should fix build on 64-bit arch's
26397
26398 2005-08-18  Andy Wingo  <wingo@pobox.com>
26399
26400         Make sure that when a pipeline goes to PLAYING, that data has
26401         actually hit the sink.
26402
26403         * check/states/sinks.c (test_sink): A sink that doesn't get any
26404         data shouldn't return SUCCESS for going to either PLAYING or
26405         PAUSED. Test also the return values on the way back down.
26406
26407         * gst/gstelement.c (gst_element_set_state): When changing the
26408         state of an element currently changing state asynchronously, go to
26409         lost-state after commiting the pending state. Makes future calls
26410         to get_state continue to return ASYNC.
26411
26412         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26413         ASYNC when going to PLAYING if we still don't have preroll, as can
26414         happen with live sources.
26415
26416 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26417
26418         * docs/pwg/advanced-types.xml:
26419           Hack long paragraph into 2 chunks as a workaround for buggy
26420           jadetex version in sid and breezy that loops infinitely and
26421           eats all RAM.
26422
26423 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26424
26425         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26426         (test_event), (timediff), (gstevents_suite):
26427           Provide more error margin in clock measurements to allow for 
26428           g_get_current_time inaccuracies.
26429
26430 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26431
26432         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26433         (test_event), (timediff), (gstevents_suite):
26434            Fix error message output so I might be able to tell why the
26435            test works here but fails on the build farm.
26436
26437 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26438
26439         * check/Makefile.am:
26440         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26441         (test_event), (timediff), (gstevents_suite), (main):
26442           I wrote a test!
26443
26444         * docs/design/part-seeking.txt:
26445           Spelling correction
26446
26447         * docs/gst/tmpl/gstevent.sgml:
26448         * docs/gst/tmpl/gstfakesrc.sgml:
26449           Docs updates.
26450
26451         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26452           Treat a buffer-without-newsegment the same as a receiving 
26453           a newsegment not in time format, and disable syncing to the clock
26454           with a warning.
26455
26456         * gst/gstbus.c: (gst_bus_set_sync_handler):
26457           Assert if anyone tries to replace the existing sync_handler for bus, 
26458           as only the owner should be setting it.
26459
26460         * gst/gstevent.h:
26461           Have a fixed set of custom event enums with events identified by
26462           their structure name (as in 0.8), rather than a free-for-all
26463           allowing collisions between enum values from different plugins.
26464
26465         * gst/gstpad.c: (gst_pad_class_init):
26466           Docs change.
26467           
26468         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26469           Handle out-of-band downstream events from the sending thread.
26470
26471 2005-08-17  Andy Wingo  <wingo@pobox.com>
26472
26473         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26474         play-timeout==0 to mean no timeout at all. In that case, don't
26475         bother with a get_state or a warning, just return directly, even
26476         if it's ASYNC.
26477
26478         * gst/base/gstbasetransform.c: Debug changes.
26479
26480         * gst/gstutils.h:
26481         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26482         ensure bins post state change messages. A bit of a hack but I can't
26483         think of a way to avoid it.
26484
26485         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26486
26487 2005-08-16  Andy Wingo  <wingo@pobox.com>
26488
26489         * gst/base/gstadapter.h:
26490         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26491         peek() but you own the data. Not terribly efficient atm.
26492
26493 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26494
26495         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26496         (gst_element_found_tags):
26497         * gst/gstutils.h:
26498           Add two utility functions for tag handling.
26499
26500 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26501
26502         * docs/manual/advanced-dataaccess.xml:
26503         * docs/manual/basics-helloworld.xml:
26504           Fix docs to use _bin_add() before _link(), which fixes the examples
26505           with recent core versions (reported by Madhan Raj M
26506           <raj_madan@rediffmail.com>, #313199).
26507
26508 2005-08-16  Wim Taymans  <wim@fluendo.com>
26509
26510         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26511         Added subtract checks.
26512
26513         * docs/design/part-events.txt:
26514         Some more docs about newsegment
26515
26516         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26517         Fix FIXME
26518
26519         * gst/gstcaps.c: (gst_caps_to_string):
26520         Add comments, cleanups.
26521         
26522         * gst/gstelement.c: (gst_element_save_thyself):
26523         cleanups
26524         
26525         * gst/gstvalue.c: (gst_value_collect_int_range),
26526         (gst_string_unwrap), (gst_value_union_int_int_range),
26527         (gst_value_union_int_range_int_range),
26528         (gst_value_intersect_int_int_range),
26529         (gst_value_intersect_int_range_int_range),
26530         (gst_value_intersect_double_double_range),
26531         (gst_value_intersect_double_range_double_range),
26532         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26533         (gst_value_subtract_int_range_int),
26534         (gst_value_subtract_double_range_double),
26535         (gst_value_subtract_double_range_double_range),
26536         (gst_value_subtract_from_list), (gst_value_subtract_list),
26537         (gst_value_can_compare), (gst_value_compare_fraction):
26538         Cleanups, add comments, remove unneeded asserts.
26539
26540 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26541
26542         * tools/gst-launch.c: (event_loop):
26543           don't convert NULL structures to strings
26544
26545 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26546
26547         * docs/gst/gstreamer-sections.txt:
26548           made some defines private
26549         * docs/gst/tmpl/gstconfig.sgml:
26550         * docs/gst/tmpl/gstqueue.sgml:
26551         * docs/gst/tmpl/gsttaglist.sgml:
26552         * docs/gst/tmpl/gsttypes.sgml:
26553         * docs/gst/tmpl/gstutils.sgml:
26554         * docs/pwg/appendix-porting.xml:
26555         * gst/base/gstbasesink.h:
26556         * gst/base/gstbasesrc.c:
26557         * gst/base/gstbasesrc.h:
26558         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26559         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26560         * gst/gstelement.c: (gst_element_class_init):
26561         * gst/gstpad.c: (gst_pad_class_init):
26562         * gst/gstqueue.c: (gst_queue_class_init):
26563         * gst/gstxml.c: (gst_xml_class_init):
26564           documented all undocumented signal inline
26565         * libs/gst/controller/gst-controller.h:
26566           added padding
26567
26568 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26569
26570         * docs/pwg/appendix-porting.xml:
26571           Document _set_link_function -> _set_setcaps_function.
26572
26573 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26574
26575         * check/Makefile.am:
26576           add a .check target for running the check
26577         * check/gst-libs/controller.c: (GST_START_TEST):
26578           cosmetic fixups
26579         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26580           complete checks for gstbuffer; would be nice if I could get the
26581           gcov stuff to work so I can see if I actually completed gstbuffer.c
26582         * check/gstcheck.h:
26583           add ASSERT_BUFFER_REFCOUNT
26584
26585 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26586
26587         * docs/gst/gstreamer-sections.txt:
26588         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26589         * gst/gsttag.h:
26590           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26591           spew out a warning if a tag that is already registered
26592           is re-registered, unless it is re-registered with a 
26593           different type (#308438).
26594
26595 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26596
26597         * docs/pwg/appendix-porting.xml:
26598         * docs/pwg/building-state.xml:
26599           Add some paragraphs about state changes in 0.9 to the PWG
26600           and the porting guide, in particular about the new meaning
26601           of GST_STATE_PAUSED and how to write state change functions
26602           with concurrent access by multiple threads in mind.
26603
26604 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26605
26606         * docs/gst/gstreamer-docs.sgml:
26607         * docs/libs/gstreamer-libs-docs.sgml:
26608           added deprecation and since indexes
26609         * libs/gst/controller/gst-controller.c:
26610         * libs/gst/controller/gst-helper.c:
26611           added since tags
26612
26613
26614 2005-08-11  Wim Taymans  <wim@fluendo.com>
26615
26616         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26617         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26618         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26619         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26620         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26621         (gst_ghost_pad_set_target):
26622         Actually implement (re)setting the target on a ghostpad
26623         as described in the docs.
26624
26625 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26626
26627         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26628           Check whether GST_DEBUG_NO_COLOR environment variable is
26629           set and disable coloured debug output if that is the case.
26630
26631 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26632
26633         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26634         (gst_type_find_helper):
26635           The memory returned by gst_type_find_peek() needs to
26636           stay valid until the end of a typefind function, and
26637           typefind functions may keep results from different 
26638           offsets around, so we can't just unref the buffer from
26639           the previous _peek(), but have to save all buffers 
26640           returned by _peek() until typefinding is done and only
26641           free them then.
26642
26643 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26644
26645         * docs/gst/gstreamer-sections.txt:
26646         * gst/gstutils.h:
26647           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26648
26649 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26650
26651         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26652           Fix a pretty good memleak.
26653
26654 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26655
26656         * gst/gstiterator.h:
26657           Fix wrong include and 'make distcheck'.
26658
26659 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26660
26661         * gst/gstbin.c: (bin_bus_handler):
26662           Use gst_element_post_message() instead.
26663
26664 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26665
26666         * gst/base/gstadapter.h:
26667         * gst/base/gstbasesink.h:
26668         * gst/base/gstbasesrc.h:
26669         * gst/base/gstbasetransform.h:
26670         * gst/base/gstcollectpads.h:
26671         * gst/base/gstpushsrc.h:
26672         * gst/gstiterator.h:
26673           Add padding to our base elements' class and instance structs and
26674           to GstIterator (you will need to rebuild all plugins and apps!)
26675
26676 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26677
26678         * gst/gstbin.c: (bin_bus_handler):
26679           Make default message forwarding from child->bus to bin->bus
26680           threadsafe and make it not emit warnings if the parent has no bus.
26681
26682 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26683
26684         * gst/gstelement.c: (activate_pads):
26685           On paused->ready, set pad->caps to NULL, as is the documented
26686           behaviour in this state change. Fixes playback of series of
26687           media files when visualization is enabled in Totem.
26688
26689 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26690
26691         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26692           Allow NULL as filter-caps (which means "any").
26693
26694 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26695
26696         * docs/libs/gstreamer-libs-sections.txt:
26697         * libs/gst/controller/gst-controller.c:
26698         * libs/gst/controller/gst-controller.h:
26699         * libs/gst/controller/gst-helper.c:
26700           adding more entries to the docs and fix small doc-bugs
26701
26702 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26703
26704         * docs/gst/gstreamer-docs.sgml:
26705         * docs/gst/gstreamer-sections.txt:
26706         * docs/gst/gstreamer.types:
26707         * docs/gst/tmpl/gstbasesink.sgml:
26708         * docs/gst/tmpl/gstbasesrc.sgml:
26709         * docs/gst/tmpl/gstbasetransform.sgml:
26710         * docs/gst/tmpl/gstfakesrc.sgml:
26711         * gst/base/gstcollectpads.c:
26712         * gst/base/gstcollectpads.h:
26713         * libs/gst/controller/gst-controller.c:
26714         * libs/gst/controller/gst-controller.h:
26715         * libs/gst/controller/gst-helper.c:
26716         * libs/gst/controller/gst-interpolation.c:
26717         * libs/gst/controller/lib.c:
26718           added long/short desc for controller docs
26719           added collectpads base class docs
26720           added correct includes to base-class docs
26721
26722 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26723
26724         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26725         (gst_test_mono_source_set_property),
26726         (gst_test_mono_source_class_init), (GST_START_TEST),
26727         (gst_controller_suite):
26728         * docs/gst/gstreamer-docs.sgml:
26729         * docs/gst/gstreamer-sections.txt:
26730         * docs/gst/gstreamer.types:
26731         * docs/libs/gstreamer-libs-docs.sgml:
26732         * docs/libs/gstreamer-libs-sections.txt:
26733         * gst/base/gstadapter.c:
26734         * libs/gst/controller/gst-controller.c:
26735         (gst_controlled_property_new), (gst_controlled_property_free),
26736         (gst_controller_new_valist),
26737         (gst_controller_remove_properties_valist),
26738         (gst_controller_sink_values), (_gst_controller_finalize):
26739         * libs/gst/controller/gst-controller.h:
26740         * libs/gst/controller/gst-helper.c:
26741         (gst_object_control_properties), (gst_object_uncontrol_properties),
26742         (gst_object_get_controller), (gst_object_set_controller),
26743         (gst_object_sink_values), (gst_object_get_value_arrays),
26744         (gst_object_get_value_array):
26745           more tests (and fixes) for the controller
26746           more docs for the controller
26747           integrated companies docs for the adapter 
26748
26749 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
26750
26751         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26752         (GST_START_TEST), (fakesrc_suite):
26753           add tests for sizetype
26754
26755 2005-08-04  Andy Wingo  <wingo@pobox.com>
26756
26757         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26758         fixes buffer_alloc proxying among other things.
26759
26760         * gst/base/gstbasetransform.c:
26761         * gst/base/gstbasetransform.h:
26762         Revert patch to gstbasetransform from 7-28 removing
26763         delay_configure.
26764
26765         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26766         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26767         Semantics changed, should return not the size of the output buffer
26768         but the byte size of a buffer with a given caps.
26769
26770         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26771         debug object.
26772         (gst_base_transform_configure_caps): Don't set out_size here: (in,
26773         out) are not the pad caps until setcaps finishes.
26774         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26775         not-in-place case as well. Deal with changing from in-place to
26776         not-in-place within calling pad_alloc_buffer. Still a bit
26777         concerned about the overhead here...
26778
26779 2005-08-03  Andy Wingo  <wingo@pobox.com>
26780
26781         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26782         fixating is an error.
26783
26784 2005-08-04  Edward Hervey  <edward@fluendo.com>
26785
26786         * gst/base/gstadapter.h: 
26787         Added gst_adapter_get_type() to the header
26788
26789 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26790
26791         * check/Makefile.am:
26792         * check/gst-libs/controller.c:
26793         * libs/gst/controller/gst-controller.c:
26794         (gst_controller_new_valist):
26795           added check test suite for the controller
26796         * gst/base/gstpushsrc.c:
26797           fixed a doc typo
26798
26799 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26800
26801         * docs/gst/Makefile.am:
26802         * docs/gst/gstreamer-docs.sgml:
26803         * docs/gst/gstreamer-sections.txt:
26804         * docs/gst/gstreamer.types:
26805         * docs/gst/tmpl/gstfakesrc.sgml:
26806         * gst/base/README:
26807         * gst/base/gstbasesink.c:
26808         * gst/base/gstbasesink.h:
26809         * gst/base/gstbasesrc.c:
26810         * gst/base/gstbasesrc.h:
26811         * gst/base/gstbasetransform.c:
26812         * gst/base/gstpushsrc.c:
26813         * gst/base/gstpushsrc.h:
26814           add short/long description docs to base classes
26815           add pushsrc to the docs
26816           remove consolidated doc fragments
26817
26818 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26819
26820         * configure.ac:
26821         * docs/libs/Makefile.am:
26822         * docs/libs/gstreamer-libs-docs.sgml:
26823         * docs/libs/gstreamer-libs-sections.txt:
26824         * docs/libs/gstreamer-libs.types:
26825         * examples/Makefile.am:
26826         * examples/controller/.cvsignore:
26827         * examples/controller/Makefile.am:
26828         * examples/controller/audio-example.c: (main):
26829         * libs/gst/Makefile.am:
26830         * libs/gst/controller/.cvsignore:
26831         * libs/gst/controller/Makefile.am:
26832         * libs/gst/controller/gst-controller.c:
26833         (on_object_controlled_property_changed), (gst_timed_value_compare),
26834         (gst_timed_value_find),
26835         (gst_controlled_property_set_interpolation_mode),
26836         (gst_controlled_property_new), (gst_controlled_property_free),
26837         (gst_controller_find_controlled_property),
26838         (gst_controller_new_valist), (gst_controller_new),
26839         (gst_controller_remove_properties_valist),
26840         (gst_controller_remove_properties), (gst_controller_set),
26841         (gst_controller_set_from_list), (gst_controller_unset),
26842         (gst_controller_get), (gst_controller_get_all),
26843         (gst_controller_sink_values), (gst_controller_get_value_arrays),
26844         (gst_controller_get_value_array),
26845         (gst_controller_set_interpolation_mode),
26846         (_gst_controller_finalize), (_gst_controller_init),
26847         (_gst_controller_class_init), (gst_controller_get_type):
26848         * libs/gst/controller/gst-controller.h:
26849         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26850         (g_object_uncontrol_properties), (g_object_get_controller),
26851         (g_object_set_controller), (g_object_sink_values),
26852         (g_object_get_value_arrays), (g_object_get_value_array):
26853         * libs/gst/controller/gst-interpolation.c:
26854         (gst_controlled_property_find_timed_value_node),
26855         (interpolate_none_get), (interpolate_trigger_get),
26856         (interpolate_trigger_get_value_array):
26857         * libs/gst/controller/lib.c: (gst_controller_init):
26858         * pkgconfig/Makefile.am:
26859         * pkgconfig/gstreamer-control-uninstalled.pc.in:
26860         * pkgconfig/gstreamer-control.pc.in:
26861         * testsuite/Makefile.am:
26862         * testsuite/controller/.cvsignore:
26863         * testsuite/controller/Makefile.am:
26864         * testsuite/controller/interpolator.c: (main):
26865           added controller code
26866           removed dparam pc files
26867
26868 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
26869         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26870         (gst_collectpads_stop):
26871           Broadcast the condition when shutting down, to make sure we wake all
26872           threads up. Shut down pads on finalize, for safety.
26873
26874 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
26875         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26876         (gst_base_transform_handle_buffer),
26877         (gst_base_transform_change_state):
26878           Handle PAUSED->READY->PAUSED transition after negotiation
26879           occurred already.
26880         * gst/gstmessage.c: (gst_message_init):
26881           Extra piece of debug for new messages.
26882
26883 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
26884
26885         * configure.ac:
26886         * docs/gst/tmpl/gstbasesrc.sgml:
26887         * docs/gst/tmpl/gstelement.sgml:
26888         * docs/gst/tmpl/gstevent.sgml:
26889         * docs/gst/tmpl/gstfakesrc.sgml:
26890         * docs/gst/tmpl/gstformat.sgml:
26891         * docs/gst/tmpl/gstghostpad.sgml:
26892         * docs/gst/tmpl/gstpad.sgml:
26893         * docs/gst/tmpl/gstquery.sgml:
26894         * docs/gst/tmpl/gststructure.sgml:
26895         * docs/gst/tmpl/gsttaglist.sgml:
26896         * docs/gst/tmpl/gstvalue.sgml:
26897         * docs/libs/gstreamer-libs-docs.sgml:
26898         * docs/libs/gstreamer-libs-sections.txt:
26899         * docs/libs/gstreamer-libs.types:
26900         * libs/gst/Makefile.am:
26901         * libs/gst/control/.cvsignore:
26902         * libs/gst/control/Makefile.am:
26903         * libs/gst/control/control.c:
26904         * libs/gst/control/control.h:
26905         * libs/gst/control/dparam.c:
26906         * libs/gst/control/dparam.h:
26907         * libs/gst/control/dparam_smooth.c:
26908         * libs/gst/control/dparam_smooth.h:
26909         * libs/gst/control/dparamcommon.h:
26910         * libs/gst/control/dparammanager.c:
26911         * libs/gst/control/dparammanager.h:
26912         * libs/gst/control/dplinearinterp.c:
26913         * libs/gst/control/dplinearinterp.h:
26914         * libs/gst/control/unitconvert.c:
26915         * libs/gst/control/unitconvert.h:
26916         * testsuite/Makefile.am:
26917         * testsuite/dynparams/.cvsignore:
26918         * testsuite/dynparams/Makefile.am:
26919         * testsuite/dynparams/dparamstest.c:
26920         * tools/Makefile.am:
26921         * tools/gst-inspect.c: (print_element_info), (main):
26922         * tools/gst-xmlinspect.c: (print_element_info), (main):
26923           deactivate and remove dparams (libgstcontrol)
26924
26925 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
26926
26927         * gst/elements/gsttypefindelement.c:
26928         (gst_type_find_element_have_type), (gst_type_find_element_init),
26929         (stop_typefinding), (gst_type_find_element_handle_event),
26930         (gst_type_find_element_chain), (gst_type_find_element_getrange):
26931         * gst/elements/gsttypefindelement.h:
26932           Set caps on all outgoing buffers, not just the first one.
26933
26934 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
26935
26936         * gst/elements/gsttypefindelement.c:
26937         (gst_type_find_element_have_type),
26938         (gst_type_find_element_check_set_buffer_caps),
26939         (gst_type_find_element_init), (stop_typefinding),
26940         (gst_type_find_element_handle_event),
26941         (gst_type_find_element_chain), (gst_type_find_element_getrange):
26942         * gst/elements/gsttypefindelement.h:
26943           Set caps on first outgoing buffer when we've found the type.
26944
26945 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
26946
26947         * docs/gst/gstreamer-docs.sgml:
26948         * docs/gst/gstreamer-sections.txt:
26949         * docs/gst/tmpl/gstscheduler.sgml:
26950         * docs/gst/tmpl/gstschedulerfactory.sgml:
26951           Remove some old cruft from docs.
26952
26953 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
26954
26955         * gst/gstpad.h:
26956           Fix inline docs for GstPadLinkReturn.
26957           
26958         * gst/gststructure.c: (gst_structure_has_name):
26959         * gst/gststructure.h:
26960         * docs/gst/gstreamer-sections.txt:
26961           New API: gst_structure_has_name().
26962
26963 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
26964
26965         * configure.ac:
26966           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
26967           and _LARGEFILE_SOURCE in config.h as required. Do not 
26968           export those flags in our .pc files any longer (#142209).
26969
26970           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
26971
26972         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
26973         (gst_file_sink_do_seek), (gst_file_sink_event),
26974         (gst_file_sink_get_current_offset), (gst_file_sink_render):
26975           Redo seek/tell calls with large file support in mind; add some
26976           debugging messages; add log message that tells us when large
26977           file support is unavailable or not enabled for some reason.
26978
26979         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
26980           Add log message that tells us when large file support 
26981           is unavailable or not enabled for some reason.
26982
26983 2005-07-29  Wim Taymans  <wim@fluendo.com>
26984
26985         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26986         Added test for removing an element with ghostpad from a bin.
26987         Fixed test as current implementation does the right thing.
26988
26989         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
26990         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
26991         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
26992         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
26993         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
26994         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
26995         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
26996         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26997         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
26998         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
26999         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27000         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27001         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27002         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27003         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27004         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27005         * gst/gstghostpad.h:
27006         Clean up ghostpads, remove properties for internal stuff.
27007         Make threadsafe.
27008         Fix refcounting.
27009         Prepare for switching targets, not all use cases work yet.
27010
27011 2005-07-29  Wim Taymans  <wim@fluendo.com>
27012
27013         * docs/design/part-gstghostpad.txt:
27014         Small update.
27015
27016         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27017         (gst_bin_remove_func):
27018         Unlinking pads while holding the bin LOCK is not a good
27019         idea.
27020
27021         * gst/gstpad.c: (gst_pad_class_init),
27022         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27023         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27024         No prob setting template after creating the pad.
27025
27026 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27027
27028         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27029         (gst_bus_peek), (gst_bus_source_dispatch),
27030         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27031         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27032           gst_bus_poll may be called from other threads. Handle
27033           this nicely by not making poll_data disappear off the
27034           stack once gst_bus_poll returns.
27035           gst_bus_peek now increments the refcount on the returned
27036           message.
27037
27038 2005-07-29  Wim Taymans  <wim@fluendo.com>
27039
27040         * docs/design/part-gstghostpad.txt:
27041         Overview of current GhostPad datastructures and use
27042         cases for changing the target.
27043
27044 2005-07-28  Wim Taymans  <wim@fluendo.com>
27045
27046         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27047         Added checks for hierarchy consistency whan adding linked
27048         elements to bins.
27049
27050         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27051         Added check to test element scheduling without bin/pipeline.
27052
27053         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27054         First add elements to bin, then link.
27055         
27056         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27057         (gst_bin_remove_func):
27058         Unlink pads from elements added/removed from bin to maintain
27059         hierarchy consistency.
27060
27061 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27062
27063         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27064         (gst_base_transform_handle_buffer):
27065         * gst/base/gstbasetransform.h:
27066           Remove broken delay_configure (fixes renegotiation of software
27067           scaling pipelines); remove some leftover printf()s.
27068
27069 2005-07-28  Wim Taymans  <wim@fluendo.com>
27070
27071         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27072         Added some more tests for wrong hierarchy
27073
27074         * docs/design/part-overview.txt:
27075         Some updates.
27076
27077         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27078         Cleanups.
27079
27080         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27081         (gst_element_dispose):
27082         Some more cleanups.
27083
27084         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27085         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27086         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27087         (gst_pad_set_caps), (gst_pad_send_event):
27088         Check for correct hierarchy when linking pads. Moving to
27089         strict requirement for ghostpads when linking elements in
27090         different bins.
27091
27092         * gst/gstpad.h:
27093         Clean ups. Added WRONG_HIERARCHY return value.
27094
27095 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27096
27097         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27098           Better debug if no transform is possible.
27099
27100 2005-07-27  Wim Taymans  <wim@fluendo.com>
27101
27102         * docs/random/wtay/network-transp:
27103         Some old doc I had.
27104
27105 2005-07-27  Wim Taymans  <wim@fluendo.com>
27106
27107         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27108         (gst_dp_event_from_packet):
27109         Fix serialization of seek events.
27110
27111 2005-07-27  Wim Taymans  <wim@fluendo.com>
27112
27113         * check/gst-libs/gdp.c: (GST_START_TEST):
27114         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27115         Fix compilation and fix event serialization.
27116
27117 2005-07-27  Wim Taymans  <wim@fluendo.com>
27118
27119         * CHANGES-0.9:
27120         * docs/design/part-TODO.txt:
27121         * docs/design/part-events.txt:
27122         Some docs updates
27123
27124         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27125         (gst_base_sink_event), (gst_base_sink_do_sync),
27126         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27127         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27128         (gst_base_src_do_seek), (gst_base_src_event_handler),
27129         (gst_base_src_loop):
27130         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27131         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27132         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27133         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27134         (gst_base_transform_set_passthrough),
27135         (gst_base_transform_is_passthrough):
27136         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27137         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27138         Event updates.
27139
27140         * gst/gstbuffer.h:
27141         Use faster casts.
27142
27143         * gst/gstelement.c: (gst_element_seek):
27144         * gst/gstelement.h:
27145         Update gst_element_seek.
27146
27147         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27148         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27149         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27150         (gst_event_new_eos), (gst_event_new_newsegment),
27151         (gst_event_parse_newsegment), (gst_event_new_tag),
27152         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27153         (gst_event_parse_qos), (gst_event_new_seek),
27154         (gst_event_parse_seek), (gst_event_new_navigation):
27155         * gst/gstevent.h:
27156         Make GstEvent use GstStructure. Add parsing code, make sure the
27157         API is sufficiently generic.
27158         Mark possible directions of events and serialization.
27159
27160         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27161         (_gst_message_copy), (gst_message_new_segment_start),
27162         (gst_message_new_segment_done), (gst_message_new_custom),
27163         (gst_message_parse_segment_start),
27164         (gst_message_parse_segment_done):
27165         Small cleanups.
27166
27167         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27168         (gst_pad_set_caps), (gst_pad_send_event):
27169         Update for new events. 
27170         Catch events sent in wrong directions.
27171
27172         * gst/gstqueue.c: (gst_queue_link_src),
27173         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27174         (gst_queue_handle_src_query):
27175         Event updates.
27176
27177         * gst/gsttag.c:
27178         * gst/gsttag.h:
27179         Remove event code from this file.
27180
27181         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27182         (gst_dp_event_from_packet):
27183         Event updates.
27184
27185 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27186
27187         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27188         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27189         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27190           Make debugging actually useful.
27191
27192 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27193
27194         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27195         (gst_pad_fixate_caps):
27196           Implement default fixation once again, so that gst_pad_fixate()
27197           actually does anything at all. This probably needs to be some
27198           sort of a last resort, and use profile-based fixation first, but
27199           since that doesn't exist yet, this is the best we have. Fixes
27200           visualization in Totem.
27201
27202 2005-07-22  Wim Taymans  <wim@fluendo.com>
27203
27204         * docs/design/part-events.txt:
27205         Small update.
27206
27207         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27208         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27209         (gst_base_sink_activate_pull):
27210         Some more comments.
27211
27212         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27213         (gst_fake_src_create):
27214         Fix handoff marshall.
27215
27216         * gst/elements/gstidentity.c: (gst_identity_class_init),
27217         (gst_identity_transform_ip):
27218         We're a real inplace element.
27219
27220         * gst/gstbus.c: (gst_bus_post):
27221         Added some comments.
27222
27223         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27224         * tests/muxing/case1.c: (main):
27225         * tests/sched/dynamic-pipeline.c: (main):
27226         * tests/sched/interrupt1.c: (main):
27227         * tests/sched/interrupt2.c: (main):
27228         * tests/sched/interrupt3.c: (main):
27229         * tests/sched/runxml.c: (main):
27230         * tests/sched/sched-stress.c: (main):
27231         * tests/seeking/seeking1.c: (event_received), (main):
27232         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27233         (main):
27234         * tests/threadstate/threadstate3.c: (main):
27235         * tests/threadstate/threadstate4.c: (main):
27236         * tests/threadstate/threadstate5.c: (main):
27237         Fix the tests.
27238
27239 2005-07-21  Wim Taymans  <wim@fluendo.com>
27240
27241         * docs/design/part-seeking.txt:
27242         Some small additions.
27243
27244         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27245         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27246         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27247         * gst/base/gstbasesink.h:
27248         discont values are gint64, handle the math correctly.
27249
27250         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27251         Make the basesrc report error if the source pad is not linked.
27252
27253         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27254         (gst_queue_loop), (gst_queue_handle_src_query),
27255         (gst_queue_src_activate_push):
27256         Make queue collect data even if the srcpad is not linked.
27257         Start pushing out data as soon as it is linked.
27258
27259         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27260         * gst/gstutils.h:
27261         Added gst_flow_get_name() to ease error reporting.
27262
27263 2005-07-20  Wim Taymans  <wim@fluendo.com>
27264
27265         * gst/gstmessage.c: (gst_message_new_segment_start),
27266         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27267         (gst_message_parse_segment_done):
27268         * gst/gstmessage.h:
27269         Added a bunch of messages for advanced seeking.
27270
27271         * gst/parse/grammar.y:
27272         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27273         (gst_dpman_state_changed):
27274         Fix some new-pad -> pad-added signals
27275
27276 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27277
27278         * docs/manual/appendix-porting.xml:
27279         * docs/pwg/appendix-porting.xml:
27280           Document new-pad/state-change signal renames and the FixedList
27281           type rename.
27282
27283 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27284
27285         * docs/manual/advanced-autoplugging.xml:
27286         * docs/manual/basics-helloworld.xml:
27287         * docs/manual/basics-pads.xml:
27288         * docs/random/ds/0.9-suggested-changes:
27289         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27290         * gst/gstelement.h:
27291         * gst/gstevent.h:
27292         * gst/gstformat.h:
27293         * gst/gstquery.h:
27294         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27295         (gst_structure_parse_array), (gst_structure_parse_value):
27296         * gst/gstvalue.c: (gst_type_is_fixed),
27297         (gst_value_list_prepend_value), (gst_value_list_append_value),
27298         (gst_value_list_get_size), (gst_value_list_get_value),
27299         (gst_value_transform_array_string), (gst_value_serialize_array),
27300         (gst_value_deserialize_array), (gst_value_intersect_array),
27301         (gst_value_is_fixed), (_gst_value_initialize):
27302         * gst/gstvalue.h:
27303           GstElement::new-pad -> pad-added, GstElement::state-change ->
27304           state-changed, GstValueFixedList -> GstValueArray, add format and
27305           flags as their own arguments in gst_element_seek() (should improve
27306           "bindeability"), remove function generators since they don't work
27307           under a whole bunch of compilers (they were deprecated already
27308           anyway).
27309
27310 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27311
27312         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27313         (_gst_debug_register_funcptr):
27314         * gst/gstinfo.h:
27315           Fix illegal cast on some platforms (#309253).
27316
27317 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27318
27319         * gst/gstmessage.c: (gst_message_new_custom):
27320         * gst/gstmessage.h:
27321           Add _new_custom, make _new_application a macro to _new_custom.
27322
27323 2005-07-20  Wim Taymans  <wim@fluendo.com>
27324
27325         * gst/base/gstbasesrc.c: (gst_base_src_init),
27326         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27327         * gst/base/gstbasesrc.h:
27328         Add a gboolean to decide when to push out a discont.
27329
27330         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27331         (gst_queue_loop), (gst_queue_handle_src_query),
27332         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27333         (gst_queue_set_property), (gst_queue_get_property):
27334         Some cleanups.
27335
27336         * tests/threadstate/threadstate1.c: (main):
27337         Make a thread test compile and run... very silly..
27338
27339
27340 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27341
27342         * docs/manual/appendix-porting.xml:
27343           Mention removal of libgstgconf-0.9.la and existence of gconf
27344           elements.
27345
27346 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27347
27348         * docs/pwg/advanced-clock.xml:
27349         * docs/pwg/appendix-porting.xml:
27350         * docs/pwg/intro-preface.xml:
27351         * docs/pwg/other-base.xml:
27352         * docs/pwg/other-manager.xml:
27353         * docs/pwg/other-nton.xml:
27354         * docs/pwg/other-ntoone.xml:
27355         * docs/pwg/other-oneton.xml:
27356         * docs/pwg/pwg.xml:
27357           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27358           demuxer), remove n-to-n (was never written), fix some code examples
27359           and links and update the porting section to include all this.
27360
27361 2005-07-19  Wim Taymans  <wim@fluendo.com>
27362
27363         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27364         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27365         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27366         (gst_queue_src_activate_push), (gst_queue_change_state),
27367         (gst_queue_get_property):
27368         * gst/gstqueue.h:
27369         Propagate GstFlowReturn more intelligently upstream and output
27370         an ERROR/EOS when streaming stopped due to fatal error.
27371
27372 2005-07-19  Wim Taymans  <wim@fluendo.com>
27373
27374         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27375         Don't block forever for the state change to complete, the
27376         pipeline already did with a sensible timeout.
27377
27378 2005-07-19  Wim Taymans  <wim@fluendo.com>
27379
27380         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27381         Make sure we never call the create function is we
27382         got deactivated.
27383
27384 2005-07-19  Andy Wingo  <wingo@pobox.com>
27385
27386         * gst/parse/parse.l: Attempt to solve bug #172815.
27387
27388 2005-07-19  Wim Taymans  <wim@fluendo.com>
27389
27390         * docs/design/part-clocks.txt:
27391         * docs/design/part-events.txt:
27392         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27393         Small docs updates.
27394         Only update the seeking values when we are not
27395         busy streaming.
27396
27397 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27398
27399         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27400           Oops, ignore the result of gst_pad_push_event here.
27401
27402 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27403
27404         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27405         (gst_base_src_activate_push):
27406           Send discont event from the loop function, as pads
27407           aren't activated yet in the activate_push handler.
27408
27409         * gst/gstbin.c: (bin_bus_handler):
27410           Don't leak element name.
27411
27412 2005-07-18  Andy Wingo  <wingo@pobox.com>
27413
27414         * configure.ac: Use AS_LIBTOOL_TAGS.
27415
27416 2005-07-18  Wim Taymans  <wim@fluendo.com>
27417
27418         * docs/gst/gstreamer.types:
27419         Remove deleted types.
27420
27421 2005-07-18  Wim Taymans  <wim@fluendo.com>
27422
27423         * check/elements/gstfakesrc.c: (GST_START_TEST):
27424         * configure.ac:
27425         * gst/Makefile.am:
27426         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27427         (init_popt_callback):
27428         * gst/gst.h:
27429         * gst/gst_private.h:
27430         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27431         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27432         * gst/gstbin.h:
27433         * gst/gstbus.h:
27434         * gst/gstconfig.h.in:
27435         * gst/gstelement.c: (gst_element_class_init),
27436         (gst_element_set_base_time), (gst_element_get_base_time),
27437         (iterator_fold_with_resync), (gst_element_change_state),
27438         (gst_element_dispose), (gst_element_get_bus):
27439         * gst/gstelement.h:
27440         * gst/gstelementfactory.h:
27441         * gst/gsterror.c: (_gst_core_errors_init):
27442         * gst/gsterror.h:
27443         * gst/gstevent.h:
27444         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27445         * gst/gstindex.c:
27446         * gst/gstinfo.c: (_gst_debug_init):
27447         * gst/gstmessage.c: (_gst_message_copy):
27448         * gst/gstmessage.h:
27449         * gst/gstminiobject.h:
27450         * gst/gstobject.c:
27451         * gst/gstobject.h:
27452         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27453         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27454         * gst/gstpad.h:
27455         * gst/gstparse.h:
27456         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27457         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27458         (gst_pipeline_get_last_stream_time):
27459         * gst/gstpipeline.h:
27460         * gst/gstpluginfeature.h:
27461         * gst/gstquery.h:
27462         * gst/gstscheduler.c:
27463         * gst/gstscheduler.h:
27464         * gst/gststructure.h:
27465         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27466         (gst_task_finalize), (gst_task_func), (gst_task_create),
27467         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27468         (gst_task_stop), (gst_task_pause):
27469         * gst/gsttask.h:
27470         * gst/gsttypefind.h:
27471         * gst/gsttypes.h:
27472         * gst/registries/gstlibxmlregistry.c: (load_feature),
27473         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27474         * gst/registries/gstxmlregistry.c:
27475         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27476         * gst/schedulers/threadscheduler.c:
27477         * libs/gst/control/dparammanager.h:
27478         * tools/gst-inspect.c: (print_element_list),
27479         (print_plugin_features), (print_element_features):
27480         * tools/gst-xmlinspect.c: (print_element_list),
27481         (print_plugin_info), (main):
27482         Removed plugable schedulers.
27483         Removed Scheduler/Manager from elements.
27484         Removed gsttypes.h, rearranged includes.
27485         Removed dependency pad<->element, element<>pipeline, and
27486         various others,  fix includes.
27487         implement gst_pad_get_parent() with gst_object_get_parent()
27488         Make GstTask sefcontained.
27489         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27490         timeout.
27491         Fix endless loop in iterator_fold_with_resync.
27492
27493
27494 2005-07-18  Wim Taymans  <wim@fluendo.com>
27495
27496         * gst/Makefile.am:
27497         * gst/gstarch.h:
27498         Remove old file.
27499
27500 2005-07-18  Wim Taymans  <wim@fluendo.com>
27501
27502         * gst/Makefile.am:
27503         No more cothreads.h
27504
27505 2005-07-18  Wim Taymans  <wim@fluendo.com>
27506
27507         * gst/cothreads.c:
27508         * gst/cothreads.h:
27509         Let's remove these.
27510
27511 2005-07-18  Wim Taymans  <wim@fluendo.com>
27512
27513         * docs/design/part-dynamic.txt:
27514         * docs/design/part-events.txt:
27515         * docs/design/part-seeking.txt:
27516         Some more docs in the works.
27517
27518         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27519         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27520         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27521         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27522         (gst_base_transform_handle_buffer),
27523         (gst_base_transform_sink_activate_push),
27524         (gst_base_transform_src_activate_pull),
27525         (gst_base_transform_set_passthrough),
27526         (gst_base_transform_is_passthrough):
27527         Refcounting fixes.
27528
27529         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27530         Cleanups.
27531
27532         * gst/gstevent.c: (gst_event_finalize):
27533         Set SRC to NULL.
27534
27535         * gst/gstutils.c: (gst_element_unlink),
27536         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27537         (gst_pad_proxy_setcaps):
27538         * gst/gstutils.h:
27539         Add _get_parent_element() to get a pads parent as an element.
27540
27541 2005-07-18  Wim Taymans  <wim@fluendo.com>
27542
27543         * check/gst/gstbin.c: (GST_START_TEST):
27544         Remove bogus test.
27545
27546 2005-07-18  Wim Taymans  <wim@fluendo.com>
27547
27548         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27549         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27550         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27551         (gst_base_sink_event), (gst_base_sink_do_sync),
27552         (gst_base_sink_chain), (gst_base_sink_loop),
27553         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27554         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27555         Refcounting fixes.
27556         Fix logic for returning ASYNC when not prerolled.
27557
27558 2005-07-18  Wim Taymans  <wim@fluendo.com>
27559
27560         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27561         Fix nasty refcount bug.
27562
27563 2005-07-16 Philippe Khalaf <burger@speedy.org>
27564
27565         * gst/elements/gstfdsrc.c:
27566         * gst/elements/gstfdsrc.h:
27567         * gst/elements/gstelements.c:
27568         * gst/elements/Makefile.am:
27569         Ported fdsrc to 0.9.
27570
27571 2005-07-16  Wim Taymans  <wim@fluendo.com>
27572
27573         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27574         (gst_base_sink_do_sync):
27575         Fix compile error.
27576
27577 2005-07-16  Wim Taymans  <wim@fluendo.com>
27578
27579         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27580         (gst_base_sink_event), (gst_base_sink_get_times),
27581         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27582         * gst/base/gstbasesink.h:
27583         Store and use discont values when syncing buffers as described
27584         in design docs.
27585         
27586         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27587         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27588         (gst_base_src_activate_push):
27589         Push discont event when starting.
27590
27591         * gst/elements/gstidentity.c: (gst_identity_transform):
27592         Small cleanups.
27593
27594         * gst/gstbin.c: (gst_bin_change_state):
27595         Small cleanups in base_time  distribution.
27596
27597         * gst/gstelement.c: (gst_element_set_base_time),
27598         (gst_element_get_base_time), (gst_element_change_state):
27599         * gst/gstelement.h:
27600         Added methods for the base_time of the element.
27601         Some MT fixes.
27602
27603         * gst/gstpipeline.c: (gst_pipeline_send_event),
27604         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27605         (gst_pipeline_get_last_stream_time):
27606         * gst/gstpipeline.h:
27607         MT fixes.
27608         Handle seeking as described in design doc, remove stream_time
27609         hack.
27610         Cleanups clock and stream_time selection code. Added accessors
27611         for the stream_time.
27612         
27613
27614 2005-07-16  Andy Wingo  <wingo@pobox.com>
27615
27616         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27617         (#305291).
27618
27619 2005-07-16  Wim Taymans  <wim@fluendo.com>
27620
27621         * check/gst/gstbin.c: (GST_START_TEST):
27622         Make elements silent as the deep_notify refs the
27623         parent, which might make the test fail.
27624
27625         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27626         Don't hold the lock for too long.
27627
27628 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27629
27630         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27631           Don't unref the caps we passed to gst_caps_make_writable() after
27632           passing them. gst_caps_make_writable() will do that for us.
27633
27634 2005-07-15  Andy Wingo  <wingo@pobox.com>
27635
27636         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27637         (#157311).
27638
27639         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27640         own marshalling function for the handoff signal. Properly type the
27641         buffer as a buffer. Fixes some warnings. Should do a more general
27642         solution.
27643         (gst_identity_class_init): Plug into the right marshaller.
27644
27645 2005-07-15  Wim Taymans  <wim@fluendo.com>
27646
27647         * docs/design/part-TODO.txt:
27648         * docs/design/part-clocks.txt:
27649         * docs/design/part-element-sink.txt:
27650         * docs/design/part-events.txt:
27651         * docs/design/part-gstpipeline.txt:
27652         Updated docs, mostly DISCONT related.
27653
27654 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27655
27656         * docs/pwg/building-pads.xml:
27657           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27658
27659 2005-07-15  Andy Wingo  <wingo@pobox.com>
27660
27661         * tools/gst-typefind.c: Update, add copyright block.
27662
27663         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27664         Normalize and truncate caps before fixation.
27665
27666         * gst/gstcaps.h:
27667         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27668         discards all but the first structure from its argument.
27669
27670 2005-07-15  Wim Taymans  <wim@fluendo.com>
27671
27672         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27673         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27674         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27675         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27676         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27677         (gst_base_transform_chain), (gst_base_transform_change_state),
27678         (gst_base_transform_set_passthrough),
27679         (gst_base_transform_is_passthrough):
27680         * gst/base/gstbasetransform.h:
27681         Make passthrough work using the bufferpools.
27682         Changed API a bit, subclasses have to write into a buffer
27683         provided by the base class.
27684         More debug info in nego functions.
27685         
27686         * gst/elements/gstidentity.c: (gst_identity_init),
27687         (gst_identity_transform):
27688         Port to new base class.
27689
27690 2005-07-15  Wim Taymans  <wim@fluendo.com>
27691
27692         * gst/gstmessage.c: (gst_message_new_state_changed):
27693         * tools/gst-launch.c: (event_loop), (main):
27694         Totally dump messages in -launch with the -m option.
27695         Fix message name for State messages,
27696
27697 2005-07-14  Wim Taymans  <wim@fluendo.com>
27698
27699         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27700         Post error messages on errors.
27701
27702 2005-07-14  Wim Taymans  <wim@fluendo.com>
27703
27704         * gst/gstcaps.c: (gst_caps_do_simplify):
27705         Remove debug info.
27706
27707         * gst/gsterror.h:
27708         Define error for stream stopped.
27709
27710         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27711         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27712         Do proper return values.
27713
27714         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27715         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27716         (gst_pad_get_range):
27717         Better return values.
27718
27719         * gst/gstpad.h:
27720         Reorganise return values, add macro to check for fatal errors.
27721
27722         * gst/gstqueue.c: (gst_queue_chain):
27723         Return proper GstFlowReturn values,
27724
27725 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
27726
27727         * docs/gst/gstreamer-sections.txt:
27728         * docs/gst/gstreamer.types:
27729         * docs/gst/tmpl/gst.sgml:
27730         * docs/gst/tmpl/gstbasesink.sgml:
27731         * docs/gst/tmpl/gstbasesrc.sgml:
27732         * docs/gst/tmpl/gstbasetransform.sgml:
27733         * docs/gst/tmpl/gstbin.sgml:
27734         * docs/gst/tmpl/gstbuffer.sgml:
27735         * docs/gst/tmpl/gstcaps.sgml:
27736         * docs/gst/tmpl/gstclock.sgml:
27737         * docs/gst/tmpl/gstcompat.sgml:
27738         * docs/gst/tmpl/gstconfig.sgml:
27739         * docs/gst/tmpl/gstelement.sgml:
27740         * docs/gst/tmpl/gstelementdetails.sgml:
27741         * docs/gst/tmpl/gstelementfactory.sgml:
27742         * docs/gst/tmpl/gstenumtypes.sgml:
27743         * docs/gst/tmpl/gsterror.sgml:
27744         * docs/gst/tmpl/gstevent.sgml:
27745         * docs/gst/tmpl/gstfakesink.sgml:
27746         * docs/gst/tmpl/gstfakesrc.sgml:
27747         * docs/gst/tmpl/gstfilesink.sgml:
27748         * docs/gst/tmpl/gstfilesrc.sgml:
27749         * docs/gst/tmpl/gstfilter.sgml:
27750         * docs/gst/tmpl/gstformat.sgml:
27751         * docs/gst/tmpl/gstghostpad.sgml:
27752         * docs/gst/tmpl/gstimplementsinterface.sgml:
27753         * docs/gst/tmpl/gstindex.sgml:
27754         * docs/gst/tmpl/gstindexfactory.sgml:
27755         * docs/gst/tmpl/gstinfo.sgml:
27756         * docs/gst/tmpl/gstiterator.sgml:
27757         * docs/gst/tmpl/gstmacros.sgml:
27758         * docs/gst/tmpl/gstmemchunk.sgml:
27759         * docs/gst/tmpl/gstminiobject.sgml:
27760         * docs/gst/tmpl/gstobject.sgml:
27761         * docs/gst/tmpl/gstpad.sgml:
27762         * docs/gst/tmpl/gstpadtemplate.sgml:
27763         * docs/gst/tmpl/gstparse.sgml:
27764         * docs/gst/tmpl/gstpipeline.sgml:
27765         * docs/gst/tmpl/gstplugin.sgml:
27766         * docs/gst/tmpl/gstpluginfeature.sgml:
27767         * docs/gst/tmpl/gstquery.sgml:
27768         * docs/gst/tmpl/gstqueue.sgml:
27769         * docs/gst/tmpl/gstregistry.sgml:
27770         * docs/gst/tmpl/gstregistrypool.sgml:
27771         * docs/gst/tmpl/gstscheduler.sgml:
27772         * docs/gst/tmpl/gstschedulerfactory.sgml:
27773         * docs/gst/tmpl/gststructure.sgml:
27774         * docs/gst/tmpl/gstsystemclock.sgml:
27775         * docs/gst/tmpl/gsttaglist.sgml:
27776         * docs/gst/tmpl/gsttagsetter.sgml:
27777         * docs/gst/tmpl/gsttrace.sgml:
27778         * docs/gst/tmpl/gsttrashstack.sgml:
27779         * docs/gst/tmpl/gsttypefind.sgml:
27780         * docs/gst/tmpl/gsttypefindfactory.sgml:
27781         * docs/gst/tmpl/gsttypes.sgml:
27782         * docs/gst/tmpl/gsturihandler.sgml:
27783         * docs/gst/tmpl/gsturitype.sgml:
27784         * docs/gst/tmpl/gstutils.sgml:
27785         * docs/gst/tmpl/gstvalue.sgml:
27786         * docs/gst/tmpl/gstversion.sgml:
27787         * docs/gst/tmpl/gstxml.sgml:
27788         * docs/libs/tmpl/gstcontrol.sgml:
27789         * docs/libs/tmpl/gstdataprotocol.sgml:
27790         * docs/libs/tmpl/gstdparam.sgml:
27791         * docs/libs/tmpl/gstdplinint.sgml:
27792         * docs/libs/tmpl/gstdpman.sgml:
27793         * docs/libs/tmpl/gstdpsmooth.sgml:
27794         * docs/libs/tmpl/gstgetbits.sgml:
27795         * docs/libs/tmpl/gstunitconvert.sgml:
27796         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27797         (gst_push_src_base_init), (gst_push_src_class_init),
27798         (gst_push_src_init), (gst_push_src_create):
27799         * gst/base/gstpushsrc.h:
27800         * gst/elements/gstelements.c:
27801         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27802         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27803         (gst_fake_sink_init), (gst_fake_sink_set_property),
27804         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27805         (gst_fake_sink_event), (gst_fake_sink_preroll),
27806         (gst_fake_sink_render), (gst_fake_sink_change_state):
27807         * gst/elements/gstfakesink.h:
27808         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27809         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27810         (gst_fake_src_base_init), (gst_fake_src_class_init),
27811         (gst_fake_src_init), (gst_fake_src_event_handler),
27812         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27813         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27814         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27815         (gst_fake_src_create_buffer), (gst_fake_src_create),
27816         (gst_fake_src_start), (gst_fake_src_stop):
27817         * gst/elements/gstfakesrc.h:
27818         * gst/elements/gstfilesink.c: (_do_init),
27819         (gst_file_sink_base_init), (gst_file_sink_class_init),
27820         (gst_file_sink_init), (gst_file_sink_dispose),
27821         (gst_file_sink_set_location), (gst_file_sink_set_property),
27822         (gst_file_sink_get_property), (gst_file_sink_open_file),
27823         (gst_file_sink_close_file), (gst_file_sink_query),
27824         (gst_file_sink_event), (gst_file_sink_render),
27825         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27826         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27827         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27828         * gst/elements/gstfilesink.h:
27829         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27830         (gst_file_src_class_init), (gst_file_src_init),
27831         (gst_file_src_finalize), (gst_file_src_set_location),
27832         (gst_file_src_set_property), (gst_file_src_get_property),
27833         (gst_file_src_map_region), (gst_file_src_map_small_region),
27834         (gst_file_src_create_mmap), (gst_file_src_create_read),
27835         (gst_file_src_create), (gst_file_src_is_seekable),
27836         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27837         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27838         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27839         (gst_file_src_uri_handler_init):
27840         * gst/elements/gstfilesrc.h:
27841           more autistic cleanliness in functions/names/defines
27842
27843 2005-07-13  Andy Wingo  <wingo@pobox.com>
27844
27845         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27846         source couldn't negotiate.
27847
27848         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27849         connections again.
27850
27851         * gst/gstutils.h:
27852         * gst/gstutils.c (gst_element_link_pads_filtered): New old
27853         function. I am channeling Hades. Put your boots on suckers!!!
27854
27855 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
27856
27857         * testsuite/caps/Makefile.am:
27858         * testsuite/caps/value_compare.c:
27859         * testsuite/caps/value_intersect.c:
27860         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27861           move two testsuite apps over to the check dir
27862
27863 2005-07-12  Wim Taymans  <wim@fluendo.com>
27864
27865         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27866         Added more debug info in the negotiate process.
27867
27868         * gst/gstmessage.h:
27869         Prepare for segment playback.
27870
27871         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27872         Better debugging.
27873
27874         * gst/gstutils.c:
27875         Some more docs.
27876
27877         * tools/gst-launch.c: (main):
27878         NULL pipeline on errors.
27879
27880 2005-07-12  Andy Wingo  <wingo@pobox.com>
27881
27882         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27883         not it comes from a malloc region. Make sure our copy gets freed.
27884
27885 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
27886
27887         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27888         * check/gst/gstmessage.c: (GST_START_TEST):
27889         * check/gst/gststructure.c: (GST_START_TEST),
27890         (gst_structure_suite), (main):
27891           more testing
27892         * gst/gstelement.c: (gst_element_message_full):
27893           clean up GError and debug string now that they get copied
27894         * gst/gstmessage.c: (gst_message_new_error),
27895         (gst_message_new_warning), (gst_message_parse_error),
27896         (gst_message_parse_warning):
27897           use GST_TYPE_G_ERROR for structure_new, and take copies of
27898           arguments, so that we don't mess up refcounting
27899
27900 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
27901
27902         * check/Makefile.am:
27903           add per-test valgrind targets
27904         * check/gst-libs/gdp.c: (GST_START_TEST),
27905         (gst_data_protocol_suite), (main):
27906           clean up
27907
27908 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
27909
27910         * check/Makefile.am:
27911           instate more valgrindable tests
27912         * check/elements/gstfakesrc.c: (chain_func), (event_func),
27913         (GST_START_TEST), (fakesrc_suite):
27914         * check/gst/gstpad.c: (GST_START_TEST):
27915         * check/gst/gststructure.c: (GST_START_TEST):
27916           fix test leaks
27917         * docs/gst/tmpl/gstminiobject.sgml:
27918         * gst/gstpad.c: (gst_pad_finalize):
27919           fix the static mutex leak
27920
27921 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
27922
27923         * check/Makefile.am:
27924           add two more tests for valgrinding
27925         * check/gst/gstvalue.c: (GST_START_TEST):
27926           test refcount of deserialized buffer, found a leak
27927         * docs/gst/gstreamer-docs.sgml:
27928         * docs/gst/gstreamer-sections.txt:
27929         * docs/gst/gstreamer.types:
27930         * docs/gst/tmpl/gstminiobject.sgml:
27931           add miniobject to docs
27932         * gst/gstminiobject.c:
27933           add some docs
27934         * gst/gstvalue.c: (gst_value_deserialize_buffer),
27935         (gst_string_unwrap):
27936           fix a hard-to-find invalid write for one of the tests
27937           fix a leak for deserialized buffers
27938
27939 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27940
27941         * docs/pwg/advanced-events.xml:
27942         * docs/pwg/advanced-request.xml:
27943         * docs/pwg/advanced-scheduling.xml:
27944         * docs/pwg/appendix-porting.xml:
27945         * docs/pwg/building-boiler.xml:
27946         * docs/pwg/intro-preface.xml:
27947         * docs/pwg/other-ntoone.xml:
27948           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
27949           of example code and explanation for pad activation, loop() and
27950           getrange() functions and a bit more. Remove old comments pointing
27951           to loop-functions.
27952         * examples/pwg/Makefile.am:
27953           Add loop/getrange examples.
27954
27955 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
27956
27957         * configure.ac:
27958           check for valgrind binary + some fixes
27959         * check/gst.supp:
27960           valgrind suppressions for the tests
27961         * check/Makefile.am:
27962           add a valgrind: target that valgrinds the unit tests
27963         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
27964         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
27965         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27966         * check/gst/gstghostpad.c:
27967           added some cleanup
27968         * check/gst/gstdata.c:
27969           removed
27970         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
27971         (thread_unref), (gst_mini_object_suite), (main):
27972           added
27973         * gst/gst.c: (gst_deinit):
27974         * gst/gst.h:
27975           add a method to clean up.
27976         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27977         (gst_system_clock_obtain):
27978           allow for disposing the system clock.
27979         * tools/gst-launch.c: (main):
27980           deinit
27981
27982 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
27983
27984         * docs/gst/tmpl/gstbasesrc.sgml:
27985         * docs/gst/tmpl/gstfakesrc.sgml:
27986         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27987         (gst_base_src_init), (gst_base_src_set_property),
27988         (gst_base_src_get_property), (gst_base_src_get_range),
27989         (gst_base_src_start):
27990         * gst/base/gstbasesrc.h:
27991           add num-buffers property
27992         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27993         (gst_fakesrc_init), (gst_fakesrc_set_property),
27994         (gst_fakesrc_get_property), (gst_fakesrc_create),
27995         (gst_fakesrc_start):
27996           remove num-buffers property
27997
27998 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
27999
28000         * docs/gst/gstreamer-sections.txt:
28001         * docs/gst/tmpl/gstbasesink.sgml:
28002         * docs/gst/tmpl/gstbasesrc.sgml:
28003         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28004         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28005         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28006         (gst_base_sink_set_property), (gst_base_sink_get_property),
28007         (gst_base_sink_handle_object), (gst_base_sink_event),
28008         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28009         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28010         (gst_base_sink_loop), (gst_base_sink_deactivate),
28011         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28012         (gst_base_sink_change_state):
28013         * gst/base/gstbasesink.h:
28014         * gst/base/gstbasesrc.h:
28015         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28016         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28017         (gst_filesink_init):
28018           more macro splitting
28019
28020 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28021
28022         * gst/gstelement.c: (gst_element_get_bus):
28023           add debug
28024         * tools/gst-launch.c: (check_intr), (event_loop):
28025           fix bus leaks
28026
28027 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28028
28029         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28030           fix a caps leak
28031
28032 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28033
28034         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28035         (gst_base_src_finalize):
28036           add finalize method and clean up properly
28037         * gst/gstpipeline.c: (gst_pipeline_dispose):
28038           add debug
28039
28040 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28041
28042         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28043         (gst_bin_suite):
28044           add more things to check
28045         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28046         * gst/gstelement.c:
28047           more debug
28048
28049 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28050
28051         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28052         (GST_START_TEST), (fakesrc_suite):
28053         * check/gst-libs/gdp.c: (GST_START_TEST):
28054         * check/gst/gst.c: (GST_START_TEST):
28055         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28056         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28057         * check/gst/gstbus.c: (GST_START_TEST):
28058         * check/gst/gstcaps.c: (GST_START_TEST):
28059         * check/gst/gstdata.c: (GST_START_TEST):
28060         * check/gst/gstelement.c: (GST_START_TEST):
28061         * check/gst/gstghostpad.c: (GST_START_TEST):
28062         * check/gst/gstiterator.c: (GST_START_TEST):
28063         * check/gst/gstmessage.c: (GST_START_TEST):
28064         * check/gst/gstobject.c: (GST_START_TEST):
28065         * check/gst/gstpad.c: (GST_START_TEST):
28066         * check/gst/gststructure.c: (GST_START_TEST):
28067         * check/gst/gstsystemclock.c: (GST_START_TEST),
28068         (gst_systemclock_suite):
28069         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28070         * check/gst/gstvalue.c: (GST_START_TEST):
28071         * check/pipelines/cleanup.c: (GST_START_TEST):
28072         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28073         * check/states/sinks.c: (GST_START_TEST):
28074         * check/gstcheck.c: (gst_check_init):
28075         * check/gstcheck.h:
28076           add debugging category
28077           use GST_START_TEST now, so we add a debug line
28078
28079 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28080
28081         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28082           add test for state change message on a bin
28083         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28084           add another test
28085         * gst/gstbin.c: (gst_bin_init):
28086         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28087         * gst/gstelement.c: (gst_element_post_message),
28088         (gst_element_set_state):
28089         * gst/gstelementfactory.c: (gst_element_factory_create):
28090         * gst/gstmessage.c: (gst_message_new):
28091         * gst/gstscheduler.c:
28092           various debugging additions and cleanups
28093
28094 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28095
28096         * check/Makefile.am:
28097         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28098         (main):
28099           adding tests for elements
28100         * gst/gstelement.c: (gst_element_dispose):
28101
28102 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28103
28104         * gst/registries/gstlibxmlregistry.c: (load_feature):
28105           plug more leaks.  A simple gst_init() now is leakfree, yay.
28106
28107 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28108
28109         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28110         (gst_xml_registry_load):
28111           plug another memleak
28112
28113 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28114
28115         * configure.ac:
28116           use GST_SET_ERROR_CFLAGS
28117         * docs/faq/cvs.xml:
28118           change to ERROR_CFLAGS
28119
28120 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28121
28122         * configure.ac:
28123           make GST_ERROR_CFLAGS overridable and re-enable Werror
28124         * docs/faq/cvs.xml:
28125           add a note about error CFLAGS
28126         * docs/gst/tmpl/gstfakesrc.sgml:
28127         * gst/elements/gstfakesrc.c:
28128           comment out some unused code
28129         * gst/gst.c: (split_and_iterate):
28130         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28131         (load_feature):
28132           plug some memleaks
28133
28134 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28135
28136         * common/Makefile.am:
28137         * common/gtk-doc.mak:
28138         * docs/gst/Makefile.am:
28139           factor out gtk-doc.mak
28140
28141 2005-07-07  Wim Taymans  <wim@fluendo.com>
28142
28143         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28144         (gst_thread_scheduler_dispose):
28145         Unlock the STREAM_LOCK completely.
28146
28147 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28148
28149         * check/Makefile.am:
28150         * check/elements/.cvsignore:
28151         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28152         (START_TEST), (fakesrc_suite), (main):
28153         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28154         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28155         (gst_fakesrc_create), (gst_fakesrc_start):
28156         * gst/elements/gstfakesrc.h:
28157           adding a first element test
28158
28159 2005-07-07  Andy Wingo  <wingo@pobox.com>
28160
28161         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28162         debug message.
28163
28164 2005-07-07  Wim Taymans  <wim@fluendo.com>
28165
28166         * gst/gstquery.c:
28167         * gst/gstquery.h:
28168         Remove old types
28169
28170 2005-07-07  Wim Taymans  <wim@fluendo.com>
28171
28172         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28173         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28174         Allow subclasses to implement their own negotiation.
28175
28176 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28177
28178         * docs/design/part-gstbin.txt:
28179         * docs/design/part-gstpipeline.txt:
28180           Update design notes to reflect the movement of
28181           responsibility for bus handling from GstPipeline to
28182           GstBin
28183
28184 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28185
28186         * configure.ac:
28187           Remove unnecessary queue2/3/4 examples.
28188
28189 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28190
28191         * examples/Makefile.am:
28192         * examples/helloworld/helloworld.c: (event_loop), (main):
28193         * examples/queue/queue.c: (event_loop), (main):
28194         * examples/queue2/queue2.c: (main):
28195           Update a couple of the examples to work again.
28196
28197         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28198         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28199          Spelling corrections and extra debug.
28200         
28201         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28202         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28203         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28204         * gst/gstbin.h:
28205         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28206         (gst_pipeline_change_state):
28207         * gst/gstpipeline.h:
28208           Move the bus handler for children to the GstBin, and create a
28209           separate bus for receiving messages from children to the one the
28210           bus sends 'upwards' on.
28211
28212 2005-07-06  Wim Taymans  <wim@fluendo.com>
28213
28214         * gst/base/README:
28215         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28216         (gst_base_sink_handle_object), (gst_base_sink_loop),
28217         (gst_base_sink_change_state):
28218         * gst/base/gstbasesink.h:
28219         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28220         (gst_base_src_init), (gst_base_src_setcaps),
28221         (gst_base_src_getcaps), (gst_base_src_loop),
28222         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28223         (gst_base_src_start), (gst_base_src_change_state):
28224         * gst/base/gstbasesrc.h:
28225         Make basesrc negotiate.
28226         Handle the case where preroll fails in basesink.
28227         Update README.
28228
28229 2005-07-06  Wim Taymans  <wim@fluendo.com>
28230
28231         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28232         Implement the fixate function.
28233         Clean up acceptcaps.
28234
28235 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28236
28237         * docs/pwg/building-filterfactory.xml:
28238         * docs/pwg/pwg.xml:
28239           Remove never-written filter-factory chapter; I'll add the various
28240           base classes to part 4 ("other element types") later on.
28241
28242 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28243
28244         * docs/pwg/advanced-negotiation.xml:
28245         * docs/pwg/building-boiler.xml:
28246         * docs/pwg/building-pads.xml:
28247         * docs/pwg/pwg.xml:
28248         * examples/pwg/Makefile.am:
28249           Add a chapter on caps negotiation, simplify the original code
28250           samples a bit w.r.t. caps negotiation, add link to the advanced
28251           section. Add a bunch of examples showing different use cases of
28252           different types of caps negotiation. Upstream renegotiation isn't
28253           fully documented yet since nobody knows how that works.
28254
28255 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28256
28257         * check/gst/gstpad.c:
28258         * check/gstcheck.c:
28259         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28260           if pad has no parent, return NULL as list of internal links
28261
28262 2005-07-05  Andy Wingo  <wingo@pobox.com>
28263
28264         * gst/elements/gstfilesrc.c:
28265         * gst/elements/gstfakesrc.c: 
28266         * gst/base/gstpushsrc.c:
28267         * gst/base/gstbasesrc.h: 
28268         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28269         
28270 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28271
28272         * Makefile.am:
28273           better report generation target (lcov needs a patch)
28274
28275 2005-07-05  Andy Wingo  <wingo@pobox.com>
28276
28277         * gst/elements, testsuite: Null if we got it...
28278
28279 2005-07-05  Wim Taymans  <wim@fluendo.com>
28280
28281         * configure.ac:
28282         * libs/gst/dataprotocol/Makefile.am:
28283         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28284         * libs/gst/dataprotocol/dataprotocol.h:
28285         * pkgconfig/Makefile.am:
28286         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28287         * pkgconfig/gstreamer-dataprotocol.pc.in:
28288         Ported dataprotol to 0.9. 
28289         Added pkgconfig files.
28290
28291 2005-07-05  Andy Wingo  <wingo@pobox.com>
28292
28293         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28294         Default to returning TRUE for the case when tranform_caps returns
28295         a fixed caps, like for identity or volume.
28296
28297         * check/gst/gstbus.c (pound_bus_with_messages): 
28298         * check/gst/gstmessage.c (START_TEST): 
28299         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28300         message API change.
28301
28302         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28303         logic weaks here: always run transform_caps, trying passthrough
28304         operation only if the original caps intersects with the transform.
28305
28306         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28307         source and sink caps.
28308
28309         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28310         Intersect the peer caps with the pad template before going into
28311         transform_caps.
28312         (gst_base_transform_transform_caps): More debugging.
28313
28314         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28315         src argument.
28316
28317 2005-07-04  Edward Hervey  <edward@fluendo.com>
28318
28319         * gst/gstutils.c:
28320         * gst/gstutils.h:
28321         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28322         in bindings.
28323
28324 2005-07-04  Andy Wingo  <wingo@pobox.com>
28325
28326         * check/gst/gstpad.c: Only set explicit caps on pads.
28327
28328 2005-07-01  Andy Wingo  <wingo@pobox.com>
28329
28330         * tests/network-clock.scm: Commentary update.
28331
28332         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28333         Didn't really make sense, not implementable with basetransform,
28334         etc.
28335         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28336         attempt at implementing the sync property, needs an unlock method.
28337
28338         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28339         New func, by default returns the same caps (the identity
28340         transformation).
28341         (gst_base_transform_getcaps): Uses transform_caps to return
28342         something sensible.
28343         (gst_base_transform_setcaps): Complicated logic to get caps on
28344         both pads, even if they are different, and to call set_caps once
28345         for every time both pads get their caps set.
28346         (gst_base_transform_handle_buffer): Give the ref to the transform
28347         function. Allows in-place modification of the buffer.
28348
28349         * gst/base/gstbasetransform.h (transform_caps): New class method.
28350         Given caps on one side, what can I do on the other.
28351         (set_caps): Take two caps, one for each side of the element.
28352
28353         * gst/gstpad.h:
28354         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28355         caps in place. This is safe because we can check the mutability of
28356         the caps, and a good idea because fixate functions are just called
28357         as a matter of last resort. (Not actually implemented.)
28358         (gst_pad_set_caps): If the caps we're setting is actually the same
28359         as the existing pad caps, just update the pointer without calling
28360         setcaps. Assert that caps is either NULL or fixed, as per the
28361         docs.
28362
28363         * gst/gstghostpad.c: Update for fixate changes.
28364
28365 2005-07-02  Andy Wingo  <wingo@pobox.com>
28366
28367         * gst/gstcaps.c:
28368         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28369         two refcounts makes it immutable, which is enough. Doc more.
28370
28371 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28372
28373         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28374           Put the mini_object into GValue as a mini_object,
28375           not a gpointer, since that's how we declared
28376           the signal.
28377
28378 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28379
28380         * examples/pwg/Makefile.am:
28381           Fix buildbot again.
28382
28383 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28384
28385         * docs/pwg/building-testapp.xml:
28386           Add extra check.
28387         * examples/pwg/Makefile.am:
28388           Fix buildbot.
28389
28390 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28391
28392         * configure.ac:
28393         * examples/Makefile.am:
28394         * examples/pwg/Makefile.am:
28395         * examples/pwg/extract.pl:
28396           Enable building the PWG examples.
28397         * docs/pwg/advanced-interfaces.xml:
28398           Add URI interface stub.
28399         * docs/pwg/advanced-types.xml:
28400         * docs/pwg/other-autoplugger.xml:
28401         * docs/pwg/appendix-porting.xml:
28402         * docs/pwg/pwg.xml:
28403           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28404         * docs/pwg/building-boiler.xml:
28405         * docs/pwg/building-chainfn.xml:
28406         * docs/pwg/building-pads.xml:
28407         * docs/pwg/building-props.xml:
28408         * docs/pwg/building-state.xml:
28409         * docs/pwg/building-testapp.xml:
28410           Update the building-*.xml parts for 0.9 changes. All examples
28411           code blocks compile in examples/pwg/*.
28412
28413 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28414
28415         * docs/manual/advanced-autoplugging.xml:
28416         * docs/manual/appendix-checklist.xml:
28417         * docs/manual/appendix-integration.xml:
28418         * docs/manual/highlevel-components.xml:
28419           Fix playbin/decodebin examples, update docs a bit, mention bus
28420           instead of signals in various places, mention kmplayer and
28421           kaffeine since they have a working GStreamer backend in the KDE
28422           section.
28423
28424 2005-06-30  Wim Taymans  <wim@fluendo.com>
28425
28426         * CHANGES-0.9:
28427         * docs/design/draft-ghostpads.txt:
28428         * docs/design/draft-push-pull.txt:
28429         * docs/design/draft-query.txt:
28430         * docs/design/part-TODO.txt:
28431         * docs/design/part-query.txt:
28432         Added CHANGES-0.9 doc, updated status of other docs.
28433         
28434         * gst/gstquery.h:
28435         Remove "hmm" macro
28436
28437 2005-06-30  Wim Taymans  <wim@fluendo.com>
28438
28439         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28440         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28441         (gst_base_sink_change_state):
28442         * gst/base/gstbasesink.h:
28443         Some tweaks, only EOS and a buffer complete a preroll.
28444
28445 2005-06-30  Andy Wingo  <wingo@pobox.com>
28446
28447         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28448         activate_push down to the internal pad as well.
28449
28450 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28451
28452         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28453
28454         * gst/gsttaginterface.c:
28455           Some documentation fixes (#307394 and #307397).
28456
28457 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28458
28459         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28460
28461         * gst/gstvalue.c: (gst_value_intersect_list):
28462           Fix memleak (#309125).
28463
28464 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28465
28466         * docs/manual/advanced-dataaccess.xml:
28467           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28468         * docs/manual/basics-pads.xml:
28469           Add reference for filtered caps to above chapter.
28470
28471 2005-06-30  Wim Taymans  <wim@fluendo.com>
28472
28473         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28474         (gst_bin_change_state):
28475         Probes are gone.
28476         Lame attempt at making the state change function a bit
28477         more readable.
28478
28479 2005-06-30  Wim Taymans  <wim@fluendo.com>
28480
28481         * docs/design/part-clocks.txt:
28482         * docs/design/part-element-sink.txt:
28483         * docs/design/part-events.txt:
28484         * docs/design/part-preroll.txt:
28485         * docs/design/part-states.txt:
28486         Some more tweeks and additions to the docs.
28487
28488 2005-06-30  Wim Taymans  <wim@fluendo.com>
28489
28490         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28491         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28492         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28493         (gst_pad_check_pull_range), (gst_pad_get_range),
28494         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28495         * gst/gstpad.h:
28496         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28497         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28498         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28499         (gst_pad_remove_buffer_probe):
28500         Removed atomic operations, use existing LOCK.
28501         Move exception handling out of main code path.
28502
28503 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28504
28505         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28506         (silly_return_true_function), (gst_pad_class_init),
28507         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28508         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28509         (gst_pad_send_event):
28510           Fix accumulator, add default value by using _emitv() instead
28511           of _emit() for signal emission.
28512
28513 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28514
28515         * docs/manual/advanced-dataaccess.xml:
28516         * examples/manual/Makefile.am:
28517           Add probe example.
28518         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28519           Make work (??).
28520
28521 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28522
28523         * gst/elements/gstfilesink.c: (gst_filesink_render):
28524           Simplify code so that we don't have to handle short
28525           writes and return GST_FLOW_ERROR if an error occured.
28526
28527 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28528
28529         * docs/gst/gstreamer-docs.sgml:
28530           Remove probes more.
28531
28532 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28533
28534         * docs/gst/gstreamer-sections.txt:
28535         * docs/gst/tmpl/gstpad.sgml:
28536         * docs/gst/tmpl/gstprobe.sgml:
28537         * gst/Makefile.am:
28538         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28539         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28540         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28541         (gst_pad_push_event), (gst_pad_send_event):
28542         * gst/gstpad.h:
28543         * gst/gstutils.c: (gst_pad_add_data_probe),
28544         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28545         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28546         (gst_pad_remove_buffer_probe):
28547         * gst/gstutils.h:
28548           Remove old probes, add new g-signal-based probes and some utility
28549           functions.
28550
28551 2005-06-29  Edward Hervey  <edward@fluendo.com>
28552
28553         * gst/gstelementfactory.c:
28554         * gst/gstutils.h:
28555         * gst/gstutils.c:
28556         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28557         the definition to the header file.
28558
28559 2005-06-29  Andy Wingo  <wingo@pobox.com>
28560
28561         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28562         plugins from the source directory.
28563
28564 2005-06-29  Wim Taymans  <wim@fluendo.com>
28565
28566         * docs/gst/tmpl/gstbuffer.sgml:
28567         * docs/gst/tmpl/gstclock.sgml:
28568         Some fixings for blantently wrong text.
28569
28570 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28571
28572         * check/Makefile.am:
28573         * gst/gst.c: (add_path_func), (init_pre):
28574         * gst/gstregistry.c: (gst_registry_add_path):
28575           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28576           only scan the GST_PLUGIN_PATH locations, and not add
28577           system locations
28578
28579 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28580
28581         * docs/gst/gstreamer-sections.txt:
28582         * docs/gst/tmpl/gstbasesrc.sgml:
28583         * gst/gstelement.c:
28584         * gst/gstelement.h:
28585         * gst/gstevent.c:
28586         * gst/gstutils.c:
28587           doc fixes
28588
28589 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28590
28591         * docs/manual/advanced-autoplugging.xml:
28592           Fix autoplugging example.
28593
28594 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28595
28596         * docs/manual/advanced-autoplugging.xml:
28597         * docs/manual/mime-world.fig:
28598           Try to get autoplugging working, fix type detection. Fix text
28599           in hello-world image.
28600
28601 2005-06-29  Wim Taymans  <wim@fluendo.com>
28602
28603         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28604         (gst_base_sink_change_state):
28605         Small debug line.
28606
28607         * gst/gstclock.h:
28608         map SIGNAL and BROADCAST to the right function.
28609
28610         * gst/gstobject.h:
28611         Remove redundant braces.
28612
28613         * gst/gstpad.c: (gst_pad_set_caps):
28614         Don't call setcaps function when reseting caps to NULL.
28615
28616         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28617         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28618         (gst_system_clock_id_unschedule):
28619         Use BROADCAST as this is what we do.
28620
28621 2005-06-29  Wim Taymans  <wim@fluendo.com>
28622
28623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28624         We are actually prerolling before commiting the state
28625         change. 
28626
28627 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28628
28629         * docs/manual/advanced-clocks.xml:
28630         * docs/manual/advanced-interfaces.xml:
28631         * docs/manual/advanced-metadata.xml:
28632         * docs/manual/advanced-position.xml:
28633         * docs/manual/advanced-schedulers.xml:
28634         * docs/manual/advanced-threads.xml:
28635         * docs/manual/appendix-porting.xml:
28636         * docs/manual/basics-bins.xml:
28637         * docs/manual/basics-bus.xml:
28638         * docs/manual/basics-elements.xml:
28639         * docs/manual/basics-helloworld.xml:
28640         * docs/manual/basics-pads.xml:
28641         * docs/manual/highlevel-components.xml:
28642         * docs/manual/manual.xml:
28643         * docs/manual/thread.fig:
28644           Update (until threads/scheduling) Application Development Manual;
28645           remove GstThread, add GstBus, add simple porting checklist, add
28646           documentation for tag writing, clocks, make all examples until this
28647           part compile and run.
28648         * examples/manual/Makefile.am:
28649           Update from changes to Application Development Manual; add bus
28650           example, remove thread example.
28651
28652 2005-06-28  Wim Taymans  <wim@fluendo.com>
28653
28654         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28655         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28656         (gst_bus_source_dispatch):
28657         Add debugging messages.
28658         Make internal methods static.
28659         Handle the case where the bus is flushed in the handler.
28660         
28661         * gst/gstelement.c: (gst_element_get_bus):
28662         Fix refcount in _get_bus();
28663
28664         * gst/gstpipeline.c: (gst_pipeline_change_state),
28665         (gst_pipeline_get_clock_func):
28666         Clock refcounting fixes.
28667         Handle the case where preroll timed out more gracefully.
28668         
28669         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28670         Clean up the internal thread in dispose. This is needed
28671         for subclasses that actually get disposed.
28672         
28673         * gst/schedulers/threadscheduler.c:
28674         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28675         (gst_thread_scheduler_dispose):
28676         Free thread pool in dispose.
28677
28678 2005-06-28  Andy Wingo  <wingo@pobox.com>
28679
28680         * tests/network-clock-utils.scm (debug, print-event): New utils.
28681
28682         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28683         (*packet-loss*): Unified loss probability.
28684         (network-time): Report out-of-band events.
28685
28686         * tests/plot-data: Add support for out-of-band events. Hack it
28687         into this script instead of passing it down the pipe; should fix
28688         this later.
28689
28690 2005-06-28  Wim Taymans  <wim@fluendo.com>
28691
28692         * docs/gst/gstreamer.types:
28693         * docs/gst/tmpl/gstbasesrc.sgml:
28694         * docs/gst/tmpl/gstpad.sgml:
28695         Docs fixes.
28696
28697 2005-06-28  Wim Taymans  <wim@fluendo.com>
28698
28699         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28700         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28701         (gst_proxy_pad_do_fixatecaps):
28702         Correctly proxy the check_pull_range function.
28703
28704 2005-06-28  Andy Wingo  <wingo@pobox.com>
28705
28706         * tests/network-clock.scm: Removed need for slib.
28707         
28708 2005-06-28  Wim Taymans  <wim@fluendo.com>
28709
28710         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28711         (gst_basesink_preroll_queue_flush):
28712         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28713         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28714         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28715         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28716         (gst_proxy_pad_set_property):
28717         * gst/gstpad.c:
28718         * gst/gstpad.h:
28719         * gst/gstqueue.c: (gst_queue_init):
28720         The deprecated pad loop function is removed now.
28721
28722 2005-06-28  Andy Wingo  <wingo@pobox.com>
28723
28724         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28725         New parameters, simulate network packet loss.
28726
28727         * tests/network-clock-utils.scm: Initialize the RNG.
28728
28729 2005-06-28  Wim Taymans  <wim@fluendo.com>
28730
28731         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28732         (gst_basesink_event), (gst_basesink_deactivate):
28733         Flushing the preroll queue always needs to unlock the waiters.
28734
28735 2005-06-28  Edward Hervey  <edward@fluendo.com>
28736
28737         * gst/gstpipeline.c: (gst_pipeline_send_event): 
28738         Wheen a seek was successful on a pipeline, set the stream_time to the
28739         seek offset in order to have a synchronized stream_time.
28740
28741 2005-06-28  Wim Taymans  <wim@fluendo.com>
28742
28743         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28744         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28745         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28746         (gst_proxy_pad_do_fixatecaps):
28747         Call wrapper function instead of just calling the function
28748         pointers. This takes care of any locking and whatmore.
28749
28750 2005-06-28  Wim Taymans  <wim@fluendo.com>
28751
28752         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28753         (gst_pad_pull_range):
28754         * gst/gstpad.h:
28755         CONNECTED -> LINKED.
28756
28757 2005-06-28  Andy Wingo  <wingo@pobox.com>
28758
28759         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28760         source-munging commit!!!
28761
28762         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
28763         (gst_object_sink): Take gpointer arguments, not GstObject --
28764         avoids casts. Like GLib.
28765
28766         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28767         activate.
28768
28769 2005-06-27  Andy Wingo  <wingo@pobox.com>
28770
28771         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28772         remaining buffer.
28773
28774         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28775         returns a sorted copy of the trace list.
28776         (gst_alloc_trace_print_live): New API, only prints traces with
28777         live objects. Sort the list.
28778         (gst_alloc_trace_print_all): Sort the list.
28779         (gst_alloc_trace_print): Align columns.
28780
28781         * gst/elements/gstttypefindelement.c:
28782         * gst/elements/gsttee.c:
28783         * gst/base/gstbasesrc.c:
28784         * gst/base/gstbasesink.c:
28785         * gst/base/gstbasetransform.c:
28786         * gst/gstqueue.c: Adapt for pad activation changes.
28787
28788         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28789         sched.
28790         (gst_pipeline_dispose): Drop ref on sched.
28791
28792         * gst/gstpad.c (gst_pad_init): Set the default activate func.
28793         (gst_pad_activate_default): Push mode by default.
28794         (pre_activate_switch, post_activate_switch): New stubs, things to
28795         do before and after switching activation modes on pads.
28796         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28797         the pad's activate function to choose which mode to activate.
28798         Shortcut on deactivation and call the right function directly.
28799         (gst_pad_activate_pull): New API, (de)activates a pad in pull
28800         mode.
28801         (gst_pad_activate_push): New API, same for push mode.
28802         (gst_pad_set_activate_function) 
28803         (gst_pad_set_activatepull_function) 
28804         (gst_pad_set_activatepush_function): Setters for new API.
28805
28806         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28807         Trace all miniobjects.
28808         (gst_mini_object_make_writable): Unref the arg if we copy, like
28809         gst_caps_make_writable.
28810
28811         * gst/gstmessage.c (_gst_message_initialize): No trace init.
28812
28813         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
28814         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28815         Adapt for new pad API.
28816
28817         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28818
28819         * gst/gstelement.h:
28820         * gst/gstelement.c (gst_element_iterate_src_pads) 
28821         (gst_element_iterate_sink_pads): New API functions.
28822         
28823         * gst/gstelement.c (iterator_fold_with_resync): New utility,
28824         should fold into gstiterator.c in some form.
28825         (gst_element_pads_activate): Simplified via use of fold and
28826         delegation of decisions to gstpad->activate.
28827
28828         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28829         help in debugging.
28830
28831         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28832         class once in init, like gstmessage. Didn't run into this issue
28833         but it seems correct. Don't initialize a trace, gstminiobject does
28834         that.
28835
28836         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28837         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28838         to the bus.
28839         (assert_live_count): New util function, uses alloc traces to check
28840         cleanup.
28841
28842         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28843         To be modified when unlink drops the internal pad.
28844
28845 2005-06-27  Wim Taymans  <wim@fluendo.com>
28846
28847         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28848         (gst_bin_change_state):
28849         Cleanup the get_state() function a little, make sure it
28850         iterates the same set of elements.
28851         Added stub iterate_state_order().
28852
28853 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
28854
28855         * docs/gst/gstreamer-docs.sgml:
28856         * docs/gst/gstreamer-sections.txt:
28857         * docs/gst/gstreamer.types:
28858         * docs/gst/tmpl/gstbasesink.sgml:
28859         * docs/gst/tmpl/gstbasesrc.sgml:
28860         * docs/gst/tmpl/gstbasetransform.sgml:
28861         * docs/gst/tmpl/gstelement.sgml:
28862         * docs/gst/tmpl/gstiterator.sgml:
28863         * gst/base/gstbasesrc.c:
28864         * gst/base/gstbasesrc.h:
28865         * gst/base/gstbasetransform.h:
28866         * gst/gstelement.c:
28867         * gst/gstiterator.h:
28868           adding basetransform and iterator docs
28869
28870 2005-06-27  Andy Wingo  <wingo@pobox.com>
28871
28872         * docs/design/part-activation.txt: Notes on how activation should
28873         work -- not quite implemented yet.
28874
28875 2005-06-25  Wim Taymans  <wim@fluendo.com>
28876
28877         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28878         At least get the chain function correct, needs more
28879         fixing.
28880
28881 2005-06-25  Wim Taymans  <wim@fluendo.com>
28882
28883         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28884         (gst_basesink_handle_object), (gst_basesink_event),
28885         (gst_basesink_do_sync), (gst_basesink_handle_event),
28886         (gst_basesink_change_state):
28887         * gst/gsttask.h:
28888         Right, two problems here: ghostpads don't take locks and
28889         glib _rec_mutex_lock_full() with depth==0 still locks.
28890         Catch illegal locking and g_warn them.
28891
28892 2005-06-25  Wim Taymans  <wim@fluendo.com>
28893
28894         * check/states/sinks.c: (START_TEST), (gst_object_suite):
28895         Have to check for completion now...
28896
28897 2005-06-25  Wim Taymans  <wim@fluendo.com>
28898
28899         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28900         (gst_basesink_handle_object), (gst_basesink_event),
28901         (gst_basesink_do_sync), (gst_basesink_handle_event),
28902         (gst_basesink_change_state):
28903         * gst/gstpad.h:
28904         Unlock STREAM_LOCK whatever the recursion was.
28905
28906 2005-06-25  Wim Taymans  <wim@fluendo.com>
28907
28908         * gst/base/gstbasesink.c: (gst_basesink_set_property),
28909         (gst_basesink_preroll_queue_empty),
28910         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28911         (gst_basesink_event), (gst_basesink_do_sync),
28912         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28913         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28914         (gst_basesink_change_state):
28915         Reworked the base sink, handle event and buffer serialisation
28916         correctly and removed possible deadlock.
28917         Handle EOS correctly.
28918
28919 2005-06-25  Wim Taymans  <wim@fluendo.com>
28920
28921         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28922         (gst_pipeline_change_state):
28923         * tools/gst-launch.c: (check_intr), (event_loop), (main):
28924         Allow elements to post EOS in the state change function.
28925         Fix up -launch, make it exit the poll loop when the
28926         pipeline actually changed state.
28927         Fix up warning parsing in -launch.
28928
28929 2005-06-25  Wim Taymans  <wim@fluendo.com>
28930
28931         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28932         (gst_tee_sink_activate):
28933         Core takes STREAM_LOCK for us now.
28934
28935 2005-06-25  Wim Taymans  <wim@fluendo.com>
28936
28937         * gst/gstelement.c: (gst_element_get_state_func),
28938         (gst_element_set_state):
28939         * gst/gstelement.h:
28940         * gst/gstmessage.c: (gst_message_parse_error),
28941         (gst_message_parse_warning):
28942         Keep track of current target state while performing a state
28943         change so that subclasses can do something interesting.
28944         Fix parsing of warning/error messages when GError is NULL.
28945
28946 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
28947
28948         * docs/gst/Makefile.am:
28949         * docs/gst/gstreamer-docs.sgml:
28950         * docs/gst/gstreamer-sections.txt:
28951         * docs/gst/gstreamer.types:
28952         * docs/gst/tmpl/gstbasesink.sgml:
28953         * docs/gst/tmpl/gstbasesrc.sgml:
28954         * docs/gst/tmpl/gstbin.sgml:
28955         * docs/gst/tmpl/gstcompat.sgml:
28956         * docs/gst/tmpl/gstfakesink.sgml:
28957         * docs/gst/tmpl/gstfakesrc.sgml:
28958         * docs/gst/tmpl/gstfilesink.sgml:
28959         * docs/gst/tmpl/gstfilesrc.sgml:
28960         * docs/gst/tmpl/gstindex.sgml:
28961         * docs/manual/appendix-quotes.xml:
28962         * gst/base/gstbasesrc.h:
28963         * gst/elements/gstfakesrc.h:
28964         * gst/gstmessage.h:
28965           start pulling in base classes and elements in our docs
28966
28967 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
28968
28969         * docs/gst/Makefile.am:
28970         * docs/libs/Makefile.am:
28971           fixed make distcheck with gtk-doc 1.3
28972
28973 2005-06-23  Wim Taymans  <wim@fluendo.com>
28974
28975         * gst/gstelement.c: (gst_element_get_state_func),
28976         (gst_element_set_state), (gst_element_change_state):
28977         When the state did not change, also report NO_PREROLL
28978         when it matters.
28979
28980 2005-06-23  Wim Taymans  <wim@fluendo.com>
28981
28982         * gst/gstpad.c: (gst_pad_event_default):
28983         * gst/gstqueue.c: (gst_queue_loop):
28984         No unsafe task pausing please.
28985
28986 2005-06-23  Wim Taymans  <wim@fluendo.com>
28987
28988         * gst/schedulers/threadscheduler.c:
28989         (gst_thread_scheduler_task_start),
28990         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
28991         Ref the task before pushing it on the threadpool. This
28992         makes sure that we have a ref when the threadfunction is
28993         actually called.
28994
28995 2005-06-23  Andy Wingo  <wingo@pobox.com>
28996
28997         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
28998         offset is greater than the file's size.
28999
29000         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29001         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29002         * gst/gstobject.c (gst_object_class_init): Make the class lock
29003         recursive. Wim won't let me drop deep_notify. Decodebin works
29004         again, whoopdy doo.
29005
29006         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29007         internal pad, and hacks accordingly. Doesn't do it on the target
29008         pad because we change its caps. Probably catches all cases of
29009         interest tho.
29010         (gst_ghost_pad_set_property): Connect to notify::caps as
29011         appropritate.
29012
29013         * tests/network-clock.scm (plot-simulation): Pipe data to the
29014         elite python skript.
29015
29016         * tests/network-clock-utils.scm (define-parameter): New macro,
29017         defines a parameter that can be set via the command line.
29018         (set-parameter!, parse-parameter-arguments): Command line args
29019         parser.
29020
29021         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29022         stdin.
29023
29024 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29025
29026         * gst/elements/gsttypefindelement.c:
29027         (gst_type_find_element_handle_event):
29028           Don't restart typefinding on a discont.
29029         * gst/gstelement.c: (gst_element_set_state):
29030           Debug spelling fix.
29031         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29032           Allow changing mode of an active pad.
29033           Debug output fixes.
29034         * gst/registries/gstlibxmlregistry.c: (load_feature):
29035           Don't cast a static pad template to a normal pad template.
29036
29037 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29038
29039         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29040         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29041           remove gst_strtoll completely, since it didn't actually do
29042           anything more than what g_ascii_strtoull already does.
29043           check for range errors when deserializing
29044           do a cast for the unsigned cases; but further fixing needs
29045           a decision on what the interpretation of "(int)" and
29046           deserialization should be for values that fall outside the
29047           type's boundaries (ie, refuse, or interpret as casting)
29048
29049 2005-06-23  Wim Taymans  <wim@fluendo.com>
29050
29051         * check/Makefile.am:
29052         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29053         * docs/design/part-live-source.txt:
29054         * docs/design/part-states.txt:
29055         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29056         (gst_basesrc_set_live), (gst_basesrc_is_live),
29057         (gst_basesrc_get_range), (gst_basesrc_activate),
29058         (gst_basesrc_change_state):
29059         * gst/base/gstbasesrc.h:
29060         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29061         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29062         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29063         * gst/gstelement.c: (gst_element_get_state_func),
29064         (gst_element_set_state):
29065         * gst/gstelement.h:
29066         * gst/gsttypes.h:
29067         * tools/gst-launch.c: (event_loop), (main):
29068         Added support for live sources and other elements that
29069         cannot do preroll.
29070         Updated design docs, added live-source design doc.
29071         Implemented live source functionality in basesrc
29072         Fix error condition in _bin_get_state()
29073         Implement live source handling in -launch.
29074         Added check for live sources.
29075         Fixed case in GstBin where elements were changed state
29076         multiple times.
29077
29078
29079 2005-06-23  Andy Wingo  <wingo@pobox.com>
29080
29081         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29082         borken refcounting.
29083
29084         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29085         gst_caps_replace takes care of this for us.
29086
29087         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29088         gst_pad_set_caps on the target, not just its setcaps() function.
29089
29090         * tests/network-clock.scm: 
29091         * tests/network-clock-utils.scm: A network clock simulator.
29092         Something of an algorithmic testbed before doing something in C.
29093
29094 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29095
29096         * check/Makefile.am:
29097         * check/gst/capslist.h:
29098           copy over from 0.8, and add two with bitmasks specified with
29099           (int) 0xFF...
29100         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29101           add test to parse everything from capslist.h
29102         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29103         (main):
29104           add test for structure deserialization
29105         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29106           add tests for deserialization of strings to int types
29107         * gst/gststructure.c: (gst_structure_nth_field_name):
29108         * gst/gststructure.h:
29109           add a way to get the name of a field referenced by index
29110         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29111           instead of checking if the resulting long long lies between
29112           min and max, we check if the long long would fit into
29113           a number of bytes for the final type.
29114           This fixes cases where a string represents 2^32 - 1, which
29115           when cast to int would be the (valid) -1, but is bigger than
29116           G_MAXINT
29117
29118 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29119
29120         * gst/parse/grammar.y:
29121           add a log line for type deserialization
29122
29123 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29124
29125         * check/gst/gstvalue.c: (START_TEST):
29126         * gst/gstvalue.c: (gst_value_deserialize):
29127           return long long, not int, so gint64 deserialization actually
29128           works.  Is there any flag that makes the compiler check this ?
29129           Fixes #308559
29130
29131 2005-06-22  Wim Taymans  <wim@fluendo.com>
29132
29133         * gst/gstbuffer.h:
29134         Added convenience macros for setting buffers in GValue.
29135
29136 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29137
29138         * check/gst/.cvsignore:
29139         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29140           add a test deserializing int64, and comment part out because
29141           it fails, yay !
29142
29143 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29144
29145         * check/Makefile.am:
29146         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29147         * testsuite/Makefile.am:
29148         * testsuite/caps/Makefile.am:
29149         * testsuite/caps/value_serialize.c:
29150         * testsuite/test_gst_init.c:
29151           move a value_serialize test over
29152
29153 2005-06-20  Wim Taymans  <wim@fluendo.com>
29154
29155         * gst/gstpad.c:
29156         Small doc updates.
29157         
29158         * gst/gstvalue.c: (gst_value_compare_buffer),
29159         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29160         (gst_value_compare_flags), (gst_value_serialize_flags),
29161         (gst_value_deserialize_flags), (_gst_value_initialize):
29162         Fix serialisation of buffers, they are not boxed types anymore
29163
29164 2005-06-20  Wim Taymans  <wim@fluendo.com>
29165
29166         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29167         Testcase to show error in buffer-on-caps serialisation.
29168
29169 2005-06-20  Andy Wingo  <wingo@pobox.com>
29170
29171         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29172         will be adding to later.
29173
29174         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29175         if its socks fill with rocks.
29176         (gst_system_clock_obtain): Set the name on object construction.
29177         Avoid double-checked locking.
29178
29179 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29180
29181         * gst/gsturi.c: (gst_element_make_from_uri):
29182           Fix potential endless loop.
29183
29184 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29185
29186         * check/Makefile.am:
29187           add gsttag
29188         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29189         (main):
29190           move over from testsuite dir and clean up
29191         * configure.ac:
29192         * gst/gsttag.c:
29193         * testsuite/Makefile.am:
29194         * testsuite/tags/.cvsignore:
29195         * testsuite/tags/Makefile.am:
29196         * testsuite/tags/merge.c:
29197           remove testsuite/tags
29198
29199 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29200
29201         * docs/gst/gstreamer-sections.txt:
29202         * docs/gst/tmpl/gstenumtypes.sgml:
29203         * win32/gstenumtypes.c:
29204           clean up documentation build a little
29205
29206 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29207
29208         * check/gstcheck.h:
29209           add macros for checking refcounts on objects and caps
29210         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29211           add some more unit tests
29212         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29213         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29214           fix leaked refcounts (I hope :)) so unittest works
29215         * gst/gstpad.h:
29216           whitespace removal
29217
29218 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29219
29220         * configure.ac: back to HEAD
29221
29222 === release 0.9.1 ===
29223
29224 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29225
29226         * NEWS:
29227         * RELEASE:
29228           updated
29229
29230 2005-06-17  Andy Wingo  <wingo@pobox.com>
29231
29232         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29233         assert; it's always possible that the pad gets deactivated in
29234         between the checks in gstpad.c and the implementation. Rely on
29235         finish_preroll() to return a FLUSHING or similar instead of on the
29236         assert.
29237         
29238         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29239         clock and post an EOS message if we come out of finish_preroll in
29240         the playing state.
29241
29242 2005-06-16  David Schleef  <ds@schleef.org>
29243
29244         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29245         (gst_capsfilter_set_property): Allow NULL as possible value
29246         for filter_caps property, indicating GST_CAPS_ANY.
29247
29248 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29249
29250         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29251           fix debug output
29252         * gst/schedulers/Makefile.am:
29253           use libgst prefix
29254         * gstreamer.spec.in:
29255           fix spec for it
29256
29257 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29258
29259         * gstreamer.spec.in:
29260           clean up
29261
29262 2005-06-08  Andy Wingo  <wingo@pobox.com>
29263
29264         * gst/gstutils.c: RPAD fixes all around.
29265         (gst_element_link_pads): Refcounting fixes.
29266
29267         * tools/gst-inspect.c:
29268         * tools/gst-xmlinspect.c:
29269         * parse/grammar.y:
29270         * gst/base/gsttypefindhelper.c:
29271         * gst/base/gstbasesink.c:
29272         * gst/gstqueue.c: RPAD fixes.
29273
29274         * gst/gstghostpad.h:
29275         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29276         pads. The tricky thing is they provide both source and sink
29277         interfaces, since they proxy the internal pad for the external
29278         pad, and vice versa. Implement with lower-level ProxyPad objects,
29279         with the interior proxy pad as a child of the exterior ghost pad.
29280         Should write a doc on this.
29281         
29282         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29283         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29284         gst_object API.
29285         
29286         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29287         pads are real pads. No ghost pads in this file. Not documenting
29288         the myriad s/RPAD/PAD/ and REALIZE fixes.
29289         (gst_pad_class_init): Add properties for "direction" and
29290         "template". Both are construct-only, so they can't change during
29291         the life of the pad. Fixes properly deriving from GstPad.
29292         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29293         derived objects, just set properties when creating the objects via
29294         g_object_new.
29295         (gst_pad_get_parent): Implement as a function, return NULL if the
29296         parent is not an element.
29297         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29298         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29299         
29300         * gst/gstobject.c (gst_object_class_init): Make name a construct
29301         property. Don't set it in the object init.
29302
29303         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29304         with UNKNOWN direction.
29305         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29306         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29307         (gst_element_remove_pad): Remove ghost-pad special cases.
29308         (gst_element_pads_activate): Remove rpad cruft.
29309
29310         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29311         catch the pad's-parent-not-an-element case.
29312
29313         * gst/gst.h: Include gstghostpad.h.
29314
29315         * gst/gst.c (init_post): No more real, ghost pads.
29316
29317         * gst/Makefile.am: Add gstghostpad.[ch].
29318
29319         * check/Makefile.am:
29320         * check/gst/gstbin.c:
29321         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29322         into a bin creates ghost pads, and that the refcounts are right.
29323         Partly moved from gstbin.c.
29324
29325 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29326
29327         * check/gst-libs/.cvsignore:
29328         * check/gst/.cvsignore:
29329         * check/pipelines/.cvsignore:
29330           ignore more
29331         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29332         (START_TEST), (cleanup_suite), (main):
29333           add some tests related to cleanup after running pipelines
29334
29335 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29336
29337         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29338           add a testsuite for GstBuffer
29339
29340 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29341
29342         * gst/gstminiobject.h:
29343           add defines for accessing the refcount
29344
29345 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29346
29347         * Makefile.am: added support for html unit test coverage reports
29348
29349 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29350
29351         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29352           Free existing caps if the capsfilter changes. Add a FIXME about
29353           setting those caps on the pads.
29354
29355         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29356           Before adding a ghost pad to a parent bin, check that there isn't
29357           already one for the element on the bin. Prevents infinite recursion
29358           when using decodebin in parse pipelines. Andy says he'll rewrite the
29359           way this works anyway, so ignore the hack.
29360
29361 2005-06-02  Andy Wingo  <wingo@pobox.com>
29362
29363         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29364         file size, pass it on to the type find helper.
29365
29366         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29367         segment_start and segment_end properly according to the seek
29368         method. Segment_end is still a bit flaky because offset can be
29369         negative for CUR and END cases, but it takes -1 as an "unset"
29370         value.
29371
29372 2005-06-02  Wim Taymans  <wim@fluendo.com>
29373
29374         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29375         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29376         (gst_basesink_activate):
29377         * gst/base/gstbasesink.h:
29378         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29379         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29380         (gst_pad_query), (gst_pad_start_task):
29381         * gst/gstpad.h:
29382         * gst/gstqueue.c: (gst_queue_bufferalloc),
29383         (gst_queue_handle_sink_event), (gst_queue_chain):
29384         Bufferalloc: return GstFlowReturn to more accuratly report
29385         why allocation failed.
29386
29387 2005-06-02  Wim Taymans  <wim@fluendo.com>
29388
29389         * gst/gstpipeline.c: (gst_pipeline_send_event):
29390         Take snapshot of state without blocking.
29391
29392 2005-06-02  Wim Taymans  <wim@fluendo.com>
29393
29394         * docs/design/part-TODO.txt:
29395         * docs/design/part-caps.txt:
29396         * docs/design/part-clocks.txt:
29397         * docs/design/part-negotiation.txt:
29398         * docs/design/part-preroll.txt:
29399         Small doc updates 
29400
29401 2005-05-30  Wim Taymans  <wim@fluendo.com>
29402
29403         * gst/elements/gstidentity.c: (gst_identity_event),
29404         (gst_identity_transform), (gst_identity_get_property):
29405         Protect last_message property as it is accessed from
29406         multiple threads.
29407
29408 2005-05-30  Wim Taymans  <wim@fluendo.com>
29409
29410         * gst/gstelement.c: (gst_element_init),
29411         (gst_element_pads_activate), (gst_element_change_state):
29412         Slicker pad activation code.
29413
29414 2005-05-30  Wim Taymans  <wim@fluendo.com>
29415
29416         * gst/Makefile.am:
29417         * gst/gstelement.h:
29418         * gst/gstelementfactory.h:
29419         * gst/gsttypes.h:
29420         Move elementfactory methods to separate .h file.
29421
29422 2005-05-30  Wim Taymans  <wim@fluendo.com>
29423
29424         * docs/design/part-overview.txt:
29425         * gst/gstsystemclock.h:
29426         Small typo fixes, doc updates.
29427
29428 2005-05-30  Wim Taymans  <wim@fluendo.com>
29429
29430         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29431         (init_popt_callback):
29432         Remove cpu-opt flag.
29433
29434 2005-05-30  Wim Taymans  <wim@fluendo.com>
29435
29436         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29437         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29438         * gst/gstbuffer.h:
29439         Avoid typechecking in places where not needed.
29440         Added accessor for malloc_data.
29441
29442 2005-05-30  Wim Taymans  <wim@fluendo.com>
29443
29444         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29445         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29446         (gst_pad_configure_sink), (gst_pad_configure_src),
29447         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29448         (gst_pad_start_task):
29449         Propagate errors from _set_caps() in configure_src/sink
29450         functions instead of returning TRUE.
29451         FLUSH events can travel up and downstream
29452
29453
29454 2005-05-30  Wim Taymans  <wim@fluendo.com>
29455
29456         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29457         (gst_basesink_activate):
29458         Handle EOS in preroll.
29459
29460 2005-05-30  Wim Taymans  <wim@fluendo.com>
29461
29462         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29463         (gst_queue_loop), (gst_queue_handle_src_event):
29464         Remove old pieces of code
29465         Flushing the queue in an upstream event is a very bad idea.
29466
29467 2005-05-26  Andy Wingo  <wingo@pobox.com>
29468
29469         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29470         gst_value_set_mini_object so as to add a ref on the object (which
29471         will be removed when the value is unset).
29472
29473         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29474         arg type in ::handoff.
29475
29476         * gst/gstelement.c (gst_element_change_state): Also deactivate
29477         pads in READY->NULL, just in case the element didn't make it to
29478         PAUSED. Wingo tested, Wim approved.
29479
29480 2005-05-26  Wim Taymans  <wim@fluendo.com>
29481
29482         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29483         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29484         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29485         A flushing pad cannot be used to alloc_buffer from.
29486
29487 2005-05-26  Wim Taymans  <wim@fluendo.com>
29488
29489         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29490         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29491         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29492         (gst_bus_create_watch), (gst_bus_add_watch_full):
29493         * gst/gstbus.h:
29494         Implement a real GSource and use g_main_context_wakeup() to
29495         signal new messages instead of the socketpair.
29496
29497 2005-05-25  Wim Taymans  <wim@fluendo.com>
29498
29499         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29500         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29501         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29502         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29503         (gst_pad_send_event), (gst_pad_start_task):
29504         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29505         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29506         (gst_queue_sink_activate), (gst_queue_src_activate),
29507         (gst_queue_change_state):
29508         * gst/gstqueue.h:
29509         Fix state changes for non sinks. We now change sinks, then elements
29510         with unconnected srcpads, then the rest.
29511         More efficient queue unlocking in flush and state changes.
29512         Set the pad activate mode even if it does not have an activate
29513         function.
29514
29515 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29516
29517         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29518           Don't go in pull mode for non-seekable sources.
29519         * gst/elements/gsttypefindelement.h:
29520         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29521         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29522         (free_entry), (stop_typefinding),
29523         (gst_type_find_element_handle_event), (find_peek),
29524         (gst_type_find_element_chain), (do_pull_typefind),
29525         (gst_type_find_element_change_state):
29526           Allow typefinding (w/o seeking) in push-mode, simplified version
29527           of what was in 0.8.
29528         * gst/gstutils.c: (gst_buffer_join):
29529         * gst/gstutils.h:
29530           gst_buffer_join() from 0.8.
29531
29532 2005-05-25  Wim Taymans  <wim@fluendo.com>
29533
29534         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29535         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29536         (gst_pad_send_event), (gst_pad_start_task):
29537         Disable attempt at mode switching until it is figured out.
29538
29539 2005-05-25  Wim Taymans  <wim@fluendo.com>
29540
29541         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29542         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29543         (gst_basesink_finish_preroll), (gst_basesink_chain),
29544         (gst_basesink_loop), (gst_basesink_activate),
29545         (gst_basesink_change_state):
29546         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29547         (gst_basesrc_get_range), (gst_basesrc_loop),
29548         (gst_basesrc_activate):
29549         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29550         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29551         (gst_real_pad_init), (gst_real_pad_set_property),
29552         (gst_real_pad_get_property), (gst_pad_set_active),
29553         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29554         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29555         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29556         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29557         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29558         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29559         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29560         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29561         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29562         (gst_pad_stop_task):
29563         * gst/gstpad.h:
29564         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29565         (gst_queue_loop), (gst_queue_src_activate):
29566         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29567         (gst_task_get_state):
29568         * gst/gsttask.h:
29569         * gst/schedulers/threadscheduler.c:
29570         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29571         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29572         in task function.
29573         Remove ACTIVE pad flag, use FLUSHING everywhere
29574         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29575         functions.
29576         Add locks around IS_FLUSHING when reading.
29577         Take STREAM lock in chain(), get_range() functions so plugins
29578         don't need to take it anymore.
29579         
29580
29581
29582 2005-05-25  Wim Taymans  <wim@fluendo.com>
29583
29584         * tools/gst-launch.c: (event_loop):
29585         Unref message after using its contents instead of
29586         before.
29587
29588 2005-05-24  Wim Taymans  <wim@fluendo.com>
29589
29590         * docs/design/draft-ghostpads.txt:
29591         * docs/design/draft-push-pull.txt:
29592         * docs/design/draft-query.txt:
29593         * docs/design/part-overview.txt:
29594         Docs updates, added general overview doc.
29595
29596 2005-05-21  David Schleef  <ds@schleef.org>
29597
29598         * docs/gst/tmpl/old/GstBin.sgml:
29599         * docs/gst/tmpl/old/GstBuffer.sgml:
29600         * docs/gst/tmpl/old/GstCaps.sgml:
29601         * docs/gst/tmpl/old/GstClock.sgml:
29602         * docs/gst/tmpl/old/GstCompat.sgml:
29603         * docs/gst/tmpl/old/GstData.sgml:
29604         * docs/gst/tmpl/old/GstElement.sgml:
29605         * docs/gst/tmpl/old/GstEvent.sgml:
29606         * docs/gst/tmpl/old/GstIndex.sgml:
29607         * docs/gst/tmpl/old/GstStructure.sgml:
29608         * docs/gst/tmpl/old/GstTag.sgml:
29609         * docs/gst/tmpl/old/cothreads.sgml:
29610         * docs/gst/tmpl/old/cothreads_compat.sgml:
29611         * docs/gst/tmpl/old/gettext.sgml:
29612         * docs/gst/tmpl/old/gobject2gtk.sgml:
29613         * docs/gst/tmpl/old/grammar.tab.sgml:
29614         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29615         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29616         * docs/gst/tmpl/old/gst_private.sgml:
29617         * docs/gst/tmpl/old/gstaggregator.sgml:
29618         * docs/gst/tmpl/old/gstarch.sgml:
29619         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29620         * docs/gst/tmpl/old/gstbufferstore.sgml:
29621         * docs/gst/tmpl/old/gstdata_private.sgml:
29622         * docs/gst/tmpl/old/gstdisksink.sgml:
29623         * docs/gst/tmpl/old/gstdisksrc.sgml:
29624         * docs/gst/tmpl/old/gstelementfactory.sgml:
29625         * docs/gst/tmpl/old/gstextratypes.sgml:
29626         * docs/gst/tmpl/old/gstfakesink.sgml:
29627         * docs/gst/tmpl/old/gstfakesrc.sgml:
29628         * docs/gst/tmpl/old/gstfdsink.sgml:
29629         * docs/gst/tmpl/old/gstfdsrc.sgml:
29630         * docs/gst/tmpl/old/gstfilesink.sgml:
29631         * docs/gst/tmpl/old/gstfilesrc.sgml:
29632         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29633         * docs/gst/tmpl/old/gstidentity.sgml:
29634         * docs/gst/tmpl/old/gstindexfactory.sgml:
29635         * docs/gst/tmpl/old/gstmarshal.sgml:
29636         * docs/gst/tmpl/old/gstmd5sink.sgml:
29637         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29638         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29639         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29640         * docs/gst/tmpl/old/gstpipefilter.sgml:
29641         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29642         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29643         * docs/gst/tmpl/old/gstshaper.sgml:
29644         * docs/gst/tmpl/old/gstspider.sgml:
29645         * docs/gst/tmpl/old/gstspideridentity.sgml:
29646         * docs/gst/tmpl/old/gststatistics.sgml:
29647         * docs/gst/tmpl/old/gsttee.sgml:
29648         * docs/gst/tmpl/old/gsttimecache.sgml:
29649         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29650         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29651         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29652         * docs/gst/tmpl/old/types.sgml:
29653           I didn't intend to add these or check them in.
29654
29655 2005-05-19  David Schleef  <ds@schleef.org>
29656
29657         * configure.ac: Use -no-common everywhere.  In a sane world, it
29658           would be the default in libtool, because without it, you can't
29659           build DLLs on Windows.
29660         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29661         * docs/gst/gstreamer-sections.txt:
29662         * docs/gst/tmpl/gstcpu.sgml:
29663         * docs/gst/tmpl/gstdata.sgml:
29664         * docs/gst/tmpl/gstthread.sgml:
29665
29666 2005-05-19  David Schleef  <ds@schleef.org>
29667
29668         * gst/gstminiobject.c: (gst_value_set_mini_object),
29669         (gst_value_take_mini_object), (gst_value_get_mini_object):
29670         * gst/gstminiobject.h: Add GValue set/get functions.
29671
29672 2005-05-19  Wim Taymans  <wim@fluendo.com>
29673
29674         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29675         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29676         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29677         * gst/gstbuffer.h:
29678         * gst/gstbus.c: (gst_bus_post):
29679         * gst/gstelement.c: (gst_element_get_random_pad):
29680         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29681         Make subbufer unref the parent in finalize.
29682         some more debugging info.
29683
29684
29685 2005-05-19  Wim Taymans  <wim@fluendo.com>
29686
29687         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29688         (gst_basesink_init), (gst_basesink_finalize),
29689         (gst_basesink_activate), (gst_basesink_change_state):
29690         Don't free preroll queue too early.
29691
29692 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29693
29694         * gst/Makefile.am:
29695         * gst/ROADMAP:
29696           Hi, I'm outdated. Please shoot me.
29697
29698 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29699
29700         * gst/gstpipeline.c: (gst_pipeline_send_event):
29701           Do not access variables after they have been deleted.
29702
29703 2005-05-19  Wim Taymans  <wim@fluendo.com>
29704
29705         * tools/gst-inspect.c: (print_plugin_features):
29706         A plugin feature does unfortunatly not use the
29707         object name yet...
29708
29709 2005-05-18  Wim Taymans  <wim@fluendo.com>
29710
29711         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29712         Port _span() functions to new subbuffers.
29713
29714 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29715
29716         * gst/gstbin.c: (gst_bin_add_func):
29717           Fix clock settery in bins when adding kids after the clock has
29718           been selected.
29719
29720 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29721
29722         * gst/elements/gstidentity.c: (gst_identity_class_init):
29723           Workaround until signals support GstMiniObject.
29724
29725 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
29726
29727         * gst/gstbuffer.c:
29728         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29729
29730 2005-05-18  Wim Taymans  <wim@fluendo.com>
29731
29732         * gst/base/Makefile.am:
29733         * gst/base/gstadapter.c: (gst_adapter_base_init),
29734         (gst_adapter_class_init), (gst_adapter_init),
29735         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29736         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29737         (gst_adapter_flush), (gst_adapter_available),
29738         (gst_adapter_available_fast):
29739         * gst/base/gstadapter.h:
29740         Ported and added adapter to the base classes.
29741
29742 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29743
29744         * gst/gst.c:
29745         * gst/gstmessage.c:
29746           Make sure the class is reffed/unreffed once before threads can be
29747           used.  Fixes #304551.
29748
29749 2005-05-17  Wim Taymans  <wim@fluendo.com>
29750
29751         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29752         (gst_basesink_chain_unlocked), (gst_basesink_activate):
29753         * gst/gstminiobject.c: (gst_mini_object_get_type),
29754         (gst_mini_object_free):
29755         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29756         (gst_pad_push), (gst_pad_push_event):
29757         * gst/gstqueue.c: (gst_queue_change_state):
29758         Don't queue buffers in basesink when we are flushing.
29759         Unref buffer when flushing in basesink.
29760         Flush queue when going to READY
29761         Unref buffer when _push() returns an error.
29762         Don't free MiniObject instance when refcount is incremented
29763         in _finalize() so that we can recover objects.
29764
29765 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29766
29767         * docs/manual/advanced-schedulers.xml:
29768         * docs/manual/appendix-checklist.xml:
29769         * docs/pwg/advanced-clock.xml:
29770         * docs/pwg/advanced-interfaces.xml:
29771         * docs/pwg/advanced-request.xml:
29772         * docs/pwg/advanced-types.xml:
29773         * docs/pwg/intro-preface.xml:
29774         * examples/plugins/example.c: (gst_example_get_type),
29775         (gst_example_class_init), (gst_example_chain),
29776         (gst_example_set_property), (gst_example_get_property),
29777         (gst_example_change_state), (plugin_init):
29778         * examples/plugins/example.h:
29779           small doc fixes
29780
29781 2005-05-17  Wim Taymans  <wim@fluendo.com>
29782
29783         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29784         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29785         * gst/gstqueue.c: (gst_queue_change_state):
29786         Clear queue when going to READY.
29787         Remove IN_SETCAPS flag too.
29788
29789 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
29790
29791         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29792           Remove implicit cast from gboolean to GstElementStateReturn;
29793           make sure we still return failure in paused => ready case if
29794           the parent class fails to change state and our own stop 
29795           vfunc succeeds.
29796
29797 2005-05-17  Wim Taymans  <wim@fluendo.com>
29798
29799         * tools/gst-launch.c: (event_loop):
29800         Message was unreffed too soon.
29801
29802 2005-05-16  Andy Wingo  <wingo@pobox.com>
29803
29804         * gst/gstbin.c (sink_iterator_filter): Err... um...
29805
29806         * check/gst/gstbin.c (test_ghost_pads): New test for the
29807         ghosting-if-elements-not-in-same-bin behavior.
29808
29809 2005-05-16  David Schleef  <ds@schleef.org>
29810
29811         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29812         accessing refcount directly.
29813
29814 2005-05-15  David Schleef  <ds@schleef.org>
29815
29816         * check/Makefile.am: remove GstData checks
29817         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29818         * gst/Makefile.am: add miniobject, remove data
29819         * gst/gst.h: add miniobject, remove data
29820         * gst/gstdata.c: remove
29821         * gst/gstdata.h: remove
29822         * gst/gstdata_private.h: remove
29823         * gst/gsttypes.h: remove GstEvent and GstMessage
29824         * gst/gstelement.c: (gst_element_post_message): fix for API changes
29825         * gst/gstmarshal.list: change BOXED -> OBJECT
29826
29827         Implement GstMiniObject.
29828         * gst/gstminiobject.c:
29829         * gst/gstminiobject.h:
29830
29831         Modify to be subclasses of GstMiniObject.
29832         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29833         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29834         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29835         (gst_subbuffer_get_type), (gst_subbuffer_init),
29836         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29837         (gst_buffer_span):
29838         * gst/gstbuffer.h:
29839         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29840         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29841         (_gst_event_copy), (gst_event_new):
29842         * gst/gstevent.h:
29843         * gst/gstmessage.c: (_gst_message_initialize),
29844         (gst_message_get_type), (gst_message_class_init),
29845         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29846         (gst_message_new), (gst_message_new_error),
29847         (gst_message_new_warning), (gst_message_new_tag),
29848         (gst_message_new_state_changed), (gst_message_new_application):
29849         * gst/gstmessage.h:
29850         * gst/gstprobe.c: (gst_probe_perform),
29851         (gst_probe_dispatcher_dispatch):
29852         * gst/gstprobe.h:
29853         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29854         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29855         (_gst_query_copy), (gst_query_new):
29856
29857         Update elements for GstData -> GstMiniObject changes
29858         * gst/gstquery.h:
29859         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29860         (gst_queue_chain), (gst_queue_loop):
29861         * gst/elements/gstbufferstore.c:
29862         (gst_buffer_store_add_buffer_func),
29863         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29864         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29865         (gst_fakesink_render):
29866         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29867         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29868         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29869         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29870         (gst_filesrc_create_read):
29871         * gst/elements/gstidentity.c: (gst_identity_class_init):
29872         * gst/elements/gsttypefindelement.c:
29873         (gst_type_find_element_src_event), (free_entry_buffers),
29874         (gst_type_find_element_handle_event):
29875         * libs/gst/dataprotocol/dataprotocol.c:
29876         (gst_dp_header_from_buffer):
29877         * libs/gst/dataprotocol/dataprotocol.h:
29878         * libs/gst/dataprotocol/dp-private.h:
29879
29880 2005-05-15  David Schleef  <ds@schleef.org>
29881
29882         * gst/elements/gstelements.c: Don't include headers that were
29883         just removed.
29884
29885 2005-05-15  David Schleef  <ds@schleef.org>
29886
29887         * gst/elements/Makefile.am: Remove some elements that don't
29888         need to be in the core (or even exist at all).
29889         * gst/elements/gstaggregator.c:
29890         * gst/elements/gstaggregator.h:
29891         * gst/elements/gstmd5sink.c:
29892         * gst/elements/gstmd5sink.h:
29893         * gst/elements/gstmultifilesrc.c:
29894         * gst/elements/gstmultifilesrc.h:
29895         * gst/elements/gstpipefilter.c:
29896         * gst/elements/gstpipefilter.h:
29897         * gst/elements/gstshaper.c:
29898         * gst/elements/gstshaper.h:
29899         * gst/elements/gststatistics.c:
29900         * gst/elements/gststatistics.h:
29901         * po/POTFILES.in: Remove above files.
29902
29903 2005-05-14  Andy Wingo  <wingo@pobox.com>
29904
29905         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29906         so as to get the refs right.
29907         (sink_iterator_filter): New function, wraps bin_element_is_sink,
29908         unreffing objects that don't pass the filter.
29909
29910         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29911         gst_element_set_bus.
29912         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29913         normal cases, this will destroy the bus.
29914
29915         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29916         object.
29917
29918         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29919         has no sinks.
29920
29921 2005-05-13  Andy Wingo  <wingo@pobox.com>
29922
29923         * gst/gstutils.c (gst_element_link_pads): Instead of calling
29924         gst_pad_link, call pad_link_maybe_ghosting,
29925         (pad_link_maybe_ghosting): Links pads, making sure that the
29926         elements being linked are in the same bin.
29927         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29928         Helpers for pad_link_maybe_ghosting.
29929
29930 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
29931
29932         * configure.ac:
29933           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
29934
29935 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
29936
29937         * docs/design/part-element-source.txt:
29938           Mention GstPushSrc
29939
29940 2005-05-12  Wim Taymans  <wim@fluendo.com>
29941
29942         * gst/base/gstbasesink.c: (gst_basesink_init),
29943         (gst_basesink_activate):
29944         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
29945         (gst_basesrc_is_seekable):
29946         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
29947         (bin_element_is_sink), (gst_bin_change_state):
29948         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29949         * gst/gstelement.h:
29950         Identify sinks by their flag to avoid overly complicated
29951         checks (fow now).
29952         Do state changes even for elements not reachable from the
29953         sinks.
29954         BaseSink is a sink now :)
29955         Some more debugging info in the basesrc.
29956
29957
29958 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29959
29960         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
29961           Implement _query on a bin, similar to _send_event.
29962
29963 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
29964
29965         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
29966           Discont event offset format should be GST_FORMAT_BYTES,
29967           not GST_FORMAT_TIME.
29968
29969 2005-05-12  Wim Taymans  <wim@fluendo.com>
29970
29971         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
29972         Same fix as Ronald's but without the signal. 
29973
29974 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29975
29976         * gst/gstutils.c: (gst_element_query_position):
29977           No, an element is not a pad.
29978
29979 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29980
29981         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
29982         (gst_bin_get_state):
29983           If a child is removed from a bin while we remove the child from
29984           the bin and while we're retrieving its state, signal this to the
29985           get_state function so we abort the wait (instead of waiting for
29986           a timeout) and can immediately re-iterate over all other elements.
29987
29988 2005-05-12  Wim Taymans  <wim@fluendo.com>
29989
29990         * gst/base/Makefile.am:
29991         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
29992         (gst_basesrc_start):
29993         * gst/base/gstbasesrc.h:
29994         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
29995         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
29996         (gst_pushsrc_init), (gst_pushsrc_create):
29997         * gst/base/gstpushsrc.h:
29998         Added is_seekable to BaseSrc
29999         Added simple PushSrc.
30000
30001 2005-05-11  Wim Taymans  <wim@fluendo.com>
30002
30003         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30004         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30005         (gst_element_link_pads), (gst_element_query_position),
30006         (gst_element_query_convert), (intersect_caps_func),
30007         (gst_pad_query_position), (gst_pad_query_convert):
30008         Fix refcounting in utils function.
30009         No point in trying to activate a pad when it's added, it could
30010         be added from the state change function and then we deadlock, the
30011         element has to decide what to do.
30012
30013 2005-05-10  Andy Wingo  <wingo@pobox.com>
30014
30015         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30016         *all* the arguments.
30017
30018         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30019         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30020         lock (according to the docs -- if this is wrong change the docs).
30021
30022         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30023         flush messages in the NULL state.
30024
30025         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30026         message immediately and return.
30027         (gst_bus_set_flushing): New function. If a bus is flushing, it
30028         flushes out any queued messages and immediately unrefs new
30029         messages. This is so when an element goes to NULL, all of the
30030         unhandled messages coming from it can be freed, and their
30031         references to the element dropped. In other words: message source
30032         ref considered harmful :P
30033
30034         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30035         we're finished with it.
30036
30037         * gst/gstmessage.c (gst_message_new_state_changed): 
30038
30039 2005-05-10  Wim Taymans  <wim@fluendo.com>
30040
30041         * gst/gstvalue.c: (gst_value_compare_flags),
30042         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30043         (_gst_value_initialize):
30044         Added flags serialize/deserialize/compare code.
30045
30046 2005-05-09  Andy Wingo  <wingo@pobox.com>
30047
30048         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30049         Intersect the peer's caps with our caps.
30050
30051 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30052
30053         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30054         * gst/elements/gsttypefindelement.c: (find_peek):
30055           Handle negative offsets better. Fixes decodebin.
30056
30057 2005-05-09  Wim Taymans  <wim@fluendo.com>
30058
30059         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30060         (gst_base_transform_event):
30061         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30062         Implement accept_caps.
30063         Fix silly lock/unlock mismatch in base class.
30064
30065 2005-05-09  Wim Taymans  <wim@fluendo.com>
30066
30067         * docs/design/draft-push-pull.txt:
30068         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30069         * gst/elements/gstfilesink.c: (gst_filesink_init),
30070         (gst_filesink_query):
30071         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30072         (gst_type_find_handle_src_query), (find_element_get_length):
30073         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30074         * gst/gstelement.h:
30075         * gst/gstmessage.c:
30076         * gst/gstmessage.h:
30077         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30078         (gst_real_pad_get_caps_unlocked),
30079         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30080         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30081         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30082         (gst_real_pad_dispose), (gst_real_pad_finalize),
30083         (gst_pad_load_and_link), (gst_pad_save_thyself),
30084         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30085         (gst_pad_check_pull_range), (gst_pad_pull_range),
30086         (gst_pad_template_get_type), (gst_pad_template_class_init),
30087         (gst_pad_template_init), (gst_pad_template_dispose),
30088         (name_is_valid), (gst_static_pad_template_get),
30089         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30090         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30091         (gst_pad_get_element_private), (gst_pad_start_task),
30092         (gst_pad_pause_task), (gst_pad_stop_task),
30093         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30094         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30095         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30096         (gst_ghost_pad_new):
30097         * gst/gstpad.h:
30098         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30099         (gst_query_new_position), (gst_query_set_position),
30100         (gst_query_parse_position), (gst_query_new_convert),
30101         (gst_query_set_convert), (gst_query_parse_convert):
30102         * gst/gstquery.h:
30103         * gst/gstqueryutils.c:
30104         * gst/gstqueryutils.h:
30105         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30106         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30107         (gst_queue_handle_src_query):
30108         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30109         (gst_element_query_position), (gst_element_query_convert),
30110         (intersect_caps_func), (gst_pad_query_position),
30111         (gst_pad_query_convert):
30112         * gst/gstutils.h:
30113         * tools/gst-inspect.c: (print_pad_info):
30114         * tools/gst-xmlinspect.c: (print_element_info):
30115         Remove old query functions. Ported old code.
30116         Added position/convert helper functions to gstutils.
30117         Reordered gstpad.c code, grouping relevant things.
30118         Remove gst_message_new(), always need to speficy a specific
30119         message.
30120
30121
30122 2005-05-09  Andy Wingo  <wingo@pobox.com>
30123
30124         * gst/gstiterator.h: Add some includes.
30125
30126         * gst/gstqueryutils.h: Include more headers.
30127
30128         * gst/gstpad.h:
30129         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30130         some uses of gst_pad_query.
30131
30132         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30133         NULL out parameters.
30134         (gst_query_new_position): New proc, allocates a new position
30135         query.
30136
30137         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30138         gstqueryutils.c to the build.
30139
30140         * gst/gststructure.c (gst_structure_set_valist): Implement with
30141         the generic G_VALUE_COLLECT.
30142         
30143 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30144
30145         * gst/Makefile.am: (gst_headers):
30146         Added gstqueryutils.h to the list of headers to install, that was
30147         a 'nachty' move wingo :)
30148
30149 2005-05-06  Andy Wingo  <wingo@pobox.com>
30150
30151         * gst/gstquery.h
30152         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30153         GstData, init a memchunk.
30154         (standard_definitions): Add a few query types, deprecate a few.
30155         (gst_query_get_type): New proc.
30156         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30157         implementation.
30158         (gst_query_new_application, gst_query_get_structure): New public
30159         procs.
30160
30161         * docs/design/draft-query.txt: Removed LINKS from the query types,
30162         because all the rest can be dispatched to other pads -- seemed
30163         ugly to have a query that couldn't be dispatched. internal_links
30164         is fine as a pad method.
30165
30166         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30167         in gstpad.c, but maintain binary compatibility for the moment.
30168         Will fix before 0.9 is out.
30169
30170         * gst/gstqueryutils.c: 
30171         * gst/gstqueryutils.h: New files, implement 3 methods for each
30172         query type: parse_query, parse_response, and set. Probably need an
30173         allocator as well.
30174
30175         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30176
30177         * gst/elements/gstfilesink.c (gst_filesink_query2):
30178         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30179         query_types, and formats methods.
30180
30181         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30182         (gst_pad_set_query2_function): New functions.
30183         (gst_real_pad_init): Set query2_default as the default query2
30184         function. Basically just dispatches to internally linked pads.
30185
30186         Needs review!
30187         
30188         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30189         without using the atomic operations. Only one thread can possibly
30190         be accessing the data at this point. Changed so as to avoid
30191         gst_atomic operations.
30192
30193 2005-05-06  Wim Taymans  <wim@fluendo.com>
30194
30195         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30196         Also set caps if we use the fallback buffer alloc.
30197
30198 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30199
30200         * docs/gst/Makefile.am:
30201         * docs/gst/gstreamer-docs.sgml:
30202         * docs/gst/gstreamer-sections.txt:
30203         * docs/gst/tmpl/gstatomic.sgml:
30204         * docs/gst/tmpl/gstmemchunk.sgml:
30205         * testsuite/elements/struct_i386.h:
30206         * win32/GStreamer.vcproj:
30207         * win32/Makefile:
30208           Purge GstAtomic stuff from docs and win32 makefiles as well
30209
30210 2005-05-06  Wim Taymans  <wim@fluendo.com>
30211
30212         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30213         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30214         * gst/gstpad.c: (gst_pad_peer_get_caps):
30215         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30216         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30217         (gst_queue_src_activate), (gst_queue_change_state):
30218         * gst/gstqueue.h:
30219         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30220         (intersect_caps_func):
30221         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30222         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30223         Some fixes for the peer_get_caps() change.
30224
30225 2005-05-06  Wim Taymans  <wim@fluendo.com>
30226
30227         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30228         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30229         (gst_basesink_activate):
30230         Actually do something with error codes returned from the push
30231         functions.
30232
30233 2005-05-06  Wim Taymans  <wim@fluendo.com>
30234
30235         * docs/design/part-element-sink.txt:
30236         * docs/design/part-element-source.txt:
30237         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30238         (gst_basesink_event), (gst_basesink_activate):
30239         * gst/base/gstbasesink.h:
30240         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30241         (gst_basesrc_activate):
30242         * gst/base/gstbasesrc.h:
30243         * gst/gstelement.c: (gst_element_pads_activate):
30244         Some more documentation.
30245         Fixed scheduling decision in _pads_activate().
30246
30247 2005-05-05  Andy Wingo  <wingo@pobox.com>
30248
30249         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30250         the test suite.
30251
30252 2005-05-05  Wim Taymans  <wim@fluendo.com>
30253
30254         * gst/base/Makefile.am:
30255         * gst/base/gstbasesink.h:
30256         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30257         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30258         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30259         (gst_collectpads_class_init), (gst_collectpads_init),
30260         (gst_collectpads_finalize), (gst_collectpads_new),
30261         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30262         (find_pad), (gst_collectpads_remove_pad),
30263         (gst_collectpads_is_active), (gst_collectpads_collect),
30264         (gst_collectpads_collect_range), (gst_collectpads_start),
30265         (gst_collectpads_stop), (gst_collectpads_peek),
30266         (gst_collectpads_pop), (gst_collectpads_available),
30267         (gst_collectpads_read), (gst_collectpads_flush),
30268         (gst_collectpads_chain):
30269         * gst/base/gstcollectpads.h:
30270         * gst/elements/Makefile.am:
30271         * gst/elements/gstelements.c:
30272         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30273         (gst_fakesink_get_times), (gst_fakesink_event),
30274         (gst_fakesink_preroll), (gst_fakesink_render):
30275         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30276         (gst_filesink_init), (gst_filesink_set_location),
30277         (gst_filesink_open_file), (gst_filesink_close_file),
30278         (gst_filesink_pad_query), (gst_filesink_event),
30279         (gst_filesink_render), (gst_filesink_change_state):
30280         * gst/elements/gstfilesink.h:
30281         Added object to help in making collect pad based elements.
30282         Ported filesink.
30283         Make event function in sink baseclass return gboolean.
30284
30285 2005-05-05  Wim Taymans  <wim@fluendo.com>
30286
30287         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30288         (gst_bin_get_by_name):
30289         * gst/gstbuffer.h:
30290         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30291         (gst_clock_finalize):
30292         * gst/gstdata.c: (gst_data_replace):
30293         * gst/gstdata.h:
30294         * gst/gstelement.c: (gst_element_request_pad),
30295         (gst_element_pads_activate):
30296         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30297         (gst_object_unref):
30298         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30299         (gst_pad_set_checkgetrange_function),
30300         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30301         (gst_pad_check_pull_range), (gst_pad_pull_range),
30302         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30303         (gst_pad_pause_task), (gst_pad_stop_task):
30304         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30305         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30306         Fix name lookup in GstBin.
30307         Added _data_replace() function and _buffer_replace()
30308         Use finalize method to clean up clock.
30309         Fix refcounting on request pads.
30310         Fix pad schedule mode error.
30311         Some more object refcounting debug info,
30312
30313
30314 2005-05-04  Andy Wingo <wingo@pobox.com>
30315
30316         * check/Makefile.am:
30317         * docs/gst/tmpl/gstatomic.sgml:
30318         * docs/gst/tmpl/gstplugin.sgml:
30319         * gst/base/gstbasesink.c: (gst_basesink_activate):
30320         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30321         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30322         (gst_basesrc_query), (gst_basesrc_set_property),
30323         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30324         (gst_basesrc_activate):
30325         * gst/base/gstbasesrc.h:
30326         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30327         (gst_base_transform_src_activate):
30328         * gst/elements/gstelements.c:
30329         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30330         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30331         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30332         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30333         (gst_type_find_element_checkgetrange),
30334         (gst_type_find_element_activate):
30335         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30336         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30337         (gst_caps_load_thyself):
30338         * gst/gstelement.c: (gst_element_pads_activate),
30339         (gst_element_save_thyself), (gst_element_restore_thyself):
30340         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30341         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30342         * gst/gstpad.h:
30343         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30344         (gst_xml_parse_file), (gst_xml_parse_memory),
30345         (gst_xml_get_element), (gst_xml_make_element):
30346         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30347         (_file_index_id_save_xml), (gst_file_index_commit):
30348         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30349         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30350         (load_paths):
30351         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30352         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30353         * tools/gst-complete.c: (main):
30354         * tools/gst-compprep.c: (main):
30355         * tools/gst-inspect.c: (print_element_properties_info):
30356         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30357         * tools/gst-xmlinspect.c: (print_element_properties):
30358         GCC 4 fixen.
30359         
30360 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30361
30362         * gst/gstplugin.c: (gst_plugin_check_module),
30363         (gst_plugin_check_file), (gst_plugin_load_file):
30364             apply patch from #172526 to make register work on MacOSX
30365
30366 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30367
30368         * docs/gst/tmpl/gstconfig.sgml:
30369         * gst/gstconfig.h.in:
30370           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30371         * testsuite/debug/printf_extension.c: (main):
30372           Do not use GST_PTR_FORMAT on pointers to types with
30373           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30374         * testsuite/elements/property.h:
30375           use correct printf format
30376
30377 2005-05-02  Wim Taymans  <wim@fluendo.com>
30378
30379         * docs/design/draft-push-pull.txt:
30380         * docs/design/draft-query.txt:
30381         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30382         (gst_basesrc_start):
30383         Added draft for new query API.
30384         Added draft for better selecting scheduling methods.
30385         Make basesrc ignore length if the subclass does not support
30386         it.
30387
30388 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30389
30390         * gst/Makefile.am:
30391           possible fixes for automake-1.5 - _LIBADD is reserved
30392
30393 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30394
30395         * docs/faq/Makefile.am:
30396         * docs/manual/Makefile.am:
30397         * docs/manuals.mak:
30398         * docs/pwg/Makefile.am:
30399         * gst/Makefile.am:
30400           possible fixes for automake-1.5
30401
30402 2005-04-28  Wim Taymans  <wim@fluendo.com>
30403
30404         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30405         (gst_basesink_pad_getcaps), (gst_basesink_init),
30406         (gst_basesink_do_sync):
30407         * gst/gstclock.c: (gst_clock_entry_new):
30408         * gst/gstevent.c: (gst_event_discont_get_value):
30409         * gst/gstpipeline.c: (pipeline_bus_handler),
30410         (gst_pipeline_change_state):
30411         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30412         Better debugging of clocking info.
30413         Allow NULL values when getting discont values.
30414
30415 2005-04-27  Wim Taymans  <wim@fluendo.com>
30416
30417         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30418         * check/gst/gstpad.c: (gst_pad_suite):
30419         Increase timeout for checks.
30420
30421 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30422
30423         * check/Makefile.am:
30424           fix the broken rule for cleanup.  Apparently this rule is
30425           only needed on FC2, so maybe this warrants further autotool
30426           inspection.
30427
30428 2005-04-26  Wim Taymans  <wim@fluendo.com>
30429
30430         * gst/gsttrashstack.h:
30431         Ooohh. a nasty one! After having a failed pop() from the stack,
30432         it's possible that the stack is empty. In that case, don't
30433         follow the NULL pointer.
30434
30435 2005-04-25  Wim Taymans  <wim@fluendo.com>
30436
30437         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30438         (gst_pad_set_checkgetrange_function),
30439         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30440         (gst_pad_check_pull_range), (gst_pad_pull_range),
30441         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30442         (gst_pad_pause_task), (gst_pad_stop_task):
30443         * gst/gstplugin.c: (gst_plugin_load):
30444         * gst/gstplugin.h:
30445         Remove gst_library_load as it does more harm than good with
30446         the new g_module flags.
30447         Revert bogus caps template check in pad linking, pad caps
30448         are important when linking not the template, which is more
30449         general than the current caps.
30450
30451 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30452
30453         * gst/autoplug/.cvsignore:
30454         * gst/autoplug/Makefile.am:
30455         * gst/autoplug/gstsearchfuncs.c:
30456         * gst/autoplug/gstsearchfuncs.h:
30457         * gst/autoplug/gstspider.c:
30458         * gst/autoplug/gstspider.h:
30459         * gst/autoplug/gstspideridentity.c:
30460         * gst/autoplug/gstspideridentity.h:
30461         * gst/autoplug/spidertest.c:
30462           Die, spider, die.
30463
30464 2005-04-25  Wim Taymans  <wim@fluendo.com>
30465
30466         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30467         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30468         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30469         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30470         * gst/gstpad.h:
30471         Added stubs for unimplemented functions. 
30472
30473 2005-04-24  David Schleef  <ds@schleef.org>
30474
30475         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30476         please fix.
30477
30478 2005-04-24  David Schleef  <ds@schleef.org>
30479
30480         Convert everything from GstAtomicInt to g_atomic_int_*, and
30481         remove gstatomic.
30482         * gst/Makefile.am:
30483         * gst/gstatomic.c:
30484         * gst/gstatomic.h:
30485         * gst/gstatomic_impl.h:
30486         * gst/gstbuffer.c:
30487         * gst/gstcaps.c:
30488         * gst/gstcaps.h:
30489         * gst/gstclock.c:
30490         * gst/gstclock.h:
30491         * gst/gstdata.c:
30492         * gst/gstdata.h:
30493         * gst/gstdata_private.h:
30494         * gst/gstevent.c:
30495         * gst/gstinfo.c:
30496         * gst/gstinfo.h:
30497         * gst/gstmessage.c:
30498         * gst/gstobject.c:
30499         * gst/gstobject.h:
30500         * gst/gststructure.c:
30501         * gst/gststructure.h:
30502         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30503         * gst/gstutils.h:
30504
30505 2005-04-24  David Schleef  <ds@schleef.org>
30506
30507         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30508         make the regressions tests work.  Remove some code that is no
30509         longer true.
30510         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30511         Disable warning for pads without templates.
30512
30513 2005-04-24  David Schleef  <ds@schleef.org>
30514
30515         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30516         functions that handle filtered links.
30517         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30518         removed functions.
30519         * gst/gstutils.c: Fix/remove utility functions that handle
30520         filtered caps.
30521         * gst/gstutils.h:
30522         * gst/gstvalue.c: Add serialization/deserialization of caps
30523         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30524         requires fixing so that the filter caps notation creates
30525         a capsfilter element and sets the filter_caps property.  I
30526         think everyone probably wants to keep the shorthand notation.
30527         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30528         * docs/gst/tmpl/gstpad.sgml:
30529
30530         * gst/elements/gstelements.c: Register capsfilter element.
30531         * gst/Makefile.am: fix spacing
30532         * docs/random/ds/0.9-suggested-changes: random
30533
30534 2005-04-23  David Schleef  <ds@schleef.org>
30535
30536         * gst/elements/Makefile.am:
30537         * gst/elements/gstcapsfilter.c: New element that acts like an
30538         identity, but filters caps.  Will eventually replace filtered
30539         caps in pad linking.
30540         * gst/gstutils.c: (gst_element_create_all_pads): New function
30541         to create all the ALWAYS pads that are registered with an
30542         element class.  This functionality should eventually be
30543         merged in with GstElement initialization.
30544         * gst/gstutils.h:
30545         * testsuite/trigger/README: part of trigger test code that should
30546         have been checked in a long time ago.
30547
30548 2005-04-23  David Schleef  <ds@schleef.org>
30549
30550         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30551         needed with new versions of libtool (nobody will confirm this),
30552         and hard to carry around.
30553         * gst/autoplug/Makefile.am:
30554         * gst/base/Makefile.am:
30555         * gst/elements/Makefile.am:
30556         * gst/indexers/Makefile.am:
30557         * gst/schedulers/Makefile.am:
30558         * libs/gst/bytestream/Makefile.am:
30559         * libs/gst/control/Makefile.am:
30560         * libs/gst/dataprotocol/Makefile.am:
30561         * libs/gst/getbits/Makefile.am:
30562
30563 2005-04-21  Wim Taymans  <wim@fluendo.com>
30564
30565         * docs/design/draft-push-pull.txt:
30566         * docs/design/part-MT-refcounting.txt:
30567         * docs/design/part-TODO.txt:
30568         * docs/design/part-caps.txt:
30569         * docs/design/part-events.txt:
30570         * docs/design/part-gstbus.txt:
30571         * docs/design/part-gstpipeline.txt:
30572         * docs/design/part-messages.txt:
30573         * docs/design/part-push-pull.txt:
30574         * docs/design/part-query.txt:
30575         Some more docs.
30576
30577 2005-04-21  Wim Taymans  <wim@fluendo.com>
30578
30579         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30580         (gst_message_new), (gst_message_new_error),
30581         (gst_message_new_warning), (gst_message_new_tag),
30582         (gst_message_new_state_changed), (gst_message_new_application),
30583         (gst_message_get_structure):
30584         * gst/gstmessage.h:
30585         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30586         (gst_structure_copy_conditional):
30587         Use parent refcount in GstMessage to ensure GstStructure
30588         consistency.
30589         Cleaned up headers a bit.
30590         
30591
30592 2005-04-20  Wim Taymans  <wim@fluendo.com>
30593
30594         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30595         (gst_basesink_pad_getcaps), (gst_basesink_init),
30596         (gst_basesink_chain_unlocked):
30597         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30598         (gst_type_find_helper):
30599         * gst/elements/gsttypefindelement.c:
30600         (gst_type_find_element_have_type), (gst_type_find_element_init),
30601         (stop_typefinding), (gst_type_find_element_handle_event),
30602         (find_suggest), (gst_type_find_element_chain),
30603         (gst_type_find_element_checkgetrange),
30604         (gst_type_find_element_getrange), (do_typefind),
30605         (gst_type_find_element_activate):
30606         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30607         (gst_buffer_default_free), (gst_buffer_default_copy),
30608         (gst_buffer_set_caps):
30609         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30610         (gst_caps_replace):
30611         * gst/gstmessage.c: (gst_message_new),
30612         (gst_message_new_state_changed):
30613         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30614         (gst_pad_set_checkgetrange_function),
30615         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30616         (gst_pad_set_caps), (gst_pad_check_pull_range),
30617         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30618         * gst/gstpad.h:
30619         * gst/gsttypefind.c: (gst_type_find_register):
30620         Make gst_caps_replace() work like other _replace() functions.
30621         Use _caps_replace() where possible.
30622         Make sure _message_new() initialises its field.
30623         Add gst_static_pad_template_get_caps()
30624
30625
30626 2005-04-18  Andy Wingo  <wingo@pobox.com>
30627
30628         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30629         on the peer, not the pad. I think that was a typo. Pass an extra
30630         arg to see if random access is possible. Activate the pads as
30631         PULL_RANGE if possible.
30632
30633         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30634
30635         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30636         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30637         to PROP_....
30638
30639 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30640
30641         * docs/faq/using.xml:
30642           Add note on gstreamer-properties (#154996).
30643
30644 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30645
30646         * docs/random/bbb/optional-properties:
30647           Some analysis on optional properties.
30648
30649 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30650
30651         * docs/gst/tmpl/gstelementfactory.sgml:
30652         * gst/gstelement.h:
30653         * gst/gstelementfactory.c: (gst_element_factory_init),
30654         (gst_element_factory_cleanup), (gst_element_register),
30655         (__gst_element_factory_add_static_pad_template),
30656         (gst_element_factory_get_static_pad_templates),
30657         (gst_element_factory_can_src_caps),
30658         (gst_element_factory_can_sink_caps):
30659         * gst/registries/Makefile.am:
30660         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30661         (gst_xml_registry_class_init), (gst_xml_registry_init),
30662         (gst_xml_registry_new), (gst_xml_registry_set_property),
30663         (gst_xml_registry_get_property), (get_time), (make_dir),
30664         (gst_xml_registry_get_perms_func),
30665         (plugin_times_older_than_recurse), (plugin_times_older_than),
30666         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30667         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30668         (add_to_char_array), (read_string), (read_uint), (read_enum),
30669         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30670         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30671         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30672         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30673         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30674         (gst_xml_registry_rebuild):
30675         * gst/registries/gstlibxmlregistry.h:
30676         * tools/gst-compprep.c: (main):
30677         * tools/gst-inspect.c: (print_pad_templates_info):
30678         * tools/gst-xmlinspect.c: (print_element_info):
30679           Use libxml2 for registry parsing, use staticpadtemplates in
30680           elementfactories. Makes gst_init() +/- 10x faster.
30681
30682 2005-04-12  Wim Taymans  <wim@fluendo.com>
30683
30684         * gst/base/Makefile.am:
30685         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30686         (gst_basesink_pad_getcaps), (gst_basesink_init),
30687         (gst_basesink_event), (gst_basesink_change_state):
30688         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30689         (gst_basesrc_init), (gst_basesrc_query),
30690         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30691         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30692         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30693         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30694         (gst_basesrc_stop), (gst_basesrc_activate),
30695         (gst_basesrc_change_state):
30696         * gst/base/gsttypefindhelper.c: (helper_find_peek),
30697         (helper_find_suggest), (gst_type_find_helper):
30698         * gst/base/gsttypefindhelper.h:
30699         * gst/elements/Makefile.am:
30700         * gst/elements/gstelements.c:
30701         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30702         (gst_fakesink_get_times), (gst_fakesink_event),
30703         (gst_fakesink_preroll), (gst_fakesink_render):
30704         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30705         (gst_fakesrc_init), (gst_fakesrc_event_handler),
30706         (gst_fakesrc_get_property), (gst_fakesrc_create),
30707         (gst_fakesrc_start), (gst_fakesrc_stop):
30708         * gst/elements/gstfakesrc.h:
30709         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30710         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30711         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30712         (gst_filesrc_create_read), (gst_filesrc_create),
30713         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30714         (gst_filesrc_start):
30715         * gst/elements/gsttypefindelement.c:
30716         (gst_type_find_element_have_type), (gst_type_find_element_init),
30717         (start_typefinding), (stop_typefinding), (push_buffer_store),
30718         (gst_type_find_element_handle_event),
30719         (gst_type_find_element_chain),
30720         (gst_type_find_element_checkgetrange),
30721         (gst_type_find_element_getrange), (do_typefind),
30722         (gst_type_find_element_activate),
30723         (gst_type_find_element_change_state):
30724         * gst/elements/gsttypefindelement.h:
30725         * gst/gstpipeline.c: (pipeline_bus_handler):
30726         Added typefind helper.
30727         Small preroll fix in the base sink.
30728         Disable typefind code in basesrc.
30729         Crude port of typefindelement.
30730         Fakesrc cleanups.
30731
30732
30733 2005-04-11  Wim Taymans  <wim@fluendo.com>
30734
30735         * check/gst/gstbus.c: (gstbus_suite):
30736         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30737         * check/gstcheck.h:
30738           Fix up the timeout so that the test does not fail.
30739
30740 2005-04-06  Wim Taymans  <wim@fluendo.com>
30741
30742         * gst/base/README:
30743         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30744         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30745         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30746         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30747         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30748         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30749         (gst_basesrc_stop), (gst_basesrc_activate),
30750         (gst_basesrc_change_state), (basesrc_find_peek),
30751         (basesrc_find_suggest), (gst_basesrc_type_find):
30752         * gst/base/gstbasesrc.h:
30753         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30754         (gst_filesrc_class_init), (gst_filesrc_init),
30755         (gst_filesrc_finalize), (gst_filesrc_set_location),
30756         (gst_filesrc_set_property), (gst_filesrc_get_property),
30757         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30758         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30759         (gst_filesrc_create_read), (gst_filesrc_create),
30760         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30761         * gst/elements/gstfilesrc.h:
30762         * gst/gstelement.c: (gst_element_get_state_func),
30763         (gst_element_lost_state), (gst_element_pads_activate):
30764         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30765         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30766         (gst_pad_pull_range):
30767         * gst/gstpad.h:
30768         More work on the generic source base class, implement seeking,
30769         query.
30770         Make filesrc extend the base source class.
30771         Added gst_pad_set_checkgetrange_function to GstPad.
30772
30773 2005-04-06  Andy Wingo  <wingo@pobox.com>
30774
30775         * pkgconfig/gstreamer-base.pc.in:
30776         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30777
30778         * pkgconfig/Makefile.am:
30779         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30780
30781 2005-04-04  Wim Taymans  <wim@fluendo.com>
30782
30783         * gst/base/Makefile.am:
30784         * gst/base/README:
30785         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30786         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30787         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30788         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30789         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30790         (gst_basesrc_base_init), (gst_basesrc_class_init),
30791         (gst_basesrc_init), (gst_basesrc_get_formats),
30792         (gst_basesrc_get_query_types), (gst_basesrc_query),
30793         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30794         (gst_basesrc_set_property), (gst_basesrc_get_property),
30795         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30796         (gst_basesrc_loop), (gst_basesrc_activate),
30797         (gst_basesrc_change_state):
30798         * gst/base/gstbasesrc.h:
30799         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30800         (gst_fakesrc_class_init), (gst_fakesrc_init),
30801         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30802         (gst_fakesrc_get_property), (gst_fakesrc_create):
30803         * gst/elements/gstfakesrc.h:
30804         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30805         (gst_filesrc_open_file), (gst_filesrc_loop),
30806         (gst_filesrc_activate), (filesrc_find_peek),
30807         (gst_filesrc_type_find):
30808         Made base source class, make fakesrc extend it.
30809         Add comments to basesink class.
30810         Some filesrc cleanup.
30811
30812 2005-03-31  David Schleef  <ds@schleef.org>
30813
30814         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30815         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30816         expected to link against libgstreamer.
30817         * gst/base/Makefile.am: link against libgstreamer
30818         * gst/elements/Makefile.am: same
30819
30820 2005-03-31  Andy Wingo  <wingo@pobox.com>
30821
30822         * tests/instantiate/Makefile.am:
30823         * tests/instantiate/caps.c: Add test to test speed of caps copy
30824         and free.
30825
30826         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30827         GMemChunk to be fair.
30828
30829         * gst/gsttrashstack.h: Remove warning about using the fallback
30830         trash stack implementation, it's still faster than malloc.
30831
30832 2005-03-30  Andy Wingo  <wingo@pobox.com>
30833
30834         * tests/complexity.c: Add a copyright.
30835
30836 2005-03-31  Wim Taymans  <wim@fluendo.com>
30837
30838         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30839         (gst_base_transform_class_init), (gst_base_transform_init),
30840         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30841         (gst_base_transform_get_property),
30842         (gst_base_transform_sink_activate),
30843         (gst_base_transform_src_activate),
30844         (gst_base_transform_change_state):
30845         * gst/base/gstbasetransform.h:
30846         * gst/elements/gstidentity.c: (gst_identity_class_init),
30847         (gst_identity_event), (gst_identity_check_perfect),
30848         (gst_identity_transform), (gst_identity_start),
30849         (gst_identity_stop):
30850         Added start/stop methods to transform base class so subclasses 
30851         don't need to deal with state changes even.
30852
30853 2005-03-31  Wim Taymans  <wim@fluendo.com>
30854
30855         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30856         (gst_event_new_discontinuous), (gst_event_discont_get_value):
30857         * gst/gstevent.h:
30858         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30859         (gst_pad_pull_range):
30860         Added rate to the discont event to prepare for variable speed
30861         and reverse playback.
30862
30863 2005-03-29  David Schleef  <ds@schleef.org>
30864
30865         * configure.ac:
30866         * testsuite/trigger/Makefile.am:
30867         * testsuite/trigger/trigger.c: A little example program to show
30868         how trigger-based elements can work.
30869
30870 2005-03-29  Wim Taymans  <wim@fluendo.com>
30871
30872         * gst/base/Makefile.am:
30873         * gst/base/README:
30874         * gst/base/gstbasesink.c: (gst_basesink_get_type),
30875         (gst_basesink_base_init), (gst_basesink_class_init),
30876         (gst_basesink_pad_getcaps), (gst_basesink_init),
30877         (gst_basesink_activate), (gst_basesink_change_state):
30878         * gst/base/gstbasesink.h:
30879         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30880         (gst_base_transform_base_init), (gst_base_transform_finalize),
30881         (gst_base_transform_class_init), (gst_base_transform_init),
30882         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30883         (gst_base_transform_event), (gst_base_transform_getrange),
30884         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30885         (gst_base_transform_set_property),
30886         (gst_base_transform_get_property),
30887         (gst_base_transform_sink_activate),
30888         (gst_base_transform_src_activate),
30889         (gst_base_transform_change_state):
30890         * gst/base/gstbasetransform.h:
30891         * gst/elements/gstidentity.c: (gst_identity_finalize),
30892         (gst_identity_class_init), (gst_identity_init),
30893         (gst_identity_event), (gst_identity_check_perfect),
30894         (gst_identity_transform), (gst_identity_set_property),
30895         (gst_identity_get_property), (gst_identity_change_state):
30896         * gst/elements/gstidentity.h:
30897         * gst/gstelement.c: (gst_element_get_state_func),
30898         (gst_element_lost_state), (gst_element_pads_activate):
30899         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30900         (gst_pad_check_pull_range), (gst_pad_pull_range):
30901         * gst/gstpad.h:
30902         Simplify pad activation.
30903         Added function to check if pull_range can be performed.
30904         Error out when pulling inactive or flushing pads.
30905         Removed const from refcounted types as it does not make sense.
30906         Simplify pad templates in basesink
30907         Added base class for simple 1-to-1 transforms.
30908         Make identity subclass the base transform.
30909
30910 2005-03-29  Andy Wingo  <wingo@pobox.com>
30911
30912         * docs/libs/gstreamer-libs-overrides.txt: 
30913         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30914         really don't understand what's going on, but like whatever. I want
30915         green buildbot!
30916
30917         * docs/gst/Makefile.am:
30918         * docs/libs/Makefile.am: Dist the overrides files.
30919
30920         * check/Makefile.am (clean-local): Remove .libs directories.
30921
30922         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30923         elements to EXTRA_DIST, so po/ files are happy.
30924
30925         * po/POTFILES.in: Er, remove it here.
30926
30927         * po/POTFILES: Remove gstspider.c.
30928
30929         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30930
30931         * docs/libs/gstreamer-libs-docs.sgml: 
30932         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
30933         bytestream.
30934
30935         * tests/complexity.c (main): Set the length of the preroll queue
30936         on the sinks to prevent a lockup.
30937
30938         * libs/gst/dataprotocol/Makefile.am: 
30939         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
30940         the same as the one in check/gst-libs/gdp.c.
30941
30942         * po/, docs/gst/: Commit automatic changes to docs and po files.
30943
30944         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
30945         the versioned libgstbase.
30946
30947         * check/Makefile.am: Depend on an unversioned gst-register, seems
30948         to make autoconf happier.
30949
30950         * gst/base/Makefile.am: Make libgstbase a versioned lib.
30951
30952 2005-03-28  Wim Taymans  <wim@fluendo.com>
30953
30954         * configure.ac:
30955         * docs/design/part-gstelement.txt:
30956         * docs/design/part-negotiation.txt:
30957         * docs/design/part-preroll.txt:
30958         * docs/design/part-scheduling.txt:
30959         * docs/design/part-states.txt:
30960         * gst/Makefile.am:
30961         * gst/base/Makefile.am:
30962         * gst/base/README:
30963         * gst/base/gstbasesink.c: (gst_basesink_get_template),
30964         (gst_basesink_base_init), (gst_basesink_class_init),
30965         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30966         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30967         (gst_basesink_set_pad_functions),
30968         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
30969         (gst_basesink_set_property), (gst_basesink_get_property),
30970         (gst_base_sink_get_template), (gst_base_sink_get_caps),
30971         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
30972         (gst_basesink_preroll_queue_push),
30973         (gst_basesink_preroll_queue_empty),
30974         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
30975         (gst_basesink_event), (gst_basesink_get_times),
30976         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
30977         (gst_basesink_chain_unlocked), (gst_basesink_chain),
30978         (gst_basesink_loop), (gst_basesink_activate),
30979         (gst_basesink_change_state):
30980         * gst/base/gstbasesink.h:
30981         * gst/elements/Makefile.am:
30982         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
30983         (gst_fakesink_class_init), (gst_fakesink_init),
30984         (gst_fakesink_set_property), (gst_fakesink_get_property),
30985         (gst_fakesink_get_times), (gst_fakesink_event),
30986         (gst_fakesink_preroll), (gst_fakesink_render),
30987         (gst_fakesink_change_state):
30988         * gst/elements/gstfakesink.h:
30989         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30990         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
30991         * gst/gstelement.c: (gst_element_add_pad),
30992         (gst_element_get_state_func), (gst_element_abort_state),
30993         (gst_element_commit_state), (gst_element_lost_state),
30994         (gst_element_set_state), (gst_element_pads_activate):
30995         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
30996         * gst/gstpipeline.c: (gst_pipeline_send_event),
30997         (gst_pipeline_change_state):
30998         Added state change code.
30999         Added/updated docs.
31000         Added sink base class, make fakesink extend the base class.
31001         Small cleanups in GstPipeline.
31002
31003 2005-03-26  David Schleef  <ds@schleef.org>
31004
31005         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31006         is broken and should be implemented in a different library.
31007         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31008         * gst/gst.h: remove gstcpu.h
31009         * gst/gstcpu.c: remove
31010         * gst/gstcpu.h: remove
31011         * gst/Makefile.am.future: Remove this file.  It's ancient.
31012
31013 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31014
31015         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31016         (gst_bin_send_event):
31017           Add default event/set_manager handlers. The set_manager handler
31018           takes care that the manager is distributed over kids that were
31019           already in the bin before the manager was set. The event handler
31020           is a utility virtual function that sends the event over all sinks,
31021           so that gst_element_send_event (bin, event); has the expected
31022           behaviour.
31023         * gst/gstpad.c: (gst_pad_event_default):
31024           Re-install default event handling for discontinuities, so that
31025           seeking works without requiring hacks in applications or extra
31026           code in sinks.
31027         * gst/gstpipeline.c: (gst_pipeline_class_init),
31028         (gst_pipeline_send_event):
31029           Half hack, half utility: set a pipeline to PAUSED for seek events,
31030           since that is the only way we can guarantee a/v sync. Means that
31031           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31032           and it "just works".
31033
31034 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31035
31036         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31037           Lock/unlock mismatch.
31038
31039 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31040
31041         * docs/faq/gst-uninstalled:
31042           add gst-plugins-base
31043         * docs/gst/Makefile.am:
31044           don't error out until docs are fixed
31045         * docs/gst/gstreamer.types:
31046           remove thread
31047
31048 2005-03-22  Wim Taymans  <wim@fluendo.com>
31049
31050         * check/Makefile.am:
31051         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31052         * gst/gststructure.c: (gst_structure_set_valist),
31053         (gst_structure_copy_conditional):
31054         Activated more tests.
31055         Added message test.
31056         Added G_TYPE_POINTER to GstStructure.
31057         
31058
31059 2005-03-22  Wim Taymans  <wim@fluendo.com>
31060
31061         * docs/design/part-TODO.txt:
31062         * docs/design/part-events.txt:
31063         * docs/design/part-gstbin.txt:
31064         * docs/design/part-gstbus.txt:
31065         * docs/design/part-gstpipeline.txt:
31066         * docs/design/part-messages.txt:
31067         * gst/gstbus.c:
31068         * gst/gstmessage.c:
31069         Docs updates
31070
31071 2005-03-21  Wim Taymans  <wim@fluendo.com>
31072
31073         * gst/gstbus.c: (gst_bus_post):
31074         Fix copy-and-paste error.
31075
31076 2005-03-21  Wim Taymans  <wim@fluendo.com>
31077
31078         * check/Makefile.am:
31079         * gst/Makefile.am:
31080         * gst/elements/Makefile.am:
31081         * gst/elements/gstelements.c:
31082         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31083         (gst_fakesink_event), (gst_fakesink_chain):
31084         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31085         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31086         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31087         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31088         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31089         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31090         (gst_fakesrc_loop), (gst_fakesrc_activate),
31091         (gst_fakesrc_change_state):
31092         * gst/elements/gstfakesrc.h:
31093         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31094         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31095         (gst_filesrc_open_file), (gst_filesrc_loop),
31096         (gst_filesrc_activate), (gst_filesrc_change_state),
31097         (filesrc_find_peek), (filesrc_find_suggest),
31098         (gst_filesrc_type_find):
31099         * gst/elements/gstidentity.c: (gst_identity_finalize),
31100         (gst_identity_class_init), (gst_identity_init),
31101         (gst_identity_proxy_getcaps), (identity_queue_push),
31102         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31103         (gst_identity_getrange), (gst_identity_chain),
31104         (gst_identity_sink_loop), (gst_identity_src_loop),
31105         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31106         (gst_identity_set_property), (gst_identity_get_property),
31107         (gst_identity_change_state):
31108         * gst/elements/gstidentity.h:
31109         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31110         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31111         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31112         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31113         (gst_tee_sink_activate):
31114         * gst/elements/gsttee.h:
31115         * gst/gst.c: (gst_register_core_elements), (init_post):
31116         * gst/gst.h:
31117         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31118         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31119         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31120         (gst_bin_change_state):
31121         * gst/gstbin.h:
31122         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31123         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31124         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31125         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31126         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31127         (bus_watch_callback), (bus_watch_destroy),
31128         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31129         (poll_timeout), (gst_bus_poll):
31130         * gst/gstbus.h:
31131         * gst/gstcaps.h:
31132         * gst/gstdata.h:
31133         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31134         (gst_element_post_message), (gst_element_message_full),
31135         (gst_element_get_state_func), (gst_element_get_state),
31136         (gst_element_abort_state), (gst_element_commit_state),
31137         (gst_element_lost_state), (gst_element_set_state),
31138         (gst_element_pads_activate), (gst_element_change_state),
31139         (gst_element_dispose), (gst_element_set_manager_func),
31140         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31141         (gst_element_set_manager), (gst_element_get_manager),
31142         (gst_element_set_bus), (gst_element_get_bus),
31143         (gst_element_set_scheduler), (gst_element_get_scheduler):
31144         * gst/gstelement.h:
31145         * gst/gstevent.c: (gst_event_new_segment_seek),
31146         (gst_event_new_flush):
31147         * gst/gstevent.h:
31148         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31149         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31150         (gst_message_new_eos), (gst_message_new_error),
31151         (gst_message_new_warning), (gst_message_new_tag),
31152         (gst_message_new_state_changed), (gst_message_new_application),
31153         (gst_message_get_structure), (gst_message_parse_tag),
31154         (gst_message_parse_state_changed), (gst_message_parse_error),
31155         (gst_message_parse_warning):
31156         * gst/gstmessage.h:
31157         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31158         (gst_real_pad_set_property), (gst_pad_set_active),
31159         (gst_pad_is_active), (gst_pad_set_blocked_async),
31160         (gst_pad_set_blocked), (gst_pad_is_blocked),
31161         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31162         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31163         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31164         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31165         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31166         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31167         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31168         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31169         (gst_pad_set_caps), (gst_pad_configure_sink),
31170         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31171         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31172         (gst_real_pad_dispose), (gst_real_pad_finalize),
31173         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31174         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31175         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31176         * gst/gstpad.h:
31177         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31178         (pipeline_bus_handler), (gst_pipeline_change_state),
31179         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31180         * gst/gstpipeline.h:
31181         * gst/gstprobe.h:
31182         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31183         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31184         (gst_queue_link_src), (gst_queue_bufferalloc),
31185         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31186         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31187         (gst_queue_loop), (gst_queue_handle_src_event),
31188         (gst_queue_handle_src_query), (gst_queue_src_activate),
31189         (gst_queue_change_state):
31190         * gst/gstqueue.h:
31191         * gst/gstscheduler.c: (gst_scheduler_init),
31192         (gst_scheduler_dispose), (gst_scheduler_create_task),
31193         (gst_scheduler_factory_create):
31194         * gst/gstscheduler.h:
31195         * gst/gststructure.c: (gst_structure_get_type),
31196         (gst_structure_copy_conditional):
31197         * gst/gststructure.h:
31198         * gst/gsttaginterface.h:
31199         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31200         (gst_task_init), (gst_task_dispose), (gst_task_create),
31201         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31202         (gst_task_pause):
31203         * gst/gsttask.h:
31204         * gst/gstthread.c:
31205         * gst/gstthread.h:
31206         * gst/gsttypes.h:
31207         * gst/schedulers/Makefile.am:
31208         * gst/schedulers/cothreads_compat.h:
31209         * gst/schedulers/entryscheduler.c:
31210         * gst/schedulers/faircothreads.c:
31211         * gst/schedulers/faircothreads.h:
31212         * gst/schedulers/fairscheduler.c:
31213         * gst/schedulers/gstbasicscheduler.c:
31214         * gst/schedulers/gstoptimalscheduler.c:
31215         * gst/schedulers/gthread-cothreads.h:
31216         * gst/schedulers/threadscheduler.c:
31217         (gst_thread_scheduler_task_get_type),
31218         (gst_thread_scheduler_task_class_init),
31219         (gst_thread_scheduler_task_init),
31220         (gst_thread_scheduler_task_start),
31221         (gst_thread_scheduler_task_stop),
31222         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31223         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31224         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31225         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31226         (plugin_init):
31227         * libs/gst/Makefile.am:
31228         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31229         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31230         (gst_file_pad_parent_set):
31231         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31232         (gst_dp_event_from_packet):
31233         * tests/complexity.c: (main):
31234         * tests/mass_elements.c: (main):
31235         * testsuite/states/locked.c: (message_received), (main):
31236         * testsuite/states/parent.c: (main):
31237         * tools/gst-inspect.c: (print_element_flag_info),
31238         (print_implementation_info), (print_pad_info):
31239         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31240         (main):
31241         * tools/gst-md5sum.c: (event_loop), (main):
31242         * tools/gst-typefind.c: (main):
31243         * tools/gst-xmlinspect.c: (print_element_info):
31244         Next big merge.
31245         Added GstBus for mainloop integration.
31246         Added GstMessage for sending notifications on the bus.
31247         Added GstTask as an abstraction for pipeline entry points.
31248         Removed GstThread.
31249         Removed Schedulers.
31250         Simplified GstQueue for multithreaded core.
31251         Made _link threadsafe, removed old capsnego.
31252         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31253         Added pad blocking functions.
31254         Reworked scheduling functions in GstPad to prepare for
31255         scheduling updates soon.
31256         Moved events out of data stream.
31257         Simplified GstEvent types.
31258         Added return values to push/pull.
31259         Removed clocking from GstElement.
31260         Added prototypes for state change function for next merge.
31261         Removed iterate from bins and state change management.
31262         Fixed some elements, disabled others for now.
31263         Fixed -inspect and -launch.
31264         Added check for GstBus.
31265
31266 2005-03-10  Wim Taymans  <wim@fluendo.com>
31267
31268         * docs/design/part-MT-refcounting.txt:
31269         * docs/design/part-clocks.txt:
31270         * docs/design/part-gstelement.txt:
31271         * docs/design/part-gstobject.txt:
31272         * docs/design/part-standards.txt:
31273         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31274         (gst_bin_remove_func), (gst_bin_remove):
31275         * gst/gstbin.h:
31276         * gst/gstbuffer.c:
31277         * gst/gstcaps.h:
31278         * testsuite/clock/clock1.c: (main):
31279         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31280         (main):
31281         * testsuite/dlopen/loadgst.c: (do_test):
31282         * testsuite/refcounting/bin.c: (add_remove_test1),
31283         (add_remove_test2), (main):
31284         * testsuite/refcounting/element.c: (main):
31285         * testsuite/refcounting/element_pad.c: (main):
31286         * testsuite/refcounting/pad.c: (main):
31287         * tools/gst-launch.c: (sigint_handler_sighandler):
31288         * tools/gst-typefind.c: (main):
31289         Doc updates.
31290         Added doc about clock.
31291         removed gst_bin_iterate_recurse_up(), marked methods
31292         for removal.
31293         Fix more testsuites.
31294
31295 2005-03-09  Wim Taymans  <wim@fluendo.com>
31296
31297         * gst/gstpad.c: (gst_pad_get_direction),
31298         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31299         (gst_pad_collect_valist):
31300         * testsuite/bins/interface.c: (main):
31301         * testsuite/caps/audioscale.c: (test_caps):
31302         * testsuite/caps/caps.c: (test1), (test2), (test3):
31303         * testsuite/caps/deserialize.c: (main):
31304         * testsuite/caps/enumcaps.c: (main):
31305         * testsuite/caps/filtercaps.c: (main):
31306         * testsuite/caps/intersect2.c: (main):
31307         * testsuite/caps/random.c: (main):
31308         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31309         * testsuite/caps/sets.c: (check_caps):
31310         * testsuite/caps/simplify.c: (check_caps), (main):
31311         * testsuite/caps/subtract.c: (check_caps):
31312         Fix _pad_get_direction wrt ghostpads.
31313         Fix caps testsuite.
31314
31315 2005-03-09  Wim Taymans  <wim@fluendo.com>
31316
31317         * check/Makefile.am:
31318         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31319         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31320         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31321         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31322         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31323         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31324         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31325         (bin_element_is_sink), (gst_bin_iterate_sinks),
31326         (gst_bin_iterate_all_by_interface):
31327         * gst/gstbin.h:
31328         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31329         (gst_element_change_state), (gst_element_dispose),
31330         (gst_element_finalize), (gst_element_set_loop_function):
31331         * gst/gstelement.h:
31332         * gst/gstiterator.c: (find_custom_fold_func):
31333         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31334         (gst_pad_collectv), (gst_pad_collect_valist),
31335         (gst_pad_template_new):
31336         * gst/gstpipeline.c: (gst_pipeline_class_init),
31337         (gst_pipeline_dispose), (gst_pipeline_set_property),
31338         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31339         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31340         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31341         * gst/gstutils.h:
31342         * gst/schedulers/entryscheduler.c:
31343         * gst/schedulers/gstbasicscheduler.c:
31344         (gst_basic_scheduler_cothreaded_chain),
31345         (gst_basic_scheduler_chain_add_element):
31346         * testsuite/bins/interface.c: (main):
31347         Added GstBin test.
31348         Added GstSystemClock test.
31349         Implemented clock distribution code in GstBin.
31350         Implemented iterate sinks method for future use.
31351         Rearranged gstelement.h
31352         Fix GstIterator comparison bug.
31353         Moved some code to GstPipeline, mostly clocking related.
31354
31355 2005-03-09  Wim Taymans  <wim@fluendo.com>
31356
31357         * configure.ac:
31358         * gst/gst_private.h:
31359         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31360         (gst_bin_remove_func), (gst_bin_remove),
31361         (gst_bin_get_by_name_recurse_up):
31362         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31363         (gst_clock_id_compare_func), (gst_clock_id_wait),
31364         (gst_clock_id_wait_async), (gst_clock_init),
31365         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31366         * gst/gstelement.h:
31367         * gst/gstinfo.c: (_gst_debug_init):
31368         * gst/gstobject.h:
31369         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31370         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31371         * gst/gstpad.h:
31372         Bump version number, we're now 0.9.0
31373         Add future debugging category.
31374         Fix NULL _unref() in _get_by_name_recurse_up
31375         Rearrange gstpad.h.
31376         Update some docs.
31377
31378 2005-03-08  Wim Taymans  <wim@fluendo.com>
31379
31380         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31381         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31382         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31383         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31384         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31385         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31386         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31387         * gst/elements/gstidentity.c: (gst_identity_class_init):
31388         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31389         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31390         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31391         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31392         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31393         (gst_tee_link):
31394         * gst/gstelement.c: (gst_element_class_init),
31395         (gst_element_base_class_init), (gst_element_init),
31396         (gst_element_get_random_pad), (gst_element_wait_state_change),
31397         (gst_element_change_state), (gst_element_dispose),
31398         (gst_element_finalize), (gst_element_set_loop_function):
31399         * gst/gstelement.h:
31400         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31401         * gst/gstthread.c: (gst_thread_class_init),
31402         (gst_thread_release_children_locks), (gst_thread_change_state):
31403         * gst/schedulers/gstbasicscheduler.c:
31404         (gst_basic_scheduler_loopfunc_wrapper),
31405         (gst_basic_scheduler_chain_wrapper),
31406         (gst_basic_scheduler_src_wrapper),
31407         (gst_basic_scheduler_remove_element):
31408         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31409         Remove threadsafe properties. Fix elements because GObject
31410         complains when installing a property before declaring a
31411         set/get_property handler.
31412         Rearrange gstelement.h file, use STATE macros for state locks.
31413         Free mutexes in the finalize method instead of dispose.
31414
31415 2005-03-08  Wim Taymans  <wim@fluendo.com>
31416
31417         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31418         * gst/gstthread.c: (gst_thread_release_children_locks):
31419         Added parentage check.
31420         Fix build og GstThread again.
31421
31422 2005-03-08  Wim Taymans  <wim@fluendo.com>
31423
31424         * docs/design/part-MT-refcounting.txt:
31425         * docs/design/part-conventions.txt:
31426         * docs/design/part-gstobject.txt:
31427         * docs/design/part-relations.txt:
31428         * docs/design/part-standards.txt:
31429         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31430         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31431         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31432         (gst_bin_iterate_all_by_interface):
31433         * gst/gstbuffer.h:
31434         * gst/gstclock.h:
31435         * gst/gstelement.c: (gst_element_class_init),
31436         (gst_element_change_state), (gst_element_set_loop_function):
31437         * gst/gstelement.h:
31438         * gst/gstiterator.c:
31439         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31440         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31441         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31442         (gst_object_set_parent), (gst_object_unparent),
31443         (gst_object_check_uniqueness):
31444         * gst/gstobject.h:
31445         Docs updates, clean up some headers.
31446
31447 2005-03-07  Wim Taymans  <wim@fluendo.com>
31448
31449         * check/.cvsignore:
31450         * check/Makefile.am:
31451         * check/gst-libs/.cvsignore:
31452         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31453         * check/gst/.cvsignore:
31454         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31455         (START_TEST), (gstbus_suite), (main):
31456         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31457         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31458         (gst_data_suite), (main):
31459         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31460         (add_fold_func), (gstiterator_suite), (main):
31461         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31462         (thread_name_object), (thread_name_object_default),
31463         (gst_object_name_compare), (gst_object_suite), (main):
31464         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31465         (gst_pad_suite), (main):
31466         * check/gstcheck.c: (gst_check_log_message_func),
31467         (gst_check_log_critical_func), (gst_check_init):
31468         * check/gstcheck.h:
31469         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31470         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31471         Added checks.
31472
31473 2005-03-07  Wim Taymans  <wim@fluendo.com>
31474
31475         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31476         (gst_list_iterator_next), (gst_list_iterator_resync),
31477         (gst_list_iterator_free), (gst_iterator_new_list),
31478         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31479         (gst_iterator_free), (gst_iterator_push), (filter_next),
31480         (filter_resync), (filter_uninit), (filter_free),
31481         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31482         (gst_iterator_foreach), (find_custom_fold_func),
31483         (gst_iterator_find_custom):
31484         * gst/gstiterator.h:
31485         Added missing files.
31486
31487 2005-03-07  Wim Taymans  <wim@fluendo.com>
31488
31489         * Makefile.am:
31490         * configure.ac:
31491         * docs/design/part-MT-refcounting.txt:
31492         * docs/design/part-conventions.txt:
31493         * docs/design/part-gstobject.txt:
31494         * docs/design/part-relations.txt:
31495         * examples/mixer/mixer.c: (main):
31496         * examples/thread/thread.c: (eos), (main):
31497         * gst/Makefile.am:
31498         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31499         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31500         (gst_spider_plug_from_srcpad):
31501         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31502         (gst_spider_identity_change_state),
31503         (gst_spider_identity_sink_loop_type_finding):
31504         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31505         * gst/elements/gstidentity.c: (gst_identity_init):
31506         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31507         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31508         * gst/elements/gsttypefindelement.c: (free_entry):
31509         * gst/gst.c:
31510         * gst/gst.h:
31511         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31512         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31513         (gst_bin_set_index), (gst_bin_set_element_sched),
31514         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31515         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31516         (gst_bin_iterate_elements), (iterate_child_recurse),
31517         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31518         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31519         (compare_interface), (gst_bin_get_by_interface),
31520         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31521         * gst/gstbin.h:
31522         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31523         (gst_buffer_default_free), (gst_buffer_default_copy),
31524         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31525         (gst_buffer_create_sub):
31526         * gst/gstbuffer.h:
31527         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31528         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31529         (gst_caps_unref), (gst_static_caps_get),
31530         (gst_caps_remove_and_get_structure), (gst_caps_append),
31531         (gst_caps_append_structure), (gst_caps_remove_structure),
31532         (gst_caps_copy_nth), (gst_caps_set_simple),
31533         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31534         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31535         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31536         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31537         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31538         (gst_caps_structure_figure_out_union),
31539         (gst_caps_switch_structures), (gst_caps_do_simplify),
31540         (gst_caps_replace), (gst_caps_from_string),
31541         (gst_caps_copy_conditional):
31542         * gst/gstcaps.h:
31543         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31544         (_gst_clock_id_free), (gst_clock_id_unref),
31545         (gst_clock_id_compare_func), (gst_clock_id_wait),
31546         (gst_clock_id_wait_async), (gst_clock_class_init),
31547         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31548         (gst_clock_get_time), (gst_clock_set_time_adjust),
31549         (gst_clock_set_property), (gst_clock_get_property):
31550         * gst/gstclock.h:
31551         * gst/gstcompat.h:
31552         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31553         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31554         * gst/gstdata.h:
31555         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31556         (gst_element_requires_clock), (gst_element_provides_clock),
31557         (gst_element_set_clock), (gst_element_clock_wait),
31558         (gst_element_wait), (gst_element_set_time_delay),
31559         (gst_element_is_indexable), (gst_element_add_pad),
31560         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31561         (pad_compare_name), (gst_element_get_static_pad),
31562         (gst_element_request_pad), (gst_element_get_request_pad),
31563         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31564         (gst_element_class_get_pad_template_list),
31565         (gst_element_class_get_pad_template), (gst_element_error_func),
31566         (gst_element_get_random_pad), (gst_element_get_event_masks),
31567         (gst_element_send_event), (gst_element_seek),
31568         (gst_element_get_query_types), (gst_element_query),
31569         (gst_element_get_formats), (gst_element_convert),
31570         (gst_element_is_locked_state), (gst_element_set_locked_state),
31571         (gst_element_sync_state_with_parent), (gst_element_change_state),
31572         (gst_element_finalize), (gst_element_yield),
31573         (gst_element_interrupt), (gst_element_set_scheduler),
31574         (gst_element_get_scheduler), (gst_element_set_loop_function):
31575         * gst/gstelement.h:
31576         * gst/gstevent.h:
31577         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31578         (gst_format_get_by_nick), (gst_format_get_details),
31579         (gst_format_iterate_definitions):
31580         * gst/gstformat.h:
31581         * gst/gstindex.c: (gst_index_gtype_resolver):
31582         * gst/gstinfo.c:
31583         * gst/gstinfo.h:
31584         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31585         (gst_mem_chunk_free):
31586         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31587         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31588         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31589         (gst_object_dispatch_properties_changed),
31590         (gst_object_set_name_default), (gst_object_set_name),
31591         (gst_object_get_name), (gst_object_set_name_prefix),
31592         (gst_object_get_name_prefix), (gst_object_set_parent),
31593         (gst_object_get_parent), (gst_object_unparent),
31594         (gst_object_check_uniqueness), (gst_object_save_thyself),
31595         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31596         (gst_object_set_property), (gst_object_get_property),
31597         (gst_object_get_path_string):
31598         * gst/gstobject.h:
31599         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31600         (gst_real_pad_init), (gst_real_pad_get_property),
31601         (gst_pad_custom_new), (gst_pad_get_direction),
31602         (gst_pad_set_active), (gst_pad_is_active),
31603         (gst_pad_set_event_function), (gst_pad_is_linked),
31604         (gst_pad_link_free), (gst_pad_link_intersect),
31605         (gst_pad_link_fixate), (gst_pad_set_caps),
31606         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31607         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31608         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31609         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31610         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31611         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31612         (gst_pad_realize), (gst_pad_get_allowed_caps),
31613         (gst_real_pad_dispose), (gst_real_pad_finalize),
31614         (gst_pad_collectv), (gst_pad_collect_valist),
31615         (gst_pad_template_dispose), (gst_pad_template_new),
31616         (gst_pad_get_internal_links):
31617         * gst/gstpad.h:
31618         * gst/gstpipeline.c: (gst_pipeline_dispose),
31619         (gst_pipeline_change_state):
31620         * gst/gstpipeline.h:
31621         * gst/gstplugin.c:
31622         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31623         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31624         * gst/gstpluginfeature.h:
31625         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31626         * gst/gstquery.c: (_gst_query_type_initialize),
31627         (gst_query_type_register), (gst_query_type_get_by_nick),
31628         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31629         * gst/gstquery.h:
31630         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31631         * gst/gstscheduler.c: (gst_scheduler_add_element),
31632         (gst_scheduler_factory_create):
31633         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31634         (gst_structure_free), (gst_structure_set_name),
31635         (gst_structure_id_set_value), (gst_structure_set_value),
31636         (gst_structure_set_valist), (gst_structure_remove_field),
31637         (gst_structure_remove_fields),
31638         (gst_structure_remove_fields_valist),
31639         (gst_structure_remove_all_fields), (gst_structure_foreach),
31640         (gst_structure_map_in_place),
31641         (gst_caps_structure_fixate_field_nearest_int),
31642         (gst_caps_structure_fixate_field_nearest_double):
31643         * gst/gststructure.h:
31644         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31645         (gst_system_clock_init), (gst_system_clock_dispose),
31646         (gst_system_clock_async_thread),
31647         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31648         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31649         * gst/gstsystemclock.h:
31650         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31651         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31652         * gst/gsttaginterface.c:
31653         * gst/gstthread.c: (gst_thread_dispose),
31654         (gst_thread_release_children_locks), (gst_thread_change_state),
31655         (gst_thread_main_loop):
31656         * gst/gsttrashstack.h:
31657         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31658         * gst/gsttypes.h:
31659         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31660         (gst_element_request_pad), (gst_element_get_pad_from_template),
31661         (gst_element_request_compatible_pad),
31662         (gst_element_get_compatible_pad_filtered),
31663         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31664         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31665         (gst_element_link_many), (gst_element_link),
31666         (gst_element_link_pads), (gst_element_unlink_pads),
31667         (gst_element_unlink_many), (gst_element_unlink),
31668         (gst_pad_can_link_filtered), (gst_pad_can_link),
31669         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31670         (gst_object_default_error), (gst_bin_add_many),
31671         (gst_bin_remove_many), (gst_element_populate_std_props),
31672         (gst_element_class_install_std_props), (gst_buffer_merge),
31673         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31674         (link_fold_func), (gst_pad_proxy_setcaps):
31675         * gst/gstutils.h:
31676         * gst/gstvalue.c: (gst_value_deserialize_string):
31677         * gst/parse/grammar.y:
31678         * gst/schedulers/gstbasicscheduler.c:
31679         (gst_basic_scheduler_cothreaded_chain),
31680         (gst_basic_scheduler_chain_recursive_add),
31681         (gst_basic_scheduler_pad_link):
31682         * gst/schedulers/gstoptimalscheduler.c:
31683         (get_group_schedule_function),
31684         (gst_opt_scheduler_state_transition),
31685         (gst_opt_scheduler_add_element), (element_get_reachables_func):
31686         * libs/gst/bytestream/bytestream.c:
31687         * libs/gst/dataprotocol/dataprotocol.c:
31688         (gst_dp_header_from_buffer):
31689         * po/nb.po:
31690         * po/ru.po:
31691         * tests/threadstate/threadstate2.c: (eos):
31692         * tools/gst-compprep.c: (main):
31693         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31694         (print_pad_info), (print_children_info):
31695         * tools/gst-launch.c: (idle_func), (main):
31696         * tools/gst-md5sum.c: (idle_func), (main):
31697         * tools/gst-xmlinspect.c: (print_element_info):
31698         First THREADED backport attempt, focusing on adding locks and
31699         making sure the API is threadsafe. Needs more work. More docs
31700         follow this week.
31701
31702 2005-02-24  Andy Wingo  <wingo@pobox.com>
31703
31704         * tests/bench-complexity.scm:
31705         * tests/complexity.gnuplot: New files, good for running complexity
31706         benchmarks.
31707
31708         * tests/Makefile.am:
31709         * tests/complexity.c: New test, sets up N elements, at each level
31710         teeing into M streams per element. Eeeenteresting.
31711
31712         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31713         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31714         running bench-mass_elements.scm.
31715
31716         * tests/bench-mass_elements.scm: New script, runs mass_elements
31717         for various numbers of identities, outputting the results to a
31718         file. Requires guile 1.6. Just for testing.
31719
31720 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
31721
31722         * gst/schedulers/fairscheduler.c:
31723           compile with debug disabled
31724
31725 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
31726
31727         * configure.ac:
31728           hunting season on 0.9 is now OPEN