gst/gstquery.*: Add GstQueryType for custom queries instead of having to use the...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * gst/gstquery.c:
4         * gst/gstquery.h:
5         Add GstQueryType for custom queries instead of having to use the
6         not-so-very-convenient registration infrastructure to register new
7         types.
8
9 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
10
11         Patch by: Andrew Feren <acferen at yahoo dot com>
12
13         * gst/gstobject.c: (gst_object_default_deep_notify):
14         Unref the GEnumClass after usage again. Fixes bug #561501.
15
16 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
17
18         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
19         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
20         (gst_bin_change_state_func):
21         * gst/gstbin.h:
22         Add do-latency signal with the old default fallback implementation. This
23         allows for custom latency calculations for when the default is not
24         sufficient.
25         API: GstBin::do-latency signal.
26
27 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
28
29         * win32/common/libgstreamer.def:
30         Add new symbols to .def file.
31
32 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
33
34         * docs/gst/gstreamer-sections.txt:
35         * gst/gstbin.c: (gst_bin_recalculate_latency),
36         (gst_bin_change_state_func):
37         * gst/gstbin.h:
38         Add method to recalculate and redistribute the latency on a bin.
39         API: gst_bin_recalculate_latency().
40
41 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
42
43         * gst/gstbuffer.h:
44         Document the free_func.
45
46 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
47
48         * libs/gst/controller/gstinterpolation.c:
49         * libs/gst/controller/gstlfocontrolsource.c:
50         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
51         as it is mapped to a cast on non-win32 platforms.
52
53 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
54
55         * libs/gst/controller/gstcontroller.c:
56         * libs/gst/controller/gstcontrollerprivate.h:
57           Keep last-value and only call set_property if value has changed. This
58           supresses all the g_object_notifies we would trigger otherwise. It
59           also allows the user to chage the value while there is no controller
60           change.
61
62 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
63
64         * gst/gstvalue.c:
65           Don't crash if either of the string GValues is empty.
66
67 2008-11-17  Andy Wingo  <wingo@pobox.com>
68
69         * tools/gst-inspect.c (print_all_uri_handlers): New function,
70         prints a summary of what URI schemes are supported by what
71         elements.
72         (main): Plumb in support for --uri-handlers or -u, and fix the
73         argc check for -a and -u.
74
75 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
76
77         * gst/gstutils.h:
78         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
79         conversion functions.
80
81 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
82
83         * gst/gstbuffer.c: (gst_buffer_finalize):
84         Avoid costly typechecking for trivially correct pointers.
85
86         * gst/gstpoll.c: (gst_poll_wait):
87         Add some G_LIKELY here and there.
88
89         * libs/gst/base/gstadapter.c: (gst_adapter_push):
90         Add some debug info.
91
92 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
93
94         * docs/random/wtay/poll-timeout:
95         Small tweaks.
96
97 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
98
99         * tests/old/testsuite/caps/intersection.c: (main):
100         * tests/old/testsuite/plugin/loading.c: (main):
101         Remove references to deprecated API g_mem_chunk*.
102         Fixes #560442.
103
104 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
105
106         * tools/gst-inspect.c: (main):
107         Add --plugin option. Fixes #560301.
108
109 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
110
111         * docs/random/wtay/poll-timeout:
112         Quick braindump for a possible (not totally verified) atomic case.
113
114 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
115
116         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
117         (gst_registry_binary_initialize_magic),
118         (gst_registry_binary_write_cache),
119         (gst_registry_binary_check_magic):
120         * gst/gstregistrybinary.h:
121         Don't write and check a CRC for the binary registry file. It's
122         guaranteed that the registry is completely written (it's first written
123         to a temporary file and then moved) and if the registry was corrupted
124         by some hardware failure we would have bigger problems.
125
126         Bump binary registry version to 0.10.21.1 for this as it's an
127         incompatible change and to ensure that the registry gets rebuild
128         after the update.
129
130         This saves some milliseconds for reading/writing the registry.
131         Fixes bug #560399.
132
133 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
134
135         * docs/random/wtay/poll-timeout:
136         Some pseudo code for how we could implement clock timeouts with GstPoll.
137
138 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
139
140         * plugins/elements/gstfilesink.c:
141           Update Author string to match others.
142
143 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
144
145         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
146         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
147         being fixed and inline the trivial check.
148
149 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
150
151         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
152         (gst_caps_merge_structure), (gst_caps_get_structure),
153         (gst_caps_copy_nth), (gst_caps_set_simple),
154         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
155         (gst_caps_is_equal_fixed), (gst_caps_intersect),
156         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
157         (gst_caps_to_string):
158         Callgrind micro optimisations.
159         Avoid array bounds checks and force inline of trivial function.
160
161         * gst/gstobject.c: (gst_object_set_name_default):
162         -1 is equivalent to letting glib to the strlen but then there is more
163         room for optimisations and it's not our fault.
164
165         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
166         no need to clear the array, we're cool.
167
168         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
169         The most common _is_fixed() check is done on fundamental glib base
170         types so we check this first instead of doing a huge amount of
171         useless GST_TYPE_ARRAY calls.
172
173 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
174
175         * gst/gstevent.h:
176         Add a SKIP seek flag for use with advanced trickmodes.
177         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
178
179 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
180
181         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
182         No need to memset, we can clear the value ourselves.
183
184         * gst/gstvalue.c: (gst_type_is_fixed),
185         (gst_value_get_compare_func):
186         Some optimisations from a few callgrind sessions:
187         When checking if a type is fixed, check for trivial fundamental types
188         first before checking types for which we need to get the type followed
189         by the heavy duty type checks, this reduces the amount of
190         g_type_fundamental() calls a lot.
191         When getting the compare function, first check for our registered types.
192         If that fails, do the heavy duty g_type_is_a() checks, reduces the
193         amount of g_type_is_a() considerably.
194
195 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
196
197         * docs/design/part-TODO.txt:
198         Mumble something about removing GstXML.
199
200 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
201
202         * gst/gstbin.c: (gst_bin_handle_message_func):
203         Get the seqnum before we dispose the message.
204
205 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
206
207         * docs/design/part-TODO.txt:
208         Refer to the framestepping document.
209
210 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
211
212         * gst/gstbin.c: (bin_handle_async_start),
213         (gst_bin_handle_message_func), (gst_bin_query):
214         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
215         (gst_base_sink_event), (gst_base_sink_change_state):
216         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
217         (gst_base_src_loop), (gst_base_src_change_state):
218         Copy seqnums from events to messages so that they can all be related
219         back to eachother.
220
221 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
222
223         * tools/gst-launch.c: (event_loop):
224         Print the message seqnums.
225
226 2008-11-04  Andy Wingo  <wingo@pobox.com>
227
228         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
229
230 2008-11-04  Andy Wingo  <wingo@pobox.com>
231
232         Add sequence numbers to events and messages. See #559250.
233
234         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
235         API: New functions.
236
237         * gst/gstevent.h:
238         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
239         events with a new sequence number, and copy it when copying.
240         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
241         an event's sequence number.
242
243         * gst/gstmessage.h:
244         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
245         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
246         so with messages.
247
248         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
249
250 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
251
252         * docs/manual/advanced-position.xml:
253         * docs/manual/basics-bins.xml:
254         * docs/manual/basics-bus.xml:
255         * docs/manual/basics-pads.xml:
256         * docs/manual/intro-gstreamer.xml:
257         * docs/manual/intro-preface.xml:
258         Some Application Development Manual fixes thanks to
259         Andrew Feren. Fixes #558459.
260
261 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
262
263         * gst/gstregistrybinary.c:
264           Don't bother with the GTimer if we don't output the results.
265
266 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
267
268         Patch by: David Schleef  <ds@schleef.org>
269
270         * libs/gst/net/Makefile.am:
271         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
272
273 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
274
275         * gst/gstregistrybinary.c:
276           Oh my, studip, stupid me. Remove double stat() call.
277
278 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
279
280         * gst/gstpreset.c:
281           Use g_unlink instead of unlink.
282
283         * gst/gststructure.c:
284           Use glib type.
285
286         * gst/gstutils.c:
287           Add a FIXME:.
288
289         * gst/gsttaglist.c:
290         * gst/gsttypefind.c:
291         * gst/gstvalue.c:
292           Formatting & whitespaces.
293
294 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
295
296         * plugins/elements/gstidentity.c:
297           Doc typo. Use return value of parent_class->event.
298   
299         * plugins/elements/gsttypefindelement.c:
300           Chain up at the end for consistency.
301   
302 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
303
304         * docs/Makefile.am:
305         * docs/gst/gstreamer-docs.sgml:
306         * docs/gst/gstreamer-sections.txt:
307         * docs/gst/running.xml:
308         * docs/libs/gstreamer-libs-docs.sgml:
309           Change to xinclude based build - its faster and easier to maintain.
310
311 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
312
313         * gst/gstregistrybinary.c:
314         * gst/gstregistryxml.c:
315           Use g_unlink() as none of these are directories.
316
317 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
318
319         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
320         Some more comments.
321
322 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
323
324         * libs/gst/base/gstbasetransform.c:
325         (gst_base_transform_find_transform), (gst_base_transform_getrange):
326         If we have a fixate function, call it even if we already have fixed caps
327         because the subclass might add some caps. Makes audioconvert add a
328         default channel layout.
329
330 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
331
332         * libs/gst/base/gstbasetransform.c:
333         (gst_base_transform_prepare_output_buffer),
334         (gst_base_transform_getrange):
335         Clear the output buffer variable.
336         Cleanups to the error path in the getrange function.
337         Fixes #557649.
338
339 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
340
341         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
342         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
343         Use gst_buffer_try_new_and_alloc() and handle errors instead of
344         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
345         be allocated.
346
347 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
348
349         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
350         Set the last_stop to a more meaningful position when configuring the
351         segment. ie. the start/stop of the segment or clipped against the
352         updated segment boundaries.
353
354         * tests/check/gst/gstsegment.c: (GST_START_TEST):
355         Add some unit tests for the last_stop.
356
357 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
358
359         * libs/gst/base/gstbytereader.c:
360         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
361         copies of them.
362
363 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
364
365         * docs/gst/gstreamer-sections.txt:
366         * gst/gstutils.h:
367         API: Move float endianness conversion macros from libgstfloatcast
368         to core as it's useful in general, even in core. Fixes bug #555196.
369         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
370         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
371         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
372
373         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
374         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
375         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
376         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
377
378 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
379
380         * docs/libs/gstreamer-libs-sections.txt:
381         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
382         (gst_byte_reader_peek_data):
383         * libs/gst/base/gstbytereader.h:
384         * win32/common/libgstbase.def:
385         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
386         to get a pointer to the data at the current position and have
387         a guaranteed size.
388
389 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
390
391         * configure.ac:
392         Fix a bug in the output of the configure script summary
393         when --gst-disable-registry is supplied
394
395 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
396
397         * libs/gst/base/gstbitreader.c:
398         * libs/gst/base/gstbytereader.c:
399         Fix the names of 2 functions in the docs strings.
400
401 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
402
403         * libs/gst/base/gstbasetransform.c:
404         (gst_base_transform_prepare_output_buffer),
405         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
406         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
407         refcount problems as seen in banshee and maybe also in farsight2.
408         Remove atomic int now that we need to take the lock anyways.
409
410 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
411
412         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
413         (gst_base_sink_default_prepare_seek_segment),
414         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
415         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
416         (gst_base_sink_query):
417         Implement more seeking in pull mode.
418         Use pad convert functions to convert position to the requested format.
419         Fix position/duration reporting in pull mode.
420         Implement position and duration reporting in other formats than time.
421
422         * libs/gst/base/gstbasesink.h:
423         Add member to keep track of when the segment is playing.
424
425 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
426
427         * gst/gstpad.c: (gst_pad_configure_src):
428         When we use gst_pad_alloc_buffer() without wanting to set the caps we
429         also don't need to check if the caps are compatible because the caller
430         presumably is going to perform its own custom checks. Fixes some cases
431         where basetransform elements would error out when it was not needed.
432
433 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
434
435         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
436         Update comment.
437
438         * libs/gst/base/gstbasetransform.c:
439         (gst_base_transform_handle_buffer),
440         (gst_base_transform_reconfigure):
441         Add some debug info.
442
443         * win32/common/libgstbase.def:
444         Add new method.
445
446 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
447
448         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
449           Remove duplicated assignment and log a message in failure case.
450
451 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
452
453         Patch by: Dig Ge <dig.ge.cn at gmail com>
454
455         * tests/examples/helloworld/helloworld.c: (main):
456           Fix copy'n'paste bug in hello world example (#556900).
457
458 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
459
460         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
461         (gst_base_sink_query):
462         Query the total number of bytes when activating the pad in pull mode.
463         Implement duration query in pull mode by using the installed pad convert
464         function to convert from bytes to the requested format.
465
466 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
467
468         * docs/libs/gstreamer-libs-sections.txt:
469         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
470         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
471         (gst_base_sink_event), (gst_base_sink_perform_seek),
472         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
473         (gst_base_sink_send_event), (gst_base_sink_change_state):
474         * libs/gst/base/gstbasesink.h:
475         Add method to commit the state in subclasses.
476         Refactor the flush_start and flush_stop code because we need it for
477         flushing while seeking too.
478         Implement the beginnings of seeking in pull mode.
479         Use the segment last_stop field for the pulling offset.
480         Fix the pause method in pull mode.
481         Configure the segment to BYTES for pull mode.
482         API: GstBaseSink::gst_base_sink_do_preroll()
483
484 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
485
486         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
487         Update some docs.
488
489 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
490
491         * gst/gstquark.c: (_priv_gst_quarks_initialize):
492           Fix printf format warning.
493
494 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
495
496         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
497         Fix flow aggregation of tee. Error out immediately for all flow returns
498         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
499         and return OK if at least one pad is linked.
500
501         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
502         and otherwise returned the flow return of the last pad, which is wrong.
503         
504         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
505         (GST_START_TEST), (tee_suite):
506         Add unit tests for the flow aggregation.
507
508 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
509
510         * docs/design/part-TODO.txt:
511         Remove item from the todo list because it was fixed with the latency
512         state change rewrites.
513
514         * docs/design/part-seeking.txt:
515         * docs/design/part-segments.txt:
516         Update some docs.
517
518         * gst/gstevent.c: (gst_event_new_new_segment_full),
519         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
520         (gst_event_parse_buffer_size), (gst_event_new_qos),
521         (gst_event_parse_qos), (gst_event_new_seek),
522         (gst_event_parse_seek), (gst_event_new_latency),
523         (gst_event_parse_latency):
524         Use quarks to construct and parse events.
525
526         * gst/gstquark.c: (_priv_gst_quarks_initialize):
527         * gst/gstquark.h:
528         Add some more quarks to the table.
529         Emit a warning when the quark tables are not in sync.
530
531         * tests/check/gst/gstbus.c: (GST_START_TEST):
532         Add an assert.
533
534 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
535
536         * plugins/elements/Makefile.am:
537         * plugins/indexers/Makefile.am:
538           Don't install static libs for plugins. Fixes #550851 for core.
539
540 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
541
542         * gst/gstbus.c: (gst_bus_source_finalize),
543         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
544         (gst_bus_enable_sync_message_emission),
545         (gst_bus_disable_sync_message_emission),
546         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
547         Fix deadlock, g_source_get_id() cannot be called in finalize.
548         Keep track of the watch source by keeping a pointer to the source object
549         instead.
550         Use the bus lock to protect access to the pointer to the current
551         watch source.
552
553 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
554
555         Base on Patch by: Olivier Crete <tester at tester dot ca>
556
557         * gst/gstbus.c: (gst_bus_source_finalize),
558         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
559         Only allow one bus watch to be set at a time. This is necessary
560         because the dispatcher pops the message from the bus and the second
561         watcher will then get NULL or the next message (and the first won't
562         get this next message then, etc). If more than one "watcher" is
563         required signal watches should be used. Fixes bug #526044.
564
565 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
566
567         * tools/gst-launch.c:
568         Change the printing of the 'buffering...' output to avoid putting
569         a \r in a translateable string (flagged by the TP).
570
571 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
572
573         * gst/gstxml.c:
574         Clarify that the save_thyself() and restore_thyself() virtual
575         functions of GstObject need to be overriden, not
576         gst_object_(save|restore)_thyself() which is impossible.
577         Fixes bug #555700.
578
579 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
580
581         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
582         Revert a patch from 21 months ago that broke caps negotiation in pull
583         mode. Basically, having a buffer pass over a pad will trigger the
584         setcaps function when caps change, just like in push mode.
585
586 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
587
588         * docs/design/part-negotiation.txt:
589         Update the docs some more.
590
591         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
592         If we pull a buffer with non-trivial caps, suggest those caps with the
593         max probability.
594
595 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
596
597         * docs/design/part-TODO.txt:
598         Add another limitation of pad-blocking with segment seeks not pushing
599         EOS events.
600
601 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
602
603         * win32/common/libgstbase.def:
604         * win32/common/libgstreamer.def:
605         Add new symbols to the win32 defs files
606
607 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
608
609         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
610         (gst_bin_handle_message_func):
611         The message src can be NULL, don't try to print the object names in that
612         case.
613
614         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
615         Add some more debug info.
616
617         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
618         (GST_START_TEST):
619         Add some debug.
620         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
621         scheduling modes.
622
623 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
624
625         * docs/design/part-negotiation.txt:
626         Small doc update.
627
628         * docs/libs/gstreamer-libs-sections.txt:
629         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
630         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
631         (gst_base_sink_init), (gst_base_sink_set_blocksize),
632         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
633         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
634         (gst_base_sink_loop), (gst_base_sink_pad_activate),
635         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
636         (gst_base_sink_change_state):
637         * libs/gst/base/gstbasesink.h:
638         Add blocksize property and methods to control the amount of data
639         to pull.
640         Negotiate first before activating upstream in pull mode so that they can
641         negotiate themselves.
642         When we operate in pull mode, we only accept the caps that we
643         negotiated.
644         Make the sink go ASYNC to PAUSED, like all other sinks.
645         API: GstBaseSink::gst_base_sink_set_blocksize()
646         API: GstBaseSink::gst_base_sink_get_blocksize()
647         API: GstBaseSink::blocksize
648
649         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
650         (gst_base_src_set_live), (gst_base_src_is_live),
651         (gst_base_src_set_format), (gst_base_src_query_latency),
652         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
653         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
654         (gst_base_src_set_property), (gst_base_src_get_property):
655         * libs/gst/base/gstbasesrc.h:
656         Add typechecking in public API functions.
657         Add methods to control the blocksize in subclasses.
658         API: GstBaseSrc::gst_base_src_set_blocksize()
659         API: GstBaseSrc::gst_base_src_get_blocksize()
660
661 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
662
663         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
664         (buffer_probe), (event_probe), (GST_START_TEST):
665         We now see 3 events go through our pad, since basesink now sends
666         upstream latency events.
667
668 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
669
670         * gst/gstpipeline.c: (gst_pipeline_change_state):
671         Release the object lock before trying to flush the bus.
672
673 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
674
675         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
676         Forward LATENCY events upstreams so that elements know about the total
677         pipeline latency. Fixes #555307.
678
679 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
680
681         * plugins/elements/gstqueue.c:
682         Allow through queries when we don't know how
683         to adjust them (not TIME or BYTES), as otherwise it's
684         not possible to query the current position in order
685         to seek in other formats at all.
686
687 2008-10-08  Andy Wingo  <wingo@pobox.com>
688
689         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
690
691 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
692
693         * gst/gstghostpad.c:
694         * gst/gstghostpad.h:
695         Unbreak -good build, private is a reserved c++ keyword.
696
697 2008-10-08  Andy Wingo  <wingo@pobox.com>
698
699         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
700         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
701         removal: re-add GST_GHOST_PAD_CAST to the header.
702
703         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
704         (GstGhostPadClass): Publically expose these structures so as to
705         allow easy subclassing from C. Hide the member data behind a
706         private opaque data pointer.
707
708         * gst/gstghostpad.c: Adapt to store instance data in the type
709         instance's private data region, not in the public struct.
710
711 2008-10-08  Andy Wingo  <wingo@pobox.com>
712
713         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
714         template via g_object_get(), be sure to unref it.
715
716         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
717
718 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
719
720         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
721         If we can't get a cache file don't try to save something to it.
722         Dereferencing NULL pointers usually isn't a good idea.
723
724 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
725
726         * tests/check/Makefile.am:
727         * tests/check/gst/gstabi.c:
728         * tests/check/gst/struct_sparc.h:
729         * tests/check/libs/libsabi.c:
730         * tests/check/libs/struct_sparc.h:
731         Add Sparc ABI checks
732
733         * tests/check/gst/gstvalue.c: (GST_START_TEST):
734         Cast signed integer to unsigned to avoid a compiler warning.
735
736 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
737
738         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
739         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
740         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
741         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
742         (gst_byte_reader_peek_int24_be):
743         Use new GST_READ_UINT24_(LE|BE) macros.
744
745 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
746
747         * docs/gst/gstreamer-sections.txt:
748         * gst/gstutils.h:
749         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
750         as it's too easy to break the ISO C strict aliasing rules with simple
751         casts to the corresponding type and this would introduce hard to debug
752         bugs. Fixes bug #545714.
753
754         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
755
756 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
757
758         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
759         * gst/gstghostpad.c: (gst_ghost_pad_construct):
760           Add 'Since' bits to gtk-doc chunks for new API.
761
762 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
763
764         * docs/gst/gstreamer-sections.txt:
765         Fix documentation
766
767 2008-10-06  Andy Wingo  <wingo@pobox.com>
768
769         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
770         that will be called on the malloc_data to free it. Basically a way
771         to avoid subclassing when all you need is a different free
772         function, i.e. free() instead of g_free().
773
774         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
775         calling the free function.
776         (gst_buffer_init): Initialize the free function to g_free.
777
778 2008-10-06  Andy Wingo  <wingo@pobox.com>
779
780         * gst/gstghostpad.h:
781         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
782         finishes the initialization of ghost pad. Useful for language
783         bindings and subclassers of GstGhostPad. Fixes #539108.
784         (gst_ghost_pad_new_full): Use the new constructor.
785
786 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
787
788         Base on Patch by: Olivier Crete <tester at tester dot ca>
789
790         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
791         (gst_bin_remove_func), (update_degree),
792         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
793         Keep track of pads that are being linked/unlinked and resync the state
794         changes.
795
796         * gst/gstpad.c: (gst_pad_get_direction),
797         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
798         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
799         (gst_pad_link_prepare), (gst_pad_link),
800         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
801         (gst_pad_check_pull_range), (gst_pad_get_range),
802         (gst_pad_pull_range):
803         Some code cleanups, use macros to check pad direction.
804         Don't need to take the lock on the pad direction.
805         Post structure change when pads are linked/unlinked.
806         Change some checks into _return_if_fail().
807
808         * tests/check/gst/gstbin.c:
809         (test_link_structure_change_state_changed_sync_cb),
810         (GST_START_TEST), (gst_bin_suite):
811         Add testcase for pad link/unlinke resync during a state change.
812         Fixes #510354.
813
814 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
815
816         * docs/gst/gstreamer-sections.txt:
817         * gst/gstmessage.c: (gst_message_new_structure_change),
818         (gst_message_parse_structure_change):
819         * gst/gstmessage.h:
820         Implement STRUCTURE_CHANGED messages. These messages will be used to
821         signal the parent bin of link/unlink operations that could require a
822         resync when doing a state change. See ##510354.
823         API: gst_message_new_structure_change()
824         API: gst_message_parse_structure_change()
825
826 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
827
828         * gst/gstquark.c:
829         * gst/gstquark.h:
830         Add some more quarks for new message. See #510354.
831
832 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
833
834         * docs/libs/gstreamer-libs-docs.sgml:
835         * docs/libs/gstreamer-libs-sections.txt:
836         * libs/gst/base/Makefile.am:
837         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
838         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
839         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
840         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
841         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
842         (gst_bit_reader_skip_to_byte):
843         * libs/gst/base/gstbitreader.h:
844         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
845         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
846         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
847         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
848         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
849         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
850         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
851         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
852         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
853         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
854         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
855         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
856         * libs/gst/base/gstbytereader.h:
857         * tests/check/Makefile.am:
858         * tests/check/libs/bitreader.c: (GST_START_TEST),
859         (gst_bit_reader_suite):
860         * tests/check/libs/bytereader.c: (GST_START_TEST),
861         (gst_byte_reader_suite):
862         API: Add bit reader and byte reader classes, including documentation
863         and an extensive unit test suite. Fixes bug #553554.
864
865 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
866
867         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
868         (gst_base_sink_query):
869         Improve position reporting while flushing and other intermediate state
870         changes. Fixes #553874.
871
872 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
873
874         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
875
876         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
877         Original patch by : Simon Descaries
878         Fix small refount leak in caps compatibility check.
879         Fixes #551676.
880
881 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
882
883         * docs/pwg/advanced-request.xml:
884           Fix 0.8 api usage in example. Fixes #554561
885
886         * docs/pwg/appendix-porting.xml:
887           Change 0.9 to 0.10 here.
888
889 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
890
891         * docs/manual/basics-data.xml:
892           Change "event-event interaction" to "element-element interaction".
893           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
894           updates.
895
896 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
897
898         * configure.ac:
899         Back to development -> 0.10.21.1
900
901 === release 0.10.21 ===
902
903 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
904
905         * configure.ac:
906           releasing 0.10.21, "Take These Things From Me"
907
908 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
909
910         * configure.ac:
911         0.10.20.4 pre-release
912
913 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
914
915         * libs/gst/base/gstbasetransform.c:
916         * plugins/elements/gstcapsfilter.c:
917         * tests/check/Makefile.am:
918         * tests/check/elements/.cvsignore:
919         * tests/check/elements/capsfilter.c:
920         Fix assertion in basetransform when the subclass chooses not to
921         allocate a buffer in prepare_buffer(), and make capsfilter error out
922         cleanly if requested to apply caps that don't completely specify the
923         buffer. Fixes #551509
924
925 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
926
927         * libs/gst/base/gstbasetransform.c:
928         (gst_base_transform_prepare_output_buffer):
929         Take new caps ref because our old one might have been gone when the
930         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
931
932 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
933
934         * configure.ac:
935           Do not probe availability of check unit test library when cross
936           compiling, as test would not work anyway. Also cleanup verbose output
937           of the check test. Fixes #551952.
938
939 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
940
941         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
942
943         * gst/gstelement.c: (gst_element_sync_state_with_parent):
944         Avoid leaking the parent ref when we fail changing the state of the
945         element using gst_element_sync_state_with_parent(). Fixes #551978.
946
947 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
948
949         * docs/manual/intro-motivation.xml::
950           Remove some bits that no longer apply, update others (#551642).
951
952 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
953
954         * configure.ac:
955         0.10.20.2 pre-release
956
957         * po/LINGUAS:
958         * po/id.po:
959         * po/pt_BR.po:
960
961         New translations.
962
963 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
964
965         * win32/common/config.h.in:
966           Add GST_DATADIR, hard-code cpu to x86.
967
968         * win32/common/libgstreamer.def:
969           Spaces to tabs.
970
971 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
972
973         * gst/gsttaglist.h:
974           Fix Since: markers for new geo tags.
975
976 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
977
978         * gst/gsttaglist.h:
979           Fix actual tag name define after renaming from altitude to elevation.
980
981 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
982
983         * gst/gstpad.c: (add_unref_pad_to_list),
984         (gst_pad_get_internal_links_default):
985         Add fallback when calling the deprecated function on an element that
986         implements the new internal_link handler.
987
988 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
989
990         * docs/gst/gstreamer-sections.txt:
991         * gst/gsttaglist.c:
992         * gst/gsttaglist.h:
993           Add new tags for geo location and clarify purpose of existing location
994           tag. Fixes #481169
995
996 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
997
998         Patch by: Olivier Crete <tester at tester dot ca>
999
1000         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1001         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1002         Use thread-safe internal links iterator. Fixes #549504.
1003
1004 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1005
1006         Based on patch by: Olivier Crete <tester at tester dot ca>
1007
1008         * docs/gst/gstreamer-sections.txt:
1009         * win32/common/libgstreamer.def:
1010         * gst/gstpad.c: (gst_pad_init),
1011         (gst_pad_set_iterate_internal_links_function),
1012         (int_link_iter_data_free), (iterate_pad),
1013         (gst_pad_iterate_internal_links_default),
1014         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1015         * gst/gstpad.h:
1016         Add threadsafe replacement functions for getting internal links of an
1017         element. Deprecate the old internal links functions.
1018         API:GstPad::gst_pad_set_iterate_internal_links_function()
1019         API:GstPad::GstPadIterIntLinkFunction
1020         API:GstPad::gst_pad_iterate_internal_links()
1021         API:GstPad::gst_pad_iterate_internal_links_default()
1022
1023         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1024         (gst_proxy_pad_init):
1025         Implement threadsafe internal links.
1026
1027         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1028         Unit test for internal links on tee. See #549504.
1029
1030 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1031
1032         * tests/check/Makefile.am:
1033         libs/transform1 test requires libs/test_transform.c
1034
1035 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1036
1037         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1038         Die evil deadlock, die !
1039
1040 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1041
1042         * gst/gstutils.c: (gst_element_get_compatible_pad):
1043         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1044         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1045         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1046         not steal the refcount of the given caps as stated.
1047
1048         REVERT THIS COMMIT ONCE FIXED !
1049         REVERT THIS COMMIT ONCE FIXED !
1050         REVERT THIS COMMIT ONCE FIXED !
1051         REVERT THIS COMMIT ONCE FIXED !
1052         REVERT THIS COMMIT ONCE FIXED !
1053         REVERT THIS COMMIT ONCE FIXED !
1054
1055 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1056
1057         * gst/gstiterator.c:
1058         * gst/gstiterator.h:
1059         After 3 years it's about time to revise the documentation of the
1060         iterator objects.
1061
1062 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1063
1064         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1065         Make the internal links function less thread-unsafe and add some
1066         comments, dunno why.
1067
1068 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1069
1070         * gst/gst_private.h:
1071           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1072           build with --disable-gst-debug.
1073
1074 2008-08-28  David Schleef  <ds@schleef.org>
1075
1076         * gst/gstpadtemplate.c: Revert last change, since it breaks
1077           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1078           but shouldn't be enabled until we've released fixed versions
1079           of -good and -ffmpeg.
1080
1081 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1082
1083         * gst/gstobject.c:
1084           Put the gst_object_get_name() back in.
1085
1086 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1087
1088         * gst/gstpadtemplate.c:
1089           The old behaviour was that gst_pad_template_new() takes ownership of
1090           the caps. As we now call g_object_new() which calls g_object_set() and
1091           which copies the caps, we have to unref them to not leak them. Fixes
1092           make valgrid for me.
1093
1094 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1095
1096         * gst/gsturi.c:
1097           Don't segfault on input like "tel:+1-123-555-1234".
1098
1099 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1100
1101         * gst/gstobject.c:
1102           Due to popular request also include ObjectType in
1103           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1104
1105 2008-08-26  David Schleef  <ds@schleef.org>
1106
1107         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1108           src_val must be positive, because that's not a requirement.
1109           This causes problems with converting negative granulepos
1110           values for Dirac.
1111         * gst/gstquery.c: Same, gst_query_new_convert().
1112
1113 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1114
1115         * gst/gstclock.c: (gst_clock_add_observation):
1116         Add some more debugging to the clock slaving code.
1117
1118         * win32/common/libgstbase.def:
1119         Add new basetransform method.
1120
1121 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1122
1123         * gst/gstbin.c: (gst_bin_element_set_state):
1124         Take the (recursive) state lock between getting the locked state of an
1125         element and changing the element state. This allows the application to
1126         lock an element's state and then change its state without races.
1127
1128 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1129
1130         * gst/gstbin.c: (gst_bin_element_set_state):
1131         When an element is in the locked state we still want to update the
1132         base_time of the element.
1133
1134 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1135
1136         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1137         Use the result from gst_pad_set_caps() instead of assuming the element
1138         always accepted the caps computed by the default negotiate function.
1139
1140 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1141
1142         * docs/libs/gstreamer-libs-sections.txt:
1143         * libs/gst/base/gstbasetransform.c:
1144         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1145         (gst_base_transform_chain), (gst_base_transform_suggest),
1146         (gst_base_transform_reconfigure):
1147         * libs/gst/base/gstbasetransform.h:
1148         Implement method for reconfiguring basetransform.
1149         API: GstBaseTransform::gst_base_transform_reconfigure()
1150
1151 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1152
1153         patch by: Murray Cumming <murrayc@murrayc.com>
1154
1155         * gst/gstutils.c:
1156           Mention that this is just like gst_buffer_merge() but with extra
1157           unreffing for C coders. Advise language bindings not to wrap it.
1158           Fixes Bug #533856.
1159           
1160           Also fix file comment.
1161
1162 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1163
1164         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1165
1166         * plugins/elements/gstfakesink.c:
1167         * plugins/elements/gstfakesrc.c:
1168           Call super::event() when not handling it. Fixes #544855.
1169
1170 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1171
1172         Patch by: Alessandro Decina <alessandro@nnva.org>
1173         * plugins/elements/gstfilesrc.c:
1174           Use 64 bit variants of stat functions on win32, to enable support
1175           of large files there.
1176           Fixes #547277.
1177
1178 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1179
1180         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1181         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1182         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1183         (gst_base_sink_get_position), (gst_base_sink_change_state):
1184         Improve position reporting in the flushing state.
1185         Also report the position when we are not yet prerolled but we
1186         have a newsegment event. Fixes #543444.
1187         Improve the pull-based negotiation code.
1188
1189         * tests/check/elements/fakesink.c: (GST_START_TEST),
1190         (fakesink_suite):
1191         Add testcase for position reporting while flushing in PAUSED and
1192         PLAYING.
1193
1194         * tests/check/generic/sinks.c: (GST_START_TEST):
1195         Update unit-test, we can now query the position as soon as we receive a
1196         NEWSEGMENT event.
1197
1198 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1199
1200         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1201
1202         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1203         When the subclass event handler releases the PREROLL_LOCK, we could be
1204         in the flushing state and we have to ignore the event. Fixes #548394.
1205
1206 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1207
1208         * tools/gst-launch.1.in:
1209           Document GST_REGISTRY_UPDATE environment variable.
1210
1211 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1212
1213         * libs/gst/base/gstbasetransform.c:
1214         (gst_base_transform_prepare_output_buffer):
1215         If the element is configured in passthrough mode but the
1216         prepare_output_buffer gave us a new output buffer, discard that buffer
1217         and reuse the input buffer.
1218
1219 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1220
1221         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1222
1223         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1224         (gst_tee_request_new_pad), (gst_tee_release_pad),
1225         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1226         * plugins/elements/gsttee.h:
1227         Protect pad_alloc with a new lock so that we can be sure that nothing is
1228         performing a pad_alloc when removing the pad. Fixes #547835.
1229
1230         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1231         (buffer_alloc_harness_teardown), (app_thread_func),
1232         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1233         Added testcase for shutdown race.
1234
1235 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1236
1237         * gst/gstpad.h:
1238         Add doc
1239
1240 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1241
1242         * libs/gst/base/gstbasetransform.c:
1243         (gst_base_transform_prepare_output_buffer),
1244         (gst_base_transform_buffer_alloc):
1245         Go over the buffer_alloc function again and make sure we always end up
1246         allocating a buffer.
1247         Add some more docs.
1248         Avoid doing pad alloc when we have a pending suggestion because we
1249         cannot yet deal with changing caps in that case. Fixes #547728
1250
1251 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1252
1253         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1254
1255         * docs/manual/advanced-clocks.xml:
1256         * docs/manual/clocks.png:
1257         * docs/manual/diagrams-clocks.svg:
1258           Add one more image showing different times together with a describing
1259           paragraph. Fixes #547729.
1260
1261 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1262
1263         * win32/common/libgstbase.def:
1264         Add new method.
1265
1266 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1267
1268         * libs/gst/base/gstbasetransform.c:
1269         (gst_base_transform_transform_caps),
1270         (gst_base_transform_prepare_output_buffer),
1271         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1272         Don't overwrite the outsize when calculating the expected size of a new
1273         buffer because we still need it in case we cannot process the new
1274         buffer.
1275         When converting the size of the new buffer to an upstream size, actually
1276         use the expected size of the buffer, not some other random value.
1277         Use an atomic int to signal that a new upstream caps suggestion is
1278         available.
1279         When we can convert the current buffer to a new format, check if the
1280         buffer size is of the expected size and allocate a new buffer of the
1281         expected size when this is not the case. Fixes #546883.
1282
1283         * tests/check/libs/transform1.c: (GST_START_TEST):
1284         remove ifdeffed code from the unit test.
1285
1286 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1287
1288         * pkgconfig/gstreamer-uninstalled.pc.in:
1289         * pkgconfig/gstreamer.pc.in:
1290           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1291           called gstcontroller-0.10.
1292
1293 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1294
1295         * gst/gstchildproxy.h:
1296         * gst/gstpreset.h:
1297           Remove double interface from doc-string.        
1298
1299 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1300
1301         * libs/gst/base/gstbasesrc.c:
1302         * libs/gst/base/gstbasetransform.c:
1303           Fix headings in docs and gtk-doc warnings.
1304
1305 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1306
1307         * gst/gstregistrybinary.c:
1308           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1309           libc.
1310           Fixes #544776.
1311
1312 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1313
1314         * libs/gst/base/gstbasetransform.c:
1315         (gst_base_transform_buffer_alloc):
1316         Fix a "may be used unitialized" warning.
1317
1318 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1319
1320         * docs/gst/gstreamer-sections.txt:
1321         * gst/gstpreset.h:
1322           Document preset-iface vmethods.
1323
1324 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1325
1326         * docs/manual/advanced-interfaces.xml:
1327           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1328           only used to discover devices.
1329
1330 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1331
1332         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1333
1334         * gst/gst.c: (init_pre):
1335         Make sure gettext returns translations in UTF-8 encoding rather
1336         than in the current locale encoding (#546822).
1337
1338 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1339
1340         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1341         Fix subset test.
1342
1343         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1344         Improve unit test subset tests and add a testcase for the subset failure
1345         cases.
1346
1347         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1348         Improve subtraction unit test.
1349
1350 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1351
1352         * plugins/elements/gsttee.c:
1353           Unlock, instead of locking again.
1354
1355 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1356
1357         * gst/gstpad.h:
1358         Clarify the docs a bit more.
1359
1360 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1361
1362         * tests/examples/metadata/read-metadata.c:
1363           Don't leak old taglist.
1364
1365 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1366
1367         Patch by: Olivier Crete <tester at tester dot ca>
1368
1369         * gst/gststructure.c:
1370         (gst_structure_fixate_field_nearest_fraction):
1371         Avoid overflows in fixation code when dealing with MAXINT values, which
1372         v4l2src seems to do.
1373         Fixes #546328.
1374
1375         * tests/check/gst/gststructure.c: (GST_START_TEST):
1376         Make a unit test to check the fix. 
1377
1378 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1379
1380         * plugins/elements/gstcapsfilter.c: (copy_func),
1381         (gst_capsfilter_set_property):
1382         Use new caps suggestion feature of basetransform to request a caps
1383         negotiation upstream.
1384
1385 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1386
1387         * docs/libs/gstreamer-libs-sections.txt:
1388         Add new function:
1389         API: GstBaseTransform::gst_base_transform_suggest()
1390
1391         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1392         (gst_base_transform_init), (gst_base_transform_transform_caps),
1393         (gst_base_transform_transform_size),
1394         (gst_base_transform_configure_caps),
1395         (gst_base_transform_can_transform),
1396         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1397         (gst_base_transform_prepare_output_buffer),
1398         (gst_base_transform_buffer_alloc),
1399         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1400         (gst_base_transform_chain), (gst_base_transform_activate),
1401         (gst_base_transform_set_passthrough),
1402         (gst_base_transform_is_passthrough),
1403         (gst_base_transform_set_in_place),
1404         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1405         (gst_base_transform_set_qos_enabled),
1406         (gst_base_transform_is_qos_enabled),
1407         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1408         (gst_base_transform_reconfigure):
1409         * libs/gst/base/gstbasetransform.h:
1410         Rewrite of basetransform to perform negotiation outside of the
1411         buffer_alloc functions.  Fixes #545853.
1412
1413         * tests/check/libs/transform1.c: (GST_START_TEST),
1414         (buffer_alloc_ct2):
1415         Update unit test.
1416
1417 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1418
1419         * tests/check/gst/gstpreset.c:
1420           Only run preset tests when $HOME is writable. Preliminary fix for
1421           #545433.
1422
1423 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1424
1425         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1426         (gst_bin_change_state_func), (bin_handle_async_done),
1427         (gst_bin_handle_message_func):
1428         Fix race for bins that simulate ASYNC state changes by inserting
1429         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1430         pending ASYNC messages even when the bin does not have ASYNC children.
1431         We note detect this behaviour because we will receive an ASYNC message
1432         that is originating from the bin itself. 
1433         Fixes races with decodebin2 state changes.
1434
1435         * tests/check/gst/gstbin.c: (GST_START_TEST):
1436         Add some more debug.
1437
1438 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1439
1440         * gst/gsttaglist.c: (_gst_tag_initialize):
1441           Fix typo.
1442
1443 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1444
1445         * gst/gsttaglist.c:
1446           Argh. actually save the text before committing. Now adds
1447           gst_tag_merge_strings_with_comma() to gst_tag_register().
1448
1449 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1450
1451         * gst/gsttaglist.c:
1452         * gst/gsttaglist.h:
1453           Do as tim pointed out and actually register the new tag. Also improve
1454           te docs and use gst_tag_merge_strings_with_comma() method to allow
1455           retriving all keywords merged in one list.
1456
1457 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1458
1459         * configure.ac:
1460         * docs/gst/gstreamer.types:
1461           Revert 'accidential' change of the configure option removal. We still
1462           need to generate the types file in configure --disable-load-save.
1463
1464 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1465
1466         * docs/gst/gstreamer-sections.txt:
1467         * gst/gsttaglist.h:
1468           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1469
1470 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1471
1472         * gst/gstpadtemplate.c:
1473           (gst_pad_template_class_init), (gst_static_pad_template_get),
1474           (gst_pad_template_new), (gst_pad_template_pad_created),
1475           (gst_pad_template_set_property), (gst_pad_template_get_property):
1476           Add "name-template", "direction", "presence" and "caps" properties,
1477           so that gst_pad_template_new() is just a thin wrapper around
1478           g_object_new(), which is better for bindings. (Fixes: #539772)
1479
1480 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1481
1482         * gst/gsturi.c:
1483           Be more liberal in what URIs we accept.
1484           Do not unescape bits of the URI for no apparent reason before passing to
1485           the element. Fixes #545352.
1486
1487 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1488
1489         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1490
1491         * gst/gst.c:
1492         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1493
1494 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1495
1496         * configure.ac:
1497         * docs/gst/gstreamer-sections.txt:
1498         * docs/gst/gstreamer.types:
1499         * docs/gst/gstreamer.types.in:
1500         * gst/Makefile.am:
1501         * gst/gst.c:
1502         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1503         * gst/gstconfig.h.in:
1504         * gst/gstelement.c: (gst_element_get_index):
1505         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1506         (gst_registry_binary_load_feature),
1507         (gst_registry_binary_read_cache):
1508         * gst/gstregistryxml.c: (load_feature),
1509         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1510         * plugins/Makefile.am:
1511         * tools/gst-indent:
1512         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1513         (print_plugin_features), (print_element_features):
1514         * tools/gst-xmlinspect.c: (print_event_masks),
1515         (print_element_info):
1516         * win32/common/gstconfig.h:
1517         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1518
1519         Disabling the indexers and URI handler code will only reduce the
1520         required amount of memory by a very small amount but on the other hand
1521         requires much more maintaince work. Apart from that many places of
1522         code are broken when disabling them.
1523
1524         Disabling the enum types doesn't reduce the required amount of memory
1525         by more than a few bytes and makes it hard to fix bugs like #539772,
1526         i.e. use the enums as GObject properties.
1527
1528 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1529
1530         * docs/design/part-TODO.txt:
1531         Add some thoughts and problems with upstream renegotiation.
1532
1533 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1534
1535         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1536         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1537         Remove silly redundant debug.
1538         Add some more debug info.
1539         Clarify the docs regarding new caps received from pad_alloc.
1540
1541 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1542
1543         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1544         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1545         Make setting the caps more threadsafe.
1546
1547 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1548
1549         * docs/design/part-element-transform.txt:
1550         Update docs.
1551
1552 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1553
1554         * plugins/elements/gstqueue.c: (gst_queue_init),
1555         (gst_queue_acceptcaps):
1556         Add and use a custom acceptcaps function instead of falling back to the
1557         potentially less optimized default implementation.
1558
1559 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1560
1561         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1562           Only sanity-check the buffer size if requested_caps == buffer_caps
1563           (ie. don't take pad caps into account, they're not relevant here)
1564
1565 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1566
1567         * plugins/elements/gsttee.c:
1568         * plugins/elements/gsttee.h:
1569           Reverting as not everything is clear yet. Needs some general design
1570           work.
1571
1572 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1573
1574         * ChangeLog:
1575           ChangeLog surgery for tee commit.
1576
1577 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1578
1579         * docs/gst/gstreamer-sections.txt:
1580           Cleanup section-file.
1581
1582 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1583
1584         * plugins/elements/gsttee.c:
1585         * plugins/elements/gsttee.h:
1586           Relay tag events in tee. Fixes parts of #474016.
1587           Downgrades 3 reoccurring debugs to log.
1588
1589 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1590
1591         * configure.ac:
1592         * libs/gst/Makefile.am:
1593           Build the net library if we have winsock2.
1594
1595 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1596
1597         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1598
1599         * docs/manual/advanced-threads.xml:
1600         * docs/manual/diagrams-pipelines.svg:
1601         * docs/manual/hello-world.png:
1602         * docs/manual/linked-elements.png:
1603         * docs/manual/mime-world.png:
1604         * docs/manual/queue.png:
1605         * docs/manual/thread-buffering.png:
1606         * docs/manual/thread-synchronizing.png:
1607           Replace one diagram with two separate ones and updates others.
1608           Fixes #542401.
1609
1610 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1611
1612         * gst/gstelement.h:
1613         Fix link in documentation.
1614
1615 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1616
1617         * gst/gstmessage.c:
1618         Fix confusing documentation.
1619
1620 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1621
1622         * libs/gst/base/gstbasesrc.h:
1623         revert the changes to the header file for the ABI.
1624
1625 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1626
1627         * libs/gst/base/gstbasesrc.c:
1628         * libs/gst/base/gstbasesrc.h:
1629         Don't cache the seekable status.
1630         Fixes bug #544174
1631
1632 2008-07-24  Rene Stadler  <mail@renestadler.de>
1633
1634         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1635         code to close the pipeline graph.  This prevents the program from
1636         printing internal data flow errors.
1637
1638 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1639
1640         * docs/manual/basics-bus.xml:
1641         Correct typo. Fixes bug #544320.
1642
1643 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1644
1645         * configure.ac:
1646           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1647           Add check (taken from -base) for winsock, adds WIN32_LIBS
1648         * gst/Makefile.am:
1649           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1650           winsock.
1651           Define GST_EXPORTS when building libgstreamer (only used on win32)
1652         * gst/gst_private.h:
1653         * gst/gstinfo.h:
1654           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1655           for symbols that we need to export in both these files.
1656         * gst/gstpoll.c:
1657           Include gst_private.h higher up to avoid some compile problems on win32.
1658
1659 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1660
1661         * gst/gstvalue.c:
1662         Fix typos.
1663
1664 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1665
1666         * gst/gstcaps.c:
1667         Previous commit was wrong NULL caps does not exist
1668         and indicate an error, so also add a FIXME to
1669         gst_caps_is_equal where NULL caps are accepted.
1670
1671 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1672
1673         * gst/gstcaps.c:
1674         Allow passing of NULL to gst_caps_union
1675
1676 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1677
1678         * gst/gstghostpad.c:
1679         Add in doc that gst_ghost_pad_set_target can accept
1680         NULL to clear target
1681
1682 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1683
1684         * gst/gstplugin.c:
1685         * gst/gstregistry.c:
1686           GstRegistryPool doesn't exist; don't refer to it in docs.
1687           Don't refer to functions that don't exist in docs, it's
1688           unhelpful.
1689
1690 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1691
1692         * gst/gst.c:
1693         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1694
1695 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1696
1697         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1698
1699         * docs/pwg/building-testapp.xml:
1700         Don't use an undeclared variable in the example program.
1701         Fixes bug #542573.
1702
1703 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1704
1705         * gst/gstdebugutils.c:
1706           Squeeze ghost-pad links and remove <> from classname labels to save
1707           more horizontal space.
1708
1709 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1710
1711         * gst/gstdebugutils.c:
1712           Give request and sometimes pads a different shpe style. Condense the
1713           graphs a little more.
1714
1715 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1716
1717         * configure.ac:
1718           Don't require flex and bison if the parser is disabled.
1719
1720 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1721
1722         * libs/gst/controller/gstinterpolationcontrolsource.c:
1723         (_list_find_sorted_custom):
1724         Don't use declarations after statements.
1725
1726 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1727
1728         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1729         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1730         of the the child-added / -removed signals as GstChildProxy
1731         only supports GstObjects.
1732
1733 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1734
1735         * gst/gstdebugutils.c:
1736         Fix memleak
1737
1738 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1739
1740         Patch by: Alessandro Decina <alessandro at nnva dot org>
1741
1742         * gst/gstpoll.c:
1743         Fix "ignored return value" compiler warning with newer glibc.
1744
1745 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1746
1747         * gst/gstchildproxy.c:
1748         Fix copy&paste error in gst_child_proxy_removed() documentation.
1749
1750 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1751
1752         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1753           Print error debug message if plugin description fields that should
1754           be set are NULL.
1755
1756         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1757           Don't crash if the string to serialise is NULL (it really should
1758           not be, but apparently this used to work with the xml registry ...).
1759
1760 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1761
1762         * tools/gst-plot-timeline.py:
1763         Fix parsing of log messages
1764
1765 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1766
1767         * win32/common/libgstbase.def::
1768           Sort alphabetically so make check-exports doesn't barf.
1769
1770 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1771
1772         * gst/gstevent.c:
1773           Use gst_format_get_name() to improve debug output.
1774
1775         * gst/gstpreset.c:
1776           Remove #ifdef'ed code. Add TODO comment.
1777
1778         * gst/gstsegment.c:
1779           Add debug output to ease spotting format != segment.format assertions.
1780
1781 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1782
1783         * tests/check/libs/gdp.c: (gst_dp_suite):
1784         Also enable the GDP unit test again on PPC now that the bug
1785         is fixed.
1786
1787 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1788
1789         * libs/gst/dataprotocol/dataprotocol.c:
1790         Don't write to the same region of memory as a uint64 and uint16
1791         as this breaks strict aliasing rules and apparantly breaks on PPC
1792         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1793
1794 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1795
1796         * libs/gst/controller/gstinterpolationcontrolsource.c:
1797           Optimize list handling. Use own find function. Exploit that fact that
1798           the list is sorted. Also pass back the node before, so that we can
1799           insert quickly. Have a fast path for append.
1800
1801 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1802
1803         * docs/design/draft-framestep.txt:
1804         * docs/design/part-negotiation.txt:
1805           Fix two typos.
1806
1807 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1808
1809         * configure.ac:
1810           Show configuration sumary after configure run. Based on patch by
1811           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1812
1813 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1814
1815         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1816
1817         * docs/manual/advanced-autoplugging.xml:
1818         * docs/manual/advanced-threads.xml:
1819         * docs/manual/basics-bins.xml:
1820         * docs/manual/basics-elements.xml:
1821         * docs/manual/basics-helloworld.xml:
1822         * docs/manual/basics-pads.xml:
1823           Add scale factor for pdf output.
1824
1825         * docs/manual/intro-basics.xml:
1826           Switched sections "pads" and "bins" and added a pipeline diagram.
1827
1828         * docs/manual/intro-gstreamer.xml:
1829           Added more info on gstreamer.
1830
1831         * docs/manual/intro-motivation.xml:
1832           Commented out the whole section "current problem", which sounds
1833           historical and somehow osolete; it could be turned in a positive
1834           way and reused to improve the design principles.
1835
1836         * docs/manual/intro-preface.xml:
1837           - Update URLs to library.gnome.org. 
1838           - Do not mention GTK+ in preliminary reading (irrelevant). 
1839           - Mention Plugin Writer's Manual and further reading only in the
1840             previous section.
1841           - Added a list of most relevant GObject/glib topics.
1842
1843         * docs/manual/Makefile.am:
1844         * docs/manual/bin-element-ghost.fig:
1845         * docs/manual/bin-element-ghost.png:
1846         * docs/manual/bin-element-noghost.fig:
1847         * docs/manual/bin-element-noghost.png:
1848         * docs/manual/bin-element.fig:
1849         * docs/manual/bin-element.png:
1850         * docs/manual/filter-element-multi.fig:
1851         * docs/manual/filter-element-multi.png:
1852         * docs/manual/filter-element.fig:
1853         * docs/manual/filter-element.png:
1854         * docs/manual/gstreamer-overview.png:
1855         * docs/manual/hello-world.fig:
1856         * docs/manual/hello-world.png:
1857         * docs/manual/linked-elements.fig:
1858         * docs/manual/linked-elements.png:
1859         * docs/manual/mime-world.fig:
1860         * docs/manual/mime-world.png:
1861         * docs/manual/queue.fig:
1862         * docs/manual/queue.png:
1863         * docs/manual/simple-player.png:
1864         * docs/manual/sink-element.fig:
1865         * docs/manual/sink-element.png:
1866         * docs/manual/src-element.fig:
1867         * docs/manual/src-element.png:
1868         * docs/manual/diagrams-general.svg:
1869         * docs/manual/diagrams-pipelines.svg:
1870           Removed .fig, added .png counterpart.
1871           
1872           Fixes: #539137
1873
1874 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1875
1876         * plugins/elements/gstmultiqueue.c:
1877         * plugins/elements/gstmultiqueue.h:
1878         revert extra-size-buffers stuff, caused some race conditions
1879         and extra-size-buffers is not used anymore. Docs needs some updates
1880
1881 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1882
1883         * win32/common/config.h:
1884         * win32/common/gstenumtypes.c:
1885         * win32/common/gstenumtypes.h:
1886         * win32/common/gstversion.h:
1887           Update win32 files.
1888
1889 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1890
1891         * gst/gstdebugutils.h: (GstDebugGraphDetails),
1892           (GST_DEBUG_BIN_TO_DOT_FILE):
1893           Add missing Since' markers to gtk-doc blurbs.
1894
1895 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
1896
1897         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1898         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1899         (set_caps_1), (set_caps_ct1), (transform_ct1),
1900         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1901         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1902         (transform_size_ct2), (buffer_alloc_ct2):
1903         Add some more tests with switching caps in buffer_alloc.
1904
1905 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1906
1907         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1908         (gst_test_trans_class_init), (result_sink_chain),
1909         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1910         (gst_test_trans_push), (gst_test_trans_pop):
1911         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1912         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1913         (set_caps_1), (set_caps_ct1), (transform_ct1),
1914         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1915         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1916         (transform_size_ct2), (buffer_alloc_ct2),
1917         (gst_basetransform_suite):
1918         More tests, prepare for tests with switching caps in buffer_alloc.
1919
1920 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1921
1922         * plugins/elements/gstmultiqueue.c:
1923         * plugins/elements/gstmultiqueue.h:
1924         Fix dead-lock in underrun_cb
1925
1926 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1927
1928         * docs/design/part-states.txt:
1929         Fix device open/close docs.
1930
1931 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1932
1933         * ChangeLog:
1934           Mention bugnumber for last commit.
1935
1936 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1937
1938         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1939
1940         * docs/manual/manual.xml:
1941         - Reorganised the previous "introduction" bundle into Foreword,
1942         Introduction, and About GStreamer. The two first are <preface>
1943         docbook elements. The later is the first part of the book.
1944         - added intro-gstreamer.xml (content partially from
1945         intro-preface.xml)
1946         - moved appendix-win32.xml into appendix-integration.xml
1947
1948         * docs/manual/intro-preface.xml: gstreamer section moved...
1949         * docs/manual/intro-gstreamer.xml: ...here. new file.
1950
1951         * docs/manual/appendix-win32.xml: removed file. Content moved...
1952         * docs/manual/appendix-integration.xml: ...here.
1953         
1954         * docs/manual/highlevel-components.xml: section about GstEditor moved...
1955         * docs/manual/appendix-checklist.xml: ...here.
1956         
1957         Fixes: 538764
1958
1959 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1960
1961         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1962
1963         * docs/manual/basics-helloworld.xml:
1964         * docs/manual/hello-world.fig:
1965           - Explicitely include glib.h.
1966           - Do not use global variables.
1967           - Use g_printerr() instead of g_print().
1968           - Minor formating/renaming to increase readibility.
1969           - Renamed new_pad() to on_pad_added()
1970           - Improved explenatory comments.
1971           - renamed ogg parser to ogg demuxer
1972           - Use "autoaudiosink" instead of "alsasink".
1973           Fixes: #538619
1974
1975 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1976
1977         * ChangeLog:
1978           Remove cvs conflict marker.
1979
1980 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1981
1982         * docs/README:
1983           Document that for plgin-docs we extraxt he short-desc from the element
1984           details.
1985
1986         * docs/design/part-states.txt:
1987           Tell that devices should be closed in PAUSED -> READY.
1988
1989         * docs/manual/README:
1990           Document how tests in the manual are handled.
1991
1992         * docs/manuals.mak:
1993           Typo in comment.
1994
1995 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1996
1997         * gst/gstbin.c: (bin_query_latency_fold):
1998         Only care about latency min and max when the sink is actually a live
1999         sink.
2000
2001 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2002
2003         * docs/design/part-block.txt:
2004         Fix typo.
2005
2006         * docs/design/part-element-transform.txt:
2007         Add notes about why transform needs to know input/output sizes.
2008         Add some issues that need to be solved.
2009         Add some more use cases.
2010
2011         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2012         (gst_test_trans_class_init), (result_sink_chain),
2013         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2014         (gst_test_trans_push), (gst_test_trans_pop):
2015         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2016         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2017         (set_caps_1), (set_caps_ct1), (transform_ct1),
2018         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2019         (gst_basetransform_suite):
2020         Add suport for different pad templates and buffer-alloc.
2021         Add more checks for caps and buffer-alloc.
2022         Add checks for proxy buffer alloc.
2023         Add unit test for copy transform.
2024
2025 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2026
2027         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2028
2029         * docs/manual/appendix-integration.xml:
2030         * docs/manual/appendix-licensing.xml:
2031         * docs/manual/basics-elements.xml:
2032         * docs/manual/basics-helloworld.xml:
2033         * docs/manual/basics-pads.xml:
2034         * docs/manual/highlevel-components.xml:
2035         * docs/manual/highlevel-xml.xml:
2036         * docs/manual/intro-basics.xml:
2037         * docs/manual/intro-preface.xml:
2038           Typo and formatting fixes (#538594).
2039
2040 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2041
2042         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2043         Fix some memory leaks and uses of object instances that we don't
2044         actually own.
2045
2046 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2047
2048         * plugins/elements/gstmultiqueue.c:
2049         Add functionality to extra-size-buffers property.
2050
2051 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2052
2053         * plugins/elements/gstmultiqueue.c:
2054         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2055         activate the pads if they are added in STATE_NULL.
2056
2057 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2058
2059         * docs/libs/gstreamer-libs-sections.txt:
2060         Add new API to doc
2061         * libs/gst/check/gstcheck.c:
2062         * libs/gst/check/gstcheck.h:
2063         API: gst_check_teardown_pad_by_name
2064
2065 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2066
2067         * libs/gst/check/gstcheck.c:
2068         * libs/gst/check/gstcheck.h:
2069         Also setup request pads and allow setup pads by name (#537812)
2070         API: gst_check_setup_src_pad_by_name
2071         API: gst_check_setup_sink_pad_by_name
2072
2073 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2074
2075         * tests/check/gst/gstbuffer.c:
2076         * tests/check/pipelines/parse-launch.c:
2077           Use HAVE_VALGRIND_H some more.
2078
2079 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2080
2081         * scripts/cvs-update.sh:
2082           Pass arguments to make.
2083           Run autoregen.sh if Makefile is not there.
2084
2085 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2086
2087         * configure.ac:
2088         * gst/gstinfo.c:
2089           Don't assume that <valgrind/valgrind.h> exists just because
2090           the binary is there.
2091
2092 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2093
2094         * tests/check/Makefile.am:
2095         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2096         (gst_test_trans_class_init), (gst_test_trans_init),
2097         (gst_test_trans_set_data), (result_sink_chain),
2098         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2099         (gst_test_trans_pop):
2100         * tests/check/libs/transform1.c: (GST_START_TEST),
2101         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2102         Add some test basetransform element and the beginnings of various
2103         unit tests for it.
2104
2105 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2106
2107         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2108         Increase code readability.
2109         Don't try to compare buffer offsets when ther are invalid.
2110
2111 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2112
2113         * docs/design/Makefile.am:
2114           Dist some more design docs.
2115
2116         * docs/random/moving-plugins:
2117           Small addition: good plugins mustn't have functional code
2118           within assertion macros.
2119
2120 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2121
2122         * docs/design/draft-framestep.txt:
2123         Some ideas about a framestep API
2124
2125         * docs/design/part-element-transform.txt:
2126         Start design and use cases for basetransform in order to get it
2127         fixed soon.
2128
2129 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2130
2131         * gst/gsttaglist.h:
2132           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2133           be in UTF-8 encoding.
2134
2135 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2136
2137         * gst/gstbus.c:
2138           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2139
2140 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2141
2142         * plugins/elements/gstcapsfilter.c:
2143         * plugins/elements/gstfakesink.c:
2144         * plugins/elements/gstfakesrc.c:
2145         * plugins/elements/gstfdsink.c:
2146         * plugins/elements/gstfdsrc.c:
2147         * plugins/elements/gstfilesink.c:
2148         * plugins/elements/gstfilesrc.c:
2149         * plugins/elements/gstidentity.c:
2150         * plugins/elements/gstmultiqueue.c:
2151         * plugins/elements/gstqueue.c:
2152         * plugins/elements/gsttee.c:
2153         * plugins/elements/gsttypefindelement.c:
2154           Remove short_description. Add basic docs for gsttypefindelement.
2155           Simplify markup for fakesrc/fdsrc.
2156
2157 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2158
2159         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2160         Added Since doc.
2161
2162 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2163
2164         Patch by: Joel Larsson <tilljoel at gmail dot com>
2165
2166         * docs/plugins/gstreamer-plugins.args:
2167         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2168         (gst_fd_src_init), (gst_fd_src_update_fd),
2169         (gst_fd_src_set_property), (gst_fd_src_get_property),
2170         (gst_fd_src_create):
2171         * plugins/elements/gstfdsrc.h:
2172         Add timeout property like udpsrc. Fixes #538628.
2173         Add some more docs and example pipelines.
2174
2175 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2176
2177         * docs/libs/gstreamer-libs-sections.txt:
2178         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2179         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2180         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2181         (gst_base_sink_do_sync):
2182         * libs/gst/base/gstbasesink.h:
2183         * win32/common/libgstbase.def:
2184         Add method to allow sinks to specify additional delay between the sync
2185         times and the actual rendering of the data.
2186         API: gst_base_sink_set_render_delay()
2187         API: gst_base_sink_get_render_delay()
2188
2189 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2190
2191         * configure.ac:
2192         Bump version number back to dev -> 0.10.20.1
2193
2194 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2195
2196         * docs/gst/gstreamer-sections.txt:
2197         * gst/gsttaglist.c: (_gst_tag_initialize):
2198         * gst/gsttaglist.h:
2199         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2200         Fixes bug #538568.
2201
2202 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2203
2204         * libs/gst/controller/gstcontroller.c:
2205           Revert one change, that make ret value possible uninitialized.
2206
2207 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2208
2209         * libs/gst/controller/gstcontroller.c:
2210           Use freeze/thaw notify to sync notify emission a bit (its also more
2211           efficient). Move debug output to LOG (is called a lot in a loop).
2212           Always unset g_values if the have been initialized.
2213
2214 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2215
2216         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2217         (gst_base_sink_wait_eos), (gst_base_sink_event):
2218         If we have not seen a buffer before EOS, use the segment values to
2219         report the current position instead of invalid positions.
2220
2221 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2222
2223         * docs/plugins/tmpl/.cvsignore:
2224         * tests/check/gst/.cvsignore:
2225           Ignore more.
2226
2227 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2228
2229         * libs/gst/controller/gstinterpolation.c:
2230         * libs/gst/controller/gstinterpolationcontrolsource.c:
2231         * tests/check/libs/controller.c:
2232           Rewrite handling of default values. Fix overflow with unsigned types
2233           in linear interpolation. Remove now obsolete _first_value() function.
2234           Add more tests. Fixes #538201.
2235
2236 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2237
2238         * libs/gst/base/gstbasetransform.c:
2239         (gst_base_transform_class_init), (gst_base_transform_init),
2240         (gst_base_transform_transform_caps),
2241         (gst_base_transform_prepare_output_buffer):
2242         Add debug info.
2243         When a buffer is writable, its metadata is also writable so we don't
2244         need to subbuffer (which then makes the buffer not-writable anymore).
2245
2246 === release 0.10.20 ===
2247
2248 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2249
2250         * configure.ac:
2251           releasing 0.10.20, "You Crazy Diamond"
2252
2253 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2254
2255         * configure.ac:
2256         0.10.19.3 pre-release
2257
2258 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2259
2260         * configure.ac:
2261         * gst/gstpreset.c:
2262         Rename DATADIR to GST_DATADIR to avoid build problems
2263         on win32. Patch By: David Schleef <ds@schleef.org>
2264         Fixes: #536857
2265
2266 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2267
2268         * configure.ac:
2269         Explicitely link with -ldl if dladdr() is found there. Before it was
2270         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2271         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2272
2273 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2274
2275         * gst/gsterror.c: (_gst_stream_errors_init):
2276           Fix typo (spotted by Fabricio Godoy, #536723).
2277
2278 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2279
2280         * configure.ac:
2281         0.10.19.2 pre-release
2282
2283 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2284
2285         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2286         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2287         Add some debug.
2288         Make sure we don't generate invalid QoS messages.
2289
2290 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2291
2292         * gst/gstevent.c: (gst_event_new_qos):
2293         Add some assert and docs for invalid input to the qos function.
2294
2295 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2296
2297         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2298         (gst_base_sink_get_position):
2299         The reported position must always be smaller than the last seen
2300         timestamps (or timestamp + duration for reverse).
2301
2302 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2303
2304         Patch by: Rob Bradford <rob at robster dot org dot uk>
2305
2306         * gst/gstregistry.c: (gst_registry_scan_path_level):
2307         Don't recurse into .debug directories as some distros install
2308         the debugging symbols next to the plugins in .debug directories
2309         and dlopen() crashes on them sometimes. Fixes bug #508070.
2310
2311         Add FIXME for 0.11 to not recurse into directories at all because
2312         it's very inconsistent to the behaviour of other PATH environment
2313         variables.
2314
2315 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2316
2317         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2318         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2319         Fix position query range checks in reverse playback.
2320
2321 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2322
2323         * gst/gstelement.c:
2324         * gst/gstelement.h:
2325         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2326         clear of the reference to the resulting pad must be released later
2327         or not, resulting in possible leaks. Fixes bug #533865.
2328
2329 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2330
2331         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2332
2333         * gst/gstelementfactory.c:
2334         Small doc fix. Fixes #535285.
2335
2336 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2337
2338         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2339
2340         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2341         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2342         (gst_base_src_loop), (gst_base_src_set_flushing),
2343         (gst_base_src_change_state):
2344         Make sending an EOS event to the basesrc non-blocking even if the
2345         implementation does blocking waits in the create function. This is done
2346         by unlocking the create function when EOS is sent.
2347         Fixes #535218.
2348
2349 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2350
2351         * tools/gst-inspect.c: (print_element_properties_info):
2352         If possible print the element type of GValueArray properties.
2353
2354 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2355
2356         * gst/gstiterator.c:
2357         Remove an unused field from the private GstListIterator struct.
2358
2359 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2360
2361         * libs/gst/controller/gstcontroller.c:
2362           Add parameter guards.
2363
2364 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2365
2366         * tests/check/gst/gstpipeline.c:
2367           Revert test change and add comment why it should not work.
2368
2369 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2370
2371         * tests/check/gst/gstpipeline.c:
2372           Extending the test a little to verify that we also get the NULL state-
2373           change message.
2374
2375 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2376
2377         * gst/gstpreset.c: (gst_preset_default_get_meta),
2378           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2379           (gst_preset_load_preset), (gst_preset_save_preset),
2380           (gst_preset_rename_preset), (gst_preset_delete_preset),
2381           (gst_preset_set_meta):
2382           Add Since: markers to docs blurbs.
2383
2384         * win32/common/libgstreamer.def:
2385           Add recently-added API.
2386
2387 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2388
2389         Patch by: Stefan Kost  <ensonic@users.sf.net>
2390
2391         * configure.ac:
2392         Add DATADIR for storing presets.
2393
2394         * docs/gst/gstreamer-docs.sgml:
2395         * docs/gst/gstreamer-sections.txt:
2396         * docs/gst/gstreamer.types.in:
2397         Add GstPreset to docs.
2398
2399         * gst/Makefile.am:
2400         * gst/gst.h:
2401         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2402         (preset_open_and_parse_header), (preset_parse_version),
2403         (preset_merge), (preset_get_keyfile),
2404         (gst_preset_default_get_preset_names),
2405         (gst_preset_default_get_property_names),
2406         (gst_preset_default_load_preset),
2407         (gst_preset_default_save_presets_file),
2408         (gst_preset_default_save_preset),
2409         (gst_preset_default_rename_preset),
2410         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2411         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2412         (gst_preset_default_reset), (gst_preset_get_preset_names),
2413         (gst_preset_get_property_names), (gst_preset_load_preset),
2414         (gst_preset_save_preset), (gst_preset_rename_preset),
2415         (gst_preset_delete_preset), (gst_preset_set_meta),
2416         (gst_preset_get_meta), (gst_preset_class_init),
2417         (gst_preset_base_init), (gst_preset_get_type):
2418         * gst/gstpreset.h:
2419         Add GstPreset to core. Fixes #396779
2420
2421         * tests/check/Makefile.am:
2422         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2423         (gst_preset_test_set_property), (gst_preset_test_class_init),
2424         (gst_preset_test_base_init), (gst_preset_test_get_type),
2425         (gst_preset_test_plugin_init), (GST_START_TEST),
2426         (remove_preset_file), (test_setup), (test_teardown),
2427         (gst_preset_suite):
2428         Add GstPreset unit tests.
2429
2430 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2431
2432         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2433         The default event function on a sinkpad should return TRUE when
2434         there are no internal links but should collect the return values from
2435         the internal links otherwise.
2436
2437 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2438
2439         * plugins/elements/gsttypefindelement.c:
2440         (gst_type_find_element_src_event),
2441         (gst_type_find_element_handle_event):
2442         Use faster and safer _pad_push_event().
2443
2444 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2445
2446         * docs/gst/gstreamer-sections.txt:
2447         * gst/gstutils.c: (element_find_unlinked_pad),
2448           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2449         * gst/gstutils.h:
2450           API: add gst_bin_find_unlinked_pad()
2451           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2452
2453 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2454
2455         * gst/gstclock.c:
2456         * gst/gstclock.h:
2457         * gst/gsttask.c:
2458         * gst/gsttask.h:
2459         Fixed a bunch of typos.
2460
2461 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2462
2463         * gst/gstpad.h:
2464         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2465           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2466           (gst_parse_bin_from_description_full):
2467         * gst/gstutils.h:
2468           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2469
2470 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2471
2472         * docs/pwg/advanced-tagging.xml:
2473           Small docs update, can't be bothered to rewrite the nonsensical
2474           examples right now.
2475
2476 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2477
2478         * gst/gstevent.h:
2479           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2480
2481 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2482
2483         * gst/parse/grammar.y:
2484           Remove unneeded casts.
2485
2486 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2487
2488         * gst/parse/grammar.y:
2489         * tests/check/pipelines/parse-launch.c:
2490           Get all missing elements from a parse launch string if possible
2491           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2492
2493 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2494
2495         * tests/check/Makefile.am:
2496         * tests/check/pipelines/parse-launch.c:
2497           Add some unit tests for the new gst_parse_launch*_full() API.
2498           (Exposes a previously-existing memory leak in the error code
2499           path, so adding to VALGRIND_TO_FIX for now).
2500
2501 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2502
2503         * docs/gst/gstreamer-sections.txt:
2504         * gst/gst.c: (init_post):
2505         * gst/gst_private.h: (_GstParseContext):
2506         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2507           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2508           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2509           (gst_parse_launch_full):
2510         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2511           (GstParseFlags), (GstParseContext):
2512         * gst/gstutils.c: (gst_parse_bin_from_description),
2513           (gst_parse_bin_from_description_full):
2514         * gst/gstutils.h:
2515         * gst/parse/grammar.y:
2516         * gst/parse/types.h:
2517         * win32/common/libgstreamer.def:
2518           Add new gst_parse_*_full API (#528178):
2519           API: gst_parse_launch_full()
2520           API: gst_parse_launchv_full()
2521           API: gst_parse_bin_from_description_full()
2522           API: gst_parse_context_new()
2523           API: gst_parse_context_free()
2524           API: gst_parse_context_get_missing_elements()
2525
2526 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2527
2528         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2529
2530         * docs/faq/gst-uninstalled:
2531           Also support ffmpeg in gst-uninstalled.
2532
2533 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2534
2535         * configure.ac:
2536         After discussion on IRC use the binary registry as default
2537         but allow to disable it with --disable-binary-registry.
2538
2539         * win32/common/libgstreamer.def:
2540         Add the two new symbols for the binary registry.
2541
2542 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2543
2544         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2545         * gst/gstutils.c: (gst_parse_bin_from_description):
2546         * gst/parse/grammar.y: (graph):
2547           More guards against bad input; typo fix; some minor clean-ups.
2548
2549 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2550
2551         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2552
2553         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2554         If nothing else can be used, use the last buffer's start time as
2555         the segment's last stop. Fixes bug #534258.
2556
2557 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2558
2559         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2560           Move size sanity check to the right place: downstream may return
2561           a buffer with a smaller size if the buffer caps are different than
2562           the requested ones, as may happen when doing reverse negotiation.
2563
2564 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2565
2566         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2567         (gst_file_sink_render):
2568         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2569         (gst_file_src_start):
2570         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2571         use it yet.
2572
2573 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2574
2575         * gst/gstpad.c: (gst_pad_load_and_link):
2576         * gst/gstutils.c: (gst_element_link_pads),
2577         (gst_element_unlink_pads):
2578         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2579         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2580         (gst_check_teardown_sink_pad),
2581         (gst_check_element_push_buffer_list):
2582         * tests/check/elements/fakesink.c: (GST_START_TEST):
2583         * tests/check/elements/filesink.c:
2584         * tests/check/elements/filesrc.c: (GST_START_TEST):
2585         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2586         (mq_sinkpad_to_srcpad):
2587         * tests/check/elements/tee.c: (GST_START_TEST):
2588         * tests/check/generic/sinks.c: (GST_START_TEST):
2589         * tests/check/gst/gstbin.c: (GST_START_TEST):
2590         * tests/check/gst/gstevent.c: (GST_START_TEST):
2591         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2592         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2593         * tests/check/gst/gstquery.c: (GST_START_TEST):
2594         * tests/check/gst/gstutils.c: (GST_START_TEST):
2595         * tests/check/libs/basesrc.c: (GST_START_TEST):
2596         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2597         (gst_parse_test_element_change_state):
2598         Don't use gst_element_get_pad().
2599
2600 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2601
2602         * docs/Makefile.am:
2603         Fix installing plugin documentation when gtk-doc is disabled.
2604
2605 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2606
2607         * docs/manual/advanced-autoplugging.xml:
2608         * docs/manual/basics-helloworld.xml:
2609         * docs/manual/basics-pads.xml:
2610         * docs/manual/highlevel-components.xml:
2611         Avoid using a bad function in the example code.
2612
2613 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2614
2615         * gst/gstclock.c: (gst_clock_set_calibration):
2616         Fix debug of the new clock rate.
2617
2618 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2619
2620         * win32/common/libgstbase.def:
2621         Add gst_base_sink_wait_clock() to the exported symbols.
2622
2623 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2624
2625         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2626
2627         * libs/gst/base/gstbasetransform.c:
2628         (gst_base_transform_sink_event):
2629         Unref events that the GstBaseTransform::event vfunc didn't want to
2630         have forwarded by the base class. Closes a leak in identity.
2631         Fixes bug #446763.
2632
2633 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2634
2635         * docs/libs/gstreamer-libs-sections.txt:
2636         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2637         * libs/gst/base/gstbasesink.h:
2638         Expose a method that was previously used internally to synchronize
2639         against the clock because it can be useful for subclasses too.
2640         API: GstBaseSink::gst_base_sink_wait_clock()
2641
2642 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2643
2644         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2645           Add sanity check to make sure we don't get smaller buffers
2646           than requested (and fallback to normal buffer alloc if we do).
2647
2648 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2649
2650         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2651         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2652         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2653         Refactor adjusting the running_time with latency and offset into a
2654         separate method.
2655         When doing clipping, we still want to use the subclass get_times method,
2656         just in case the DURATION or TIMESTAMP are not set.
2657
2658 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2659
2660         * docs/gst/gstreamer-sections.txt:
2661         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2662         * gst/gsttypefind.h:
2663         * win32/common/libgstreamer.def:
2664           API: add gst_type_find_suggest_simple(), #533740.
2665
2666 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2667
2668         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2669           Use right error code when typefinding fails, so we can use
2670           the default (translated) error messages.
2671
2672 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2673
2674         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2675         (gst_base_src_start):
2676         When the subclass did not set caps on outgoing buffers, configure the
2677         caps we negotiated on the source pad.
2678         When the typefind helper does not find caps, error out properly instead
2679         of doing things with NULL caps.
2680
2681 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2682
2683         * gst/gsttypefind.h:
2684           Tabs to spaces, oh yes!
2685
2686 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2687
2688         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2689           Add David's and Benjamin's tests for array intersection to the
2690           unit test suite (#147931).
2691
2692 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2693
2694         * gst/gstevent.c:
2695           Document that gst_event_new_tag() and gst_event_new_navigation()
2696           take ownership of the taglist/structure passed to them. (#533635).
2697
2698 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2699
2700         * docs/Makefile.am:
2701         Don't descend into the plugins dir if plugin docs building
2702         is disabled.
2703
2704         * docs/README:
2705         Add a note about the new type:GTypeName syntax for the plugin
2706         documentation .types file.
2707
2708 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2709
2710         * gst/gstmessage.c: (gst_message_new_error),
2711         (gst_message_new_warning), (gst_message_new_info):
2712         * gst/gstmessage.h:
2713         Mark the debug string parameters as const. Fixes bug #533490.
2714
2715 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2716
2717         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2718         Sort buffer cache list by end offsets. This makes sure that we don't
2719         stop to search for a cached buffer that contains the requested data
2720         too early.
2721         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2722         more efficient. Fixes bug #459862.
2723
2724 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2725
2726         * gst/gstinfo.c:
2727           Explain why we copy the list.
2728
2729         * gst/gstpipeline.c:
2730           Improve docs.
2731
2732         * gst/gstutils.c:
2733           Add one debug-log statement to help tracing probelms with linking pads.
2734
2735 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2736
2737         * tests/check/gst/gstinfo.c:
2738         Add a test for removing the default log handler. Seems to fail under
2739         windows.
2740
2741 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2742
2743         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2744         Release pad lock before calling out to avoid a possible deadlock.
2745
2746 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2747
2748         * gst/parse/grammar.y:
2749         Remove unneeded value unset.
2750
2751         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2752         Add unit test for de/serialization of caps.
2753
2754 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2755
2756         * plugins/elements/gstfakesink.c:
2757         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2758         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2759         (gst_fake_src_class_init):
2760         Use custom marshalers that take GstMiniObject as first parameter.
2761         Using OBJECT as parameter while a GstMiniObject is given will lead
2762         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2763
2764 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2765
2766         * plugins/elements/gsttypefindelement.c:
2767         (gst_type_find_element_handle_event),
2768         (gst_type_find_element_send_cached_events),
2769         (gst_type_find_element_change_state):
2770         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2771         immediately.
2772
2773 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2774
2775         * plugins/elements/gsttypefindelement.c:
2776         (gst_type_find_handle_src_query), (stop_typefinding),
2777         (gst_type_find_element_handle_event),
2778         (gst_type_find_element_send_cached_events),
2779         (gst_type_find_element_change_state):
2780         Forward FLUSH_START events immediately and clean up instead of
2781         caching them.
2782
2783 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2784
2785         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2786
2787         * libs/gst/base/gstbasetransform.c:
2788         (gst_base_transform_buffer_alloc):
2789         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2790         fall back to default negotiation in the chain function if the caps
2791         are different from what was requested. Fixes bug #526768.
2792
2793 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2794
2795         * gst/gstsegment.c:
2796         * tests/check/gst/gstsegment.c:
2797           No, let's not use g_slice_{dup|copy} here, since they only exist
2798           since GLib 2.14 and we still depend only on >= 2.12. Also add
2799           unit test for gst_segment_copy().
2800
2801 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2802
2803         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2804           Try to fix 'dereferencing type-punned pointer will break strict
2805           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2806           changed the default GType typedef from gulong to gsize at some point,
2807           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2808           g_once_* functions all take a gsize * though, so work around the type
2809           mismatch for C++ by doing everything in gsize and casting to GType
2810           later.
2811
2812 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2813
2814         * plugins/elements/gstmultiqueue.c:
2815         Add documentation for the signals to push our core plugin docs
2816         coverage back up to 100%.
2817
2818 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2819
2820         * gst/gstinfo.h (GST_FUNCTION):
2821           Reverted GST_FUNCTION to the old version as we don't want the
2822           full signature in C++ code. Also added support for MSVC.
2823
2824 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2825
2826         * gst/gstutils.h:
2827         Intern the type name string, similar to what G_DEFINE_TYPE does.
2828
2829 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2830
2831         * gst/gstutils.h:
2832         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2833
2834 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2835
2836         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2837
2838         * libs/gst/base/gstbasetransform.c:
2839         (gst_base_transform_buffer_alloc):
2840         Don't passthrough buffer allocation too easily if the caps change.
2841         This breaks when working in passthrough mode and upstream changes
2842         it's caps. Fixes bug #526768.
2843
2844 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2845
2846         * gst/gstinfo.c (gst_debug_log_valist):
2847           Improved the __FILE__ part of debug output for MSVC.
2848
2849 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2850
2851         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2852           Declaration after statement fix for compilers like MSVC.
2853
2854 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2855
2856         * win32/common/config.h.in:
2857           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2858           use the real thing than having "???" unconditionally.
2859
2860 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2861
2862         * gst/gstinfo.h (GST_FUNCTION):
2863           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2864
2865 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2866
2867         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2868         Small code cleanup.
2869
2870         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2871         (gst_base_sink_set_flushing):
2872         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2873         Fix some comments.
2874
2875 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2876
2877         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2878         (gst_fake_src_init), (gst_fake_src_set_property),
2879         (gst_fake_src_get_property), (gst_fake_src_start):
2880         * plugins/elements/gstfakesrc.h:
2881         Added format property to control the format of the newsegment events.
2882         API: GstFakeSrc:format
2883
2884 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2885
2886         * win32/common/libgstreamer.def:
2887         Add gst_pad_has_name() to the exported symbols.
2888
2889 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2890
2891         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2892         * libs/gst/base/gstbasetransform.c:
2893         (gst_base_transform_prepare_output_buffer):
2894         Don't allow negative sizes when allocating new buffers.
2895         Fixes bug #461253.
2896
2897 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2898
2899         Patch by: Sjoerd Simons <sjoerd at luon net>
2900
2901         * gst/gstbus.c: (gst_bus_source_dispatch):
2902           Don't print a warning if the queue is empty when we try to pop
2903           here. That could happen if another thread or callback set the
2904           bus to flushing between the source's check/prepare and the
2905           dispatch being called (#531538).
2906
2907 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2908
2909         * plugins/elements/gstmultiqueue.c:
2910           Small docs fix.
2911         
2912 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
2913
2914         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2915         Add unit test for deserializing uint64s and check some really large
2916         numbers in the int64 test.
2917
2918 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2919
2920         * tools/gst-inspect.c: (n_print), (print_hierarchy),
2921         (print_interfaces), (print_element_properties_info),
2922         (print_signal_info):
2923         Use "%s" as format string instead of printing strings directly.
2924
2925 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2926
2927         * gst/gstclock.c: (gst_clock_set_calibration):
2928         Make some checks actually useful.
2929
2930         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2931         Remove some unused code. Unsigned integers tend to be >= 0.
2932
2933 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2934
2935         * gst/gstminiobject.c: (gst_value_get_mini_object):
2936           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2937           function was not in the unscheduled 0.10.19 release.
2938
2939 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2940
2941         * gst/gstregistry.c: (gst_registry_scan_path_level):
2942           Only print one log message per non-plugin file.
2943
2944 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2945
2946         * gst/gstinfo.c: (gst_debug_log_default):
2947           Fix alignment of debug log columns on 64-bit.
2948
2949 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2950
2951         * docs/libs/Makefile.am:
2952         * docs/libs/gstreamer-libs-sections.txt:
2953           Ignore private controller headers for docs.
2954
2955 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
2956
2957         * libs/gst/controller/gstcontrollerprivate.h:
2958         * libs/gst/controller/gsthelper.c:
2959         * libs/gst/controller/gstinterpolation.c:
2960         * libs/gst/controller/gstinterpolationcontrolsource.c:
2961         (gst_interpolation_control_source_set_interpolation_mode):
2962         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2963         * libs/gst/controller/lib.c:
2964         Move some private declarations into private headers.
2965
2966 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
2967
2968         * gst/gstdebugutils.c: (debug_dump_element_pad):
2969         Remove some code that is unused after Stefan's refactoring and uses
2970         uninitialized variables now, resulting in a compiler warning.
2971
2972 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2973
2974         * gst/gstregistry.c: (gst_registry_scan_path_level):
2975           Run g_str_has_suffix() only on the file name, not the
2976           entire file path.
2977
2978 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
2979
2980         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2981           Since we're not called only from the chain function any longer,
2982           we can't assume that there's always data in the queue, so move
2983           the is_full check to the beginning of the loop (otherwise we'd
2984           hit the assert when changing the limit properties while the
2985           queue is empty or not running yet).
2986           Also, only set a discont if items were actually removed from
2987           the queue.
2988
2989         * tests/check/elements/queue.c: (test_leaky_downstream):
2990           Test case for the above.
2991
2992 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2993
2994         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2995
2996         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2997         (gst_queue_chain), (queue_capacity_change),
2998         (gst_queue_set_property):
2999         When changing thr max capacity of a leaky queue, immediatly drop buffers
3000         instead of waiting for a push on the sinkpad. Fixes #530637.
3001
3002 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3003
3004         * gst/gstdebugutils.c:
3005           Refactor code and fix handling of ghostpads and their proxypads.
3006
3007 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3008
3009         * docs/gst/gstreamer-sections.txt:
3010         * gst/gstevent.c: (gst_event_has_name):
3011         * gst/gstevent.h:
3012         * tests/check/gst/gstevent.c: (GST_START_TEST):
3013         Add method to conveniently check the name of a custom event with
3014         gst_event_has_name().
3015         Reformat the event docs so that related methods are put together instead
3016         of the default alphabetical sort.
3017         Update unit test with new method.
3018         API: GstEvent::gst_event_has_name()
3019
3020 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3021
3022         * libs/gst/check/Makefile.am:
3023           Don't add an explicit link to libgstreamer-0.10.la; it's already
3024           included in GST_OBJ_LIBS.
3025
3026 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3027
3028         * gst/gst.c:
3029         Register GstClock type from a type-safe context. Fixes bug #530317.
3030
3031 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3032
3033         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3034         * tools/gst-run.c:
3035           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3036
3037 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3038
3039         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3040         (gst_bin_dispose):
3041         Use the GLib stuff to create a private structure.
3042         Add some locking around some dispose methods to make them a little
3043         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3044
3045 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3046
3047         * libs/gst/base/gstbasesink.h:
3048         * libs/gst/base/gstbasesrc.h:
3049         * libs/gst/base/gstbasetransform.h:
3050         * libs/gst/base/gstcollectpads.h:
3051           Fix doc typos and unify caps a bit.
3052
3053 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3054
3055         * tools/gst-launch.1.in:
3056           Forgot to also add the envvar docs here.
3057
3058 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3059
3060         * gst/gst.c: (init_post), (gst_deinit):
3061         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3062           (test_concurrent_create), (gst_pipeline_suite):
3063           Ref some more classes in gst_init() to work around thread-safety
3064           issues in pre-2.16 GLibs, and add basic unit test.
3065
3066 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3067
3068         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3069         (gst_base_sink_send_event):
3070         Rearrange the latency query code. We always want to do the upstream
3071         query, even if we are not live so that the upstream elements can get the
3072         latency results too. If we fail doing the query and we are live, we
3073         return TRUE afterwards.
3074
3075 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3076
3077         patch by: Jason Zhao <e3423c@motorola.com>
3078
3079         * docs/gst/running.xml:
3080         * gst/gst.c:
3081           Enable/disable scan_and_update_registry() based on commandline switch
3082           or environment variable. Fixes #520468.
3083           
3084         * ChangeLog:
3085           Fix typo in my previous commit.
3086
3087 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3088
3089         * gst/gstregistrybinary.c:
3090           Add a warning if we hit unhandled factories when saving.
3091           More debug logging detail, but move to LOG category.
3092
3093 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3094
3095         * gst/gstregistry.c:
3096           Tell the *truth* when improving the documentation.
3097
3098 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3099
3100         * gst/gstelementfactory.c: (gst_element_factory_make):
3101         Unref the factory after it was used the last time, not before.
3102
3103         * gst/gstindexfactory.c: (gst_index_factory_make):
3104         Improve debugging a bit and don't leak a ref to the index factory with
3105         each call.
3106
3107 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3108
3109         * gst/gstregistry.c:
3110           Improve the documentation.
3111
3112 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3113
3114         * gst/gstsegment.c:
3115           The glib macro seems to be borked. Use g_slice_copy directly and cast
3116           in the hope that this fixes the warning on 64bit.
3117
3118 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3119
3120         * gst/gstsegment.c:
3121           Document the new function. Use g_slice_dup() (no need for
3122           gst_segment_init()).    
3123
3124 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3125
3126         * docs/gst/gstreamer-sections.txt:
3127           Move GParamSepc macros to standart section.
3128   
3129         * gst/gstbin.c:
3130           Dn't document _get_type - its in private section in docs anyway and
3131           this doc-blob was incomplete.
3132
3133         * gst/gstclock.h:
3134           Fix wrong symbol names in docs.
3135
3136         * gst/gstmacros.h:
3137           Add once doc sentence.
3138
3139         * tests/check/gst/.cvsignore:
3140           Ignore more.
3141
3142 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3143
3144         * docs/gst/Makefile.am:
3145           And remove those libs here.
3146
3147 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3148
3149         * docs/libs/Makefile.am:
3150           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3151
3152 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3153
3154         Patch by: Olivier Crete <tester at tester dot ca>
3155
3156         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3157         Add the min-threshold to the min latency if possible. Fixes #529148.
3158
3159 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3160
3161         * docs/gst/gstreamer.types.in:
3162           Stupid editor, I removed that line as it should go in yet.
3163
3164 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3165
3166         * docs/gst/gstreamer.types.in:
3167         * docs/libs/gstreamer-libs.types:
3168           Remove library types fro core docs and have them in libs docs.
3169           Reformat and cleanup. Add comment for miniobject types.
3170
3171 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3172
3173         * gst/gsturi.c: (gst_uri_get_protocol):
3174           Fix leak: g_strdown operates on the string in place, while
3175           g_ascii_strdown() returns a newly-allocated string.
3176
3177 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3178
3179         * tools/gst-inspect.c: (print_uri_handler_info),
3180         (print_element_info):
3181         Print the URI protocols and the URI type supported by the element.
3182
3183 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3184
3185         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3186         Use g_value_take_string() instead of the deprecated
3187         g_value_set_string_take_ownership().
3188
3189 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3190
3191         * gst/gstregistrybinary.c: (_gst_crc32):
3192         Return the old CRC instead of 0 if we give a NULL buffer
3193         or a buffer with a length of 0.
3194
3195 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3196
3197         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3198         (gst_uri_get_protocol), (gst_uri_has_protocol),
3199         (gst_uri_construct), (gst_uri_handler_set_uri):
3200         A valid URI scheme can also include '+', '-' and '.' additional
3201         to alphanumeric characters as per RFC 3986 Section 3.1.
3202
3203         Handle URI schemes case insensitive in all places and convert
3204         to lower-case when constructing an URI or setting an URI with
3205         the GstURIHandler interface. Fixes bug #528868.
3206         All elements can still assume (as before) that they will
3207         get passed URIs with a lower-case URI scheme by the GstURIHandler
3208         interface.
3209
3210 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3211
3212         * gst/gstcaps.c: (gst_static_caps_get):
3213         * gst/gstclock.c: (gst_clock_entry_new):
3214           Don't use g_atomic_set_int where it's not needed.
3215
3216 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3217
3218         * gst/gstvalue.c: (gst_value_deserialize_caps):
3219         * gst/parse/grammar.y:
3220         Fix 2 caps leaks.
3221
3222 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3223
3224         * gst/gstutils.c: (gst_atomic_int_set):
3225         Use g_atomic_int_set() here too instead of assignment +
3226         g_atomic_int_get().
3227
3228 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3229         
3230         * gst/gstutils.c:
3231         * gst/gstutils.h:
3232         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3233         now that we depend on new enough GLib.
3234
3235         * gst/gstcaps.c: (gst_static_caps_get):
3236         * gst/gstclock.c: (gst_clock_entry_new):
3237         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3238         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3239         (gst_debug_category_set_threshold):
3240         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3241         (gst_base_sink_set_qos_enabled):
3242         * libs/gst/net/gstnettimeprovider.c:
3243         (gst_net_time_provider_set_property):
3244         Use g_atomic_int_set() instead of gst_atomic_int_set().
3245
3246 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3247
3248         * gst/gstquery.c:
3249           Also use G_GINT64_CONSTANT for the queries.
3250
3251 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3252
3253         * gst/gstmessage.c:
3254           Use G_GINT64_CONSTANT in varargs function.
3255
3256 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3257
3258         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3259         Initialize the registry magic with zeroes.
3260
3261 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3262
3263         * gst/gstregistrybinary.c: (_gst_crc32),
3264         (gst_registry_binary_write),
3265         (gst_registry_binary_initialize_magic),
3266         (gst_registry_binary_write_cache),
3267         (gst_registry_binary_check_magic),
3268         (gst_registry_binary_read_cache):
3269         * gst/gstregistrybinary.h:
3270         Add crc32 checksum to the binary registry file and check this before
3271         accepting a registry file.
3272
3273         Also free the data list when writing to the registry file fails.
3274
3275 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3276
3277         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3278         (gst_registry_binary_load_feature),
3279         (gst_registry_binary_load_plugin):
3280         If an element supports the Uri interface, returns a valid pointer
3281         to the supported URI protocols but this pointer contains nothing
3282         don't try to save that as it will corrupt the registry.
3283
3284         Don't unref the plugin if we added it to the registry already but
3285         fail to load a feature as gst_registry_add_plugin() takes ownership
3286         of the plugin.
3287
3288         Improve debugging a bit.
3289
3290 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3291
3292         * gst/gsttaglist.h:
3293           Clarify some tag item docs after discussion on irc.
3294
3295 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3296
3297         * docs/gst/gstreamer-docs.sgml:
3298           Remove commented out plugins (they have their own docs). Update
3299           comments.
3300
3301 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3302
3303         * docs/gst/gstreamer-docs.sgml:
3304         * docs/gst/gstreamer-sections.txt:
3305         * gst/gstparamspecs.c:
3306         * gst/gstparamspecs.h:
3307           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3308           docs to own section.
3309
3310         * gst/gstvalue.c:
3311           This now only documents GValue.
3312           
3313         * docs/libs/gstreamer-libs-sections.txt:
3314         * libs/gst/controller/gstcontroller.h:
3315           Remove GST_PARAM_CONTROLLABLE.
3316
3317 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3318
3319         * docs/README:
3320           Correct file path. Tell about how to use -overrides.txt.
3321         * docs/design/draft-tagreading.txt:
3322           Small design update.
3323
3324 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3325
3326         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3327         (gst_registry_binary_load_plugin):
3328         Fix a typo in a debug message and revert change from yesterday as
3329         gst_registry_add_plugin() will only fail if something is really wrong
3330         already and we can't survive it anyway.
3331
3332 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3333
3334         * gst/gst.c: (init_post), (gst_deinit):
3335           Pre-register GstGError GType from a thread-safe context
3336           (fixes #527967); unref enum type classes in deinit.
3337
3338 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3339
3340         Patch by: Rene Stadler <mail at renestadler de>
3341
3342         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3343           Merging an empty list with another list in KEEP_ALL mode should
3344           yield an empty list as result and not the second list (#512578).
3345
3346         * tests/check/gst/gsttagsetter.c:
3347           Add unit test for tag merge modes and the aforementioned bug.
3348
3349 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3350
3351         Patch by: Rene Stadler <mail at renestadler de>
3352
3353         * gst/gsttaglist.h:
3354           Fix description to match the order in the table (#512577).
3355   
3356 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3357
3358         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3359
3360         * libs/gst/net/gstnettimepacket.h:
3361         * docs/libs/gstreamer-libs-sections.txt:
3362           Define socklen_t as int if it's not defined yet. Fixes compilation
3363           with MSVC6 and other versions where socklen_t is not defined in
3364           the windows headers (#518022).
3365
3366 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3367
3368         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3369         If gst_registry_add_plugin() fails our reference to the plugin is
3370         invalid so don't try to use it anymore and instead error out.
3371
3372 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3373
3374         * tools/gst-xmlinspect.c: (print_element_info), (main):
3375           De-cruft a bit. If no argument is specified, print all elements in
3376           XML syntax rather than a freestyle list of elements like gst-inspect.
3377           Also, don't print XML header chunk unless we actually have something
3378           to print (ie. don't print it before an error message); print error
3379           message to stderr not stdout. Remove support for printing plugin
3380           info (it would just output something freestyle along the lines of
3381           gst-inspect so far), which fixes #514507. Also add license header.
3382
3383 2008-04-11  Julien Moutte  <julien@fluendo.com>
3384
3385         Mac OS X love...
3386         * configure.ac: Merge platform specific defines, introduce a new
3387         define on OS X to remember that forking when updating registry is
3388         unsafe.
3389         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3390         module.
3391         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3392         is defined.
3393         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3394         condition that leads to absolutely no plugins being registered on
3395         OS X.
3396
3397 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3398
3399         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3400
3401         * gst/gstutils.c: (gst_pad_add_data_probe),
3402           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3403           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3404           (gst_pad_add_buffer_probe_full):
3405         * gst/gstutils.h:
3406         * docs/gst/gstreamer-sections.txt:
3407         * win32/common/libgstreamer.def:
3408           Add gst_pad_add_*_probe_full() functions with a notify callback that
3409           lets the caller free the data it passes to the probe functions. This
3410           is useful for bindings such as gst-python or gstreamermm (#526814).
3411           API: gst_pad_add_data_probe_full
3412           API: gst_pad_add_buffer_probe_full
3413           API: gst_pad_add_event_probe_full
3414
3415         * tests/check/gst/gstutils.c:
3416           Add minimal unit test to make sure freeing the data actually works
3417           as expected.
3418
3419         * tests/benchmarks/.cvsignore:
3420           Random cvsignore addendum.
3421
3422 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3423
3424         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3425           (GST_DEBUG_BIN_TO_DOT_FILE):
3426           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3427           to it in the docs (since these are macros the types of the arguments
3428           won't be shown in the docs otherwise).
3429
3430 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3431
3432         * gst/gstpad.c:
3433           Do not abort on out of memory for pad_alloc_buffer.
3434
3435 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3436
3437         * libs/gst/check/gstcheck.c:
3438           Remove blank line between symbol name ad parameters to fix gtkdoc
3439           warning.
3440
3441 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3442
3443         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3444
3445         * docs/gst/gstreamer-sections.txt:
3446         * gst/gstsegment.c:
3447         * gst/gstsegment.h:
3448         * win32/common/libgstreamer.def:
3449           Expose gst_segment_copy() to make things easier for the c++ bindings.
3450           Fixes #518932.
3451           API: gst_segment_copy()
3452
3453 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3454
3455         * gst/gst.c: (gst_init_get_option_group), (init_post):
3456           Fix const position; ref GType classes for enum types to work
3457           around thread-safety issues in GLib versions < 2.16.
3458
3459 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3460
3461         * docs/design/part-buffering.txt:
3462         Fix some typos and set the estimated total for push mode to -1.
3463
3464         * gst/gstquery.c: (gst_query_new_buffering):
3465         Set buffering-left to 0 as we're not buffering by default.
3466
3467         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3468         Implement BUFFERING query.
3469
3470 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3471
3472         Based on patch by: Milosz Derezynski <internalerror gmail com>
3473
3474         * gst/gsterror.c: (_gst_stream_errors_init):
3475         * gst/gsterror.h:
3476           Add two new error codes for encrypted content. Fixes #524659.
3477           API: GST_STREAM_ERROR_DECRYPT
3478           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3479
3480 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3481
3482         * gst/gstquery.h:
3483           Fix typo.
3484
3485         * win32/common/libgstreamer.def:
3486           Add new functions.
3487
3488 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3489
3490         * plugins/elements/gstidentity.c: (gst_identity_event),
3491         (gst_identity_start):
3492         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3493         event after processing some data. Fixes bug #526042.
3494
3495 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3496
3497         * docs/gst/gstreamer-sections.txt:
3498         * gst/gstquery.c: (gst_query_parse_latency),
3499         (gst_query_set_buffering_percent),
3500         (gst_query_parse_buffering_percent),
3501         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3502         * gst/gstquery.h:
3503         Rename _avail -> _range
3504         API: gst_query_set_buffering_range
3505         API: gst_query_parse_buffering_range
3506
3507 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3508
3509         * docs/design/part-buffering.txt:
3510         * gst/gstquark.c:
3511         * gst/gstquark.h:
3512         * gst/gstquery.c: (gst_query_parse_latency),
3513         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3514         (gst_query_parse_buffering_percent):
3515         * gst/gstquery.h:
3516         Add busy field and quark for the buffering query so that the app can
3517         only use the query to see if buffering is in progress.
3518
3519 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3520
3521         * docs/gst/gstreamer-sections.txt:
3522         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3523         (gst_message_parse_buffering_stats):
3524         * gst/gstmessage.h:
3525         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3526         (gst_query_parse_latency), (gst_query_new_buffering),
3527         (gst_query_set_buffering_percent),
3528         (gst_query_parse_buffering_percent),
3529         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3530         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3531         * gst/gstquery.h:
3532         Reorder the message docs and headers for clarity.
3533         Add aditional buffering stats API for messages.
3534         Add buffering query.
3535         Convert some leftover queries to use GstQuark.
3536         API: gst_message_set_buffering_stats
3537         API: gst_message_parse_buffering_stats
3538         API: GST_QUERY_BUFFERING
3539         API: GstBufferingMode
3540         API: gst_query_new_buffering
3541         API: gst_query_set_buffering_percent
3542         API: gst_query_parse_buffering_percent
3543         API: gst_query_set_buffering_stats
3544         API: gst_query_parse_buffering_stats
3545
3546 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3547
3548         * gst/gstmessage.c: (gst_message_new_error),
3549         (gst_message_new_warning), (gst_message_new_info),
3550         (gst_message_new_buffering), (gst_message_new_state_changed),
3551         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3552         (gst_message_new_new_clock), (gst_message_new_segment_start),
3553         (gst_message_new_segment_done), (gst_message_new_duration),
3554         (gst_message_new_async_start), (gst_message_parse_buffering),
3555         (gst_message_parse_state_changed),
3556         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3557         (gst_message_parse_new_clock), (gst_message_parse_error),
3558         (gst_message_parse_warning), (gst_message_parse_info),
3559         (gst_message_parse_segment_start),
3560         (gst_message_parse_segment_done), (gst_message_parse_duration),
3561         (gst_message_parse_async_start):
3562         Use GstQuark for messages.
3563
3564 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3565
3566         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3567         * gst/gstquark.h:
3568         Add some more quarks needed for messages and queries.
3569
3570 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3571
3572         * docs/design/part-buffering.txt:
3573         Remove the "none" buffering mode, STREAM is a good default.
3574         Move estimated-time to the avail query, that's when it will be needed.
3575         Other small typo fixes and updates.
3576
3577 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3578
3579         * gst/gstindex.c: (gst_index_resolver_get_type):
3580           Don't put descriptions into the nick field of a GEnumValue: it's not
3581           meant for that and some language bindings rely on the nick field to
3582           construct constants and the like. Fixes #526705.
3583
3584 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3585
3586         * NEWS:
3587         * RELEASE:
3588         * gstreamer.doap:
3589           Merge other changes from 0.10.19 release branch.
3590
3591 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3592
3593         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3594
3595         * configure.ac:
3596         Actually build dlls when cross-compiling with mingw32.
3597         Fixes bug #526247.
3598
3599 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3600
3601         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3602
3603         * gst/gstpoll.c:
3604         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3605
3606 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3607
3608         * docs/design/draft-latency.txt:
3609         Fix typo.
3610
3611         * docs/design/part-buffering.txt:
3612         Update design docs with more buffering ideas.
3613
3614 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3615
3616         * configure.ac:
3617           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3618
3619 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3620
3621         * configure.ac:
3622           Revert part that belongs to the preset patch.
3623
3624 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3625
3626         * configure.ac:
3627           Add qoutes to the define. Fixes # 525961.
3628
3629 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3630
3631         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3632         (gst_file_index_load), (gst_file_index_add_id),
3633         (gst_file_index_get_assoc_entry):
3634         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3635         (gst_mem_index_free_id), (gst_mem_index_add_id),
3636         (gst_mem_index_index_format):
3637         Use GSlice when possible.
3638
3639 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3640
3641         * libs/gst/controller/gstinterpolationcontrolsource.c:
3642         (gst_control_point_free),
3643         (gst_interpolation_control_source_set_internal):
3644         Use GSlice for allocating the control points.
3645
3646 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3647
3648         * plugins/elements/gsttypefindelement.c:
3649         (gst_type_find_element_class_init),
3650         (gst_type_find_element_set_property),
3651         (gst_type_find_element_get_property),
3652         (gst_type_find_element_activate):
3653         * plugins/elements/gsttypefindelement.h:
3654         Cleanup properties.
3655         Fix pad leak when peer query fails.
3656         We can still typefind when the peer returns -1.
3657         Add property to force caps and bypass typefinding. This will be used in
3658         uridecodebin.
3659         API::force-caps
3660
3661 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3662
3663         * configure.ac:
3664         Require GLib 2.12.
3665
3666         * gst/glib-compat-private.h:
3667         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3668         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3669         Unconditionally use GSlice for allocation.
3670
3671         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3672         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3673         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3674         (gst_structure_free):
3675         Use GSlice for allocation.
3676
3677 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3678
3679         * gst/parse/Makefile.am:
3680         * gst/parse/grammar.tab.pre.c:
3681         * gst/parse/grammar.tab.pre.h:
3682         * gst/parse/lex._gst_parse_yy.pre.c:
3683         Require a new enough flex and bison and remove the parser hacks to use
3684         a pre-regenerated version.
3685
3686 2008-04-01  Julien Moutte  <julien@fluendo.com>
3687
3688         patch by: Jason Zhao <E3423C@motorola.com>
3689
3690         * configure.ac: Add a configure switch to disable option parsing
3691         in gst_init.
3692         Fixes #522882.
3693
3694 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3695
3696         * configure.ac:
3697         * gst/gstregistry.c:
3698           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3699           and handle this case.
3700
3701         * gst/gst.c:
3702           Add a comment here describing, why we stat each plugin and not try to
3703           be smart.
3704
3705 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3706
3707         * libs/gst/base/gstbasetransform.c:
3708         (gst_base_transform_prepare_output_buffer):
3709         Also unset the GAP flag on buffers if we're working inplace but
3710         the element is not GAP-aware.
3711
3712         Mark a comment as FIXME 0.11.
3713
3714 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3715
3716         * gst/gst.c:
3717           Fix type in log message and add one to ease seeing how long registry
3718           cache verification takes.
3719
3720         * gst/gstregistry.c:
3721           Only test plugin filenames against G_MODULE_SUFFIX.
3722
3723 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3724
3725         * gst/gstdebugutils.c:
3726           Improve handling ghost/proxy pads.
3727
3728 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3729
3730         * docs/gst/gstreamer-sections.txt:
3731         * gst/gstpad.c:
3732         * gst/gstpad.h:
3733           Expose macro to docs and fix link to it.
3734
3735 2008-03-27  Michael Smith <msmith@fluendo.com>
3736
3737         * libs/gst/dataprotocol/dataprotocol.c:
3738         (gst_dp_packet_from_event_1_0):
3739           When calculating GDP body CRC, use the correct pointer. 
3740           Fixes part of #522401.
3741
3742 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3743
3744         Patch by: Mark Nauwelaerts <manauw at skynet be>
3745
3746         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3747         (gst_identity_init), (gst_identity_prepare_output_buffer):
3748         Identity is not always a passthrough element, it can modify the buffer
3749         timestamps when it has a datarate and operates in single-segment mode.
3750         We therefore make it an in_place filter with a custom buffer prepare
3751         function that conditionally makes the input buffer metadata writable
3752         when needed.  Fixes #523985.
3753
3754 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3755
3756         Patch by: Mark Nauwelaerts <manauw at skynet be>
3757
3758         * gst/gstclock.h:
3759         * libs/gst/base/gstbasesrc.h:
3760         * libs/gst/base/gstbasetransform.c:
3761         * libs/gst/check/gstcheck.c:
3762         Small documentation fixes. Fixes #523978.
3763
3764 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3765
3766         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3767         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3768         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3769
3770 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3771
3772         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3773         (single_queue_underrun_cb):
3774         When trying to make room in the queue, bump the max allowed buffers
3775         bigger than the current amount of buffers in the queue. this fixes some
3776         nasty deadlocks in multiqueue when dynamically changing the limits of
3777         the queue.
3778
3779 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3780
3781         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3782
3783         * gst/gstcaps.c: (gst_caps_set_simple),
3784         (gst_caps_set_simple_valist), (gst_caps_intersect):
3785         * gst/gstcaps.h:
3786         Constify the field gchar * params in set_simple and friends.
3787         Fixes #522326.
3788
3789 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3790
3791         * gst/gstvalue.c: (gst_value_transform_object_string):
3792         Transform a GstObject to a more meaningfull string that includes the
3793         object type in addition to its name.
3794
3795 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3796
3797         * ChangeLog:
3798           ChangeLog surgery to add bugnumber to commit.
3799
3800 2008-03-23  Rene Stadler  <mail@renestadler.de>
3801
3802         * libs/gst/base/gstbasetransform.c:
3803         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3804
3805 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3806
3807         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3808         Rename constant everywhere and don't forget one occurence.
3809
3810 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3811
3812         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3813         Align memory to the pointer size even if the architecture allows
3814         unaligned memory access. Unaligned memory access usually comes with
3815         performance penality.
3816
3817 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3818
3819         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3820         (gst_registry_binary_check_magic),
3821         (gst_registry_binary_load_pad_template),
3822         (gst_registry_binary_load_feature),
3823         (gst_registry_binary_load_plugin):
3824         Align memory to the pointer size instead of always 32 bit. Fixes
3825         unaligned memory accesses on ia64 and friends.
3826
3827         * gst/gstregistrybinary.h:
3828         Bump binary registry format version for this as it changes the
3829         format on those architectures that don't have unaligned access
3830         and 64 bit pointers.
3831
3832 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3833
3834         * docs/pwg/advanced-dparams.xml:
3835         * docs/pwg/building-props.xml:
3836         * docs/pwg/other-source.xml:
3837         * gst/glib-compat.h:
3838         * gst/gstbin.c: (gst_bin_class_init):
3839         * gst/gstclock.c: (gst_clock_class_init):
3840         * gst/gstindex.c: (gst_index_class_init):
3841         * gst/gstobject.c: (gst_object_class_init):
3842         * gst/gstpad.c: (gst_pad_class_init):
3843         * gst/gstpipeline.c: (gst_pipeline_class_init):
3844         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3845         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3846         * libs/gst/base/gstbasetransform.c:
3847         (gst_base_transform_class_init):
3848         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3849         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3850         (_gst_check_fault_handler_sighandler),
3851         (_gst_check_fault_handler_setup), (gst_check_init):
3852         * libs/gst/controller/gstcontroller.c:
3853         (_gst_controller_class_init):
3854         * libs/gst/controller/gstlfocontrolsource.c:
3855         (gst_lfo_control_source_class_init):
3856         * libs/gst/net/gstnetclientclock.c:
3857         (gst_net_client_clock_class_init):
3858         * libs/gst/net/gstnettimeprovider.c:
3859         (gst_net_time_provider_class_init):
3860         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3861         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3862         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3863         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3864         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3865         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3866         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3867         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3868         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3869         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3870         * plugins/elements/gsttee.c: (gst_tee_class_init):
3871         * plugins/elements/gsttypefindelement.c:
3872         (gst_type_find_element_class_init):
3873         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3874         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3875         use it everywhere for GParamSpecs that use static strings (i.e. all).
3876         This gives us less memory usage, fewer allocations and thus less
3877         memory defragmentation. Fixes bug #523806.
3878
3879 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3880
3881         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3882         (gst_param_spec_mini_object):
3883         * gst/gstminiobject.h:
3884         * win32/common/libgstreamer.def:
3885         * docs/gst/gstreamer-sections.txt:
3886         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3887         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3888         GstParamSpecMiniObject into a public header for this.
3889
3890         This make GstMiniObject a bit more consistent with GObject and makes
3891         it possible to extend the param specs.
3892
3893         gst_value_dup_mini_object is mainly useful for set_property methods.
3894
3895         Fixes bug #523798.
3896
3897         * tools/gst-inspect.c: (print_element_properties_info):
3898         Print something useful for GstMiniObject properties and not just
3899         "unknown type".
3900
3901 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3902
3903         * docs/gst/gstreamer-sections.txt:
3904         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3905         (gst_registry_binary_check_magic):
3906         * gst/gstregistrybinary.h:
3907         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3908         and add it to the (private part) of the docs to fix the build.
3909
3910 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3911
3912         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3913         (gst_registry_binary_check_magic),
3914         (gst_registry_binary_read_cache):
3915         * gst/gstregistrybinary.h:
3916         Don't use GST_MAJORMINOR for the binary registry version. Instead
3917         hardcode a value that must be changed whenever the format changes
3918         in an incompatible way.
3919         Also don't GST_ERROR when there is a version mismatch, just
3920         regenerate the registry silently.
3921
3922 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
3923
3924         * configure.ac:
3925         Back to development - 0.10.18.1
3926
3927 === release 0.10.18 ===
3928
3929 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
3930
3931         * configure.ac:
3932           releasing 0.10.18, "So far away"
3933
3934 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
3935
3936         * configure.ac:
3937         * win32/common/config.h:
3938         0.10.17.4 pre-release
3939
3940 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
3941
3942         Patch by: Ole André Vadla Ravnås
3943             <ole dot andre dot ravnas at tandberg dot com>
3944
3945         * docs/gst/gstreamer-sections.txt:
3946         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3947         (gst_poll_update_winsock_event_mask),
3948         (gst_poll_prepare_winsock_active_sets),
3949         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3950         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3951         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3952         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3953         (gst_poll_check_ctrl_commands), (gst_poll_wait):
3954         * gst/gstpoll.h:
3955         * win32/common/libgstreamer.def:
3956         Add new function gst_poll_fd_ignored() for improved Windows
3957         compatibility.
3958         Various minor fixes and cleanups. See #520808.
3959
3960 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
3961
3962         * gst/gstindex.c: (gst_index_entry_free):
3963         * gst/gstindex.h:
3964           Don't free key strings which we don't own. Fixes crash in
3965           gst_index_entry_free() (#522741).
3966
3967         * tests/check/Makefile.am:
3968         * tests/check/gst/.cvsignore:
3969         * tests/check/gst/gstindex.c: (test_index_entries),
3970           (gst_index_suite), (gst_index):
3971           Add unit test for the above.
3972
3973 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
3974
3975         * win32/common/libgstreamer.def:
3976         Remove symbols that were removed recently. Fixes bug #521740.
3977
3978 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
3979
3980         * configure.ac:
3981         * win32/common/config.h:
3982         0.10.17.3 pre-release
3983
3984 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3985
3986         Patch by: Ole André Vadla Ravnås
3987             <ole dot andre dot ravnas at tandberg dot com>
3988
3989         * docs/gst/gstreamer-sections.txt:
3990         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3991         (gst_poll_update_winsock_event_mask), (gst_poll_new),
3992         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3993         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3994         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3995         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3996         (gst_poll_fd_can_write), (gst_poll_wait),
3997         (gst_poll_set_controllable), (gst_poll_restart),
3998         (gst_poll_set_flushing):
3999         * gst/gstpoll.h:
4000         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4001         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4002         (gst_net_time_provider_new):
4003         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4004         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4005         * tests/benchmarks/gstpollstress.c: (main):
4006         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4007         Remove GstPollMode from the API, it does not make sense to let the
4008         application control this.
4009         Add support for Win32.
4010         Fix the testsuite. Fixes #520671.
4011
4012 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4013
4014         Patch by: Ole André Vadla Ravnås
4015             <ole dot andre dot ravnas at tandberg dot com>
4016
4017         * gst/gstregistrybinary.c:
4018         Include io.h for write() and close() when building with MSVC. Fixes
4019         bug #520877.
4020
4021 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4022
4023         * configure.ac:
4024         * gst/gst_private.h:
4025         * gst/gstconfig.h.in:
4026         * gst/gstregistry.h:
4027         * gst/gstregistrybinary.c:
4028         * win32/common/gstconfig.h:
4029           Move registry backend API to private headers where we can. Add
4030           fixme-0.11 comments for the others. Add stubs for the xml backend when
4031           using the binary to ensure they functions exists (they should not be
4032           used though). Fixes #520756.
4033
4034 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4035
4036         * configure.ac:
4037         * win32/common/config.h:
4038         0.10.17.2 prelease
4039
4040 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4041
4042         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4043         (gst_registry_binary_read_cache):
4044         * gst/gstregistryxml.c: (gst_registry_save):
4045         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4046         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4047         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4048         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4049         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4050         Fixes #520152
4051
4052 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4053
4054         * gst/gstminiobject.c:
4055         Import gst_private.h before any other header that might include other
4056         glib headers. This fixes the build on windows using native compilers.
4057
4058 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4059
4060         * win32/common/gstconfig.h:
4061           Add here too, just for completeness.
4062
4063 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4064
4065         * configure.ac:
4066         * gst/gstconfig.h.in:
4067         * gst/gstregistry.h:
4068           Fix broken use of config.h-defined preprocessor directive in a public
4069           header file. Add a corresponding define to gstconfig.h, since we can't
4070           really remove those function declarations from the header file now
4071           (or can we? and why are they there in the first place?).
4072
4073 2008-03-03  Andy Wingo  <wingo@pobox.com>
4074
4075         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4076         the new warning.
4077
4078         * gst/gststructure.c (gst_structure_from_string): Warn if
4079         structure_from_string didn't consume the whole string, but the
4080         caller did not provide an end pointer.
4081
4082 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4083
4084         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4085
4086         * gst/gstregistryxml.c: (read_string), (load_feature):
4087           Strings allocated by libxml2 should be freed with xmlFree(), not
4088           with g_free(). Fixes issues on windows in certain contexts (#519698).
4089
4090 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4091
4092         * gst/gstinterface.c: (gst_element_implements_interface):
4093           Don't crash if the element supports the interface queried, but does
4094           not implement GstImplementsInterface. Fixes #519584.
4095
4096         * tests/check/Makefile.am:
4097         * tests/check/gst/.cvsignore:
4098         * tests/check/gst/gstinterface.c:
4099           Add unit test for the above.
4100
4101 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4102
4103         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4104         Small doc update.
4105
4106 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4107
4108         * gst/gstsegment.c: (gst_segment_set_seek),
4109         (gst_segment_to_stream_time):
4110         Improve some comment.
4111         Update variables where it makes more sense.
4112
4113 2008-02-29  Rene Stadler  <mail@renestadler.de>
4114
4115         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4116         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4117         URIHandlers implemented using language bindings.
4118
4119 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4120
4121         * gst/gstelementfactory.h:
4122         * tests/check/elements/fakesink.c:
4123         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4124         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4125         * tests/check/elements/filesink.c: (setup_filesink):
4126         * tests/check/elements/filesrc.c: (setup_filesrc):
4127         * tests/check/elements/identity.c: (setup_identity):
4128         * tests/check/elements/tee.c:
4129         * tests/check/generic/sinks.c:
4130         * tests/check/generic/states.c: (setup), (teardown):
4131         * tests/check/gst/gst.c:
4132         * tests/check/gst/gstabi.c:
4133         * tests/check/gst/gstbin.c:
4134         * tests/check/gst/gstbus.c: (pull_messages):
4135         * tests/check/gst/gstcaps.c:
4136         * tests/check/gst/gstelement.c:
4137         * tests/check/gst/gstevent.c:
4138         * tests/check/gst/gstghostpad.c:
4139         * tests/check/gst/gstiterator.c:
4140         * tests/check/gst/gstmessage.c:
4141         * tests/check/gst/gstminiobject.c: (my_foo_init):
4142         * tests/check/gst/gstobject.c: (thread_name_object),
4143         (gst_object_suite):
4144         * tests/check/gst/gstpad.c:
4145         * tests/check/gst/gstplugin.c:
4146         * tests/check/gst/gstpoll.c:
4147         * tests/check/gst/gstquery.c:
4148         * tests/check/gst/gstsegment.c:
4149         * tests/check/gst/gststructure.c:
4150         * tests/check/gst/gstsystemclock.c:
4151         * tests/check/gst/gsttask.c:
4152         * tests/check/gst/gstutils.c:
4153         * tests/check/gst/gstvalue.c:
4154         * tests/check/gst/struct_hppa.h:
4155         * tests/check/gst/struct_i386.h:
4156         * tests/check/gst/struct_ppc32.h:
4157         * tests/check/gst/struct_ppc64.h:
4158         * tests/check/gst/struct_x86_64.h:
4159         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4160         * tests/check/libs/basesrc.c:
4161         * tests/check/libs/controller.c: (GST_START_TEST):
4162         * tests/check/libs/gdp.c:
4163         * tests/check/libs/gstnetclientclock.c:
4164         * tests/check/libs/gstnettimeprovider.c:
4165         * tests/check/libs/libsabi.c:
4166         * tests/check/libs/struct_hppa.h:
4167         * tests/check/libs/struct_i386.h:
4168         * tests/check/libs/struct_ppc32.h:
4169         * tests/check/libs/struct_ppc64.h:
4170         * tests/check/libs/struct_x86_64.h:
4171         * tests/check/pipelines/cleanup.c:
4172         * tests/check/pipelines/simple-launch-lines.c:
4173         * tests/check/pipelines/stress.c:
4174         And correct even more valid sparse warnings.
4175
4176         * win32/common/libgstreamer.def:
4177         Add gst_poll_fd_init to the list of symbols.
4178
4179 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4180
4181         * gst/gstconfig.h.in:
4182         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4183         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4184         (gst_check_log_critical_func), (gst_check_drop_buffers),
4185         (gst_check_element_push_buffer_list):
4186         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4187         (gst_controller_get_type):
4188         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4189         (gst_object_get_controller), (gst_object_get_control_source):
4190         * libs/gst/controller/gstinterpolationcontrolsource.c:
4191         (gst_interpolation_control_source_new):
4192         * libs/gst/controller/gstlfocontrolsource.c:
4193         (gst_lfo_control_source_new):
4194         * libs/gst/dataprotocol/dataprotocol.c:
4195         (gst_dp_event_from_packet_0_2):
4196         * plugins/elements/gstfdsrc.c:
4197         * plugins/elements/gstmultiqueue.c:
4198         * plugins/elements/gsttee.c:
4199         * plugins/elements/gsttypefindelement.c:
4200         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4201         (gst_file_index_add_association):
4202         * plugins/indexers/gstmemindex.c:
4203         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4204         * tests/check/elements/queue.c: (setup_queue):
4205         * tests/check/gst/gstpipeline.c:
4206         * tests/check/libs/collectpads.c: (setup), (teardown),
4207         (gst_collect_pads_suite):
4208         * tests/examples/adapter/adapter_test.c:
4209         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4210         * tests/examples/xml/createxml.c:
4211         * tests/examples/xml/runxml.c:
4212         * tools/gst-inspect.c:
4213         * tools/gst-run.c:
4214         Correct all relevant warnings found by the sparse semantic code
4215         analyzer. This include marking several symbols static, using
4216         NULL instead of 0 for pointers, not using variable sized arrays
4217         on the stack, moving variable declarations to the beginning of
4218         a block and using "foo (void)" instead of "foo ()" for declarations.
4219
4220 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4221
4222         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4223         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4224         Don't reset GstPollFDs, this is not necessary at all.
4225
4226         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4227         (delayed_restart), (delayed_control):
4228         Use GST_POLL_FD_INIT.
4229
4230 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4231
4232         * gst/gstpoll.c: (gst_poll_fd_init):
4233         * gst/gstpoll.h:
4234         Added Since tags.
4235
4236         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4237         Use some more init macros.
4238
4239 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4240
4241         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4242         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4243         Use init macros and functions.
4244
4245 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4246
4247         * docs/gst/gstreamer-sections.txt:
4248         * gst/gstpoll.c: (gst_poll_fd_init):
4249         * gst/gstpoll.h:
4250         Add INIT macro and _init method for initializing the GstPollFD.
4251
4252 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4253
4254         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4255         (gst_fd_sink_update_fd):
4256         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4257         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4258         (delayed_restart), (delayed_control):
4259         Initialize some uninitialized variables as spotted by valgrind.
4260
4261 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4262
4263         * tests/benchmarks/Makefile.am:
4264         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4265         (main):
4266         Add poll stress test.
4267
4268 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4269
4270         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4271
4272         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4273         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4274         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4275         * plugins/elements/gstfdsink.h:
4276         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4277         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4278         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4279         (gst_fd_src_uri_set_uri):
4280         * plugins/elements/gstfdsrc.h:
4281         Port to GstPoll. See #505417.
4282
4283 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4284
4285         * win32/common/libgstreamer.def:
4286         Add new gst_poll_ symbols to win32 defs.
4287
4288 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4289
4290         * docs/libs/gstreamer-libs-sections.txt:
4291         * libs/gst/net/gstnetclientclock.c:
4292         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4293         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4294         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4295         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4296         * libs/gst/net/gstnetclientclock.h:
4297         * libs/gst/net/gstnettimeprovider.c:
4298         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4299         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4300         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4301         (gst_net_time_provider_new):
4302         * libs/gst/net/gstnettimeprovider.h:
4303         Use a private stuct to not break ABI.
4304
4305 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4306
4307         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4308
4309         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4310         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4311         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4312         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4313         * libs/gst/net/gstnetclientclock.h:
4314         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4315         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4316         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4317         (gst_net_time_provider_new):
4318         * libs/gst/net/gstnettimeprovider.h:
4319         Massive code removal and cleanups because of GstPoll.
4320         Fixes #505417.
4321
4322 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4323
4324         * configure.ac:
4325         Add checks for poll, ppoll and pselect.
4326
4327         * docs/gst/gstreamer-docs.sgml:
4328         * docs/gst/gstreamer-sections.txt:
4329         Add docs for GstPoll.
4330
4331         * gst/Makefile.am:
4332         * gst/gst.h:
4333         * gst/gstpoll.c: (find_index), (selectable_fds),
4334         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4335         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4336         (gst_poll_set_mode), (gst_poll_get_mode),
4337         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4338         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4339         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4340         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4341         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4342         (gst_poll_fd_can_write), (gst_poll_wait),
4343         (gst_poll_set_controllable), (gst_poll_restart),
4344         (gst_poll_set_flushing):
4345         * gst/gstpoll.h:
4346         Add generic poll abstraction. We ideally don't want to have this in core
4347         here but in glib intead...
4348         This code will be used in various network elements and ultimately for
4349         the nanosecond precision monotonic clock (that's why it's here in core).
4350         It'll allow us to implement cancelable socket operations for windows too.
4351
4352         * tests/check/Makefile.am:
4353         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4354         (delayed_stop), (delayed_restart), (delayed_flush),
4355         (delayed_control), (gst_poll_suite):
4356         Add GstPoll unit test.
4357
4358 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4359
4360         * gst/gstfilter.c:
4361           Improve documentation of gst_filter_run(). Fixes #518627.
4362
4363 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4364
4365         * docs/README:
4366           Add a few lines about the new 'check-inspected-versions' target.
4367
4368 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4369
4370         * tests/check/gst/gstevent.c:
4371           Add qos to the event test. Rename tcase/tsuite; is not only about
4372           custom events.
4373
4374 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4375
4376         * plugins/elements/gstqueue.c:
4377           Ensure that buffer metadata is writeable, before modifying. Spotted by
4378           Mike.
4379
4380 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4381
4382         * plugins/elements/gstqueue.c:
4383         * plugins/elements/gstqueue.h:
4384           When dropping buffers in leaky modes, mark next buffers we sent as
4385           DISCONT.
4386
4387 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4388
4389         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4390           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4391
4392 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4393
4394         * plugins/elements/Makefile.am:
4395         * plugins/elements/gstbufferstore.c:
4396         * plugins/elements/gstbufferstore.h:
4397         * plugins/elements/gsttypefindelement.h:
4398           Remove GstBufferStore, no idea why we were still building it.
4399           It's not used anywhere and superseded by GstAdapter.
4400
4401         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4402           (gst_file_src_create_mmap):
4403         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4404           Printf format fixes for 64-bit integers.
4405
4406 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4407
4408         * configure.ac:
4409         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4410         We're not in 0.8 times anymore.
4411
4412 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4413
4414         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4415         (gst_check_element_push_buffer_list):
4416         * libs/gst/check/gstcheck.h:
4417         Make the declaration in the header for
4418         gst_check_element_push_buffer_list match the implementation.
4419
4420         Fix up spelling, grammar and wording of the documentation in a few
4421         places, and add the Since keyword to new API functions.
4422         Use g_list_delete_link instead of g_list_remove in
4423         gst_check_drop_buffers, since it's immeasurably more efficient.
4424
4425         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4426         Use new gst_check_drop_buffers function where appropriate.
4427
4428         * win32/common/libgstbase.def:
4429         * win32/common/libgstreamer.def:
4430         Add new symbols gst_collect_pads_take_buffer, 
4431         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4432         exports
4433
4434         Changelog surgery to add API keyword to new gst_check API.
4435
4436 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4437
4438         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4439         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4440         Update pre-generated flex files with flex 2.3.34.
4441
4442 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4443
4444         * gst/gstminiobject.c:
4445           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4446           friendly to subclasses and not require them to know all internals
4447           of their parent class.
4448
4449 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4450
4451         * docs/libs/gstreamer-libs-sections.txt:
4452         * libs/gst/base/gstcollectpads.c:
4453         * libs/gst/base/gstcollectpads.h:
4454           Add sub-buffer functions to collectpads. Fixes #516187.
4455           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4456
4457 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4458
4459         * gst/gstbuffer.c:
4460           Copy selected buffer-flags when creating subbuffers.
4461           Fixes #516395.
4462
4463 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4464
4465         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4466         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4467         * gst/gstmessage.c: (gst_message_class_init),
4468         (gst_message_finalize):
4469         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4470         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4471         (gst_mmap_buffer_finalize):
4472         Properly chain up finalize functions to the parent class.
4473
4474 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4475
4476         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4477
4478         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4479         (gst_index_set_resolver_full):
4480         * gst/gstindex.h:
4481         Add new function with option to dispose of user_data in resolver.
4482         Actually call the dispose function when finalizing the object and not
4483         just when changing the resolver/filter.
4484         API: GstIndex::gst_index_set_resolver_full()
4485
4486         * docs/gst/gstreamer-sections.txt:
4487         Add new function to docs. Fixes #515469.
4488
4489 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4490
4491         * gst/gstindex.c: (gst_index_finalize):
4492         Chain up finalize to the parent class. Fixes leaking the GstObject
4493         name and other things.
4494
4495 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4496
4497         * configure.ac:
4498         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4499         pre-releases or releases.
4500
4501         * docs/faq/gst-uninstalled:
4502         Add gst-plugins-gl
4503
4504         * docs/random/release:
4505         Change one of the steps - we only upload core & base to Gnome FTP
4506
4507 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4508
4509         * gst/gstconfig.h.in:
4510           Add 'id' for example.
4511
4512         * gst/gstpad.c:
4513         * gst/gstutils.c:
4514         * plugins/elements/gstfdsink.c:
4515           Link to signals. Doc and comment fixes.
4516
4517 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4518
4519         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4520         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4521           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4522           unused and unimplemented; finally, it is plugin features, not
4523           plugins, that have ranks.
4524           
4525 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4526
4527         * gst/gstpluginfeature.h:
4528           Clarify GstRank range docs.
4529
4530 2008-02-05  David Schleef  <ds@schleef.org>
4531
4532         * gst/gst.c: Add a separate gst_deinitialized that prevents
4533           gst_init() from being called after gst_deinit().  Fixes #509559
4534
4535 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4536
4537         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4538         (gst_bin_class_init):
4539         * gst/gstelement.c: (gst_element_base_class_init),
4540         (gst_element_class_add_pad_template):
4541         * gst/gstpadtemplate.c: (gst_pad_template_init):
4542         * gst/gstpipeline.c: (gst_pipeline_get_type),
4543         (gst_pipeline_base_init), (gst_pipeline_class_init):
4544         * libs/gst/base/gstbasesink.c:
4545         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4546         (gst_base_src_base_init), (gst_base_src_class_init):
4547         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4548         (gst_capsfilter_class_init):
4549         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4550         (gst_fake_sink_class_init):
4551         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4552         (gst_fake_src_class_init):
4553         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4554         (gst_fd_sink_class_init):
4555         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4556         (gst_fd_src_class_init):
4557         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4558         (gst_file_sink_class_init):
4559         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4560         (gst_file_src_class_init):
4561         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4562         (gst_identity_class_init):
4563         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4564         (gst_multi_queue_class_init):
4565         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4566         (gst_queue_class_init):
4567         * plugins/elements/gsttee.c: (gst_tee_base_init),
4568         (gst_tee_class_init):
4569         * plugins/elements/gsttypefindelement.c:
4570         (gst_type_find_element_base_init),
4571         (gst_type_find_element_class_init):
4572         * tests/check/gst/gstelement.c: (gst_element_suite):
4573         Revert previous changes to the behaviour of GstPadTemplates, etc
4574         and the possiblity to call them in class_init as it breaks too
4575         many elements. Reopens bug #491501.
4576
4577         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4578         several places.
4579
4580 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4581
4582         * tools/gst-launch.c:
4583         Dump one graph per pipeline state-change and state change name
4584         (if GST_DEBUG_DUMP_DOT_DIR is set).
4585
4586 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4587
4588         * gst/gstpad.c:
4589         * tests/check/gst/gstpad.c:
4590         Be sure that we have a new copy of the caps and not
4591         reffed caps from a template
4592
4593 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4594
4595         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4596         * gst/gstpipeline.c: (gst_pipeline_get_type),
4597         (gst_pipeline_class_init):
4598         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4599         (gst_base_sink_class_init):
4600         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4601         (gst_base_src_class_init):
4602         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4603         (gst_base_transform_class_init):
4604         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4605         (gst_collect_pads_class_init):
4606         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4607         * libs/gst/net/gstnettimeprovider.c:
4608         (gst_net_time_provider_base_init),
4609         (gst_net_time_provider_class_init):
4610         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4611         (gst_capsfilter_class_init):
4612         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4613         (gst_fake_sink_class_init):
4614         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4615         (gst_fake_src_class_init):
4616         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4617         (gst_fd_sink_class_init):
4618         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4619         (gst_fd_src_class_init):
4620         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4621         (gst_file_sink_class_init):
4622         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4623         (gst_file_src_class_init):
4624         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4625         (gst_identity_class_init):
4626         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4627         (gst_multi_queue_class_init):
4628         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4629         (gst_queue_class_init):
4630         * plugins/elements/gsttee.c: (gst_tee_base_init),
4631         (gst_tee_class_init):
4632         * plugins/elements/gsttypefindelement.c:
4633         (gst_type_find_element_base_init),
4634         (gst_type_find_element_class_init):
4635         Don't use base_init where not absolutely necessary. For example it's
4636         not necessary anymore for adding pad templates or setting element
4637         details.
4638
4639         Leave empty base_init functions in several places as GST_BOILERPLATE
4640         still defines and uses them.
4641
4642 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4643
4644         * gst/gstelement.c: (gst_element_base_class_init),
4645         (gst_element_class_add_pad_template):
4646         * gst/gstpadtemplate.c:
4647         Make it possible (and recommended) to set element details and add
4648         pad templates in the class_init functions by copying the details/pad
4649         templates in GstElement's base_init.
4650
4651         Also make it possible to replace existing pad templates by adding
4652         a new one with the same name. This was done in a hackish fashion
4653         in same elements before already.
4654
4655         Don't reference pad templates that are added a second time. A
4656         new pad template has a refcount of one and is not floating anymore
4657         and to be owned by the element's class. Make this more explicit by
4658         mentioning it in the docs of gst_element_class_add_pad_template().
4659
4660         These changes are backwards compatible. Fixes bug #491501.
4661
4662         * tests/check/gst/gstelement.c:
4663         Add unit test for setting element details, adding pad templates and
4664         replacing them in a subclass.
4665
4666 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4667
4668         * tools/gst-inspect.c: (print_interfaces),
4669         (print_element_properties_info), (print_pad_info),
4670         (print_signal_info), (print_element_info):
4671         Fix a few memory leaks.
4672
4673 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4674
4675         * docs/libs/gstreamer-libs-sections.txt:
4676         * libs/gst/check/gstcheck.c:
4677         * libs/gst/check/gstcheck.h:
4678         Add more functions for unit testing: gst_check_drop_buffers,
4679         gst_check_caps_equal, gst_check_element_push_buffer_list,
4680         gst_check_element_push_buffer
4681         API: gst_check_drop_buffers
4682         API: gst_check_caps_equal
4683         API: gst_check_element_push_buffer_list
4684         API: gst_check_element_push_buffer
4685
4686 2008-02-01  Julien Moutte  <julien@fluendo.com>
4687
4688         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4689         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4690         (gst_index_finalize), (gst_index_entry_free),
4691         (gst_index_add_association): Fix memory leaks.
4692         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4693         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4694         (gst_mem_index_free_format), (gst_mem_index_free_id),
4695         (gst_mem_index_finalize): Fix memory leaks.
4696         * win32/common/config.h: Updated to CVS HEAD.
4697
4698 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4699
4700         * docs/README:
4701           Some more details about how the plugin docs works.
4702
4703         * docs/plugins/gstreamer-plugins-sections.txt:
4704           Whitespace cleanup.
4705
4706 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4707
4708         * gst/parse/grammar.tab.pre.c:
4709         * gst/parse/grammar.tab.pre.h:
4710         * gst/parse/grammar.y:
4711         * gst/parse/lex._gst_parse_yy.pre.c:
4712           Add delayed set-property. This allows to set properties on dynamicaly
4713           created objects (pads in videomxer). Fixes #509391.
4714
4715 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4716
4717         * gst/gstutils.c:
4718         Check if caps are not NULL (fix bug #510194)
4719
4720 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4721
4722         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4723         (gst_base_sink_get_position_paused):
4724         Add fixme regarding EOS in pull mode.
4725         Fix position reporting in PAUSED for negative rates.
4726
4727 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4728
4729         * gst/gstminiobject.c: (gst_mini_object_replace):
4730         When replacing a miniobject, do a quick equality check first so that we
4731         can avoid a ref/unref pair.
4732
4733 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4734
4735         * docs/design/part-synchronisation.txt:
4736         Update some docs.
4737
4738         * docs/plugins/Makefile.am:
4739         * docs/plugins/gstreamer-plugins-docs.sgml:
4740         * docs/plugins/gstreamer-plugins-sections.txt:
4741         * plugins/elements/gstmultiqueue.c:
4742         Add multiqueue to the docs.
4743
4744 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4745
4746         * configure.ac:
4747           Back to CVS
4748
4749 === release 0.10.17 ===
4750
4751 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4752
4753         * configure.ac:
4754           releasing 0.10.17, "Due Negligence"
4755
4756 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4757
4758         * gst/gstutils.c:
4759         Revert caps != NULL check temporarily for 0.10.17 release.
4760
4761 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4762
4763         * gst/gstutils.c:
4764         Check if caps are not NULL (fix bug #510194)
4765
4766 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4767
4768         * gst/gstutils.c:
4769         Fix compilation on systems that have posix timers but no
4770         monotonic clock.
4771         Fixes: #512715
4772         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4773         dot net>
4774
4775 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4776
4777         * tools/gst-inspect.c:
4778         Revert previous commit in preparation for an impromptu 0.10.17 release
4779
4780 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4781
4782         * tools/gst-inspect.c: (print_interfaces),
4783         (print_element_properties_info), (print_pad_info),
4784         (print_signal_info), (print_element_info):
4785         Fix a few memory leaks.
4786
4787 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4788
4789         * configure.ac:
4790         Back to CVS
4791
4792 === release 0.10.16 ===
4793
4794 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4795
4796         * configure.ac:
4797           releasing 0.10.16, "Special Dispensation"
4798
4799 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4800
4801         * configure.ac:
4802           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4803           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4804           not fail when trying to crosscompile on OpenEmbedded (#511750).
4805
4806 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4807
4808         * docs/manuals.mak:
4809         Use $(MAKE) instead of make to fix the build if GNU make is
4810         called different. Fixes bug #510747.
4811
4812 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4813
4814         * gst/gstplugin.c: (_gst_plugin_initialize):
4815           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4816           again, which I broke two commits ago when changing the API
4817           of gst_plugin_register_static(): the g_list_foreach() in
4818           _gst_plugin_register_static still assumed the old function
4819           signature and would therefore fail (re-fixes #510187).
4820
4821         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4822           (_gst_plugin_register_static), (gst_plugin_register_static):
4823           Revert the (technically correct) change to call g_thread_init() from
4824           the pre-main() constructor. This will break programs which call
4825           g_thread_init() without an if (!g_thread_supported()) guard in their
4826           main function. We could just blame it on GLib or the application, but
4827           it's probably best to just avoid this altogether and simply not use
4828           any GLib functions here and use plain old malloc() with a simple
4829           array to store the plugins to register later when gst_init() is
4830           finally called (re-fixes #510187).
4831
4832         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4833           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4834           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4835           (GST_START_TEST), (gst_plugin_suite):
4836           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4837           works.
4838
4839 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4840
4841         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4842           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4843           This makes gtk-doc complain, but results in slightly better
4844           compiler errors. The old _gst_plugin_register_static() is
4845           still guarded, so there'll be a compiler warning about that
4846           instead. Fixes #510187 too.
4847
4848 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4849
4850         * gst/gst.c: (init_post):
4851         * gst/gstplugin.c: (_gst_plugin_register_static),
4852           (gst_plugin_register_static), (_gst_plugin_initialize):
4853         * gst/gstplugin.h: (GstPluginFilter):
4854           Change API of gst_plugin_register_static() to not take
4855           a GstPluginDesc, but rather just take all the arguments
4856           in a GstPluginDesc directly. This is more intuitive and
4857           avoids certain mistakes when porting code from
4858           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4859           Fixes #510187.
4860
4861         * tests/check/gst/gstplugin.c:
4862           Fix up for changed API.
4863
4864 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4865
4866         * docs/faq/legal.xml:
4867           Update FAQ, Totem actually has an exception these days.
4868
4869 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4870
4871         * win32/common/libgstreamer.def:
4872         Add new API declarations
4873
4874 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4875
4876         * gst/gstminiobject.c:
4877           Spelling fixes for the API docs.
4878
4879 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4880
4881         * libs/gst/base/gstbasetransform.c:
4882           Fix long property description for QoS.
4883
4884 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4885
4886         * gst/gst.c:
4887         _gst_trace_on is already provided by gsttrace.h, no need to declare
4888         it ourselves.
4889
4890         * docs/libs/gstreamer-libs-sections.txt:
4891         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4892         and remove strange tcase_add_test which is outputting a warning.
4893
4894         * libs/gst/check/gstcheck.c:
4895         * libs/gst/check/gstcheck.h:
4896         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4897         and define them in gstcheck.c instead of having every .c file whcih
4898         includes gstcheck.h be defining its own copy and relying on symbol
4899         interposing to marry them all, which doesn't work on Solaris.
4900
4901         * tests/check/elements/identity.c: (GST_START_TEST):
4902         Don't define 'buffers' locally, it comes from libgstcheck.
4903
4904         * tests/check/generic/sinks.c: (send_buffer):
4905         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4906
4907         * tests/check/gst/gststructure.c: (GST_START_TEST):
4908         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4909         * tests/check/gst/gstutils.c: (GST_START_TEST):
4910         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4911         Add a bunch of casts to make various constants fit the types
4912         they're being assigned to.
4913
4914 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
4915
4916         * gst/gstchildproxy.c:
4917           Improve docs and add some ideas for making this more general-purpose.
4918
4919 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4920
4921         * gst/gst_private.h: (GST_CAT_TYPES):
4922           Add GST_CAT_TYPES, for consistency, and so that the other
4923           debug categories don't make fun of it. Spotted by Saur on IRC.
4924
4925 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4926
4927         * gst/parse/Makefile.am:
4928           Move types.h from EXTRA_DIST to noinst_HEADERS.
4929
4930 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4931
4932         * autogen.sh:
4933           Add -Wno-portability to the automake parameters to stop warnings
4934           about GNU make extensions being used. We require GNU make in almost
4935           every Makefile anyway.
4936
4937         * configure.ac:
4938           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4939           at the same time is required for per target flags.
4940
4941 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4942
4943         * gst/gstmacros.h:
4944           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4945           __GNUC__ is defined before using it.
4946
4947 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4948
4949         * docs/gst/gstreamer-sections.txt:
4950         * gst/gst.c: (init_post):
4951         * gst/gstplugin.c: (_gst_plugin_register_static),
4952           (gst_plugin_register_static), (_gst_plugin_initialize),
4953           (gst_plugin_register_func):
4954         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4955           API: add gst_plugin_register_static() and deprecate
4956           GST_PLUGIN_DEFINE_STATIC, since it's not portable
4957           (#498924).
4958           Also, in _gst_plugin_register_static(), make sure to call
4959           g_thread_init() before calling GLib functions such as
4960           g_list_append() if we're not initialised yet, since that
4961           may lead to random crashes with older GSlice/GLib versions.
4962
4963         * tests/check/gst/gstplugin.c:
4964           Adapt unit test to above changes.
4965
4966 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4967
4968         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4969         * gst/gstcaps.c: (gst_caps_to_string):
4970         * gst/gststructure.c: (GST_ASCII_IS_STRING),
4971           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4972           Yet another gratuitous GString micro-optimisation: add a (private)
4973           function that serialises a structure appending to an existing
4974           GString, so that when we serialise caps we don't need to alloc+free
4975           a throwaway GString for each structure (each of which also entailing
4976           multiple reallocs on the way); also use g_string_sized_new() in
4977           various places with an approximate string length to avoid reallocs
4978           within GString. See #500143.
4979
4980 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4981
4982         * gst/gststructure.c: (gst_structure_id_set_value):
4983           Always check UTF-8 conformance of structure strings and not only
4984           if the debugging system is enabled; reasoning: the behaviour of
4985           the actual code shouldn't really change depending on whether the
4986           debugging system is enabled or not (#508291).
4987
4988 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
4989
4990         * Makefile.am:
4991           Remove old coverage target in favour of "make lcov".
4992
4993 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4994
4995         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4996         (gst_base_src_loop):
4997         The start segment for reverse playback goes from start to last_stop.
4998
4999 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5000
5001         Patch by: Peter Kjellerstedt <pkj axis com>
5002
5003         * gst/gstclock.h:
5004         Cast the results from the timeval/spec_to_time macros to what the
5005         docs say it casts to, a GstClockTime. fixes #508175.
5006
5007 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5008
5009         * gst/gstbuffer.c:
5010         Update some comments.
5011
5012         * tools/gst-inspect.c: (print_element_properties_info):
5013         Improve printing of flags.
5014
5015 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5016
5017         * libs/gst/base/gstbasetransform.c:
5018           (gst_base_transform_transform_size):
5019           Print element name with g_warning() if there's a problem
5020           with the unit size.
5021
5022 2008-01-07  David Schleef  <ds@schleef.org>
5023
5024         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5025
5026         * libs/gst/controller/gstcontroller.h:
5027         * libs/gst/controller/gstcontrolsource.h:
5028         * libs/gst/controller/gstinterpolationcontrolsource.h:
5029         * libs/gst/controller/gstlfocontrolsource.h:
5030         * libs/gst/dataprotocol/dataprotocol.h:
5031           Fix empty prototypes.  Fixes bug #507957.
5032
5033 2008-01-07  David Schleef  <ds@schleef.org>
5034
5035         * docs/faq/dependencies.xml: Fix typo.
5036
5037 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5038
5039         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5040         (gst_base_src_loop):
5041         Don't update the last_stop position in do_seek, that's the position we
5042         did a seek to.
5043         Read backwards when we have a negative rate.
5044
5045         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5046         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5047         (filesrc_suite):
5048         Add check for reverse reading.
5049
5050 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5051
5052         Patch by: Alexis Ballier <aballier at gentoo org>
5053
5054         * tests/check/gst/gstabi.c:
5055         * tests/check/gst/struct_ppc64.h:
5056         * tests/check/libs/libsabi.c:
5057         * tests/check/libs/struct_ppc64.h:
5058           Decide which header to include based on the userland ABI target
5059           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5060           for 64-bit userland (#503590).  Might need something similar for
5061           x86 too.
5062
5063 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5064
5065         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5066           Log the reason why fopen fails in addition to the fact that it failed.
5067           
5068 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5069
5070         * gst/parse/parse.l:
5071         Use "%option never-interactive" to prevent useless calls to isatty()
5072         on every input when parsing. Also use "%option noinput" to not define
5073         the static input/yyinput functions which we don't use anyway. This
5074         removes a compiler warning with gcc 4.3 and saves some bytes in the
5075         library.
5076         
5077         * gst/parse/lex._gst_parse_yy.pre.c:
5078         Regenerated for the above change.
5079
5080 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5081
5082         * gst/gstpad.c: (fixate_value):
5083         Don't crash when trying to fixate and empty list.
5084         Fixes #506643.
5085
5086 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5087
5088         * docs/faq/gst-uninstalled:
5089         Clarify the comments to make the usage of this script and what it
5090         does easier to understand.
5091
5092 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5093
5094         * tools/gst-plot-timeline.py:
5095         Add more options to gst-plot-timeline
5096
5097 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5098
5099         * docs/design/part-synchronisation.txt:
5100         Some more info on how the stream_time in GstBaseSink is done.
5101
5102 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5103
5104         * tests/check/generic/sinks.c: (gst_sinks_suite):
5105           Put back the tcase_set_timeout(), apparently it's needed after
5106           all; fix it up in a way that makes things work with valgrind too.
5107
5108 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5109
5110         * gst/gstdebugutils.c:
5111           Add warning when failed to open file for writing.
5112
5113 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5114
5115         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5116
5117         * gst/gstvalue.c: (gst_value_is_fixed):
5118           Optimisation: bail out of the loop as early as possible (#500143).
5119
5120 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5121
5122         * gst/gstcaps.c: (gst_caps_to_string):
5123         * gst/gstinfo.c: (gst_debug_construct_term_color):
5124         * gst/gstparse.c: (gst_parse_launchv):
5125         * gst/gstutils.c: (gst_util_dump_mem):
5126         * gst/gstvalue.c: (gst_value_serialize_any_list),
5127           (gst_value_transform_any_list_string):
5128           Bunch of gratuitous nano-optimisations.
5129
5130 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5131
5132         * tests/check/generic/sinks.c: (async_done_func),
5133           (async_done_eos_func):
5134           Fix leak in unit test (bus sync handler must unref the message
5135           if it returns GST_BUS_DROP). Don't fiddle with the default test
5136           timeout, this is smaller than the current preconfigured value
5137           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5138           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5139
5140 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5141
5142         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5143
5144         * configure.ac:
5145         Check for stdio_ext.h for the filesink changes.
5146
5147         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5148         (gst_file_sink_class_init), (gst_file_sink_init),
5149         (gst_file_sink_dispose), (gst_file_sink_set_property),
5150         (gst_file_sink_get_property), (gst_file_sink_open_file),
5151         (gst_file_sink_close_file):
5152         * plugins/elements/gstfilesink.h:
5153         Add two properties to control the buffering mode and size.
5154         API: GstFileSink::buffer-mode
5155         API: GstFileSink::buffer-size
5156         Fixes #500150.
5157
5158 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5159
5160         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5161         Add some more docs to explain why a FIXME was wrongly added. 
5162
5163 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5164
5165         * gst/gstobject.c:
5166           Fix typo in the gst_object_{ref,unref} documentation.
5167
5168 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5169
5170         * tests/check/libs/controller.c:
5171         * tests/check/libs/typefindhelper.c:
5172         * tests/check/pipelines/parse-launch.c:
5173           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5174           going to be deprecated (see #498924).
5175
5176 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5177
5178         * gst/gsttypefind.c: (gst_type_find_register):
5179           Make gst_type_find_register work for static typefind functions,
5180           ie. allow passing plugin == NULL (prerequisite for #498924).
5181
5182         * gst/gstelementfactory.c: (gst_element_register):
5183           Small docs addition.
5184
5185 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5186
5187         * gst/gstpad.c: (gst_pad_dispose):
5188         Really unlink the peer pad instead of setting the peer pointer to NULL
5189         when we dispose the pad.
5190         This correctly calls the unlink functions and makes sure that the peer
5191         does not have a handle to invalid memory. See #504671.
5192
5193         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5194         Add testsuite for above case.
5195
5196 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5197
5198         Patch by: Peter Kjellerstedt <pkj axis com>
5199
5200         * libs/gst/check/gstcheck.h:
5201           Fix detection of the check version we're compiling against (would
5202           otherwise break if check goes v0.10.0); correctly report the
5203           name of the failed test again in case of failure, instead of
5204           just 'tf' (fixes #504499).
5205
5206 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5207
5208         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5209         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5210         (gst_base_src_loop), (gst_base_src_set_flushing),
5211         (gst_base_src_change_state):
5212         Allow sending EOS to the source to make it send out an EOS event from
5213         the streaming thread.
5214         Update docs and deprecate the old NULL/READY shutdown method.
5215
5216         * tests/check/libs/basesrc.c: (GST_START_TEST),
5217         (gst_basesrc_suite):
5218         Add unit test for controlled shutdown.
5219
5220 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5221
5222         * docs/design/part-synchronisation.txt:
5223         Small updates.
5224
5225         * gst/gstsegment.c: (gst_segment_set_seek),
5226         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5227         (gst_segment_to_running_time):
5228         The seek format can be different from the segment format when the start
5229         and stop values are not to be updated, when we only do a rate change for
5230         example.
5231
5232         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5233         (gst_segment_suite):
5234         Add a testcase for the rate-only seeks, checking that the format is
5235         correctly ignored when start and stop are not updated.
5236
5237 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5238
5239         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5240
5241         * win32/vs8/grammar.vcproj:
5242         * win32/vs8/libgstcontroller.vcproj:
5243         * win32/vs8/libgstreamer.vcproj:
5244         Fix compilation with VS8 and include some missing files.
5245
5246 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5247
5248         * gst/gsttaglist.c:
5249           Small docs addition: mention that the strings returned by
5250           gst_tag_list_get_string*() are in UTF-8 encoding.
5251
5252 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5253
5254         * Makefile.am:
5255           The check-exports stuff moved to common/win32.mak, so include that.
5256
5257 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5258
5259         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5260         (gst_base_src_perform_seek), (gst_base_src_get_range),
5261         (gst_base_src_set_playing), (gst_base_src_change_state):
5262         Make _wait_playing() not check any variables so that we can call this
5263         function from subclasses. Move the checks elsewhere similar to
5264         _wait_preroll() in basesink.
5265         Add some debugging.
5266         Only signal the LIVE cond when we are going back to PLAYING.
5267
5268 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5269
5270         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5271           Use g_remove() and g_rename(). Check result of g_rename(), and
5272           don't leak the open file descriptor if we error out when writing.
5273
5274         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5275           Must check the return value of close() after writing out the new
5276           registry file.  Sometimes write problems such as out-of-diskspace
5277           are only reported when the file is closed and not already during
5278           the write.  This may have caused partial/broken registry files in
5279           some rare circumstances. Should fix #503675.
5280
5281 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5282
5283         * docs/gst/.cvsignore:
5284         * docs/libs/.cvsignore:
5285         * docs/plugins/.cvsignore:
5286         Ignore files generated by new common/* modifications
5287
5288 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5289
5290         * win32/common/libgstbase.def:
5291           Yes, you can also have a <TAB> if you want.
5292
5293 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5294
5295         * win32/common/libgstbase.def:
5296           Add new basetransform API to win export file.
5297
5298 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5299
5300         * tests/check/gst/gstbin.c:
5301           Adjust the test to the refcount change two days ago.
5302
5303 2007-12-14  David Schleef  <ds@schleef.org>
5304
5305         * docs/faq/getting.xml: Fix typo.
5306
5307 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5308
5309         * docs/libs/gstreamer-libs-sections.txt:
5310         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5311           (gst_base_transform_prepare_output_buffer),
5312           (gst_base_transform_set_gap_aware):
5313         * libs/gst/base/gstbasetransform.h:
5314           API: Add gst_base_transform_set_gap_aware() to control whether
5315           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5316           get buffers with this flag at all. Fixes #503231.
5317
5318 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5319
5320         * libs/gst/base/gstbasesink.c:
5321         * libs/gst/base/gstbasesrc.c:
5322         * libs/gst/base/gstbasetransform.c:
5323           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5324           thread. Correct log message in gstbasesrc.c.
5325
5326 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5327
5328         * gst/gstutils.c: (element_find_unconnected_pad):
5329           Fix possible compiler warning (#503417).
5330
5331 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5332
5333         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5334           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5335
5336 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5337
5338         * tools/gst-inspect.c: (print_element_properties_info):
5339           Add support for GstFraction properties.
5340
5341 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5342
5343         * Makefile.am:
5344           Add check-exports target and run it as part of 'make check'
5345           (see #499140 and #493983).
5346
5347         * gst/gst_private.h:
5348         * gst/gstelementfactory.h:
5349         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5350         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5351           (_priv_gst_in_valgrind):
5352         * gst/gstinfo.h: (GstLogFunction):
5353         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5354           (gst_type_find_register):
5355         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5356           (gst_type_find_factory_get_type):
5357         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5358           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5359           (gst_controller_new_valist), (gst_controller_new_list),
5360           (_gst_controller_dispose), (_gst_controller_class_init):
5361         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5362         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5363           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5364           (gst_object_get_controller), (gst_object_set_controller),
5365           (gst_object_suggest_next_sync), (gst_object_sync_values),
5366           (gst_object_set_control_source), (gst_object_get_control_source),
5367           (gst_object_get_value_arrays), (gst_object_get_value_array),
5368           (gst_object_get_control_rate), (gst_object_set_control_rate):
5369         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5370         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5371           Make some functions that should be static static; rename some
5372           private symbols so that they don't get exported; add some FIXME
5373           comments so we can move accidentally exported functions into
5374           our private section in 0.11.
5375
5376         * win32/common/libgstreamer.def:
5377           Add gst_utils_get_timestamp().
5378
5379 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5380
5381         * gst/gstvalue.c:
5382         * gst/gstvalue.h:
5383           Add more missing "Since:" tags to docs.
5384
5385 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5386
5387         * gst/gstutils.c:
5388           Add mising "Since:" to docs.
5389
5390 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5391
5392         * gst/gstplugin.c:
5393           Include "glib-compat-private.h" to fix the build on system with
5394           glib < 2.10. Fixes #503131.
5395
5396 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5397
5398         * gst/gstutils.c:
5399         * gst/gstutils.h:
5400           Actually its not PURE as it gets the time from elsewhere.
5401
5402 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5403
5404         * docs/gst/gstreamer-sections.txt:
5405         * gst/gstclock.h:
5406         * gst/gstdebugutils.c:
5407         * gst/gstinfo.c:
5408         * gst/gstutils.c:
5409         * gst/gstutils.h:
5410         * libs/gst/base/gstbasesink.c:
5411         * tools/gst-launch.c:
5412           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5413           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5414           Thanks Tim for spotting.
5415           API: gst_util_get_timestamp
5416
5417 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5418
5419         * configure.ac:
5420           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5421
5422 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5423
5424         * gst/gststructure.c: (gst_structure_validate_name),
5425           (gst_structure_new_valist), (gst_structure_parse_value),
5426           (gst_structure_from_string):
5427           Don't crash in _from_string() if the structure name is not valid
5428           (fixes #501560).  Allow structure names to start with a number
5429           again (this apparently broke the ubuntu codec installer).
5430
5431         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5432           (GST_START_TEST):
5433           Add unit test for the crash; update unit tests for new behaviour.
5434
5435 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5436
5437         * gst/gstutils.c:
5438         Clarify gst_element_get_compatible_pad() documentation.
5439         Fixes #500919.
5440
5441 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5442
5443         * tests/check/Makefile.am:
5444           Don't forget to dist {gst,libs}/struct_hppa.h.
5445
5446 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5447
5448         * libs/gst/base/gstbasesink.c:
5449           Use new API to get elapsed time.
5450
5451 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5452
5453         * gst/gstdebugutils.c:
5454         * gst/gstinfo.c:
5455           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5456
5457         * tools/gst-launch.c:
5458           Use new API to get elapsed time.
5459
5460 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5461
5462         * docs/gst/gstreamer-sections.txt:
5463         * gst/gstclock.h:
5464         * gst/gstdebugutils.c:
5465         * gst/gstinfo.c:
5466           Rename new API + ChangeLog surgery to remove old name from last entry..
5467
5468 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5469
5470         * docs/gst/gstreamer-sections.txt:
5471         * gst/gstclock.h:
5472         * gst/gstdebugutils.c:
5473         * gst/gstinfo.c:
5474           Now hide the different clock stuff behind a macro.
5475
5476 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5477
5478         * configure.ac:
5479         * gst/gstdebugutils.c:
5480         * gst/gstinfo.c:
5481           Apply the posix-timer check from #361155. Conditionally use the posix
5482           timer for logging. This gives better timestamp precission, less
5483           overhead and no ntp jitter.
5484
5485 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5486
5487         * gst/gstminiobject.c: (gst_mini_object_get_type),
5488         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5489         (gst_mini_object_finalize), (gst_mini_object_copy),
5490         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5491         (gst_mini_object_replace), (param_mini_object_validate),
5492         (gst_param_spec_mini_object_get_type):
5493         Some cleanup and checking against invalid function parameters.
5494
5495 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5496
5497         * docs/gst/gstreamer-sections.txt:
5498         * gst/gstclock.h:
5499         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5500         (gst_systemclock_suite):
5501         Start merging in the easy bits of #361155, the monotonic clock patch.
5502         This one adds a few handy macros with docs and a testsuite.
5503
5504 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5505
5506         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5507         Be a bit smarter when seeking, like, don't try to do a seek when it's
5508         not needed. This avoids errors when the file is not seekable.
5509         Fixes #499771.
5510
5511 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5512
5513         * docs/gst/gstreamer-docs.sgml:
5514         * docs/gst/gstreamer-sections.txt:
5515         * docs/gst/gstreamer.types.in:
5516         * gst/Makefile.am:
5517         * gst/gst.h:
5518         * gst/gstpreset.c:
5519         * gst/gstpreset.h:
5520         * plugins/elements/gstqueue.c:
5521           Due to popular request remove preset interface again. :-(.
5522
5523 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5524
5525         * tools/gst-inspect.c:
5526           Print 'default value' for enums and flags too.
5527
5528 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5529
5530         * docs/random/ensonic/profiling.txt:
5531           More ideas.
5532
5533         * gst/gstbin.c:
5534           Fix typo and give better log output.
5535
5536         * gst/gstdebugutils.c:
5537         * gst/gstdebugutils.h:
5538           More ideas, make graphs a bit smaller and fix param name in macro.
5539
5540 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5541
5542         * gst/gstpreset.c:
5543           Try harder to use the return value from fgets().
5544
5545 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5546
5547         * gst/gstpreset.c:
5548           For theses two fgets we handle the error below.
5549
5550 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5551
5552         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5553         Only send upstream events upstream. Fixes #498746.
5554
5555 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5556
5557         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5558
5559         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5560         (gst_identity_init), (gst_identity_transform_ip),
5561         (gst_identity_set_property), (gst_identity_get_property):
5562         * plugins/elements/gstidentity.h:
5563         Add property to disable handoff signal emission. Fixes #498694.
5564         API: GstIdentity::signal-handoffs
5565
5566 2007-11-21  Julien Moutte  <julien@fluendo.com>
5567
5568         * docs/faq/gst-uninstalled: Yet another missing library for the
5569         uninstalled script (fft)
5570
5571 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5572
5573         * docs/faq/developing.xml:
5574         Add a question about how to submit new translations.
5575
5576         * docs/random/release:
5577         Update the contact email address for the Translation Project
5578
5579         * plugins/elements/gstfdsrc.c:
5580         The parent_class for fdsrc is pushsrc, not GstElement.
5581
5582 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5583
5584         * gst/gstpreset.c:
5585           Plug a leak and fix saving.
5586
5587 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5588
5589         * docs/gst/gstreamer-sections.txt:
5590         Add new gst_preset__get_property_names() function to the docs
5591         to fix the build.
5592
5593 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5594
5595         * gst/gstpreset.c:
5596         * gst/gstpreset.h:
5597           Change _get_preset_names API to return a strv with copies. Add
5598           _get_property_names to allow implementations to filter and provide
5599           good default implementation.
5600
5601 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5602
5603         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5604         script (sdp).
5605
5606 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5607
5608         * gst/gstpreset.c:
5609           More cleanups, docs, and TODOs from comments that now slowly come in.
5610
5611 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5612
5613         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5614         search path.
5615
5616 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5617
5618         * gst/gstpreset.c:
5619           Fix bogus warning and make the property type specific code more
5620           similar.
5621
5622 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5623
5624         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5625         it build on OS X.
5626
5627 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5628
5629         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5630         (gst_bin_add_func), (gst_bin_remove_func),
5631         (gst_bin_change_state_func), (gst_bin_continue_func):
5632         Change email, cleanups add some more debug and comments.
5633         Also set bus and clock on new elements when the pipeline was in error.
5634
5635 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5636
5637         * gst/gstbin.c:
5638         * gst/gstdebugutils.c:
5639           Fix build with --disable-gst-debug. Fixes #497859.
5640           Spotted by Sameer Naik.
5641
5642 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5643
5644         * gst/gstevent.c:
5645           Little documentation improvment.
5646
5647         * gst/gstpreset.c:
5648           More TODO cleanups. Remove c++ comments.
5649
5650         * libs/gst/controller/gstcontroller.c:
5651           Add TODO and use quark from static string.
5652
5653         * tests/check/gst/gstmessage.c:
5654         * tests/check/gst/gststructure.c:
5655           Use quark from static string.
5656
5657 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5658
5659         * gst/gstpreset.c:
5660           Add some comments and TODOs.
5661
5662         * gst/gstpreset.h:
5663           Add padding for future changes.
5664
5665         * plugins/elements/gstqueue.c:
5666           Implement the iface.    
5667
5668 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5669
5670         * docs/gst/gstreamer-docs.sgml:
5671         * docs/gst/gstreamer-sections.txt:
5672         * docs/gst/gstreamer.types.in:
5673         * gst/Makefile.am:
5674         * gst/gst.h:
5675         * gst/gstpreset.c:
5676         * gst/gstpreset.h:
5677           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5678
5679 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5680
5681         * configure.ac:
5682
5683         Back to CVS
5684
5685 === release 0.10.15 ===
5686
5687 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5688
5689         * configure.ac:
5690           releasing 0.10.15, "October"
5691
5692 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5693
5694         * win32/vs6/libgstreamer.dsp:
5695         Convert line endings back to DOS.
5696
5697 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5698
5699         * docs/design/draft-tagreading.txt:
5700         * docs/random/ensonic/profiling.txt:
5701         Update fast tagreading draft and performance profiling ideas.
5702
5703 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5704
5705         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5706         Don't hold the object lock when unreffing a buffer because it could
5707         cause a deadlock when the finalize function wants to grab the object
5708         lock too. Fixes #495133.
5709
5710 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5711
5712         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5713         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5714         Also accumulate time correctly when doing reverse playback. Fixes
5715         #488201,
5716         When converting to running and stream time, use default values for
5717         start/stop/time/accum when comparing different formats. Fixes #494245.
5718
5719         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5720         Do running/stream time in TIME format.
5721
5722         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5723         (gst_segment_suite):
5724         2 new unit tests for segment accumulation.
5725
5726 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5727
5728         * gst/gst.c: (init_pre):
5729         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5730           (_gst_debug_bin_to_dot_file):
5731           Move getenv() back into gst_init, so everyone can live happily
5732           ever after. Make sure the symbol isn't exported though.
5733
5734 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5735
5736         Patch by: Sebastien Moutte  <sebastien moutte net>
5737
5738         * win32/common/gstenumtypes.c:
5739         * win32/common/gstenumtypes.h:
5740           Update enum types.
5741
5742         * win32/vs6/libgstreamer.dsp:
5743           Update vs6 project files (#494343).
5744
5745 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5746
5747         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5748         (gst_base_src_perform_seek), (gst_base_src_default_event),
5749         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5750         (gst_base_src_activate_pull):
5751         Unify flushing code, remove some old unlock code that is no longer used.
5752         Take the streaming lock when seeking to avoid races. Fixes #492729.
5753         Added some more comments.
5754
5755 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5756
5757         * gst/gst.c: (_gst_disable_segtrap):
5758           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5759           we can use gst_segtrap_is_enabled() there now that we have that API.
5760           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5761           to do the getenv here (and export the variable).
5762
5763         * gst/gstdebugutils.c: (debug_dump_element),
5764           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5765           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5766
5767         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5768           (gst_debug_log_default):
5769           Rename _gst_info_start_time to priv_gst_info_start_time so it
5770           doesn't get exported (was never in any header).
5771
5772         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5773           (gst_plugin_loading_mutex):
5774           Make static mutex gst_plugin_loading_mutex really static (was never
5775           in any header), and use gst_segtrap_is_enabled() instead of
5776           _gst_disable_segtrap.
5777
5778         * gst/gsttrace.c: (_gst_trace_default):
5779           Make local _gst_trace_default static (was never in any header).
5780
5781 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5782
5783         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5784
5785         * win32/common/libgstbase.def:
5786         * win32/common/libgstcontroller.def:
5787         * win32/common/libgstdataprotocol.def:
5788         * win32/common/libgstnet.def:
5789         * win32/common/libgstreamer.def:
5790           Add more missing symbols, remove some duplicates, and sort
5791           as the 'sort' command sorts it (partially fixes #493983).
5792
5793 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5794
5795         * gst/gstelement.c: (gst_element_set_state_func):
5796         Only change the state cookie if a different state was set on the
5797         element. See #492729.
5798
5799 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5800
5801         * gst/gstvalue.c:
5802           Remove unused and uninitialised type variables that were still
5803           exported for some reason (they were never in any header files
5804           though).
5805
5806 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5807
5808         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5809         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5810         (gst_base_sink_event), (gst_base_sink_get_position_last),
5811         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5812         (gst_base_sink_change_state):
5813         Don't try to report a 0 position when we don't know, return -1 and FALSE
5814         instead. This mostly happens when we are prerolling.
5815         Make sure we can report the right position before we post the ASYNC_DONE
5816         message so that a message handler can query position without races.
5817
5818         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5819         (async_done_handoff), (async_done_func), (send_buffer),
5820         (async_done_eos_func), (gst_sinks_suite):
5821         Add two tests for the above.
5822
5823 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5824
5825         * MAINTAINERS:
5826         Update with new email address.
5827
5828         * docs/design/part-TODO.txt:
5829         Add some more info about future pad-block and negotiation changes.
5830
5831         * docs/design/part-buffering.txt:
5832         Add some ideas about buffering reporting.
5833
5834 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5835
5836         * tests/check/gst/gstobject.c:
5837         Disable silly racy test that always fails on this combination of CPU
5838         and kernel.
5839
5840 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5841
5842         Patch by: Murray Cumming  <murrayc@murrayc.com>
5843
5844         * gst/gstobject.c:
5845           Corrected the registration of the parent-set and parent-unset
5846           signals: The parameter is a GstObject, not a GObject (#493134).
5847
5848 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5849
5850         * gst/gst_private.h:
5851         * gst/gstbuffer.h:
5852         * gst/gstevent.h:
5853         * gst/gstformat.h:
5854         * gst/gstmessage.h:
5855         * gst/gstplugin.h:
5856         * gst/gstquery.h:
5857         * gst/gsttaglist.h:
5858         * gst/gstvalue.h:
5859           Move declaration of private _gst_foo_initialize() functions into
5860           our private header file where they should have been all along.
5861
5862 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5863
5864         * docs/plugins/gstreamer-plugins-sections.txt:
5865         * gst/gstdebugutils.h:
5866         * gst/gstxml.h:
5867         * plugins/elements/gstqueue.c:
5868           gtk-doc fixes; trailing-comma-in-enum fix.
5869
5870 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5871
5872         * gst/gst.c: (gst_deinit):
5873           Clean up on deinit (not the external ones though, doesn't seem to be
5874           needed for some reason).
5875
5876 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5877
5878         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5879           Remove __declspec(dllimport) for MSVC that was copied over into core
5880           from a plugin, obviously without ever having been tested (note the
5881           single underscore in _declspec in the initial commit), and that doesn't
5882           really make sense.  See #492077.
5883
5884 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5885
5886         * gst/gst.c: (init_post):
5887         * gst/gstevent.c: (_gst_event_initialize):
5888         * gst/gstquery.c: (_gst_query_initialize):
5889         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5890           g_type_class_ref() other types as well, see #349410 and #64764.
5891
5892         * gst/gstbuffer.c: (_gst_buffer_initialize):
5893         * gst/gstmessage.c: (_gst_message_initialize):
5894           Simplify existing g_type_class_ref().
5895
5896 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5897
5898         * gst/gstformat.c: (_gst_format_initialize):
5899           g_type_class_ref() our GstFormat type to make sure we avoid the
5900           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5901           bug #64764. Should fix intermittent tee unit test failures (#474823).
5902
5903 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5904
5905         * tests/check/elements/tee.c: (test_num_buffers):
5906           Simplify, simplify, simplify - or not.  Rewrite unit test
5907           not to use gst_parse_launch(); allow N sub-streams. Increasing
5908           the number of sub-streams seems to reproduce #474823 more easily.
5909
5910 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5911
5912         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5913
5914         * gst/gsttrace.c:
5915         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5916         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5917         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5918           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5919           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5920           so use _pipe() directly (#492077).
5921
5922         * win32/common/dirent.c: (_treaddir):
5923           Add a couple of casts to make it build without warnings with MSVC.
5924
5925         * win32/common/libgstreamer.def:
5926           Add some more symbols that need to be exported.
5927
5928 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5929
5930         * tests/examples/metadata/read-metadata.c: (message_loop):
5931           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5932           arriving in a second or third tag message are added to
5933           the tag list as well.
5934
5935 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
5936
5937         * libs/gst/base/gstbasesrc.c:
5938           Its "Since:" and not "@Since:". And remove an superflous cast.
5939
5940 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
5941
5942         * docs/libs/gstreamer-libs-sections.txt:
5943         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5944         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5945         (gst_base_sink_get_property), (gst_base_sink_render_object),
5946         (gst_base_sink_preroll_object),
5947         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5948         (gst_base_sink_change_state):
5949         * libs/gst/base/gstbasesink.h:
5950         Add a new last-buffer property that contains the last buffer used in
5951         basesink for preroll or rendering. useful for making snapshots.
5952         API: gst_base_sink_get_last_buffer()
5953         API: GstBaseSink::last-buffer
5954
5955 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5956
5957         * docs/gst/running.xml:
5958         * gst/gst.c:
5959         * gst/gstdebugutils.c:
5960         * gst/gstdebugutils.h:
5961         * tools/gst-launch.c:
5962           Improve bin graph dumping, by using the envvar to specify a path.
5963           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5964
5965 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
5966
5967         * plugins/elements/gsttypefindelement.c:
5968           (gst_type_find_element_handle_event),
5969           (gst_type_find_element_activate):
5970           Post special error message if we can't determine the type of a stream
5971           because it's empty.
5972
5973 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5974
5975         * docs/gst/running.xml:
5976         * gst/gstdebugutils.c:
5977           Document new env-var. Add one log-line after dumpng a graph.
5978
5979 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5980
5981         * configure.ac:
5982           Ugly hack to put the (recently removed and non-portable, apparently)
5983           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5984           GNU ld, because without that 'make check' fails miserably on my debian
5985           stable box.  Someone with more knowledge of linker intricacies and
5986           portability issues than me fix this properly please.
5987
5988 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
5989
5990         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5991         Reset last seen position after flushing so that we don't report the old
5992         position anymore.
5993
5994 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5995
5996         * gst/gstelementfactory.c: (gst_element_register):
5997         * gst/gsturi.h:
5998         Patch from Alessandro Decina adding get_type_full and
5999         get_protocols_full private vfuncs to the URIHandler interface
6000         to allow bindings to support creating URI handlers. 
6001         Partially fixes: #339279
6002         API: GstURIHandlerInterface::get_type_full
6003         API: GstURIHandlerInterface::get_protocols_full
6004
6005 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6006
6007         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6008         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6009         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6010         Make it so that pads are considered linked until a buffer is pushed
6011         and discovered otherwise. This avoids problems with decodebin2 hanging
6012         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6013         case.
6014
6015         Make sure we lock the multiqueue when updating the max-size properties.
6016         
6017         Fix a crash on Solaris in a debug statement in get_request_pad that
6018         passes a NULL string to GST_DEBUG. 
6019
6020         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6021         (run_output_order_test):
6022         Fix the test to allow the first buffer on not-linked pads to come out
6023         of sequence while multiqueue discovers that they are not-linked.
6024
6025 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6026
6027         * configure.ac:
6028         * libs/gst/check/Makefile.am:
6029         Use a custom export symbol regex for libgstcheck, as it needs
6030         to export symbols that don't match the standard GStreamer gst_*
6031         pattern, and  --export-dynamic is not portable (only works on 
6032         GNU ld)
6033
6034         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6035         (gst_check_setup_sink_pad):
6036         Make sure to pass a message parameter to the fail_* macros.
6037
6038         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6039         Fix some compiler warnings.
6040
6041 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6042
6043         * tests/check/gst/gststructure.c: (test_to_string):
6044           Disable test that checks that white spaces are not allowed
6045           in structure names or field names, since we need to
6046           support that for now for backwards compatibility reasons.
6047
6048 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6049
6050         * docs/gst/gstreamer-sections.txt:
6051         * gst/gsttaglist.c:
6052         * gst/gsttaglist.h:
6053           API: add GST_TAG_ARTIST_SORTNAME
6054           API: add GST_TAG_ALBUM_SORTNAME
6055           API: add GST_TAG_TITLE_SORTNAME
6056           Add tag variants for sorting (#414539).
6057
6058 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6059
6060         * gst/gststructure.c:
6061           Also allow white space for names so we don't break
6062           backwards compatibility.
6063
6064 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6065
6066         * docs/design/part-TODO.txt:
6067         * docs/design/part-segments.txt:
6068         * docs/design/part-streams.txt:
6069         Small updates.
6070
6071 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6072
6073         * docs/gst/gstreamer-sections.txt:
6074          Fixed documentation from my previous commit (added new API add
6075          gst_value_set_structure(), add gst_value_get_structure() and
6076          GST_VALUE_HOLDS_STRUCTURE).
6077
6078 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6079
6080         * gst/gstdebugutils.c:
6081           Reflow code to fix uninitialized variable warning.
6082
6083 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6084
6085         * gst/gstcaps.c: (gst_caps_to_string),
6086         (gst_caps_from_string_inplace):
6087         * gst/gststructure.c: (gst_structure_get_abbrs),
6088         (gst_structure_to_string), (gst_structure_from_string):
6089         * gst/gstvalue.c: (gst_value_set_structure),
6090         (gst_value_get_structure), (gst_value_serialize_structure),
6091         (gst_value_deserialize_structure), (_gst_value_initialize):
6092         * gst/gstvalue.h:
6093         * tests/check/gst/gststructure.c: (GST_START_TEST),
6094         (gst_structure_suite):
6095         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6096          Added GstStructure to gst_value_table and its related functions.
6097          Changed gst_structure_to_string to print ';' in the end.
6098          Changed gst_caps_to_string to not print ';' beteween its
6099          fields (structures) anymore and remove the lastes ';' from latest
6100          structure. Now it is possible to have nested structures.
6101          In addition, backward compatibilty is assured by accepting '\0' as
6102          end delimiter. Fixes: #487969.
6103          API: add gst_value_set_structure()
6104          API: add gst_value_get_structure()
6105          API: add GST_VALUE_HOLDS_STRUCTURE
6106
6107 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6108
6109         * gst/gstbus.c:
6110           When no GSource callback has been set up, tell developer
6111           to use a function that actually exists.
6112
6113 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6114
6115         * docs/gst/gstreamer-sections.txt:
6116         * gst/Makefile.am:
6117         * gst/gst.c:
6118         * gst/gst.h:
6119         * gst/gstdebugutils.c:
6120         * gst/gstdebugutils.h:
6121         * gst/gstinfo.c:
6122         * gst/gstinfo.h:
6123         * tools/gst-launch.c:
6124           Allow dumping pipelines as dot graphs. Fixes #456573.
6125
6126 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6127
6128         * gst/gststructure.c:
6129           Allow '+' as well, it can be part of media or mime types
6130           such as image/svg+xml.
6131
6132 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6133
6134         * docs/gst/gstreamer-sections.txt:
6135         * gst/gstbus.c:
6136         * gst/gstbus.h:
6137           API: add gst_bus_pop_filtered
6138           API: add gst_bus_timed_pop_filtered
6139           Two new functions for waiting for specific message types on the
6140           bus for a specified amount of time without iterating any main
6141           loops or main contexts.
6142
6143         * tests/check/gst/gstbus.c:
6144           Some tests for the new functions.
6145
6146 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6147
6148         * docs/libs/gstreamer-libs-sections.txt:
6149           Make gtk-doc ignore stuff it should ignore.
6150
6151 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6152
6153         * libs/gst/check/gstcheck.c:
6154         * libs/gst/check/gstcheck.h:
6155           Allow runtime selection of unit tests to run via the GST_CHECKS
6156           environment variable (test case function names, comma-separated).
6157
6158 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6159
6160         * gst/gststructure.c:
6161         * tests/check/gst/gststructure.c:
6162           Revert serialisation change and constrain structure-names after
6163           consensus on irc. Update api documentation to reflect the change.
6164
6165 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6166
6167         * gst/gststructure.c:
6168           Improve serialization and fix tests.
6169
6170         * tests/check/gst/gststructure.c:
6171           Add another test that covers why I actually did the previous structure
6172           change.
6173
6174 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6175
6176         * tools/gst-inspect.c: (print_element_info):
6177         Don't crash when inspecting an element.
6178
6179 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6180
6181         * tests/check/gst/gststructure.c:
6182           Add unit test for escaping of structure name when serialising
6183           and deserialising to/from strings.
6184
6185 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6186
6187         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6188         (gst_single_queue_new):
6189         * plugins/elements/gstqueue.c: (gst_queue_init),
6190         (gst_queue_push_one):
6191         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6192         upstream is tricked into thinking it can suggest a format downstream
6193         while downstream does not support that format. The real problem is that
6194         core calls acceptcaps when pushing a buffer with new caps, for which we
6195         do a little workaround by setting the caps on the srcpad ourselves
6196         before pushing the buffer (until this is figured out). Fixes #486758.
6197
6198 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6199
6200         * gst/gststructure.c:
6201         * gst/gstvalue.c:
6202           Add some more comments and debug output. Quote structure name to fix
6203           deserialisation of some strings.
6204
6205 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6206
6207         * gst/gstbuffer.h:
6208           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6209           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6210
6211 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6212
6213         * tools/gst-inspect.c:
6214           Save approx. 400 1 byte allocs when printing. Use API to acces element
6215           details.
6216
6217         * tools/gst-run.c:
6218           Avoid a strdup.
6219
6220         * tools/gst-xmlinspect.c:
6221           Use API to acces element details.
6222
6223 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6224
6225         * gst/gstinfo.c:
6226           Fix some spelling errors.
6227
6228 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6229
6230         * gst/gstbin.c: (bin_handle_async_done):
6231         Correctly set the next state if all of our async children commited their
6232         state. This makes sure we can actually cancel the state change in
6233         progress. Fixes a regression in Rhythmbox when seeking.
6234
6235 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6236
6237         * gst/gstbin.c:
6238           Don't shadow local variable.
6239
6240         * gst/gstinfo.c:
6241           Don't shadow global function name.
6242
6243 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6244
6245         * gst/gstelementfactory.c:
6246         * gst/gstpluginfeature.c:
6247         * gst/gstpluginfeature.h:
6248         * gst/gstregistrybinary.c:
6249         * gst/gstregistryxml.c:
6250         * gst/gsttypefind.c:
6251           Use already-interned string for the private GstPluginFeature
6252           plugin_name field.
6253
6254 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6255
6256         * docs/libs/gstreamer-libs-sections.txt:
6257           Add new API to docs; fixes the build.
6258
6259 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6260         
6261         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6262
6263         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6264         (gst_base_sink_event):
6265         * libs/gst/base/gstbasesink.h:
6266         Add function to wait for EOS, subclasses can use this to correctly wait
6267         for devices to drain before performing the EOS logic. Fixes #485343.
6268         API: gst_base_sink_wait_eos()
6269
6270 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6271
6272         * gst/gstplugin.h:
6273           Cast description string constants in GST_PLUGIN_DEFINE macros
6274           to a (gchar*) to make C++ code using these macros compile
6275           without warning with g++-4.2 (see #462737).  Even if slightly
6276           ugly, this seems preferable to putting the description strings
6277           into the GLib quark table or making the structure member a
6278           const gchar * and doing casts in core code that allocs and
6279           frees these strings, or requiring a cast in the C++ code.
6280
6281 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6282
6283         * gst/gstinfo.h:
6284           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6285           to print the entire class/function signature into the log
6286           file for C++ code.  This only affects C++ code, for C code
6287           everything remains the same.
6288
6289 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6290
6291         * gst/gstbin.c: (remove_from_queue):
6292         Work around a problem with pipelines containing (semi)loops until a
6293         proper, more complicated solution is ready. See #475455.
6294
6295 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6296
6297         * gst/gstplugin.c:
6298         * gst/gstplugin.h:
6299         * gst/gstregistrybinary.c:
6300         * gst/gstregistryxml.c:
6301           Put more strings into the GLib quark table. No need to keep
6302           a hundred-something copies of identical version strings,
6303           license strings, package name strings and package origin
6304           strings around. 
6305
6306 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6307
6308         * docs/manual/advanced-dataaccess.xml:
6309           Don't imply that it's okay to unconditionally change
6310           buffer data or buffer metadata in a pad probe callback,
6311           and a bunch of other comments. Fixes #430031.
6312
6313 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6314
6315         * win32/common/gstenumtypes.c:
6316         * win32/common/gstenumtypes.h:
6317         * win32/common/gstversion.h:
6318           Update generated files.
6319
6320 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6321
6322         * docs/manual/advanced-autoplugging.xml:
6323           Prefix section with broken code with a warning (see #342432).
6324
6325 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6326
6327         * docs/manual/appendix-integration.xml:
6328         * docs/manual/basics-init.xml:
6329           Call g_thread_init() before g_option_context_new() to
6330           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6331
6332 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6333
6334         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6335         (gst_base_sink_queue_object_unlocked),
6336         (gst_base_sink_queue_object), (gst_base_sink_event),
6337         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6338         When we received EOS and are waiting for when to post the EOS message,
6339         our state is prerolled and we should not return ASYNC.
6340         Reorganize some code paths to implement this behavior.
6341
6342         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6343         (gst_sinks_suite):
6344         Add unit test to verify above EOS fix.
6345
6346 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6347
6348         * plugins/elements/gsttypefindelement.c:
6349         (gst_type_find_element_have_type), (gst_type_find_element_init),
6350         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6351         Move detecting the input caps of the sinkpad to the setcaps function.
6352         This allows us to update the output caps when we receive new input caps
6353         instead of always using the first detected caps.
6354
6355 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6356
6357         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6358         (gst_base_sink_get_position):
6359         Don't try to preroll non-async elements after a flush.
6360         Subtract latency form clock times when reporting position.
6361
6362 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6363
6364         * gst/gstpad.c: (gst_pad_pause_task):
6365         * gst/gstutils.c:
6366         Small comment and documentation update.
6367
6368 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6369
6370         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6371         (gst_base_src_set_live), (gst_base_src_is_live),
6372         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6373         (gst_base_src_default_event), (gst_base_src_wait),
6374         (gst_base_src_do_sync), (gst_base_src_get_range),
6375         (gst_base_src_pad_get_range), (gst_base_src_loop),
6376         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6377         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6378         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6379         (gst_base_src_change_state):
6380         Rework the locking of basesrc in a similar fashion to basesink. We
6381         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6382         us to handle live sources and semi live ones much better.
6383         Simplify flushing.
6384         Fix unlocking when seeking, shutting down and pausing in live sources.
6385
6386 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6387
6388         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6389         Fix compilation again.
6390
6391 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6392
6393         * gst/gstelement.c:
6394           Use meaningful categories for the logs to clean the default one.
6395
6396 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6397
6398         * tests/check/pipelines/cleanup.c:
6399           Print message name and not just number.
6400
6401 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6402
6403         * docs/design/draft-tagreading.txt:
6404           Add some more thoughts.
6405
6406 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6407
6408         * tests/check/pipelines/simple-launch-lines.c:
6409           Print message name and not just number.
6410
6411 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6412
6413         * libs/gst/base/gsttypefindhelper.c:
6414           Speedup typefinding. This is work in progress (see #459862).
6415
6416 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6417
6418         * gst/gstplugin.c:
6419           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6420           Spotted by Josep Torra Valles <josep@fluendo.com>.
6421
6422 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6423
6424         * gst/gstclock.h:
6425           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6426           field has moved to GstObject.
6427
6428 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6429
6430         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6431         (gst_base_src_get_range), (gst_base_src_change_state):
6432         Call unlock for live sources so that they can't get stuck in _create and
6433         produce a buffer before they are set back to PLAYING.
6434
6435 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6436
6437         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6438         (gst_queue_locked_dequeue):
6439         Comment the segment-related code... in the PROPER function.
6440         See #482147 and my commit from yesterday.
6441
6442 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6443
6444         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6445         Also initialize the counter that calculates the first timestamp on a
6446         buffer correctly for non-live sources.
6447
6448 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6449
6450         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6451         Disable code that's breaking the current-time-level reporting.
6452         See #482147
6453
6454 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6455
6456         * docs/gst/gstreamer-sections.txt:
6457         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6458         as they shouldn't show up. Fixes the docs build.
6459
6460 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6461         
6462         * gst/gstinfo.h:
6463         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6464         Define M_PI which is used in files which are including gstinfo.h. 
6465         VS6 includes doesn't define it.
6466         * win32/common/libgstbase.def:
6467         * win32/common/libgstcontroller.def:
6468         * win32/common/libgstreamer.def:
6469         Add new exported functions and variables.
6470         * win32/vs6/libgstcontroller.dsp:
6471         * win32/vs6/libgstreamer.dsp:
6472         Update the list of files to build.
6473         
6474 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6475
6476         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6477
6478         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6479         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6480         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6481         Improve debugging. Fixes #480858.
6482
6483 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6484
6485         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6486
6487         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6488         First patch of code cleanups, use the macros and right arguments in the
6489         macros to signal and lock the queue. See #480858.
6490
6491 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6492
6493         * gst/gstbus.c: (poll_func):
6494         Improve debugging when dealing with _poll().
6495
6496 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6497
6498         * gst/gstregistryxml.c:
6499           Fix memory leak I introduced a few days ago.
6500
6501 2007-09-26  Michael Smith <msmith@fluendo.com>
6502
6503         * gst/gstbuffer.c: (gst_buffer_finalize):
6504           Make it once again possible to free GstBuffers in the default
6505           build.
6506           The poisoning scribbles on parts of the miniobject we need in
6507           order to free it.
6508           Fixes #480341
6509
6510 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6511
6512         * docs/gst/gstreamer-sections.txt:
6513         * gst/gsttaglist.c:
6514         * gst/gsttaglist.h:
6515         API: add GST_TAG_COMPOSER, fixes #459809.
6516
6517 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6518
6519         * gst/gstplugin.c:
6520         * gst/gstplugin.h:
6521         Add the 3-clause BSD license and the MIT/X11 license to the license
6522         list. Fixes #479784.
6523
6524 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6525
6526         * docs/faq/getting.xml:
6527           Add Q+A about different GStreamer versions (#364056).
6528
6529 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6530
6531         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6532         (gst_base_sink_event), (gst_base_sink_change_state):
6533         Return correct gboolean from query function.
6534
6535 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6536
6537         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6538         (gst_base_sink_event), (gst_base_sink_query),
6539         (gst_base_sink_change_state):
6540         Simplify latency query.
6541         When not synchronizing, we can report latency without querying the peer
6542         element.
6543
6544 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6545
6546         * gst/gstobject.h:
6547         * gst/gstvalue.c:
6548         Fix small typos in the docs.
6549
6550 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6551
6552         * docs/design/draft-latency.txt:
6553         * docs/design/draft-push-pull.txt:
6554         * docs/design/draft-tagreading.txt:
6555         * docs/design/part-MT-refcounting.txt:
6556         * docs/design/part-activation.txt:
6557         * docs/design/part-block.txt:
6558         * docs/design/part-element-source.txt:
6559         * docs/design/part-events.txt:
6560         * docs/design/part-gstbin.txt:
6561         * docs/design/part-gstelement.txt:
6562         * docs/design/part-gstobject.txt:
6563         * docs/design/part-gstpipeline.txt:
6564         * docs/design/part-messages.txt:
6565         * docs/design/part-preroll.txt:
6566         * docs/design/part-push-pull.txt:
6567         * docs/design/part-qos.txt:
6568         * docs/design/part-query.txt:
6569         * docs/design/part-scheduling.txt:
6570         * docs/design/part-seeking.txt:
6571         * docs/design/part-segments.txt:
6572         * docs/design/part-states.txt:
6573         Documentation updates and typo fixes.
6574
6575 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6576
6577         * plugins/elements/gstfakesink.c:
6578           Add some debug text to error message to indicate that
6579           we errored out on request.
6580
6581         * tools/gst-launch.c:
6582           When the state change to PLAYING fails, check for an
6583           error message on the bus and print it.
6584
6585 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6586
6587         translated by: Jorge González González <aloriel@gmail.com>
6588
6589         * po/LINGUAS:
6590         * po/es.po:
6591           Added Spanish translation.
6592
6593 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6594
6595         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6596         Fix printf arguments.
6597
6598 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6599
6600         * tests/check/generic/states.c:
6601           Improved state change unit test.
6602
6603 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6604
6605         * gst/gstbin.h:
6606           Move priv to the right place.
6607
6608         * gst/gstsystemclock.c:
6609           Add FIXME: and improve log.
6610
6611         * tests/check/Makefile.am:
6612         * tests/examples/manual/Makefile.am:
6613           Work with all types of registries.
6614
6615 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6616
6617         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6618         Don't unref the event after pushing it. Fixes #478401.
6619
6620 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6621
6622         * .cvsignore:
6623         * tests/examples/manual/.cvsignore:
6624           Ignore registries in any format.
6625
6626 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6627
6628         * gst/glib-compat-private.h:
6629           Add compatibility macro for g_intern_string() for
6630           GLib-2.8 (any reason we can't just bump the
6631           requirement to at least 2.10?)
6632
6633         * gst/gstpadtemplate.h:
6634         * gst/gstelementfactory.c:
6635         * gst/gstregistryxml.c:
6636         * gst/gstregistrybinary.c:
6637           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6638           up the internal code accordingly.  This shouldn't be a problem, since
6639           there is no reason external code could ever assume the string in such
6640           a structure is dynamically allocated unless it did that itself;  the
6641           use of g_strdup() is private to element factories.  The new code also
6642           saves some memory by putting pad template name strings into the GLib
6643           quark table instead of allocating them dynamically.
6644           Declaring this field constant fixes warnings with g++-4.2 when using
6645           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6646
6647 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6648
6649         * gst/gstelementfactory.c:
6650           Release static caps. Fixes #475723.
6651
6652 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6653
6654         * gst/gstinfo.c:
6655         * gst/gstinfo.h:
6656           Make some internal API take const gchar * instead of just
6657           gchar * to avoid compiler warnings with g++-4.2.2 when
6658           passing string constants (partially fixes #478092).
6659
6660 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6661
6662         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6663         A latency query fails when one of the sinks fail.
6664
6665         * gst/gstelement.c: (gst_element_set_base_time):
6666         Improve debugging.
6667
6668 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6669
6670         * gst/gstbin.c: (gst_bin_continue_func):
6671         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6672         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6673         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6674
6675         Fix minor compilation warnings shown with Forte.
6676
6677 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6678
6679         * plugins/elements/gstqueue.c: (apply_buffer),
6680         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6681         Measure queue level based on the diff between head and tail timestamps
6682         even when pushing the first buffer.
6683
6684 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6685
6686         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6687         (gst_base_sink_event), (gst_base_sink_change_state):
6688         Sinks that don't preroll can always be queried for the latency.
6689         Don't post ASYNC start when we are not async.
6690
6691 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6692
6693         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6694         (gst_queue_handle_sink_event), (gst_queue_chain),
6695         (gst_queue_push_one), (gst_queue_handle_src_query),
6696         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6697         * plugins/elements/gstqueue.h:
6698         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6699         push more buffers but allow pushing of EOS and NEWSEGMENT.
6700         Add some more debug info here and there. Fixes #476514.
6701
6702 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6703
6704         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6705         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6706         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6707         (gst_base_sink_set_flushing), (gst_base_sink_query),
6708         (gst_base_sink_change_state):
6709         Latency query is allowed after we are prerolled. Introduce a new flag
6710         for this and stop abusing other variables.
6711
6712 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6713
6714         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6715         Push OOB events downstream when we get them in send_event. This allows
6716         the application to insert events in the pipeline.
6717         Add some more comments.
6718
6719 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6720
6721         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6722         (do_bin_latency), (gst_bin_change_state_func):
6723         * gst/gstpipeline.c: (gst_pipeline_change_state):
6724         Move latency query from GstPipeline to GstBin so that we can also
6725         use it when async-handling is enabled on bins.
6726
6727 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6728
6729         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6730         (gst_base_src_do_sync), (gst_base_src_change_state):
6731         Update docs.
6732         Clean up the timestamping and syncing code for pseudo live sources.
6733
6734 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6735
6736         Patch by: Steve Fink  <sphink gmail com>
6737
6738         * docs/manual/appendix-checklist.xml:
6739           Mention less -R switch in the section about debug output (#474055).
6740
6741 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6742
6743         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6744         Queue can latency to the pipeline up to the configured max size in time.
6745         Report this fact in the latency query.
6746
6747 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6748
6749         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6750
6751         * libs/gst/controller/gstinterpolation.c:
6752         * libs/gst/controller/gstlfocontrolsource.c:
6753         Use gst_guint64_to_gdouble() when converting from a uint64 or
6754         GstClockTime to double to fix the build on win32. Fixes #474371.
6755
6756 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6757
6758         * gst/gstbuffer.c: (gst_buffer_finalize):
6759         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6760         When finalizing a buffer the complete struct is filled with 0xff,
6761         thus making a use of the buffer after the final unref impossible.
6762
6763 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6764
6765         * tests/check/libs/controller.c: (GST_START_TEST):
6766         Use fail_unless_equals_int(a, b) instead of
6767         fail_unless_equals (a == b) to get better output on failures.
6768
6769 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6770
6771         * tests/check/gst/gsturi.c:
6772           Also check for the other file URI variant on win32.
6773
6774 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6775
6776         * gst/gsturi.c: (gst_uri_get_location):
6777           If there's no hostname, we want to return 'c:/foo/bar.txt'
6778           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6779
6780         * tests/check/gst/gsturi.c:
6781           Unit test for the above and a few more things.
6782
6783 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6784
6785         * docs/design/part-live-source.txt:
6786         Add docs on how live sources should timestamp.
6787
6788         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6789         Add some more debug info.
6790         For subclasses that are live and like to sync, add aditional startup
6791         latency to sync time and timestamps so that we timstamp according to the
6792         design doc.
6793
6794 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6795
6796         * gst/gstbuffer.c:
6797           Also do a g_type_class_ref() for the subbuffer type in
6798           the init function.
6799
6800 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6801
6802         * docs/gst/gstreamer-sections.txt:
6803         * gst/gstpad.c: (gst_pad_peer_query):
6804         * gst/gstpad.h:
6805         Add function to perform a query on the peer of a pad.
6806         API: gst_pad_peer_query()
6807
6808 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6809
6810         * tests/check/gst/gstsystemclock.c:
6811           Cleanup the test a little (use gst-logging and not g_message). Improve
6812           test to check if a wait reached the target.
6813
6814 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6815
6816         * docs/libs/gstreamer-libs-sections.txt:
6817           Add new API to docs and fix the build.
6818
6819 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6820
6821         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6822         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6823         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6824         (gst_base_src_get_property), (gst_base_src_do_sync):
6825         * libs/gst/base/gstbasesrc.h:
6826         Add property to make the basesrc timestamp buffers based on the current
6827         running time.
6828         API: GstBaseSrc::do-timestamp
6829         API: gst_base_src_set_do_timestamp()
6830         API: gst_base_src_get_do_timestamp()
6831
6832 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6833
6834         * docs/random/release:
6835           Really make sure translations are up-to-date before
6836           a release (#465010).
6837
6838 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6839
6840         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6841         Always destroy the timer, also in error cases.
6842
6843 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6844
6845         * docs/manual/highlevel-xml.xml:
6846         Fix XML example code. Fixes #472714.
6847
6848 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6849
6850         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6851         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6852         (gst_base_sink_query):
6853         Protect eos and have_preroll with the OBJECT lock so we don't need to
6854         take the PREROLL lock when querying the latency. Fixes #473846.
6855
6856 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6857
6858         * gst/gstelement.c:
6859           Give some log-messages a category.
6860
6861 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6862
6863         * gst/gststructure.c:
6864         (gst_structure_fixate_field_nearest_fraction):
6865         Fix fraction list fixation code. Take the fraction with the smallest
6866         difference with the target instead of the first one in the list.
6867
6868         * tests/check/gst/gststructure.c: (GST_START_TEST),
6869         (gst_structure_suite):
6870         Added test to verify correct fraction list fixation behaviour.
6871
6872 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6873
6874         * win32/common/libgstreamer.def:
6875           Export gst_bus_add_signal_watch too.
6876
6877 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6878
6879         * docs/libs/gstreamer-libs-sections.txt:
6880         Add new methods to docs.
6881
6882         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6883         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6884         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6885         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6886         * libs/gst/base/gstbasesink.h:
6887         Add ts-offset property to fine-tune the synchronisation.
6888         API: GstBaseSink::ts-offset property
6889         API: gst_base_sink_set_ts_offset()
6890         API: gst_base_sink_get_ts_offset()
6891
6892 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
6893
6894         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6895         (gst_base_sink_init), (gst_base_sink_set_sync),
6896         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6897         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6898         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6899         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6900         (gst_base_sink_get_property), (gst_base_sink_change_state):
6901         * libs/gst/base/gstbasesink.h:
6902         Add async property to instruct the sink never to inform the parent about
6903         ASYNC state changes, update docs.
6904         Check argument with g_return_* for the public functions.
6905         API: GstBaseSink::async property
6906         API: gst_base_sink_set_async_enabled()
6907         API: gst_base_sink_is_async_enabled()
6908
6909 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
6910
6911         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6912         Improve debugging.
6913
6914         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6915         (gst_base_src_default_query), (gst_base_src_wait),
6916         (gst_base_src_do_sync), (gst_base_src_change_state):
6917         Rearrange some code so that we can add support for measuring the 
6918         startup latency.
6919
6920 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
6921
6922         * docs/random/ensonic/dynlink.txt:
6923           More thoughs on this.
6924
6925         * plugins/elements/gstcapsfilter.c:
6926           Add bugzilla ticket number to FIXME comment.
6927
6928 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
6929
6930         * docs/design/part-TODO.txt:
6931         * docs/design/part-block.txt:
6932         Update some docs.
6933
6934 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6935
6936         * gst/Makefile.am:
6937           Revert patch which uses $(gst_headers) instead of $^ because it
6938           breaks make dist.
6939
6940 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6941
6942         * tests/check/gst/gstbin.c: (GST_START_TEST):
6943           Fix leaks in the new unit test.
6944
6945 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
6946
6947         * gst/gst.c:
6948           Don't use GST_INFO before the debug system is actually initialised
6949           (shouldn't do any harm, but won't print anything either, so we can
6950           just as well remove it).
6951
6952         * gst/gstinfo.h:
6953           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6954           compilers that don't support variadic macros (such as MSVC), should
6955           check for debug_level <= __gst_debug_min as well, since that's the
6956           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6957           inline helper functions. Should improve performance a bit, but also
6958           makes sure uses of GST_INFO et.al are ignored if the debugging
6959           system isn't initialised yet (instead of printing an assertion
6960           failure).
6961
6962 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
6963
6964         patch by: David Nečas <yeti@physics.muni.cz>
6965
6966         * gst/Makefile.am:
6967           Replace some non portable makefile constructs.
6968
6969 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
6970
6971         * common/gtk-doc-plugins.mak:
6972           Grrrrr. Don't remove the types file on make clean.
6973
6974 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
6975
6976         * tools/gst-launch.1.in:
6977         Add colorspace to example pipeline. Fixes #458274.
6978
6979 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
6980
6981         * docs/random/release:
6982           The release manager should run 'make download-po' before making a
6983           release to make sure translations are up-to-date.
6984
6985         * po/LINGUAS:
6986         * po/be.po:
6987         * po/pl.po:
6988         * po/rw.po:
6989           Add some new translations.
6990
6991 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
6992
6993         * tools/gst-launch.c: (event_loop), (main):
6994         Don´t try to do any state management when a live pipeline posts
6995         buffering messages.
6996         Also make the buffering string translatable.
6997
6998 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6999
7000         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7001         (bin_handle_async_start), (gst_bin_handle_message_func):
7002         Improve debugging.
7003         When adding elements, insert messages into the bus of the newly added
7004         element and make sure the element is the source of the message. This
7005         allows the parent bin to intercept the message and do the
7006         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7007         messages to the app (which is not allowed).
7008         Update some docs.
7009
7010         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7011         Fix testsuite so that is does not work around messages that should not
7012         have been posted in the first place.
7013
7014 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7015
7016         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7017         (update_degree), (gst_bin_sort_iterator_next):
7018         Fix annoying bug in the sorted iterator where a sink that is not really
7019         a sink (when it has downstream links) screwed up the iterator.
7020
7021         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7022         Unit test to verify the fix.
7023
7024 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7025
7026         * gst/gstmessage.h:
7027         Add some more docs for the messages.
7028
7029         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7030         (gst_base_sink_query):
7031         Add some more debugging.
7032
7033         * tools/gst-launch.c: (event_loop):
7034         When interrupting, don't try to set pipeline to PAUSED twice.
7035
7036 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7037
7038         
7039         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7040         (bin_handle_async_start), (gst_bin_handle_message_func):
7041         Move ASYNC_START message posting to where it belongs, similar to
7042         async_done. 
7043         Don't post ASYNC_START when we are in error. 
7044         Post ASYNC_START when we added an async element to a bin.
7045
7046 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7047
7048         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7049         generation from vargs. Fixes #466595.
7050
7051 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7052
7053         * gst/gstbin.c: (gst_bin_element_set_state):
7054         Always change the state of a NO_PREROLL element even if it has ASYNC
7055         elements inside (in case of a bin).
7056
7057         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7058         Unit test for this case.
7059
7060 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7061
7062         * libs/gst/check/gstbufferstraw.c:
7063         * libs/gst/check/gstcheck.h:
7064         * libs/gst/controller/gstcontroller.c:
7065         * libs/gst/controller/gstcontrolsource.h:
7066         * libs/gst/controller/gstlfocontrolsource.h:
7067         * plugins/elements/gstcapsfilter.h:
7068         * plugins/elements/gstfdsink.h:
7069         * plugins/elements/gstfdsrc.h:
7070           Add more missing docs.
7071
7072 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7073
7074         * gst/gststructure.c:
7075         Add Since tag to docs.
7076
7077 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7078
7079         * docs/gst/gstreamer-sections.txt:
7080         * gst/gststructure.c: (gst_structure_get_uint):
7081         * gst/gststructure.h:
7082         Add function to get uint from a structure.
7083         API: gst_structure_get_uint()
7084
7085 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7086
7087         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7088         (gst_caps_intersect):
7089         Fix proper check for simple caps.
7090
7091 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7092
7093         * docs/gst/Makefile.am:
7094         * docs/libs/Makefile.am:
7095           Remove cruft and do some cleanups.
7096
7097         * docs/gst/gstreamer-docs.sgml:
7098         * docs/libs/gstreamer-libs-docs.sgml:
7099           Prepare for comming gtkdoc features (rebase against online docs).
7100
7101 2007-08-10  Michael Smith <msmith@fluendo.com>
7102
7103         * docs/gst/gstreamer-sections.txt:
7104           Add gst_registry_add_path to docs.
7105
7106 2007-08-10  Michael Smith <msmith@fluendo.com>
7107
7108         * gst/gstregistry.h:
7109           Add gst_registry_add_path, which was missing from this header.
7110
7111 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7112
7113         * libs/gst/controller/gstlfocontrolsource.c:
7114           Printf format fix.
7115
7116 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7117
7118         * libs/gst/base/gstbasesink.c:
7119           Don't send an async_start message during downwards state change if 
7120           target state is less than READY
7121
7122 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7123
7124         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7125
7126         * po/LINGUAS:
7127         * po/hu.po:
7128           Added Hungarian translation.
7129
7130 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7131
7132         * po/fi.po:
7133         * po/it.po:
7134         * po/nl.po:
7135         * po/sv.po:
7136         * po/uk.po:
7137           Updated translations.
7138
7139 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7140
7141         * libs/gst/controller/Makefile.am:
7142         Dist gstlfocontrolsourceprivate.h
7143
7144 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7145
7146         * docs/libs/gstreamer-libs.types:
7147         Don't register the enum type gst_lfo_waveform_get_type() in the
7148         .types file - only GObject derived types belong.
7149
7150 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7151
7152         Patch by: <arenevier at fdn dot fr>
7153
7154         * gst/gstbuffer.h:
7155         Remove comma from last element in enum to avoid compile errors when
7156         using -pendantic. Fixes #464366.
7157
7158 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7159
7160         * docs/design/part-TODO.txt:
7161         Add some more TODO items
7162
7163         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7164         Improve debugging.
7165
7166         * gst/gstcaps.c: (gst_caps_intersect):
7167         Optimize trivial intersection case between identical caps pointers.
7168
7169         * gst/gstelement.c: (gst_element_continue_state),
7170         (gst_element_set_state_func):
7171         * gst/gstpad.c:
7172         Fix spelling and grammar mistakes.
7173
7174 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7175
7176         * po/POTFILES.in:
7177         * po/POTFILES.skip:
7178           Update POTFILES. Fixes #461599.
7179
7180 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7181
7182         * gst/gst.c:
7183         Fix confusing typo in debug output.
7184
7185 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7186
7187         reviewed by: Stefan Kost <ensonic@users.sf.net>
7188
7189         * libs/gst/controller/Makefile.am:
7190         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7191         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7192         (gst_lfo_control_source_new),
7193         (gst_lfo_control_source_set_waveform),
7194         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7195         (gst_lfo_control_source_finalize),
7196         (gst_lfo_control_source_dispose),
7197         (gst_lfo_control_source_set_property),
7198         (gst_lfo_control_source_get_property),
7199         (gst_lfo_control_source_class_init):
7200         * libs/gst/controller/gstlfocontrolsource.h:
7201         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7202         API: Add GstLFOControlSource, a control source that gives values
7203         for specific timestamps based on several periodic waveforms.
7204         Fixes #459717.
7205
7206         * tests/check/libs/controller.c: (GST_START_TEST),
7207         (gst_controller_suite):
7208         * docs/libs/gstreamer-libs-docs.sgml:
7209         * docs/libs/gstreamer-libs-sections.txt:
7210         * docs/libs/gstreamer-libs.types:
7211         Add documentation and unit tests for GstLFOControlSource.
7212
7213 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7214
7215         * configure.ac:
7216         Back to CVS
7217
7218 === release 0.10.14 ===
7219
7220 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7221
7222         * configure.ac:
7223           releasing 0.10.14, "Breathing Vacuum"
7224
7225 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7226
7227         * gst/gstelement.c: (gst_element_class_set_details_simple):
7228         * gst/gstelement.h:
7229           Make strings passed to gst_element_class_set_details_simple()
7230           constant, as they should be (#462752).
7231
7232 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7233
7234         * gst/gstbin.c: (gst_bin_change_state_func),
7235         (bin_handle_async_done), (gst_bin_handle_message_func):
7236         Don't forget about the fact that some element went ASYNC even after a
7237         resync. This makes us post the ASYNC_DONE message correctly.
7238         Fixes #462558.
7239
7240 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7241
7242         * gst/gstregistry.c: (gst_registry_add_feature):
7243         When replacing an existing feature in the registry, make sure to
7244         continue holding a reference until we've replaced the name string
7245         within our feature hash table. Make sure to use g_hash_table_replace
7246         instead of g_hash_table_insert to ensure the new name string is used
7247         as a key instead of the old one that we're about to free.
7248         Fixes: #462085
7249
7250 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7251
7252         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7253         (gst_plugin_feature_set_name):
7254         Revert patch from #459466 until after the release and we can work
7255         out exactly what the problem is (if any).
7256
7257 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7258
7259         * docs/gst/gstreamer-sections.txt:
7260         * gst/gsttaglist.c:
7261         * gst/gsttaglist.h:
7262           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7263
7264 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7265
7266         * docs/libs/Makefile.am:
7267         Include our build-prefix libs and includes before the generic ones to
7268         avoid linking against the installed libs when we want the build-tree
7269         ones.
7270
7271 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7272
7273         Patch by: Steve Fink  <sphink gmail com>
7274
7275         * docs/pwg/building-testapp.xml:
7276           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7277           if people try to build or install the example from the plugin
7278           template against a GStreamer from package using the configure
7279           defaults.
7280
7281 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7282
7283         Patch by: Steve Fink  <sphink gmail com>
7284
7285         * tools/gst-inspect.1.in:
7286           Document --print-all and --print-plugin-auto-install-info command
7287           line options in man page.
7288
7289 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7290
7291         * docs/gst/gstreamer-sections.txt:
7292         Add docs for new api function.
7293
7294 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7295
7296         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7297         * gst/gstelementfactory.h:
7298         API: gst_element_factory_has_interface()
7299         Added method to check if an element factory implements a named
7300         interface.
7301
7302 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7303
7304         * configure.ac:
7305         * docs/gst/gstreamer.types.in:
7306           Another conditional doc check.
7307
7308         * gst/gstmessage.c:
7309         * gst/gstparamspecs.h:
7310         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7311         * gst/gstvalue.c:
7312         * gst/gstxml.h:
7313           API-doc fixes.
7314
7315 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7316
7317         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7318         (gst_registry_binary_load_feature),
7319         (gst_registry_binary_load_plugin),
7320         (gst_registry_binary_read_cache):
7321           Print error just once and with additional info.
7322
7323 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7324
7325         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7326         (helper_find_suggest), (helper_find_get_length),
7327         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7328         (gst_type_find_helper_for_buffer):
7329           Cleanup the typefindhelper code and add private doc comments.
7330
7331 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7332
7333         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7334         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7335         Fix capsfilter for cases where the caps set on capsfilter will provide
7336         additional information.
7337         Fixes #449197
7338
7339 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7340
7341         * gst/gsttypefindfactory.c:
7342           Fix docs that recommened wrong function to use.
7343
7344 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7345
7346         * tools/gst-inspect.c: (print_plugin_features):
7347           Also give media-type for typefinders in element output.
7348
7349 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7350
7351         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7352         (gst_registry_remove_features_for_plugin_unlocked),
7353         (gst_registry_add_feature), (gst_registry_remove_feature),
7354         (gst_registry_lookup_feature_locked):
7355         * gst/gstregistry.h:
7356           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7357           Fixes #459501.
7358
7359 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7360
7361         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7362         (gst_plugin_feature_set_name):
7363           Avoid double memory usage for pluginfeature names. Fixes #459466.
7364
7365 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7366
7367         * gst/gstpad.h:
7368           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7369           driving the pipeline may need to explicitly check for NOT_LINKED as
7370           well, since IS_FATAL doesn't cover that.
7371
7372 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7373
7374         * docs/pwg/advanced-types.xml:
7375           Fix typo and duplicate entry in video formats list.
7376
7377 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7378
7379         * libs/gst/controller/gstinterpolation.c:
7380         Also round to the nearest int when using cubic interpolation.
7381
7382 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7383
7384         * libs/gst/controller/gstinterpolation.c:
7385         When linearly interpolating integer types, round to the nearest int
7386         by adding 0.5. Don't do it for float/double types.
7387         Fixes the failing controller test on my machine, which is somehow
7388         rounding differently than on the buildbots.
7389
7390 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7391
7392         * tools/gst-plot-timeline.py:
7393           Better log parsing (categories can have -). Adjust text vs. lines, so
7394           that they span the same y-range.        
7395
7396 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7397
7398         * docs/random/ensonic/audiobaseclasses.txt:
7399         * docs/random/ensonic/dynlink.txt:
7400         * docs/random/ensonic/profiling.txt:
7401           Save my thoughts.
7402
7403         * docs/random/moving-plugins:
7404           Add note to use g_assert type macros.
7405
7406 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7407
7408         * configure.ac:
7409         * libs/gst/check/Makefile.am:
7410           Add libm check as we use in for plugins.
7411
7412 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7413
7414         * gst/gstbin.c: (gst_bin_continue_func):
7415         Check that the state_cookie hasn't changed since the continue_func
7416         was scheduled. Avoids problems where the state changes back to
7417         something it shouldn't be because it was changed in the meantime.
7418
7419 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7420
7421         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7422         (gst_registry_binary_save_string),
7423         (gst_registry_binary_save_pad_template),
7424         (gst_registry_binary_save_feature),
7425         (gst_registry_binary_save_plugin),
7426         (gst_registry_binary_load_feature),
7427         (gst_registry_binary_load_plugin),
7428         (gst_registry_binary_read_cache):
7429           Fix memory leak. Be less verbose in the log.
7430
7431 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7432
7433         * tests/check/elements/.cvsignore:
7434         Add file to cvsignore as commanded.
7435
7436 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7437
7438         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7439         (mq_dummypad_event), (run_output_order_test):
7440         Use a GStaticMutex to protect all cases where libcheck
7441         fail_if/fail_unless macros might be called from multiple threads
7442         simultaneously to avoid errors like:
7443           "check_pack.c:107: :-1081725400:Bad message type arg"
7444
7445 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7446
7447         * tests/check/pipelines/stress.c: (GST_START_TEST):
7448         Make sure we set the pipeline back to the NULL state before
7449         dropping our final reference.
7450
7451 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7452
7453         * tests/check/elements/tee.c: (GST_START_TEST):
7454         Make the tee stress-test a little less stressful so it doesn't just
7455         time out on slow-machines, and remove a small race when it's starting 
7456         up by adding a get_state() call.
7457
7458 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7459
7460         * gst/gst.c:
7461           Avoid reading registry twice on startup. Fixes #457322.
7462
7463 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7464
7465         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7466         * pkgconfig/gstreamer-check.pc.in:
7467         Substitute the CFLAGS for libcheck into our .pc file too so that
7468         dependent modules will pick it up properly if libcheck is installed
7469         into some other prefix.
7470
7471 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7472
7473         * configure.ac:
7474         Revert the pkg-config check for libcheck, since it pulls in the
7475         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7476         a proper solution, either from the check project, or something else.
7477
7478 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7479
7480         * configure.ac:
7481           Use pkg-config to locate check.
7482
7483 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7484
7485         * gst/gsttaglist.c:
7486           Fix doc syntax.
7487
7488         * gst/gstutils.c:
7489         * gst/gstutils.h:
7490           Add deprecation guards.
7491
7492         * libs/gst/base/gstcollectpads.h:
7493           Don't document object (this is implicitly private).
7494
7495 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7496
7497         * gst/gststructure.c: (gst_structure_parse_value):
7498           When deserialising foo=bar without a type cast, check if it's a
7499           boolean before falling back to a string type, otherwise things like
7500           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7501           because the filtercaps end up having a signed=(string)true field,
7502           which causes problems later when intersection caps.
7503
7504         * tests/check/gst/gststructure.c: (GST_START_TEST):
7505           Add a unit test for this.
7506
7507 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7508
7509         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7510
7511         * libs/gst/controller/Makefile.am:
7512         * libs/gst/controller/gstcontroller.c:
7513         (gst_controlled_property_add_interpolation_control_source),
7514         (gst_controlled_property_new), (gst_controlled_property_free),
7515         (gst_controller_find_controlled_property),
7516         (gst_controller_new_valist), (gst_controller_new_list),
7517         (gst_controller_new), (gst_controller_remove_properties_valist),
7518         (gst_controller_remove_properties_list),
7519         (gst_controller_remove_properties),
7520         (gst_controller_set_property_disabled),
7521         (gst_controller_set_disabled), (gst_controller_set_control_source),
7522         (gst_controller_get_control_source), (gst_controller_get),
7523         (gst_controller_sync_values), (gst_controller_get_value_array),
7524         (_gst_controller_dispose), (gst_controller_get_type),
7525         (gst_controlled_property_set_interpolation_mode),
7526         (gst_controller_set), (gst_controller_set_from_list),
7527         (gst_controller_unset), (gst_controller_unset_all),
7528         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7529         * libs/gst/controller/gstcontroller.h:
7530         * libs/gst/controller/gstcontrollerprivate.h:
7531         * libs/gst/controller/gstcontrolsource.c:
7532         (gst_control_source_class_init), (gst_control_source_init),
7533         (gst_control_source_get_value),
7534         (gst_control_source_get_value_array), (gst_control_source_bind):
7535         * libs/gst/controller/gstcontrolsource.h:
7536         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7537         (gst_object_get_control_source):
7538         * libs/gst/controller/gstinterpolation.c:
7539         (gst_interpolation_control_source_find_control_point_node),
7540         (gst_interpolation_control_source_get_first_value),
7541         (_interpolate_none_get), (interpolate_none_get),
7542         (interpolate_none_get_boolean_value_array),
7543         (interpolate_none_get_enum_value_array),
7544         (interpolate_none_get_string_value_array),
7545         (_interpolate_trigger_get), (interpolate_trigger_get),
7546         (interpolate_trigger_get_boolean_value_array),
7547         (interpolate_trigger_get_enum_value_array),
7548         (interpolate_trigger_get_string_value_array):
7549         * libs/gst/controller/gstinterpolationcontrolsource.c:
7550         (gst_control_point_free), (gst_interpolation_control_source_reset),
7551         (gst_interpolation_control_source_new),
7552         (gst_interpolation_control_source_set_interpolation_mode),
7553         (gst_interpolation_control_source_bind),
7554         (gst_control_point_compare), (gst_control_point_find),
7555         (gst_interpolation_control_source_set_internal),
7556         (gst_interpolation_control_source_set),
7557         (gst_interpolation_control_source_set_from_list),
7558         (gst_interpolation_control_source_unset),
7559         (gst_interpolation_control_source_unset_all),
7560         (gst_interpolation_control_source_get_all),
7561         (gst_interpolation_control_source_get_count),
7562         (gst_interpolation_control_source_init),
7563         (gst_interpolation_control_source_finalize),
7564         (gst_interpolation_control_source_dispose),
7565         (gst_interpolation_control_source_class_init):
7566         * libs/gst/controller/gstinterpolationcontrolsource.h:
7567         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7568         API: Refactor GstController into the core controller which can take
7569         a GstControlSource for providing actual values for timestamps.
7570         Implement a interpolation control source and use this for backward
7571         compatibility, deprecate a bunch of functions that are now handled
7572         by GstControlSource or GstInterpolationControlSource.
7573         Make it possible to disable the controller completely or only for
7574         specific properties. Fixes #450711.
7575         * docs/libs/gstreamer-libs-docs.sgml:
7576         * docs/libs/gstreamer-libs-sections.txt:
7577         * docs/libs/gstreamer-libs.types:
7578         Add new functions and classes to the docs.
7579         * tests/check/libs/controller.c: (GST_START_TEST),
7580         (gst_controller_suite):
7581         * tests/examples/controller/audio-example.c: (main):
7582         Port unit test and example to the new API and add some new
7583         unit tests.
7584
7585 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7586
7587         Patch by: Mark Nauwelaerts <manauw at skynet be>
7588
7589         * plugins/elements/gstmultiqueue.c:
7590         (gst_multi_queue_get_internal_links), (apply_buffer),
7591         (single_queue_overrun_cb), (gst_single_queue_new):
7592         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7593         the pipeline layout can be tracked correctly. Fixes #453732.
7594
7595 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7596
7597         * docs/gst/Makefile.am:
7598         * docs/libs/Makefile.am:
7599         * docs/plugins/Makefile.am:
7600           Simplify --extra-dir as gtkdoc scans recursively.
7601
7602 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7603
7604         * tools/gst-launch.c: (main):
7605         When we got an error, there is no point in waiting for preroll when
7606         shutting down.
7607
7608 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7609
7610         * plugins/elements/gsttee.c: (gst_tee_base_init),
7611         (gst_tee_request_new_pad), (gst_tee_release_pad),
7612         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7613         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7614         (gst_tee_chain):
7615         Be a lot smarter when deciding what srcpad to use for proxying
7616         the buffer_alloc. Also handle pad added/removed when doing so.
7617         Fixes #357959.
7618         Keep track of what pads we already pushed on in case we have pads
7619         added/removed while pushing. Fixes #374639 
7620
7621         * tests/check/Makefile.am:
7622         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7623         (tee_suite):
7624         Added unit test for pad resync.
7625
7626 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7627
7628         * po/nl.po:
7629         * po/sv.po:
7630           Updated translations.
7631
7632 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7633
7634         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7635
7636         * po/LINGUAS:
7637         * po/fi.po:
7638           Added new Finnish translation.
7639
7640 2007-06-28  Wim Taymans  <wim@fluendo.com>
7641
7642         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7643         (single_queue_overrun_cb):
7644         When figuring out when a queue is filled, use our internal time estimate
7645         based on segments, just like check_full does.
7646
7647 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7648
7649         * gst/gstminiobject.c: (gst_mini_object_get_type):
7650           Remove 3 do-nothing methods.
7651
7652 2007-06-27  Wim Taymans  <wim@fluendo.com>
7653
7654         Patch by: Tim Angus <tim at ngus dot net>
7655
7656         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7657         (gst_capsfilter_set_property):
7658         Take a reference instead of a copy when setting "caps".
7659         Fix documentation to clarify this behaviour. Fixes #449414.
7660
7661 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7662
7663         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7664         * gst/gstplugin.c: (gst_plugin_init):
7665         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7666         * gst/gstquery.c: (gst_query_get_type):
7667         * gst/gstregistry.c: (gst_registry_init):
7668         * gst/gsturi.c: (gst_uri_handler_base_init):
7669           Remove empty instance_init() functions to save relocs and lessen the
7670           noise. Remove some of the function prototypes that are doubled by
7671           G_DEFINE_TYPE.
7672           
7673 2007-06-27  Wim Taymans  <wim@fluendo.com>
7674
7675         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7676
7677         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7678         Add peer and direction in the XML serialisation of ghostpads.
7679         Fixes #449226.
7680
7681 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7682
7683         * configure.ac:
7684           Preserve useful information, thanks Tim.
7685
7686 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7687
7688         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7689         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7690         (gst_single_queue_push_one), (gst_multi_queue_loop),
7691         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7692         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7693         (compute_high_id), (gst_single_queue_new):
7694         * plugins/elements/gstmultiqueue.h:
7695         Take the multiqueue lock when updating the fill level so we don't get
7696         confused. 
7697
7698         After applying a buffer or event on the src pad segment, make sure to
7699         call gst_data_queue_limits_changed() to get the data queue to unblock
7700         and check the filled state again.
7701         
7702         Rework the not-linked pad handling so the logic is that not-linked 
7703         pads can push as fast as they like, but only so they never get 
7704         ahead of any linked pads.
7705
7706         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7707         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7708         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7709
7710         Add a test to check that not-linked pads always stay behind
7711         linked pads.
7712
7713         Fixes: #430682
7714
7715 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7716
7717         * docs/random/release:
7718           Some updates to the release procedure.
7719
7720 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7721
7722         * gst/gstelementfactory.c: (__gst_element_details_clear):
7723           Microoptimization that saves stunning 80 bytes.
7724
7725 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7726
7727         * docs/plugins/gstreamer-plugins.args:
7728         * docs/plugins/inspect/plugin-coreelements.xml:
7729         * docs/plugins/inspect/plugin-coreindexers.xml:
7730           Update docs with caps info.
7731
7732 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7733
7734         * po/it.po:
7735           Updated Italian translation.
7736
7737 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7738
7739         * ChangeLog:
7740         * po/vi.po:
7741           Update Vietnamese translations.
7742
7743 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7744
7745         * libs/gst/base/gstbasesink.c:
7746           Remove unused signal enum.
7747
7748 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7749
7750         * docs/gst/gstreamer-sections.txt:
7751         * gst/gstelement.c:
7752         * gst/gstutils.c: (gst_type_register_static_full):
7753         Beef up and include the docs for gst_type_register_static_full and
7754         gst_element_class_set_details_simple and add the API keyword
7755         in the ChangeLog.
7756
7757 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7758
7759         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7760         (update_time_level), (gst_single_queue_push_one),
7761         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7762         (single_queue_overrun_cb), (single_queue_underrun_cb),
7763         (single_queue_check_full):
7764         Fix setting max-* properties after adding queues.
7765         Use IS_FILLED for checking visible items.
7766         Signal overrun if multiple queues overrun.
7767         Add extra debug output.
7768         Patch by: Wim Taymans <wim@fluendo.com>
7769
7770 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7771
7772         * gst/gstelement.c: (gst_element_class_set_details_simple):
7773         * gst/gstelement.h:
7774         * gst/gstutils.c: (gst_type_register_static_full):
7775         * gst/gstutils.h:
7776         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7777         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7778         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7779         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7780         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7781         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7782         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7783         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7784         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7785         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7786         (apply_buffer), (gst_queue_chain):
7787         * plugins/elements/gsttee.c: (gst_tee_base_init):
7788         * plugins/elements/gsttypefindelement.c:
7789         (gst_type_find_element_base_init),
7790         (gst_type_find_element_class_init):
7791           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7792           API: add gst_type_register_static_full
7793           API: add gst_element_class_set_details_simple
7794
7795 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7796
7797         * docs/pwg/advanced-types.xml:
7798           Fix typo in iana.org URI.
7799
7800 2007-06-19  Andy Wingo  <wingo@pobox.com>
7801
7802         * tests/check/pipelines/simple-launch-lines.c
7803         (test_state_change_returns): Enable pull-mode tests now that
7804         basesink has been fixed.
7805
7806         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7807         Changed from gst_base_sink_is_prerolled, reversing the sense of
7808         the return value. Returns FALSE also if the sink is in pull mode,
7809         in which case it needs no preroll.
7810         (gst_base_sink_query, gst_base_sink_change_state): Update for
7811         needs_preroll change.
7812         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7813         chaining up, in which we return SUCCESS directly if we activated
7814         in pull mode instead of ASYNC. Involves countering an async_start
7815         message sent before chaining up; not sure if this is correct, in
7816         an ideal world we only send async-start when activating in push
7817         mode.
7818
7819         * tests/check/pipelines/simple-launch-lines.c
7820         (test_state_change_returns): New test, partially disabled until
7821         basesink is fixed.
7822
7823 2007-06-19  Wim Taymans  <wim@fluendo.com>
7824
7825         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7826         (gst_multi_queue_sink_event):
7827         Fix event leak.
7828
7829 2007-06-19  Wim Taymans  <wim@fluendo.com>
7830
7831         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7832         (gst_bin_change_state_func), (bin_push_state_continue),
7833         (bin_handle_async_start), (bin_handle_async_done),
7834         (gst_bin_handle_message_func):
7835         Move the common code for posting state-change messages into
7836         one function.
7837         Broadcast the state signal after we posted the messages.
7838         Mark the bin as busy when it's doing a state-change.
7839         Make sure async-start/done messages don't interfere with the bin's
7840         state when it's busy.
7841         After the state change, let the bin check which elements completed the
7842         state change while it was busy so that it can update its state.
7843
7844 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7845
7846         * docs/random/release:
7847         Add a note about updating the doap file to the release checklist
7848
7849 2007-06-18  Wim Taymans  <wim@fluendo.com>
7850
7851         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7852         (gst_single_queue_push_one), (gst_multi_queue_chain),
7853         (gst_multi_queue_sink_event):
7854         Make sure we don't reference the buffer/event after we have given away
7855         ownership in the queue.
7856
7857 2007-06-18  Wim Taymans  <wim@fluendo.com>
7858
7859         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7860         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7861         Update queue state _after_ adding the item in the queue because else we
7862         could end up being full without the element added yet.
7863
7864 2007-06-18  Wim Taymans  <wim@fluendo.com>
7865
7866         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7867         (gst_bin_remove_func), (gst_bin_get_state_func),
7868         (gst_bin_element_set_state), (gst_bin_continue_func),
7869         (bin_push_state_continue), (bin_handle_async_start),
7870         (bin_handle_async_done), (gst_bin_handle_message_func):
7871         * gst/gstbin.h:
7872         Immediatly commit the toplevel bin state when receiving an async-done
7873         message. This enables us to avoid spawning a thread to commit the state
7874         in some common cases and it also avoids some races.
7875         Avoid spawning a state thread when adding/removing async elements to a
7876         toplevel bin. Instead we immediatly update the bin state.
7877         Get rid of iterating all the children when getting the state in the bin
7878         because it is now always up-to-date.
7879         Fix bug where locked elements would always return _SUCCESS even it they
7880         returned NO_PREROLL before being locked.
7881         Fix the order of the state_change, async-start/done messages that was
7882         sometimes incorrect.
7883         Mark the state_dirty field as deprecated, we don't need it anymore as we
7884         are always up-to-date.
7885
7886         * gst/gstelement.c: (gst_element_get_state_func),
7887         (gst_element_continue_state):
7888         Small debug inprovements.
7889         Return the previous element state return when nothing is pending instead
7890         of blindly returning SUCCESS.
7891
7892         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7893         (gst_sinks_suite):
7894         Add a whole bunch of new testcases.
7895
7896 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
7897
7898         * po/uk.po:
7899         * po/vi.po:
7900           Update translations.
7901
7902 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
7903
7904         * gst/gstpad.c:
7905         Fix typo in the docs.
7906
7907 2007-06-15  Wim Taymans  <wim@fluendo.com>
7908
7909         * docs/libs/gstreamer-libs-sections.txt:
7910         Add docs for new methods.
7911
7912 2007-06-15  Wim Taymans  <wim@fluendo.com>
7913
7914         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7915         (gst_multi_queue_item_new):
7916         Don't use GSlice because we don't depend on >= 2.10 yet.
7917
7918 2007-06-15  Wim Taymans  <wim@fluendo.com>
7919
7920         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7921         (update_time_level), (apply_segment), (apply_buffer),
7922         (gst_single_queue_push_one), (gst_multi_queue_item_new),
7923         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7924         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7925         (single_queue_underrun_cb), (single_queue_check_full):
7926         Remove debug printf.
7927
7928 2007-06-15  Wim Taymans  <wim@fluendo.com>
7929
7930         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7931         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7932         (gst_data_queue_set_flushing), (gst_data_queue_push),
7933         (gst_data_queue_pop), (gst_data_queue_drop_head),
7934         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7935         * libs/gst/base/gstdataqueue.h:
7936         Various cleanups.
7937         Added methods to get the current levels and to inform the queue that the
7938         'full' limits changed.
7939
7940         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7941         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7942         (gst_single_queue_flush), (update_time_level), (apply_segment),
7943         (apply_buffer), (gst_single_queue_push_one),
7944         (gst_multi_queue_item_steal_object),
7945         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7946         (gst_multi_queue_loop), (gst_multi_queue_chain),
7947         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7948         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7949         (gst_multi_queue_src_query), (single_queue_overrun_cb),
7950         (single_queue_underrun_cb), (single_queue_check_full),
7951         (gst_single_queue_new):
7952         Keep track of time in the queue by measuring the difference between
7953         running_time on input and output. This gives more accurate results and
7954         can compensate for segments correctly.
7955         Make a queue by default only 5 buffers deep. We will now increase the
7956         buffer size depending on the filledness of the other queues.
7957         Factor out commong flush code.
7958         Make sure we don't add additional refcounts to buffers when we can avoid
7959         it.
7960         Propagate GstFlowReturn differently.
7961         Use GSlice for intermediate GstMultiQueueItems.
7962         Keep track of EOS.
7963         Resize queues on over and underruns based on filled level of other
7964         queues.
7965         When checking if the queue is filled, prefer to measure in time if we
7966         can and fall back to bytes when no time is known.
7967
7968         * plugins/elements/gstqueue.c:
7969         Fix return value.
7970
7971 2007-06-15  Wim Taymans  <wim@fluendo.com>
7972
7973         * libs/gst/base/gstbasetransform.c:
7974         (gst_base_transform_sink_event):
7975         Work around the brokenness of the event vmethod in basetransform. Prefer
7976         to return TRUE when the subclass returned FALSE (meaning don't forward
7977         the event). 
7978
7979         * libs/gst/base/gstbasetransform.h:
7980         Clarify the docs.
7981
7982 2007-06-15  Wim Taymans  <wim@fluendo.com>
7983
7984         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7985         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7986         (gst_base_src_default_query), (gst_base_src_get_range),
7987         (gst_base_src_start):
7988         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7989         Improve debugging.
7990
7991 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7992
7993         * docs/pwg/advanced-types.xml:
7994           Added more formats to caps table.
7995
7996 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7997
7998         * tools/gst-launch.c: (main):
7999           Remove crufy code. GOption does not need this workaround.
8000
8001 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8002
8003         * libs/gst/controller/gstcontroller.c:
8004         (gst_controlled_property_set_interpolation_mode):
8005           Fix wrong getter for enums in controller.
8006
8007 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8008
8009         * libs/gst/check/gstcheck.c: (gst_check_init):
8010           Intercept criticals and warnings in the Gst-Phonon log domain, so
8011           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8012           well.
8013         
8014 2007-06-14  Edward Hervey  <edward@fluendo.com>
8015
8016         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8017         Since this file doesn't include "gst.h" it will not go through the
8018         macros that disable GST_LOG if debugging was disabled.
8019
8020 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8021
8022         * libs/gst/check/Makefile.am:
8023         * libs/gst/check/gstcheck.h:
8024         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8025         * pkgconfig/gstreamer-check.pc.in:
8026           Ugly 'fix' for the controller unit test on the p5 bot: in
8027           fail_unless_equals_float() check whether the values are 'almost
8028           equal' by allowing a small absolute error, which should be good
8029           enough for our use cases (normal numbers and values close to 0).
8030           Proper fixage left to floating point arithmetic aficionados.
8031
8032 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8033
8034         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8035         (gst_base_sink_render_object), (gst_base_sink_get_position):
8036           Add two breaks thats where missing.
8037
8038 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8039
8040         * docs/libs/gstreamer-libs-sections.txt:
8041         * libs/gst/check/gstcheck.h:
8042           API: add fail_unless_equals_float() and assert_equals_float().
8043           Add documentation for some of the macros.
8044
8045         * tests/check/libs/controller.c: (GST_START_TEST):
8046           Use newly-added asserts.
8047
8048 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8049
8050         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8051           Show the caps change in the log to help spotting the case of not
8052           exactly matching caps.
8053
8054 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8055
8056         * docs/pwg/building-boiler.xml:
8057           Fix typos, spotted by Thijs Vermeir (#447190).
8058
8059 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8060
8061         * docs/plugins/tmpl/.cvsignore:
8062         Ignore file to keep the buildbots happy
8063
8064 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8065
8066         * docs/plugins/Makefile.am:
8067         * docs/plugins/gstreamer-plugins-docs.sgml:
8068         * docs/plugins/gstreamer-plugins-sections.txt:
8069         Pull fdsink into the docs too.
8070
8071 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8072
8073         * libs/gst/controller/gstinterpolation.c:
8074         Actually use the new functions with min/max checks for the trigger and
8075         none interpolation modes for get() and get_value_array() instead of
8076         just the latter.
8077
8078 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8079
8080         * libs/gst/controller/gstcontroller.c:
8081         (gst_controlled_property_free):
8082         Unset the minimum and maximum GValues when freeing the corresponding
8083         GstControllerProperty struct.
8084
8085 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8086
8087         * libs/gst/controller/gstcontroller.c:
8088         (gst_controlled_property_new):
8089         * libs/gst/controller/gstcontrollerprivate.h:
8090         * libs/gst/controller/gstinterpolation.c:
8091         (gst_controlled_property_find_control_point_node),
8092         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8093         (interpolate_none_get_string_value_array),
8094         (interpolate_trigger_get),
8095         (interpolate_trigger_get_enum_value_array),
8096         (interpolate_trigger_get_string_value_array):
8097         Protect against values larger or smaller than the minimum or maximum
8098         allowed value for the property when using values that can be compared.
8099
8100         Optimize trigger interpolator a bit by taking the last requested value
8101         into account instead of always looping through the complete list.
8102
8103         Fix coding style a bit, everywhere else we use "return foo" instead
8104         of "return (foo)".
8105         
8106         * tests/check/libs/controller.c: (GST_START_TEST),
8107         (gst_controller_suite):
8108         Add unit test for the protection against too large or too small
8109         values.
8110
8111 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8112
8113         * docs/random/slomo/controller.txt:
8114         Add some thoughts about the future of the controller.
8115
8116 2007-06-08  Wim Taymans  <wim@fluendo.com>
8117
8118         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8119         Don't overflow in retimestamping code.
8120
8121 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8122
8123         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8124         Use gst_util_guint64_to_gdouble for conversions.
8125         * win32/common/libgstreamer.def:
8126         Add new exported functions.
8127
8128 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8129
8130         * gst/gstutils.c:
8131           Small docs addition.
8132
8133 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8134
8135         * README:
8136           Remove that test line again.
8137
8138 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8139
8140         * README:
8141           Test commit mail sending.
8142
8143 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8144
8145         * configure.ac:
8146           Fix typo and test commit mail sending.
8147
8148 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8149
8150         * tests/examples/controller/audio-example.c:
8151           Improve comment and test commit mail sending.
8152
8153 2007-06-07  Wim Taymans  <wim@fluendo.com>
8154
8155         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8156         (gst_bin_remove_func), (gst_bin_element_set_state),
8157         (bin_handle_async_start), (bin_handle_async_done),
8158         (gst_bin_handle_message_func):
8159         Add helper function to find messages.
8160         Generate the async-done messages together with the state change
8161         messages.
8162         Small cleanups in handling toplevel bins.
8163
8164 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8165
8166         * libs/gst/base/gstdataqueue.c:
8167         * libs/gst/base/gstdataqueue.h:
8168         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8169         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8170         (gst_multi_queue_sink_event):
8171         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8172           Fix multiqueue leaking buffers and events when downstream or the
8173           queue are flushing. Make refcounting assumptions explicit and
8174           document them (shouldn't break existing code that uses it other than
8175           maybe leak miniobjects, but that already happens anyway). Add unit
8176           test for the most common flushing case. Fixes #423700.
8177           
8178 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8179
8180         * libs/gst/controller/gstcontroller.c:
8181         Clarify docs: The get_all, get_value_array(s) functions
8182         don't modify the GObject properties.
8183
8184 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8185
8186         * libs/gst/controller/gstcontroller.c:
8187         (gst_controlled_property_set_interpolation_mode),
8188         (gst_controlled_property_prepend_default),
8189         (gst_controlled_property_new), (gst_controller_set_unlocked),
8190         (gst_controller_set), (gst_controller_set_from_list),
8191         (gst_controller_unset), (gst_controller_unset_all):
8192         * libs/gst/controller/gstcontrollerprivate.h:
8193         * libs/gst/controller/gstinterpolation.c:
8194         Factor out the 'set' logic into gst_controller_set_unlocked for the
8195         gst_controller_set and gst_controller_set_from_list functions.
8196
8197         To make life of the interpolators easier always add a control point
8198         at timestamp zero with the default value.
8199
8200         In the linear interpolator make things more obvious by better variable
8201         naming (slope).
8202
8203         Implement cubic interpolation mode (by using a natural cubic spline)
8204         and map the quadratic interpolation mode to this too (as quadratic
8205         doesn't make much sense, see discussion on the list).
8206
8207         * tests/check/libs/controller.c: (GST_START_TEST),
8208         (gst_controller_suite):
8209         Add unit test for the cubic interpolation mode and check everywhere
8210         if the interpolation mode could be set as expected.
8211
8212 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8213
8214         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8215           Don't use GLib-2.10 functions, we still depend on
8216           GLib-how-old-is-it-again-2.8.
8217
8218 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8219
8220         * docs/gst/gstreamer-sections.txt:
8221         * gst/Makefile.am:
8222         * gst/gst.c:
8223         * gst/gst.h:
8224         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8225         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8226         (_gst_param_fraction_values_cmp),
8227         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8228         * gst/gstparamspecs.h:
8229         * gst/gstvalue.c:
8230         * tests/check/Makefile.am:
8231         * tests/check/gst/.cvsignore:
8232         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8233         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8234         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8235         (GST_START_TEST), (gst_param_spec_suite):
8236           API: add GstParamSpecFraction, so elements can have fraction
8237           properties without lots of painful string parsing (#444648).
8238
8239 2007-06-05  Wim Taymans  <wim@fluendo.com>
8240
8241         * gst/gstobject.c: (gst_object_class_init):
8242         Fix signal signature.
8243
8244         * gst/gstsegment.c:
8245         Add small clarification in the api docs.
8246
8247         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8248         States are protected with object lock.
8249
8250 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8251
8252         * AUTHORS:
8253         I should probably be listed as an author by now.
8254
8255         * docs/random/release:
8256         Update the release doc
8257
8258 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8259
8260         * gst/gstvalue.c:
8261           Make docs for gst_value_compare() mention return enums that
8262           actually exist.
8263
8264 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8265
8266         * configure.ac:
8267           Back to CVS
8268
8269 === release 0.10.13 ===
8270
8271 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8272
8273         * configure.ac:
8274           releasing 0.10.13, "With or without you"
8275
8276 2007-05-25  Wim Taymans  <wim@fluendo.com>
8277
8278         * gst/gstbin.c: (bin_handle_async_done):
8279         Make sure that the child bin stops after completing the async state
8280         change so that the parent can continue the state change to PLAYING.
8281         Fixes #441159.
8282
8283 2007-05-25  Wim Taymans  <wim@fluendo.com>
8284
8285         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8286         (unref_data), (gst_collect_pads_remove_pad),
8287         (gst_collect_pads_check_pads):
8288         Use additional refcounting to avoid crashes when dynamically adding and
8289         removing pads. Fixes #420206.
8290
8291 2007-05-24  Wim Taymans  <wim@fluendo.com>
8292
8293         * tools/gst-launch.c: (event_loop):
8294         When buffering goes from a two digit to a single digit number, make sure
8295         to remove the old second digit by writing a blank over it.
8296
8297 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8298
8299         * libs/gst/base/gstdataqueue.c:
8300           Eliminate tabs and trailing comma in enum list; fix some typos.
8301
8302 2007-05-24  Wim Taymans  <wim@fluendo.com>
8303
8304         * tests/check/gst/gstbin.c: (GST_START_TEST):
8305         Allow refcount of 3 and 4 because some state thread might still be busy
8306         with it.
8307
8308 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8309
8310         * plugins/elements/Makefile.am:
8311         * plugins/elements/gstmultiqueue.h:
8312         * plugins/elements/gstqueue.h:
8313           These are not installed headers, no need for padding.
8314
8315 2007-05-24  Wim Taymans  <wim@fluendo.com>
8316
8317         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8318         (gst_bin_continue_func):
8319         Enable latency for next release.
8320         Restore STATE_LOCK around recalc_state that was left out during the
8321         rewrite and could result in racy behaviour when _get_state and
8322         recalc_state are run concurrently. See #440463.
8323
8324 2007-05-23  Wim Taymans  <wim@fluendo.com>
8325
8326         * tests/check/gst/gstsystemclock.c: (store_callback),
8327         (GST_START_TEST):
8328         Improve test_async_order to also work when both timers are already
8329         expired when we get scheduled to check it.
8330
8331 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8332
8333         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8334         (gst_bin_set_property), (gst_bin_get_property),
8335         (gst_bin_remove_func), (gst_bin_handle_message_func):
8336         * gst/gstbin.h:
8337           'private' is a c++ keyword, let's not use that in header files,
8338           otherwise c++ compilers will throw a tantrum.
8339
8340 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8341
8342         * plugins/elements/gstelements.c:
8343         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8344         (gst_file_sink_get_current_offset):
8345         * plugins/indexers/gstindexers.c: (plugin_init):
8346           Use #ifdef for HAVE_XYZ for consistency.
8347
8348         * tests/check/Makefile.am:
8349         * tests/check/elements/.cvsignore:
8350         * tests/check/elements/filesink.c: (setup_filesink),
8351         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8352           Add some unit tests for filesink.
8353
8354 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8355
8356         Patch by: Mark Nauwelaerts <manauw at skynet be>
8357
8358         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8359         (gst_file_sink_query), (gst_file_sink_do_seek),
8360         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8361         * plugins/elements/gstfilesink.h:
8362           Fix position reporting; rename data_written member to current_pos to
8363           reflect its real meaning (fixes #412648).
8364
8365 2007-05-22  Edward Hervey  <edward@fluendo.com>
8366
8367         * docs/gst/gstreamer-sections.txt:
8368         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8369         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8370         (gst_bin_remove_func), (gst_bin_handle_message_func):
8371         * gst/gstbin.h:
8372         Add a property for bins that handle the state change of their childs.
8373         Fixes #435880
8374
8375 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8376
8377         * libs/gst/controller/gstinterpolation.c:
8378         Use an array of the correct type when using _get_value_array with
8379         linear interpolation.
8380
8381 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8382
8383         * gst/gstelement.c (gst_element_requires_clock,
8384           gst_element_provides_clock, gst_element_request_pad,
8385           gst_element_class_set_details, gst_element_class_set_details_simple,
8386           gst_element_default_send_event, gst_element_abort_state,
8387           gst_element_continue_state, gst_element_set_state,
8388           gst_element_set_state_func, iterator_activate_fold_with_resync):
8389         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8390           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8391           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8392           gst_pad_get_range, gst_pad_pull_range):
8393         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8394           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8395           GstPadActivateModeFunction, GstPadChainFunction,
8396           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8397           GstPadFixateCapsFunction, GstPadTemplate):
8398         * gst/gstpipeline.c (gst_pipeline_change_state,
8399           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8400           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8401           gst_pipeline_get_delay):
8402           Whitespace and docs fixes.
8403
8404 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8405
8406         * libs/gst/controller/gstinterpolation.c:
8407         (interpolate_trigger_get_enum_value_array),
8408         (interpolate_trigger_get_string_value_array):
8409         Add support for retrieving value arrays when using the trigger
8410         interpolation mode. 
8411
8412 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8413
8414         * libs/gst/controller/gstcontroller.c:
8415         (gst_controller_get_value_array):
8416         * libs/gst/controller/gstcontroller.h:
8417         Clarify the docs of gst_controller_get_value_array(): The array where
8418         the values should be written to must be allocated as there seems to be
8419         no way to get the size of a random GType. This doesn't change any
8420         behaviour. Also fix some typos all over the place and remove an unused,
8421         commented function that is not necessary as g_object_set() could be
8422         used instead.
8423         * tests/check/libs/controller.c: (GST_START_TEST),
8424         (gst_controller_suite):
8425         Add unit test for gst_controller_get_value_array().
8426
8427 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8428
8429         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8430
8431         Disable part of the gst_buffer_try_new_and_alloc test, because
8432         it can happily succeed on 64-bit systems where there's more address
8433         space available.
8434
8435 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8436
8437         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8438         Add unit test for the improved caps checking from bug #421543.
8439
8440 2007-05-21  Wim Taymans  <wim@fluendo.com>
8441
8442         * docs/design/part-synchronisation.txt:
8443         Small addition.
8444
8445         * gst/gstbin.c: (gst_bin_query):
8446         * plugins/elements/gstqueue.c: (apply_segment):
8447         Improve debugging.
8448
8449         * gst/gstmessage.h:
8450         Improve docs.
8451
8452 2007-05-21  Wim Taymans  <wim@fluendo.com>
8453
8454         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8455         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8456         (gst_pad_configure_src):
8457         Added simple version of improved caps checking. It was previously
8458         assumed that a setcaps function would check the validity of the caps but
8459         people prefer us to check caps against the template automatically. 
8460         Fixes #421543.
8461
8462 2007-05-21  Wim Taymans  <wim@fluendo.com>
8463
8464         * libs/gst/base/gstbasetransform.h:
8465         Fix macro for locking/unlocking the transform lock.
8466
8467 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8468
8469         * docs/plugins/tmpl/.cvsignore:
8470           Ignore more.
8471
8472 2007-05-18  Edward Hervey  <edward@fluendo.com>
8473
8474         * plugins/elements/gstqueue.c: (gst_queue_loop):
8475         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8476         for the subtle art of warning a potentially blocking thread that it
8477         should check the source pad return value, and relay the information
8478         upstream.
8479
8480 2007-05-18  Edward Hervey  <edward@fluendo.com>
8481
8482         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8483         Release the queue lock !
8484
8485 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8486
8487         * docs/libs/gstreamer-libs-sections.txt:
8488         Add the two new controller functions to the appropiate places.
8489
8490 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8491
8492         reviewed by: Stefan Kost <ensonic@users.sf.net>
8493
8494         * libs/gst/controller/gstcontroller.c:
8495         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8496         (_gst_controller_get_property), (_gst_controller_set_property),
8497         (_gst_controller_init), (_gst_controller_class_init):
8498         * libs/gst/controller/gstcontroller.h:
8499         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8500         (gst_object_get_control_rate), (gst_object_set_control_rate):
8501         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8502         Add API that provides sync suggestion timestamps for elements that
8503         call gst_object_sync_values() from which those elements can subdivide
8504         their processing loop to get the best results for the controlled
8505         properties. For now it just suggests last_sync + control_rate as
8506         new timestamp but this will be improved in the future.
8507
8508         While doing that change the control-rate property to a GstClockTime
8509         from guint and change it's meaning from samples to nanoseconds as
8510         the GstController doesn't know anything about sampling rate. Strictly
8511         speaking this breaks ABI but as the control-rate property didn't do
8512         anything in the past and as such couldn't be used this should be no
8513         problem.        
8514
8515 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8516
8517         reviewed by: Stefan Kost <ensonic@users.sf.net>
8518
8519         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8520         (gst_controller_unset_all):
8521         * libs/gst/controller/gstcontrollerprivate.h:
8522         * libs/gst/controller/gstinterpolation.c:
8523         (gst_controlled_property_find_control_point_node):
8524         Save last synced value from the list to continue searching from there
8525         in future syncs. This speeds everything up a bit.
8526         
8527 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8528
8529         reviewed by: Stefan Kost <ensonic@users.sf.net>
8530
8531         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8532         (gst_control_point_find), (gst_controlled_property_new),
8533         (gst_control_point_free), (gst_controlled_property_free),
8534         (gst_controller_set), (gst_controller_set_from_list),
8535         (gst_controller_unset), (gst_controller_unset_all),
8536         (gst_controller_sync_values):
8537         * libs/gst/controller/gstcontroller.h:
8538         * libs/gst/controller/gstcontrollerprivate.h:
8539         * libs/gst/controller/gstinterpolation.c:
8540         (gst_controlled_property_find_control_point_node),
8541         (interpolate_none_get), (interpolate_trigger_get):
8542         Add a new private GstControlPoint struct which "inherits" from
8543         GstTimedValue to allow different interpolators to store internal
8544         values next to each control point. From the outside everything is
8545         still a GstControlPoint so we don't loose binary compatibility.
8546         Also fixup all the GValue handling to not leak GValues or list nodes.
8547         * tests/check/libs/controller.c: (GST_START_TEST):
8548         Free the list nodes and GValues in the controller_misc test.
8549
8550 2007-05-17  Edward Hervey  <edward@fluendo.com>
8551
8552         * gst/gstsegment.c:
8553         Small doc fix.
8554
8555 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8556
8557         * gst/gstplugin.c: (gst_plugin_load_file):
8558           If we fail to load a plugin because of unresolved symbols or missing
8559           libraries and spew a warning to stderr, we may just as well mention
8560           which plugin it was that failed to load.
8561
8562 2007-05-13  David Schleef  <ds@schleef.org>
8563
8564         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8565           handles the case when ENABLE_GTK_DOC is false, and installs
8566           the prebuilt documentation.  So gtk-doc subdirs are 
8567           unconditionally enabled.  Fixes: #349099.
8568
8569 2007-05-13  David Schleef  <ds@schleef.org>
8570
8571         * gst/gstutils.h: Reword some documentation.
8572
8573 2007-05-12  David Schleef  <ds@schleef.org>
8574
8575         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8576           do anything with the passed "module" parameter, so remove it.
8577           Allows removal of additional vestigal code.
8578
8579 2007-05-12  David Schleef  <ds@schleef.org>
8580
8581         * gst/gstplugin.c:
8582           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8583           Switch to using g_stat() because it's more portable.
8584
8585 2007-05-12  David Schleef  <ds@schleef.org>
8586
8587         * gst/gst.c:
8588           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8589           parsing for embedded systems.
8590         * gst/gstelementfactory.c:
8591           Allow gst_element_register() to be called with plugin==NULL.
8592           Did nobody notice that static elements were broken?
8593
8594 2007-05-12  Wim Taymans  <wim@fluendo.com>
8595
8596         * tools/gst-launch.c: (event_loop):
8597         Give more interesting info when buffering starts and stops.
8598         Fix case where buffering starts but we fail to update the buffering flag
8599         because the target state is not PLAYING.
8600
8601 2007-05-12  Wim Taymans  <wim@fluendo.com>
8602
8603         * plugins/elements/gstqueue.c: (gst_queue_init),
8604         (gst_queue_finalize), (update_time_level), (apply_segment),
8605         (apply_buffer), (gst_queue_locked_flush),
8606         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8607         (gst_queue_handle_sink_event), (gst_queue_chain),
8608         (gst_queue_push_one), (gst_queue_loop):
8609         * plugins/elements/gstqueue.h:
8610         Refactor an cleanup queue a bit.
8611         Do better time level calculations that also work when the srcpad is not
8612         yet running.
8613         Remove some unneeded debug lines.
8614
8615         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8616         Added testcase for time level measurement.
8617         Try to make some stuff more racefree.
8618
8619 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8620
8621         * gst/gsturi.c: (gst_element_make_from_uri):
8622           Don't leak plugin feature.
8623
8624         * tests/check/Makefile.am:
8625         * tests/check/gst/.cvsignore:
8626         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8627           Add brain-dead unit test.
8628
8629 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8630
8631         Patch by: Jeroen Wouters <woutersj at gmail com>
8632
8633         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8634           Treat protocol strings in a case-insensitive way (#437563).
8635
8636 2007-05-11  Michael Smith <msmith@fluendo.com>
8637
8638         * gst/gstplugin.c: (gst_plugin_load_file):
8639         * gst/gstregistry.c: (gst_registry_scan_path_level):
8640           Don't print a g_warning for any failure to load a shared object.
8641           Instead, push this down into gstplugin.c, and warn _only_ if we
8642           failed to open the module (i.e. failure to link).
8643           Avoids warnings on normal, working, non-plugin .so files.
8644
8645 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8646
8647         * gst/gstplugin.c (gst_plugin_load_file):
8648         * gst/gstregistry.c (GST_CAT_DEFAULT,
8649           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8650           Print a g_warning if there was an error when loading a plugins during
8651           registry scan. The shuld help beginners starting with gst-plugin
8652           template.
8653
8654 2007-05-10  Wim Taymans  <wim@fluendo.com>
8655
8656         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8657         (update_time_level), (gst_queue_locked_flush),
8658         (gst_queue_handle_sink_event), (gst_queue_chain),
8659         (gst_queue_push_one), (gst_queue_loop):
8660         * plugins/elements/gstqueue.h:
8661         Be smarter when calculating the current amount of data in the queue by
8662         measuring the difference between start and end timestamps (in running
8663         time) inside the queue. Fixes #432876.
8664         API: GstQueue::pushing to notify elements that we are pushing data again
8665         since the running signal is rather broken for this purpose.
8666
8667 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8668
8669         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8670           gst_queue_base_init, gst_queue_init):
8671           use GST_BOILERPLATE
8672
8673 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8674
8675         * win32/common/libgstreamer.def:
8676         Add new exported functions.
8677         * win32/vs6/grammar.dsp:
8678         Use grammar pre-generated files.
8679
8680 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8681
8682         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8683
8684         * gst/Makefile.am:
8685         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8686         * gst/gstparse.h:
8687         * gst/gstutils.c: (gst_parse_bin_from_description):
8688         * gst/gstutils.h:
8689           Maintain API and ABI when --disable-parse is used. Now that
8690           we have an appropriate error code, we can just return NULL and the
8691           appropriate error when gst_parse_launch() is used despite it having
8692           been disabled (#342564).
8693
8694         * tests/check/Makefile.am:
8695         * tests/check/pipelines/.cvsignore:
8696         * tests/check/pipelines/parse-disabled.c:
8697           Make sure these functions exist and return NULL plus a GError when
8698           --disable-parse is used.
8699
8700 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8701
8702         * tests/benchmarks/complexity.c: (main):
8703         * tests/benchmarks/mass-elements.c: (main):
8704           Set a good example and don't leak messages.
8705
8706 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8707
8708         * docs/gst/Makefile.am:
8709         * docs/libs/Makefile.am:
8710           Correct fixxrefs options.
8711
8712         * docs/plugins/Makefile.am:
8713         * docs/plugins/gstreamer-plugins-docs.sgml:
8714         * docs/plugins/gstreamer-plugins-sections.txt:
8715         * plugins/elements/Makefile.am:
8716         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8717         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8718           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8719           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8720           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8721           _GstCapsFilterClass, trans_class):
8722         * plugins/elements/gstelements.c (name, rank, type, _elements):
8723         * plugins/elements/gstidentity.c
8724           (gst_identity_check_imperfect_timestamp,
8725           gst_identity_check_imperfect_offset):
8726           Document capsfilter and add doc-blurb to identity.
8727
8728 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8729
8730         * libs/gst/controller/gstcontroller.c:
8731         (gst_controlled_property_set_interpolation_mode):
8732         * libs/gst/controller/gstinterpolation.c:
8733           Don't crash if someone tries to set an interpolation mode that
8734           is invalid or that isn't supported yet. Fixes #422295.
8735
8736         * tests/check/libs/controller.c: (GST_START_TEST),
8737         (gst_controller_suite):
8738           Add a test case for the above.
8739
8740 2007-05-03  Edward Hervey  <edward@fluendo.com>
8741
8742         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8743         Properly set the last_stop position on GstSegment. This will only happen
8744         if there is a buffer to push out.
8745
8746 2007-05-03  Wim Taymans  <wim@fluendo.com>
8747
8748         * libs/gst/base/gstbasetransform.c:
8749         (gst_base_transform_buffer_alloc):
8750         always_in_place does not mean that the sink and source caps are the
8751         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8752
8753 2007-05-03  Wim Taymans  <wim@fluendo.com>
8754
8755         * docs/libs/gstreamer-libs-sections.txt:
8756         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8757         (gst_base_src_default_query), (gst_base_src_get_range):
8758         * libs/gst/base/gstbasesrc.h:
8759         API: gst_base_src_query_latency(). Added method so that subclasses can
8760         easily get the latency values of the base source class.
8761
8762 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8763
8764         * tools/gst-inspect.c (print_implementation_info):
8765         Remove 0.8 cruft.
8766
8767 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8768
8769         * tools/Makefile.am:
8770         * tools/gst-launch.1.in:
8771           Don't create a customised man page based on the host architecture,
8772           describe the default registry path generically. That way the man
8773           page is the same for all architectures and packagers have one
8774           multilib issue less to deal with. Fixes #434926.
8775
8776 2007-05-02  Wim Taymans  <wim@fluendo.com>
8777
8778         * gst/gstpad.c:
8779         Fix documentation as spotted by rg on IRC. 
8780
8781 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8782
8783         * gst/gstutils.c:
8784           Improve docs for gst_element_{link,unlink}.
8785
8786 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8787
8788         * docs/design/part-events.txt:
8789         * docs/design/part-overview.txt:
8790         * gst/gstevent.c:
8791         * gst/gsturi.c:
8792         * gst/gsturi.h:
8793         * libs/gst/base/gstbasesink.c:
8794           Typo fixes; minor docs addition.
8795
8796 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8797
8798         * docs/gst/gstreamer-sections.txt:
8799         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8800         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8801         * gst/gsturi.h:
8802         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8803         or src that supports a given URI protocol exists.
8804
8805 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8806
8807         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8808         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8809         Set the location to NULL if "file://" is set as URI. Otherwise
8810         some random previous URI would still be set if "file://" is
8811         set on an already used filesink/filesrc.
8812
8813 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8814
8815         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8816         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8817         Special case the "file://" URI as as this is used by some
8818         applications to test with gst_element_make_from_uri if there's
8819         an element that supports the URI protocol.
8820         Also move the g_path_is_absolute() check for the location part
8821         of the URI to also check this for "file://localhost/bla" URIs.
8822
8823 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8824
8825         * docs/gst/gstreamer-sections.txt:
8826         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8827         * gst/gstbuffer.h:
8828         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8829         (gst_buffer_suite):
8830           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8831
8832 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8833
8834         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8835         (gst_registry_binary_load_pad_template),
8836         (gst_registry_binary_load_plugin),
8837         (gst_registry_binary_read_cache):
8838         * gst/gstregistrybinary.h:
8839           Implement no-mmap alternative for registry reading. Do code cleanups.
8840           Add more comments about avoiding strdups for all text data. Comments
8841           welcome.
8842
8843 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8844
8845         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8846           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8847           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8848           Comment structs and reformat to fix the build (that stuff should go
8849           into a priv. header).
8850
8851 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8852
8853         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8854         (gst_registry_binary_load_feature):
8855         * gst/gstregistrybinary.h:
8856           Refactor so that we can implement multiple features. Add support for
8857           TypeFindFactory features.
8858
8859 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8860
8861         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8862
8863         * configure.ac:
8864           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8865
8866 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8867
8868         * gst/gstbin.c: (gst_bin_element_set_state),
8869         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8870         (bin_handle_async_done), (gst_bin_handle_message_func):
8871           Fix build with --gst-disable-gst-debug
8872
8873 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8874
8875         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8876           Make sure streaming has finished before calling the ::stop() vfunc,
8877           since that vfunc might clear state which is being used in the
8878           streaming thread. This fixes a race that caused crashes in
8879           audioresample when shutting down a pipeline (#420106).
8880
8881 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8882
8883         * docs/gst/gstreamer-sections.txt:
8884           That was one byte missing.
8885
8886 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8887
8888         * configure.ac:
8889         * docs/gst/gstreamer-sections.txt:
8890         * gst/Makefile.am:
8891         * gst/gstconfig.h.in:
8892         * gst/gstobject.c: (gst_object_class_init),
8893         (gst_signal_object_class_init):
8894         * gst/gstobject.h:
8895           2nd attempt to have a xml-less build as a joined effort of #413123
8896           and #421480.
8897
8898 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8899
8900         * docs/design/draft-tagreading.txt:
8901           Added open issues/thoughts to draft.
8902
8903 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8904
8905         * gst/parse/grammar.tab.pre.c:
8906         * gst/parse/grammar.tab.pre.h:
8907         * gst/parse/lex._gst_parse_yy.pre.c:
8908         Update the prebuild parser sources.
8909
8910 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8911
8912         * gst/parse/Makefile.am:
8913         And now fix the building of the flex sources. Now everything should
8914         work as expected.
8915
8916 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8917
8918         * gst/parse/Makefile.am:
8919         Now hopefully fix the build failures by setting proper rule
8920         dependencies and moving instead of copying.
8921
8922 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8923
8924         * tests/benchmarks/complexity.gnuplot:
8925         * tests/benchmarks/complexity.scm:
8926         * tests/benchmarks/mass-elements.gnuplot:
8927         * tests/benchmarks/mass-elements.scm:
8928           Total licensification.
8929
8930 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8931
8932         * gst/parse/Makefile.am:
8933           Fix the build by correcting the rule that gave wrong files to flex.
8934
8935 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8936
8937         * tests/benchmarks/complexity.c:
8938         * tests/benchmarks/mass-elements.c:
8939           Change licence to LGPL as granted by Benjamin and Andy.
8940
8941 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8942
8943         * gst/parse/Makefile.am:
8944         Add correct grammar.tab.h dependency if compiling without new enough
8945         flex. Fixes #431150.
8946
8947 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8948
8949         * gst/parse/Makefile.am:
8950         Fix typo and use outdated sources if the flex/bison sources are newer
8951         than the pregenerated ones but flex is too old. Print a warning in
8952         that case. This should fix the build on the build bot.
8953
8954 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8955
8956         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8957         * gst/parse/Makefile.am:
8958         * gst/parse/grammar.y:
8959         * gst/parse/parse.l:
8960         Make the parser reentrant and recursively callable. This requires flex
8961         >= 2.5.31, for older versions pregenerated sources are used as we
8962         can't bump the build dependency. Finally fixes #349180.
8963
8964         * gst/gstparse.c: (gst_parse_launch):
8965         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8966         now anyway.
8967
8968         * docs/gst/Makefile.am:
8969         * docs/gst/Makefile.am:
8970         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8971         (__gst_parse_strfree), (__gst_parse_link_new),
8972         (__gst_parse_link_free), (__gst_parse_chain_new),
8973         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8974         (gst_parse_element_set), (gst_parse_free_link),
8975         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8976         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8977         (_gst_parse_launch):
8978         * gst/parse/grammar.tab.pre.h:
8979         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8980         (yy_get_previous_state), (yy_try_NUL_trans), (input),
8981         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8982         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8983         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8984         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8985         (_gst_parse_yypop_buffer_state),
8986         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8987         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8988         (yy_fatal_error), (_gst_parse_yyget_extra),
8989         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8990         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8991         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8992         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8993         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8994         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8995         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8996         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8997         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8998         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8999         (_gst_parse_yyfree):
9000         If the installed flex version is too old use pre-generated parser
9001         sources. These pre-generated parser sources are always updated when
9002         the actual flex/bison sources change but require everybody who wants
9003         to change something in the parser to have flex >= 2.5.31 installed.
9004
9005 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9006
9007         * common/m4/gst-gettext.m4:
9008         * gst/gst-i18n-lib.h:
9009           Make --disable-nls to work
9010
9011 2007-04-17  Wim Taymans  <wim@fluendo.com>
9012
9013         * gst/gstconfig.h.in:
9014         Revert previous change that broke the build.
9015
9016 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9017
9018         * configure.ac:
9019         * gst/Makefile.am:
9020         * gst/gstconfig.h.in:
9021           Drop libxml2 dependency when building with 
9022           --enable-binary-registry --disable-loadsave
9023
9024 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9025
9026         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9027         (gst_registry_binary_read_cache):
9028         * gst/gstregistrybinary.h:
9029           Remove unnecessary <sys/mman.h> include which broke the win32 build
9030           with MingW; move includes from header file to .c file, even if the
9031           header file isn't installed; use g_strerror() where UTF-8 strings
9032           are expected, such as in GST_DEBUG messages.
9033
9034 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9035
9036         * docs/libs/gstreamer-libs-sections.txt:
9037         Remove bogus addition for API I didn't end up keeping.
9038
9039         * libs/gst/base/gstbasesrc.h:
9040         Mention Since: 0.10.13 in the documentation.
9041
9042         Add the API keyword to the previous ChangeLog entry.
9043
9044 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9045
9046         * docs/libs/gstreamer-libs-sections.txt:
9047         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9048         (gst_base_src_default_prepare_seek_segment),
9049         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9050         * libs/gst/base/gstbasesrc.h:
9051         Allow basesrc derived classes to execute seeks in other formats
9052         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9053         to prepare the GstSegment in any format that their perform_seek method
9054         will be able to understand. The default implementation provides the
9055         old behaviour of attempting to convert the seek offsets to the 
9056         configured native format.
9057
9058         API: basesrc::prepare_seek_segment vmethod.
9059
9060 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9061
9062         * gst/gstelement.c: (gst_element_get_state_func):
9063         Don't output the same debug statement twice.
9064
9065         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9066         (gst_adapter_peek), (gst_adapter_take_buffer):
9067         Optimise the case where we have buffers at the head of the queue that
9068         can be joined quickly (because they're contiguous sub-buffers) by
9069         merging them together rather than copying data out into new memory.
9070
9071         * gst/parse/grammar.y:
9072         * tests/check/pipelines/parse-launch.c:
9073         Fix a leak in an error path for parse_launch, and add a check 
9074         for it to the testsuite.
9075
9076 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9077
9078         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9079           Don't deadlock when releasing a pad - gst_pad_set_active may try
9080           and take the multiqueue lock too.
9081
9082 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9083
9084         * gst/gsterror.c: (_gst_core_errors_init):
9085         * gst/gsterror.h:
9086           API: add GST_CORE_ERROR_DISABLED (#392804).
9087
9088 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9089
9090         * docs/faq/gst-uninstalled:
9091           don't get empty paths on the PATH variables
9092         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9093           Don't format for the uncommon terminal width of 84 characters.
9094
9095 2007-04-06  Wim Taymans  <wim@fluendo.com>
9096
9097         * gst/gstpipeline.c: (reset_stream_time),
9098         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9099         Only try to select a different pipeline clock when we went back to
9100         PAUSED and not when we merely got flushed.
9101
9102 2007-04-05  Michael Smith  <msmith@fluendo.com>
9103
9104         * tools/gst-launch.1.in:
9105           fractions are better supported in gstreamer than ractions, so
9106           suggest using those.
9107
9108 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9109
9110         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9111
9112         * po/LINGUAS:
9113         * po/da.po:
9114           Added Danish translation.
9115
9116 2007-04-05  Wim Taymans  <wim@fluendo.com>
9117
9118         * libs/gst/base/gstbasesink.c:
9119         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9120         Fix leak caused when refusing newsegment after EOS.
9121
9122         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9123         (gst_fake_sink_init), (gst_fake_sink_set_property),
9124         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9125         (gst_fake_sink_render), (gst_fake_sink_change_state):
9126         * plugins/elements/gstfakesink.h:
9127         Add num-buffers property to make the element generate EOS after a
9128         configurable amount of buffers.
9129         API: fakesink::num-buffers property.
9130
9131         * tests/check/elements/fakesink.c: (GST_START_TEST),
9132         (fakesink_suite):
9133         Fix GstBus leak in test.
9134         Test for fakesink num-buffers.
9135
9136 2007-04-05  Wim Taymans  <wim@fluendo.com>
9137
9138         * libs/gst/base/gstbasesink.c:
9139         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9140         (gst_base_sink_change_state):
9141         Don't accept anything after an EOS, return UNEXPECTED instead.
9142
9143         * tests/check/elements/fakesink.c: (GST_START_TEST),
9144         (fakesink_suite):
9145         Unit test for new EOS behaviour.
9146
9147 2007-04-05  Wim Taymans  <wim@fluendo.com>
9148
9149         * gst/gstelement.c: (gst_element_get_request_pad):
9150         Make padtemplates also work when they don't contain %s or %d.
9151
9152 2007-04-05  Wim Taymans  <wim@fluendo.com>
9153
9154         * docs/gst/gstreamer-sections.txt:
9155         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9156         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9157         * gst/gstclock.h:
9158         Improve _adjust_unlocked() so that it overflows less.
9159         Add gst_clock_unadjust_unlocked to convert from external time to
9160         internal time based on calibration.
9161         Add some more debug.
9162         API: GstClock::gst_clock_unadjust_unlocked()
9163
9164 2007-04-03  Wim Taymans  <wim@fluendo.com>
9165
9166         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9167
9168         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9169         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9170         when releasing sink pad. Fixes #425400.
9171
9172 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9173
9174         * docs/random/ensonic/dynlink.txt:
9175           More work on proposal for new core api.
9176
9177         * docs/libs/gstreamer-libs-sections.txt:
9178         * libs/gst/base/gstbasetransform.h:
9179           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9180           
9181         * libs/gst/controller/gstcontroller.c:
9182         (on_object_controlled_property_changed),
9183         (gst_controller_sync_values),
9184         (gst_controller_set_interpolation_mode):
9185         * libs/gst/controller/gstcontroller.h:
9186           Less verbose logging add docs for unimplemented parts and correctly
9187           return when using unavailable parts.
9188
9189 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9190
9191         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9192         Move all the debug to the CLOCK category, and associate it with
9193         the clock object.
9194
9195 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9196
9197         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9198         Make take_buffer a bit quicker by removing redundant checks
9199         caused by calling gst_adapter_take.
9200
9201 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9202
9203         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9204           Don't leak GCond.
9205
9206         * tests/check/Makefile.am:
9207         * tests/check/elements/.cvsignore:
9208         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9209         (GST_START_TEST), (multiqueue_suite):
9210           Add some dead simple unit tests for the 'multiqueue' element
9211           (some bits don't work yet and are disabled for now).
9212
9213 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9214
9215         * gst/gstelement.c: (gst_element_get_request_pad),
9216         (gst_element_class_get_request_pad_template):
9217           Make gst_element_get_request_pad() create request pads only for
9218           request pad templates and not for, say, sometimes pad templates.
9219
9220 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9221
9222         * docs/design/draft-klass.txt:
9223           Add example that needs more thinking.
9224         
9225         * docs/design/draft-missing-plugins.txt:
9226           More thoughts about wrapper plugins.
9227         
9228         * docs/random/ensonic/embedded.txt:
9229         * docs/random/ensonic/profiling.txt:
9230           More design work.
9231
9232 2007-03-25  Wim Taymans  <wim@fluendo.com>
9233
9234         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9235         (gst_base_src_loop):
9236         Only push the segment events in the PLAYING state for live sources.
9237
9238 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9239
9240         * gst/gstpipeline.c: (gst_pipeline_change_state):
9241         Modify the clock distribution path in PAUSED->PLAYING so that we 
9242         never attempt to choose a new clock unless we're actually leaving
9243         the PAUSED state for the first time. This prevents choosing a
9244         different clock when the state_change gets called for a 2nd time due
9245         to some element doing an async state change.
9246
9247 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9248
9249         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9250         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9251         (gst_pad_chain_unchecked), (gst_pad_push):
9252         Revert last commit. This needs some more thoughts.
9253
9254 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9255
9256         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9257         (gst_pad_chain_unchecked), (gst_pad_push):
9258         Check in set_caps if the caps are compatible with the pad and remove
9259         two functions that are redundant now. Fixes #421543.
9260
9261 2007-03-22  Wim Taymans  <wim@fluendo.com>
9262
9263         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9264         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9265         Unref some more to make valgrind happy.
9266
9267 2007-03-22  Wim Taymans  <wim@fluendo.com>
9268
9269         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9270         (gst_system_clock_id_wait_jitter),
9271         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9272         Fix anoying regression that survived a few releases. When adding an
9273         async entry while blocking on a sync entry, the sync entry will unblock
9274         but still be busy, so it should continue to wait instead of returning
9275         _BUSY to the app.
9276         Add some comments here and there.
9277
9278         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9279         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9280         Add testcase for this.
9281
9282 2007-03-22  Wim Taymans  <wim@fluendo.com>
9283
9284         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9285         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9286         WRONG_STATE and can silently pause the task. All other cases should
9287         error out.
9288
9289 2007-03-22  Wim Taymans  <wim@fluendo.com>
9290
9291         Patch by: Ville Syrjala <syrjala at sci dot fi>
9292
9293         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9294         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9295         Improve debugging.
9296
9297 2007-03-21  Michael Smith  <msmith@fluendo.com>
9298
9299         * docs/pwg/advanced-types.xml:
9300           Fix some errors in the typefinding docs pointed out on irc.
9301
9302 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9303
9304         * libs/gst/base/gstbasesrc.c:
9305         Clarify FIXME comment in the face of having added unlock_stop()
9306
9307 2007-03-21  Wim Taymans  <wim@fluendo.com>
9308
9309         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9310         Prepare for release where we warn against possible app breakage in the
9311         case of live pipelines along with an env var to enable/disable live
9312         preroll mode (GST_COMPAT=[no-]live-preroll).
9313
9314 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9315
9316         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9317         So we should use correct constants for checking for None offset.
9318
9319 2007-03-20  Wim Taymans  <wim@fluendo.com>
9320
9321         * docs/design/part-block.txt:
9322         Mention the fact that the newly switched element should be set to at
9323         least PAUSED.
9324
9325 2007-03-20  Wim Taymans  <wim@fluendo.com>
9326
9327         * gst/gst.c:
9328         Fix compilation with registry disabled as spotted by Saur.
9329
9330 2007-03-20  Wim Taymans  <wim@fluendo.com>
9331
9332         Patch by: Olivier Crete <tester at tester dot ca>
9333
9334         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9335         Look at the pending state too when syncing the element state to the
9336         parent. Fixes #420133.
9337
9338 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9339
9340         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9341         (gst_base_sink_change_state):
9342         * libs/gst/base/gstbasesink.h:
9343         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9344         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9345         (gst_base_src_deactivate):
9346         * libs/gst/base/gstbasesrc.h:
9347         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9348         for sub-classes to correctly clear any state they set trying to
9349         unlock, such as clearing out unlock commands from a command fd.
9350         API: basesrc::unlock_stop
9351         API: basesink::unlock_stop
9352
9353         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9354         (gst_fd_sink_render), (gst_fd_sink_unlock),
9355         (gst_fd_sink_unlock_stop):
9356         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9357         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9358         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9359
9360         Implement unlock_stop in fdsrc and fdsink.
9361         Implement seeking in fdsrc when a seekable fd is passed, as in
9362         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9363
9364 2007-03-19  Wim Taymans  <wim@fluendo.com>
9365
9366         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9367
9368         * gst/gstelement.c: (gst_element_class_init):
9369         Fix pad-added and pad-removed signal signatures so that the pad type is
9370         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9371
9372 2007-03-19  Wim Taymans  <wim@fluendo.com>
9373
9374         * docs/gst/gstreamer-sections.txt:
9375         Add new element field and method.
9376
9377         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9378         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9379         (gst_bin_recalc_state), (gst_bin_get_state_func),
9380         (gst_bin_element_set_state), (gst_bin_change_state_func),
9381         (gst_bin_continue_func), (bin_bus_handler),
9382         (bin_push_state_continue), (bin_handle_async_start),
9383         (bin_handle_async_done), (gst_bin_handle_message_func):
9384         Make async state changes a bit smarter by using new ASYNC_START and
9385         ASYNC_DONE messages. This reduces the number of times we run the state
9386         recalculation thread.
9387         Don't change state of element with a pending ASYNC_START message.
9388         Deprecate STATE_DIRTY messages.
9389         
9390         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9391         (gst_element_get_state_func), (gst_element_continue_state),
9392         (gst_element_lost_state), (gst_element_set_state_func),
9393         (gst_element_change_state):
9394         * gst/gstelement.h:
9395         Keep the state that was last set by the app in a new element field.
9396         Don't allow state changes when handling an element event.
9397         Post ASYNC_START and ASYNC_DONE messages.
9398         Change lost_state so that we go to PAUSED and wait for the parent to set
9399         us to PLAYING again (so latency calculation can be performed)
9400         Export gst_element_change_state() method so that subclasses can use it.
9401         API: gst_element_change_state()
9402         API: GST_STATE_TARGET
9403
9404         * gst/gstpipeline.c: (gst_pipeline_class_init),
9405         (reset_stream_time), (gst_pipeline_change_state),
9406         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9407         Using the new ASYNC_START message we can reset the base_time when
9408         needed. This can then be used to implement base_time redistribution in
9409         flushing seeks so that we can remove the explicit seek handling.
9410         Perform latency query and configuration when going to PLAYING.
9411
9412         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9413         (gst_base_sink_query), (gst_base_sink_change_state):
9414         Post new ASYNC_START/ASYNC_DONE messages.
9415
9416         * tests/check/generic/sinks.c: (GST_START_TEST):
9417         Fix test because the bin will not set the async element to PLAYING right
9418         away.
9419
9420         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9421         Make the message check a little stronger.
9422         Handle ASYNC messages.
9423
9424         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9425         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9426         Expect ASYNC_DONE messages.
9427
9428 2007-03-19  Wim Taymans  <wim@fluendo.com>
9429
9430         * docs/gst/gstreamer-sections.txt:
9431         * gst/gstmessage.c: (gst_message_new_async_start),
9432         (gst_message_new_async_done), (gst_message_parse_info),
9433         (gst_message_parse_async_start):
9434         * gst/gstmessage.h:
9435         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9436         support.
9437
9438 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9439
9440         * tools/gst-inspect.c:
9441         (print_plugin_automatic_install_info_codecs):
9442           Now that we don't check for the 'Codec' keyword any longer in the
9443           klass, we shouldn't spew a warning if the klass isn't a decoder or
9444           encoder (since it might be a Source/Network, for example).
9445
9446 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9447
9448         * tools/gst-inspect.c:
9449         (print_plugin_automatic_install_info_codecs):
9450           Don't require decoder/demuxer/depayloader elements or
9451           encoder/muxer/paylader elements to have 'Codec' as part of their
9452           factory class string when introspecting a plugin's capabilities.
9453           draft-klass.txt mentions that it might be removed in future, and
9454           flump3dec doesn't have it as part of its class string, so chances
9455           are others might also not have it.
9456
9457 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9458
9459         * po/af.po:
9460         * po/az.po:
9461         * po/bg.po:
9462         * po/ca.po:
9463         * po/cs.po:
9464         * po/de.po:
9465         * po/en_GB.po:
9466         * po/fr.po:
9467         * po/it.po:
9468         * po/nb.po:
9469         * po/nl.po:
9470         * po/ru.po:
9471         * po/sq.po:
9472         * po/sr.po:
9473         * po/sv.po:
9474         * po/tr.po:
9475         * po/uk.po:
9476         * po/vi.po:
9477         * po/zh_CN.po:
9478         * po/zh_TW.po:
9479           Update translations from translation project
9480
9481 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9482
9483         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9484         (gst_child_proxy_set_property):
9485           Invert precondition check to be alike the ones in the mimiced gobject
9486           api.
9487
9488 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9489
9490         * docs/design/draft-tagreading.txt:
9491         * docs/random/ensonic/audiobaseclasses.txt:
9492           Do some Architect work.
9493
9494         * gst/gstobject.c: (gst_object_set_name):
9495           Add a WARNING.
9496
9497         * gst/gstpad.c:
9498           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9499
9500 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9501
9502         * gst/gstsystemclock.c: (gst_system_clock_init),
9503         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9504         Defer starting the async system clock thread until the first async
9505         wait is scheduled. Fixes #414986.
9506
9507 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9508
9509         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9510         (gst_single_queue_free):
9511           Fix small leak (free GstSingleQueue structure too, not only contents).
9512
9513 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9514
9515         * gst/gstbin.c:(gst_bin_add):
9516         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9517         * win32/common/libgstbase.def:
9518         * win32/common/libgstreamer.def:
9519         Add new exported functions.
9520
9521 2007-03-09  Wim Taymans  <wim@fluendo.com>
9522
9523         * docs/plugins/gstreamer-plugins-sections.txt:
9524         Fix GstTee docs.
9525
9526 2007-03-09  Wim Taymans  <wim@fluendo.com>
9527
9528         * docs/gst/gstreamer-sections.txt:
9529         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9530         * gst/gstbuffer.h:
9531         Add metadata copy functions. Fixes #393099.
9532         API: gst_buffer_copy_metadata()
9533
9534         * gst/gstutils.c: (gst_buffer_stamp):
9535         * libs/gst/base/gstbasetransform.c:
9536         (gst_base_transform_prepare_output_buffer):
9537         Use new metadata copy functions.
9538
9539 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9540
9541         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9542         (gst_identity_init), (gst_identity_check_perfect),
9543         (gst_identity_check_imperfect_timestamp),
9544         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9545         (gst_identity_set_property), (gst_identity_get_property):
9546         * plugins/elements/gstidentity.h:
9547         Separate out check-imperfect-timestamp and check-imperfect-offset.
9548         Put back check-perfect as it was to keep compatibility.
9549
9550 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9551
9552         * gst/gstelement.c: (gst_element_dispose):
9553         There's no need to warn if VOID_PENDING is not NONE here, as
9554         long as the state is NULL it's ok, and that's checked immediately
9555         above.
9556
9557 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9558
9559         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9560         Fix check for perfect stream to ignore buffers with -1 
9561         offsets/offset ends when checking data contiguity.
9562
9563 2007-03-08  Wim Taymans  <wim@fluendo.com>
9564
9565         * tools/gst-launch.c: (event_loop):
9566         Print INFO messages.
9567
9568 2007-03-08  Wim Taymans  <wim@fluendo.com>
9569
9570         * libs/gst/base/gstbasetransform.c:
9571         (gst_base_transform_sink_eventfunc),
9572         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9573         (gst_base_transform_activate):
9574         * libs/gst/base/gstbasetransform.h:
9575         Add support for dropping buffers with custom GstFlowReturn.
9576         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9577         buffers or dropped buffers.
9578
9579         * docs/libs/gstreamer-libs-sections.txt:
9580         docs for new custom return code.
9581
9582         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9583         Use drop support in base class to implement drop-probability.
9584
9585 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9586
9587         * gst/gst.c: (load_plugin_func):
9588         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9589         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9590         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9591           Remove newlines at end of debug log strings.
9592
9593 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9594
9595         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9596         Only post bus message at max, once per buffer received.
9597
9598 2007-03-07  Wim Taymans  <wim@fluendo.com>
9599
9600         * docs/design/Makefile.am:
9601         * docs/design/part-synchronisation.txt:
9602         Add doc about synchronisation
9603
9604         * docs/design/draft-latency.txt:
9605         * docs/design/part-TODO.txt:
9606         * docs/design/part-clocks.txt:
9607         * docs/design/part-events.txt:
9608         * docs/design/part-gstbus.txt:
9609         * docs/design/part-gstpipeline.txt:
9610         * docs/design/part-live-source.txt:
9611         * docs/design/part-messages.txt:
9612         * docs/design/part-overview.txt:
9613         * docs/design/part-streams.txt:
9614         * docs/design/part-trickmodes.txt:
9615         Documentation updates.
9616
9617 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9618
9619         * gstreamer.doap:
9620         Update the doap file.
9621
9622 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9623
9624         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9625         Rename non-perfect to imperfect for Mike and for the sanctity of the
9626         language.
9627         Also make sure bus message gets emitted for data-incontiguities.
9628
9629 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9630
9631         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9632         (gst_identity_start):
9633         * plugins/elements/gstidentity.h:
9634         Emit bus message if check-perfect is true and we encounter a
9635         non-perfect stream between 2 consecutive buffers.
9636         Fixes #415394.
9637
9638 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9639
9640         * configure.ac:
9641         Back to CVS
9642
9643 === release 0.10.12 ===
9644
9645 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9646
9647         * configure.ac:
9648           releasing 0.10.12, "Inevitable Demise"
9649
9650 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9651
9652         * configure.ac:
9653          Version 0.10.11.2 (0.10.12 pre-release)
9654          Bump libtool versioning.
9655
9656 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9657
9658         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9659           Log flow-names and not numbers.
9660
9661 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9662
9663         * configure.ac:
9664           Convert to new AG_GST style.
9665
9666 2007-02-28  Wim Taymans  <wim@fluendo.com>
9667
9668         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9669         Don't unref query twice.
9670
9671 2007-02-28  Wim Taymans  <wim@fluendo.com>
9672
9673         * gst/gstvalue.c: (gst_value_transform_object_string),
9674         (_gst_value_initialize):
9675         Implement GstObject -> string transform so we print object names
9676         when serializing GValues containing GstObjects.
9677
9678 2007-02-28  Wim Taymans  <wim@fluendo.com>
9679
9680         * docs/gst/gstreamer-sections.txt:
9681         Add new stuff to docs.
9682
9683 2007-02-28  Wim Taymans  <wim@fluendo.com>
9684
9685         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9686         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9687         (gst_base_sink_change_state):
9688         Improve latency query code.
9689         Don't leak latency events.
9690
9691         * tests/check/gst/gstbin.c: (GST_START_TEST):
9692         Improve debugging.
9693
9694 2007-02-28  Wim Taymans  <wim@fluendo.com>
9695
9696         * gst/gstelement.c: (gst_element_message_full),
9697         (gst_element_get_state_func):
9698         * gst/gstelement.h:
9699         Improve docs a little. Added Since: for new macro.
9700
9701         * gst/gstobject.c: (gst_object_sink):
9702         * gst/gstpipeline.c: (gst_pipeline_change_state),
9703         (gst_pipeline_set_new_stream_time):
9704         * gst/gstpipeline.h:
9705         Improve debugging and docs.
9706
9707         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9708         Improve debugging.
9709
9710 2007-02-28  Wim Taymans  <wim@fluendo.com>
9711
9712         * gst/gstelement.c: (gst_element_message_full),
9713         (gst_element_set_locked_state), (gst_element_get_state_func),
9714         (gst_element_change_state):
9715         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9716         Documentation updates.
9717         Small code cleanups.
9718
9719         * gst/gstmessage.c: (gst_message_new_info),
9720         (gst_message_parse_info):
9721         * gst/gstmessage.h:
9722         API: gst_message_new_info()
9723         API: gst_message_parse_info()
9724         Add INFO message create and parse code.
9725
9726 2007-02-28  Wim Taymans  <wim@fluendo.com>
9727
9728         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9729         (bin_query_latency_done):
9730         Also report the live parameter of a latency query.
9731
9732 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9733
9734         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9735           Copy the current generic/states example from -base and adapt so
9736           we can use the exact same code everywhere.
9737           Check a STATES_IGNORE_ELEMENTS env var which can be used
9738           to ignore certain element factories for this test, which is
9739           what is being done in -base
9740         * tests/check/Makefile.am:
9741           Mention this environment variable.
9742
9743 2007-02-27  Wim Taymans  <wim@fluendo.com>
9744
9745         * docs/gst/gstreamer-sections.txt:
9746         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9747         (gst_bus_timed_pop), (gst_bus_pop):
9748         * gst/gstbus.h:
9749         API: gst_bus_timed_pop()
9750         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9751         message to arrive on the bus.
9752
9753         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9754         (gst_bus_suite):
9755         Two unit tests for new _timed_pop() function.
9756
9757 2007-02-23  Wim Taymans  <wim@fluendo.com>
9758
9759         * gst/gstpipeline.c: (gst_pipeline_change_state),
9760         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9761         Don't ref a NULL clock in _provide_clock_func().
9762         Don't allow an INVALID delay.
9763         Don't try to calculate base_time with an invalid start_time.
9764         Also distribute and notify a NULL clock when it was selected.
9765
9766         * tools/gst-launch.c: (event_loop):
9767         Don't crash when a NULL clock was selected in the pipeline.
9768
9769 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9770
9771         * docs/design/Makefile.am:
9772         * docs/design/draft-missing-plugins.txt:
9773         * docs/random/draft-missing-plugins.txt:
9774           Some small updates: update plugin system identifier prefix
9775           ('gstreamer.net' to 'gstreamer'), mention our new install
9776           API in libgstbaseutils rather than libgimme-codec, add
9777           reference to the online docs.
9778
9779 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9780
9781         * win32/common/config.h:
9782           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9783           use moap cl ci to only check in what is mentioned in the ChangeLog.
9784
9785 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9786
9787         * docs/gst/gstreamer-sections.txt:
9788         * gst/gstelement.h:
9789           Fix up documentation to link to the correct GstGError section.
9790           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9791
9792 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9793
9794         * tools/gst-launch.c: (event_loop):
9795           Make sure that we actually show the important message part of a
9796           warning message.
9797           No need to check if the gerror is not NULL to free; first of all
9798           g_free accepts NULL; and second the default error handler would
9799           segfault if gerror was NULL.
9800
9801 2007-02-21  Wim Taymans  <wim@fluendo.com>
9802
9803         * docs/gst/gstreamer-sections.txt:
9804         Removed docs as well.
9805
9806 2007-02-21  Wim Taymans  <wim@fluendo.com>
9807
9808         * gst/gstmessage.c: (gst_message_parse_duration):
9809         * gst/gstmessage.h:
9810         Remove new messages for release.
9811
9812 2007-02-20  Wim Taymans  <wim@fluendo.com>
9813
9814         * docs/design/part-gstghostpad.txt:
9815         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9816         (gst_ghost_pad_new_full):
9817         Make the ghostpad a parent of the internal pad again for better backward
9818         compatibility. Don't write code that relies on this however.
9819
9820         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9821         (gst_pad_link_check_hierarchy):
9822         Require that parents should be GstElements in the hierarchy check.
9823
9824 2007-02-20  Wim Taymans  <wim@fluendo.com>
9825
9826         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9827         (gst_bin_change_state_func), (bin_query_min_max_init),
9828         (bin_query_latency_fold), (bin_query_latency_done),
9829         (gst_bin_query):
9830         Improve debug info.
9831         Implement latency query.
9832
9833 2007-02-20  Wim Taymans  <wim@fluendo.com>
9834
9835         * docs/design/part-gstghostpad.txt:
9836         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9837         (gst_ghost_pad_internal_do_activate_push),
9838         (gst_ghost_pad_internal_do_activate_pull),
9839         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9840         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9841         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9842         Do not set the internal pad as a parent anymore so we can avoid
9843         hierarchy linking errors when the ghostpad has no parent yet. This also
9844         fixes failed activation because of unlinked internal pads, which in
9845         turn fixes the impossible case where you have to activate a pad before
9846         you can add it to a running element.
9847         Also fix the docs.
9848
9849         * gst/gstpad.c: (pre_activate), (post_activate),
9850         (gst_pad_set_active), (gst_pad_activate_pull),
9851         (gst_pad_activate_push), (gst_pad_check_pull_range):
9852         Add some more debug info.
9853         Mark activation mode in pre_activate so that we don't try to activate in
9854         endless loops. Fixes #385084.
9855
9856 2007-02-19  Wim Taymans  <wim@fluendo.com>
9857
9858         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9859         (gst_base_transform_check_get_range):
9860         Implement a checkgetrange function instead of relying on the default
9861         core behaviour that assumes we can operate in pull mode if we have a
9862         getrange function. First step at fixing #385084.
9863
9864 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9865
9866         * gst/gstchildproxy.h:
9867         * libs/gst/base/gstbasesink.h:
9868         * libs/gst/base/gstbasesrc.h:
9869         * libs/gst/base/gstbasetransform.h:
9870         More docs coverage and some ChangeLog surgery (add missing names)
9871
9872 2007-02-15  Wim Taymans  <wim@fluendo.com>
9873
9874         * docs/design/part-TODO.txt:
9875         * docs/design/part-activation.txt:
9876         * docs/design/part-block.txt:
9877         * docs/design/part-buffering.txt:
9878         * docs/design/part-clocks.txt:
9879         * docs/design/part-element-source.txt:
9880         * docs/design/part-events.txt:
9881         * docs/design/part-gstbin.txt:
9882         * docs/design/part-gstbus.txt:
9883         * docs/design/part-gstpipeline.txt:
9884         * docs/design/part-live-source.txt:
9885         * docs/design/part-messages.txt:
9886         * docs/design/part-overview.txt:
9887         * docs/design/part-qos.txt:
9888         * docs/design/part-query.txt:
9889         * docs/design/part-states.txt:
9890         * docs/design/part-trickmodes.txt:
9891         Some doc updates. Start renaming from stream_time to running_time where
9892         it was used wrongly.
9893
9894 2007-02-15  Wim Taymans  <wim@fluendo.com>
9895
9896         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9897         Answer LATENCY query.
9898
9899 2007-02-15  Wim Taymans  <wim@fluendo.com>
9900
9901         * tests/check/gst/gstevent.c: (event_probe), (test_event),
9902         (GST_START_TEST):
9903         Improve debugging.
9904
9905 2007-02-15  Wim Taymans  <wim@fluendo.com>
9906
9907         * gst/gstpad.c: (gst_pad_get_internal_links_default),
9908         (gst_pad_dispatcher):
9909         Improve debugging of default pad dispatcher and query functions.
9910
9911 2007-02-15  Wim Taymans  <wim@fluendo.com>
9912
9913         * docs/gst/gstreamer-sections.txt:
9914         Remove old unused method.
9915
9916 2007-02-13  Wim Taymans  <wim@fluendo.com>
9917
9918         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9919         Fix check
9920
9921 2007-02-13  Wim Taymans  <wim@fluendo.com>
9922
9923         * docs/design/part-seeking.txt:
9924         Some small update.
9925
9926         * gst/gstsegment.c: (gst_segment_set_seek):
9927         Revert old bogus change that should make seeking work again.
9928
9929 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9930
9931         * docs/random/ensonic/dynlink.txt:
9932         * docs/random/ensonic/interfaces.txt:
9933         * docs/random/ensonic/receipies.txt:
9934           Possible dynamic reconnection api, plus some type fixes the other two
9935           docs.
9936
9937 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
9938
9939         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9940         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9941         Also check for an absolute path following file:// in the filesrc
9942         element. Remove redundant check and call g_path_is_absolute() on the
9943         unescaped location.
9944
9945 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9946
9947         * docs/design/draft-klass.txt:
9948           Add existing category analysis.
9949           
9950         * gst/gstcaps.c:
9951           Fix doc example, framerate is a fraction.
9952
9953 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9954
9955         * configure.ac:
9956         * docs/gst/Makefile.am:
9957         * docs/gst/gstreamer-sections.txt:
9958         * docs/libs/Makefile.am:
9959           Erm, forgot a bunch of --extra-dir.
9960
9961 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9962
9963         * configure.ac:
9964         * docs/gst/Makefile.am:
9965         * docs/libs/Makefile.am:
9966         * docs/plugins/Makefile.am:
9967           Add crossreferences to glib/gobject docs.
9968
9969 2007-02-12  Wim Taymans  <wim@fluendo.com>
9970
9971         * docs/design/draft-latency.txt:
9972         Small update.
9973
9974         * docs/libs/gstreamer-libs-sections.txt:
9975         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9976         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9977         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9978         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9979         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9980         (gst_base_sink_get_position), (gst_base_sink_query),
9981         (gst_base_sink_change_state):
9982         * libs/gst/base/gstbasesink.h:
9983         API: gst_base_sink_query_latency() to let subclasses query the upstream
9984         latency.
9985         API: gst_base_sink_get_latency() to let subclasses query the configured
9986         latency in the sink.
9987         Implement query and set latency.
9988         Update some docs.
9989         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9990         don't continue preroll when we are flushing. Fixes #405284.
9991
9992         * tests/check/pipelines/stress.c: (change_state_timeout),
9993         (quit_timeout), (GST_START_TEST), (stress_suite):
9994         Test for #405284.
9995
9996 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
9997
9998         Patch by: René Stadler <mail at renestadler de>
9999
10000         * docs/gst/gstreamer-sections.txt:
10001         * gst/gsttaglist.c: (_gst_tag_initialize):
10002         * gst/gsttaglist.h:
10003           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10004
10005 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10006
10007         * docs/libs/Makefile.am:
10008           Fix path to core docs.
10009
10010         * gst/gstbin.c: (gst_bin_get_by_interface),
10011         (gst_bin_iterate_all_by_interface):
10012           Refix docs by also renaming 'interface' to 'iface' in implementation.
10013
10014         * docs/gst/gstreamer-sections.txt:
10015         * gst/gstcaps.c:
10016         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10017         * gst/gstchildproxy.h:
10018         * gst/gstelementfactory.c:
10019         * gst/gstpadtemplate.h:
10020         * libs/gst/controller/gstcontroller.c:
10021         (gst_controlled_property_new):
10022           Document more.
10023
10024 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10025
10026         * gst/gstbin.h:(gst_bin_get_by_interface),
10027         (gst_bin_iterate_all_by_interface):
10028         Replace interface parameter name by iface as interface is 
10029         a reserved keyword in Visual Studio for C++ projects so it removes
10030         a build error for application developpers using VS.
10031         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10032         Fix a bug on Windows in uri format check. Now the prefix checked
10033         is file:// and next we check if the path after file:// is absolute.
10034         * win32/common/libgstbase.def:
10035         * win32/common/libgstdataprotocol.def:
10036         * win32/common/libgstgstreamer.def:
10037         Add new exported functions.
10038
10039 2007-02-09  Andy Wingo  <wingo@pobox.com>
10040
10041         * tests/check/pipelines/simple-launch-lines.c
10042         (simple_launch_lines_suite, test_tee): Disable tee test until I
10043         have time to fix it :-(
10044
10045         * tests/check/Makefile.am (noinst_HEADERS): 
10046         * tests/check/libs/libsabi.c: 
10047         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10048         * tests/check/gst/gstabi.c: 
10049         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10050
10051         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10052         tests for push and pull tee behavior.
10053
10054         * plugins/elements/gsttee.h: 
10055         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10056         mark as deprecated as well as unimplemented. It was a crack idea.
10057         Add support for tee operating in pull mode, off by default.
10058
10059         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10060         normal-case logs down to LOG, raise errors to WARNING.
10061         (gst_registry_xml_read_cache): Don't log before calling a function
10062         that logs.
10063
10064         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10065         exit (registry finalize).
10066         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10067         DEBUG log when we emit signals that people don't even have the
10068         chance to connect to.
10069         (gst_registry_scan_path_level): Less logging in the normal case.
10070
10071 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10072
10073         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10074
10075         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10076         Correctly generate EOS for non-seekable files. We don't have a total
10077         length for them and would get an unexpected end of file if we only
10078         special-cased for regular files. (Fixes: #404569)
10079
10080 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10081
10082         * tests/check/elements/filesrc.c: (GST_START_TEST),
10083         (filesrc_suite):
10084         Add unit test for the GstURIHandler interface in filesrc. This also
10085         tests the newly added file://localhost/foo/bar support.
10086
10087 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10088
10089         * gst/gstelementfactory.h:
10090           The klass string is not a hierarchy. Add reference to the design doc
10091           for more information and common types.
10092
10093 2007-02-02  Wim Taymans  <wim@fluendo.com>
10094
10095         * gst/gstquery.c: (gst_query_new_latency):
10096         Remove old structure field.
10097
10098 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10099
10100         * tools/gst-launch.1.in:
10101           Give example for network streaming (#351998)
10102
10103 2007-02-02  Wim Taymans  <wim@fluendo.com>
10104
10105         * docs/gst/gstreamer-sections.txt:
10106         Add docs for new methods.
10107
10108         * gst/gstevent.c: (gst_event_new_latency),
10109         (gst_event_parse_latency):
10110         * gst/gstevent.h:
10111         Add new LATENCY event to configure latency in a pipeline.
10112         API: gst_event_new_latency
10113         API: gst_event_parse_latency
10114
10115         * gst/gstmessage.c: (gst_message_new_buffering),
10116         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10117         (gst_message_new_latency), (gst_message_parse_buffering),
10118         (gst_message_parse_lost_preroll):
10119         * gst/gstmessage.h:
10120         Added messages used in draft-latency.
10121         API: gst_message_new_lost_preroll
10122         API: gst_message_parse_lost_preroll
10123         API: gst_message_new_prerolled
10124         API: gst_message_new_latency
10125
10126         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10127         (gst_query_parse_latency):
10128         * gst/gstquery.h:
10129         Implemented new latency query as in design doc.
10130         API: gst_query_new_latency
10131         API: gst_query_set_latency
10132         API: gst_query_parse_latency
10133
10134 2007-02-02  Wim Taymans  <wim@fluendo.com>
10135
10136         * docs/design/draft-latency.txt:
10137         Slight redesign to allow for dynamic latency adjustments.
10138
10139         * docs/design/part-negotiation.txt:
10140         Fix some typos.
10141
10142 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10143
10144         reviewed by: Wim Taymans <wim@fluendo.com>
10145
10146         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10147         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10148         Allow file://localhost/foo/bar URLs and correctly fail for every other
10149         hostname that one sets. This was gnomevfssrc is linked for those if
10150         installed as it can handle it (#403172)
10151
10152 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10153
10154         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10155
10156         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10157         (unref_data), (gst_collect_pads_add_pad_full):
10158         * libs/gst/base/gstcollectpads.h:
10159         Don't put the previously added destroy notify in the GstCollectData
10160         struct as all it's padding is already used and we don't want to break
10161         ABI. Instead put in the pad's GObject data for now. This should be
10162         cleaned up for 0.11 (#402393).
10163
10164 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10165
10166         reviewed by: Wim Taymans <wim@fluendo.com>
10167
10168         * docs/libs/gstreamer-libs-sections.txt:
10169         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10170         (unref_data), (gst_collect_pads_add_pad),
10171         (gst_collect_pads_add_pad_full):
10172         * libs/gst/base/gstcollectpads.h:
10173         API: Add function to specify a destroy notification for custom
10174         GstCollectData when adding new pads in GstCollectPads (#402393).
10175
10176 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10177
10178         * po/sv.po:
10179           Update Swedish translation (#378255).
10180
10181 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10182
10183         * docs/design/draft-klass.txt:
10184           Fix the previous change, this is a list of categories and not a hierarchy.
10185
10186 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10187
10188         * docs/design/draft-klass.txt:
10189           Add info about how to get a list of used classes.
10190
10191 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10192
10193         * plugins/elements/gsttypefindelement.c:
10194         (gst_type_find_element_chain_do_typefinding),
10195         (gst_type_find_element_change_state):
10196           Don't leak found caps in chain function (no idea why that never
10197           showed up as a leak anywhere).
10198
10199 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10200
10201         * gst/gstplugin.h:
10202           Fix and expand GstPluginDesc API docs.
10203
10204 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10205
10206         * gst/gstcaps.c:
10207         * gst/gstelementfactory.c:
10208         * gst/gstpadtemplate.h:
10209           api doc fixes
10210
10211         * libs/gst/controller/gstcontroller.c:
10212         (gst_controlled_property_new):
10213         * tests/examples/controller/audio-example.c:
10214           comment fixes
10215
10216 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10217
10218         * configure.ac:
10219           comment about refining the xml deps
10220
10221         * docs/manuals.mak:
10222           comments about moving away from jade for docs
10223         
10224         * gst/gst.c:
10225           recommit the ifdefs to use the binary registry
10226         
10227         * gst/gstbin.c: (gst_bin_change_state_func):
10228           this break is obsolete
10229
10230         * gst/gstelementfactory.h:
10231           better GST_ELEMENT_DETAILS docs, add comment about translation
10232
10233         * gst/gstinfo.h:
10234           remove eol slash
10235
10236         * gst/gstobject.c: (gst_signal_object_get_type):
10237           add G_UNLIKELY as usual
10238
10239         * gst/gstpad.c: (gst_pad_event_default):
10240           add fall trhu comment
10241
10242         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10243         (gst_registry_binary_initialize_magic),
10244         (gst_registry_binary_save_string),
10245         (gst_registry_binary_save_pad_template),
10246         (gst_registry_binary_save_feature),
10247         (gst_registry_binary_save_plugin),
10248         (gst_registry_binary_write_cache),
10249         (gst_registry_binary_check_magic),
10250         (gst_registry_binary_load_pad_template),
10251         (gst_registry_binary_load_feature),
10252         (gst_registry_binary_load_plugin),
10253         (gst_registry_binary_read_cache):
10254           comment typo and formatting
10255
10256         * gst/gstutils.c: (gst_element_state_get_name),
10257         (gst_element_state_change_return_get_name):
10258           remove obsolete breaks
10259
10260         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10261           add FIXME 0.11 and remove cpp comment
10262
10263 2007-01-29  Edward Hervey  <edward@fluendo.com>
10264
10265         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10266         Fix print statement in an even more portable way.
10267
10268 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10269
10270         * docs/gst/gstreamer-sections.txt:
10271         * gst/gstutils.h:
10272           API: add GST_ROUND_DOWN_* macros (#401781).
10273
10274 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10275
10276         * docs/gst/gstreamer.types.in:
10277         * gst/gstregistry.c: (gst_registry_class_init):
10278           Document registry signals and make gtk-doc pick them up (#401381).
10279
10280 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10281
10282         * docs/pwg/building-testapp.xml:
10283           Add some audioconverts and audioresample to the pipeline, and some
10284           more comments and error handling.
10285
10286 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10287
10288         * docs/manual/manual.xml:
10289         * docs/pwg/pwg.xml:
10290           Fix typo (#400987).
10291
10292 2007-01-26  Wim Taymans  <wim@fluendo.com>
10293
10294         * gst/gstcaps.c: (gst_static_caps_get):
10295         Init caps flags too.
10296
10297 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10298
10299         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10300
10301         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10302         If not using mmap'ed files try to seek to the end instead of the
10303         start to determine whether we can seek at all. This fixes the case
10304         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10305         seeks for everything afterwards fail. Fixes #400656
10306
10307 2007-01-25  Wim Taymans  <wim@fluendo.com>
10308
10309         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10310         Add some refcount debugging.
10311         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10312         in multiple streaming threads.
10313
10314 2007-01-25  Wim Taymans  <wim@fluendo.com>
10315
10316         Patch by: David Schleef <ds at schleef dot org>
10317
10318         * docs/libs/gstreamer-libs-sections.txt:
10319         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10320         * libs/gst/base/gstadapter.h:
10321         API: gst_adapter_copy() that can reduce the amount of memcpy when
10322         getting data from the adapter. Fixes #388201.
10323
10324 2007-01-25  Edward Hervey  <edward@fluendo.com>
10325
10326         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10327         In print statements, "%x" is for guint. Fixes build on macosx.
10328
10329 2007-01-24  Edward Hervey  <edward@fluendo.com>
10330
10331         * plugins/elements/gstmultiqueue.c:
10332         (gst_multi_queue_loop):
10333         Small fix.
10334         (single_queue_overrun_cb), (single_queue_underrun_cb),
10335         (single_queue_check_full), (gst_single_queue_new):
10336         Implement single queue growth system.
10337         This uses the extra-size properties, and will grow single queues by
10338         that much if one goes full whereas there are others empty. This is
10339         called extra-mode in the code.
10340         When a single queue's levels go back below the initial max-size
10341         limits, it is no longer in extra-mode. This is to ensure we don't
10342         consume too much memory.
10343         Fixes #399875
10344
10345 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10346
10347         * gst/gst.c: (gst_init_get_option_group):
10348           Make warning about late g_thread_init() calls a bit more explicit,
10349           so that it's more obvious to application developers what they need
10350           to do if a user files a bug against their application.
10351
10352 2007-01-22  Edward Hervey  <edward@fluendo.com>
10353
10354         * plugins/elements/gstmultiqueue.c:
10355         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10356         Remove previous hack of unsetting the flushing flag for the source pad
10357         instead of activating it. Instead, fix the source pad activate function
10358         so that it no longer depends on having a parent set or not.
10359
10360 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10361
10362         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10363
10364         * docs/manual/basics-bus.xml:
10365           Fix example code, gst_element_unref() doesn't exist any longer.
10366
10367 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10368
10369         Patch by: Mark Nauwelaerts <manauw at skynet be>
10370
10371         * gst/gstpad.c:
10372           Fix two docs typoes (#399094).
10373
10374 2007-01-19  Edward Hervey  <edward@fluendo.com>
10375
10376         * docs/faq/gst-uninstalled:
10377         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10378         depending on libgstbaseutils can work in uninstalled environment.
10379
10380 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10381
10382         * gst/gsttaglist.h:
10383         * gst/gsttagsetter.c:
10384         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10385         statement for new tag.
10386
10387 2007-01-17  Edward Hervey  <edward@fluendo.com>
10388
10389         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10390         When dynamically creating single queues, activate sinkpad before adding
10391         it.
10392         We should be doing the same thing for the source pad, but we can't
10393         since it would call a method which needs the parent to be set in order
10394         to work propertly. Instead of activating the source pad, we just unset
10395         the flushing flag, which is the minimal requirement for adding a pad
10396         to an element in a state greater than READY.
10397
10398 2007-01-17  Edward Hervey  <edward@fluendo.com>
10399
10400         * docs/faq/gst-uninstalled:
10401         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10402         Mac OS X.
10403
10404 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10405
10406         * tests/check/gst/gstabi.c:
10407         * tests/check/gst/struct_hppa.h:
10408         * tests/check/libs/libsabi.c:
10409         * tests/check/libs/struct_hppa.h:
10410           Add ABI structs for HPPA (see #393796).
10411
10412 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10413
10414         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10415           Actually write ABI structs to the file specified in the GST_ABI
10416           environment variable, as the message we print claims we would.
10417
10418 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10419
10420         * tests/check/gst/gsttask.c:
10421           Fix header comment.
10422
10423 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10424
10425         * gst/gsttaglist.c: (_gst_tag_initialize):
10426           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10427           previous two entries.
10428
10429 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10430
10431         * docs/gst/gstreamer-sections.txt:
10432         * gst/gsttaglist.c: (_gst_tag_initialize):
10433         * gst/gsttaglist.h:
10434           Add tag support for beat-per-minute.
10435
10436 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10437
10438         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10439         (gst_registry_binary_initialize_magic),
10440         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10441         (gst_registry_binary_save_pad_template),
10442         (gst_registry_binary_save_feature),
10443         (gst_registry_binary_save_plugin),
10444         (gst_registry_binary_write_cache),
10445         (gst_registry_binary_check_magic),
10446         (gst_registry_binary_load_pad_template),
10447         (gst_registry_binary_load_feature),
10448         (gst_registry_binary_load_plugin),
10449         (gst_registry_binary_read_cache):
10450         * gst/gstregistrybinary.h:
10451           Use glib types, cleanup comments, impement interfaces and uri-types.
10452
10453 2007-01-13  Andy Wingo  <wingo@pobox.com>
10454
10455         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10456         getrange() to return buffers with other caps, while we fix
10457         demuxers and typefind, or otherwise change part-negotiation.txt.
10458
10459 2007-01-12  Andy Wingo  <wingo@pobox.com>
10460
10461         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10462         Factor start/stop into this private function instead of partially
10463         in activate functions and partially in the change_state function.
10464         Fixes setup before the element has changed from READY->PAUSED, as
10465         is the case in pull-mode pipelines.
10466         (gst_base_transform_sink_activate_push)
10467         (gst_base_transform_src_activate_pull): Refactor to use
10468         gst_base_transform_activate().
10469         (gst_base_transform_change_state): Removed, not needed any more.
10470
10471         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10472         Truncate before fixating.
10473         
10474         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10475         Don't set_caps() if the result of fixating is ANY, as it's not
10476         supported, and not necessary in the case of a link with no
10477         template caps on either side. Fixes tests/check/libs/basesrc in
10478         some pull-mode tests.
10479
10480         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10481         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10482         (gst_base_transform_src_activate_pull): 
10483         Track the activation mode.
10484         (gst_base_transform_setcaps): In pull mode, when activating the
10485         src pad, after activating the sink pad, activate the sink pad's
10486         peer, as discussed in part-negotiation.txt.
10487
10488         * libs/gst/base/gstbasesrc.h: 
10489         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10490         vmethod, as in basesink.
10491
10492         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10493
10494         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10495         mode, first proxy the setcaps to the peer pad.
10496         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10497         new fixate vmethod.
10498         (gst_base_sink_default_activate_pull): Rename from
10499         gst_base_sink_activate_pull.
10500         (gst_base_sink_negotiate_pull): New function, performs negotiation
10501         in pull mode before calling ::activate_pull().
10502         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10503         vmethod instead of the default implementation. I have no idea how
10504         this worked before. Negotiate before calling activate_pull.
10505
10506         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10507         sink pads in pull mode. In addition to being correct, fixes
10508         filesrc ! decodebin ! identity ! fakesink.
10509         (gst_pad_get_range, gst_pad_pull_range): Don't call
10510         gst_pad_set_caps() if the caps changes; instead error out with
10511         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10512
10513 2007-01-12  Andy Wingo  <wingo@pobox.com>
10514
10515         * docs/design/part-negotiation.txt: Update with more policy.
10516
10517 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10518
10519         * libs/gst/check/gstbufferstraw.h:
10520         * libs/gst/check/gstcheck.h:
10521           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10522           belongs.
10523
10524 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10525
10526         * tests/check/Makefile.am:
10527         * tests/check/gst/.cvsignore:
10528         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10529         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10530         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10531         (GST_START_TEST), (gst_tag_setter_suite):
10532           Add minimal unit test for beforementioned GstTagSetter bug.
10533
10534 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10535
10536         Patch by: René Stadler <mail at renestadler dot de>
10537
10538         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10539           gst_tag_list_merge() returns a new list, so it's not the best idea
10540           to ingore its return value. Effectively meant that tags could only
10541           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10542           Also add function guard to require a non-NULL taglist as input (has
10543           always been so due to gst_tag_list_copy(), just making it explicit).
10544
10545 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10546
10547         * docs/random/draft-missing-plugins.txt:
10548           Some additions: mention new API that is supposed to be used at the
10549           various stages; short blob about new gst-inspect introspection
10550           option; mention potential future problem with plugins that have
10551           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10552
10553 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10554
10555         * tools/gst-inspect.c:
10556         (print_plugin_automatic_install_info_codecs),
10557         (print_plugin_automatic_install_info_protocols),
10558         (print_plugin_automatic_install_info), (main):
10559         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10560         introspect plugin files and get machine-parsable output that corresponds
10561         to the last bit of the missing-plugin installer string (small gotcha:
10562         doesn't take into account ranks).
10563
10564 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10565
10566         * configure.ac:
10567         * docs/gst/gstreamer-sections.txt:
10568         * gst/Makefile.am:
10569         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10570         (gst_registry_lookup_locked):
10571         * gst/gstregistry.h:
10572         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10573         (gst_registry_binary_initialize_magic),
10574         (gst_registry_binary_save_string),
10575         (gst_registry_binary_save_pad_template),
10576         (gst_registry_binary_save_feature),
10577         (gst_registry_binary_save_plugin),
10578         (gst_registry_binary_write_cache),
10579         (gst_registry_binary_check_magic),
10580         (gst_registry_binary_load_pad_template),
10581         (gst_registry_binary_load_feature),
10582         (gst_registry_binary_load_plugin),
10583         (gst_registry_binary_read_cache):
10584         * gst/gstregistrybinary.h:
10585         * gst/gstregistryxml.c: (load_feature),
10586         (gst_registry_xml_read_cache):
10587           commit binary registry (disabled by default, see #359653)
10588
10589 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10590
10591         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10592           Fix 'make check' too.
10593
10594 2007-01-10  Andy Wingo  <wingo@pobox.com>
10595
10596         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10597         notes.
10598         
10599         * docs/design/part-negotiation.txt: Update with, um, one way that
10600         pull-mode negotiation might work?
10601
10602         * gst/gstpad.h: 
10603         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10604         that the pad must be a src pad; makes sense to call it the other
10605         way in pull mode, and the logic is symmetric anyway.
10606
10607 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10608
10609         * plugins/elements/gstfilesink.c:
10610           Include <stdio.h> for fseeko().
10611
10612 2007-01-10  Wim Taymans  <wim@fluendo.com>
10613
10614         * gst/gstevent.c:
10615         * gst/gstevent.h:
10616         Reserve LATENCY event.
10617
10618 2007-01-09  Wim Taymans  <wim@fluendo.com>
10619
10620         * docs/design/draft-latency.txt:
10621         Updates.
10622
10623 2007-01-09  Wim Taymans  <wim@fluendo.com>
10624
10625         * docs/design/draft-latency.txt:
10626         Updates.
10627
10628         * gst/gstelement.h:
10629         * gst/gststructure.c:
10630         * gst/gsttrace.c:
10631         Small typo fixes.
10632
10633 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10634
10635         * tests/check/.cvsignore:
10636           Ignore test-registry.xml as well.
10637
10638 2007-01-09  Wim Taymans  <wim@fluendo.com>
10639
10640         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10641         unref data at the end when we are done with the pad.
10642
10643 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10644
10645         * docs/gst/gstreamer-sections.txt:
10646         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10647         (init_post), (gst_deinit), (gst_update_registry):
10648         * gst/gst.h:
10649           API: add gst_update_registry() (#391296).
10650
10651         * tests/check/Makefile.am:
10652         * tests/check/gst/gstregistry.c:
10653         * tests/check/gst/.cvsignore:
10654           Simple unit test for the above.
10655
10656 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10657
10658         * gst/gstregistry.c: (gst_registry_scan_path_level):
10659           Plugin extension on HP-UX is .sl, add that to the list of approved
10660           plugin extensions (see #393796).
10661
10662         * tests/check/gst/gstpad.c: (GST_START_TEST):
10663           ulong => gulong. Fixes compilation with HP-UX compiler.
10664
10665         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10666           Fix compilation if valgrind headers are not available.
10667
10668 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10669
10670         * win32/common/libgstreamer.def: 
10671           Add new exported function.
10672         * win32/vs6/libgstbase.dsp: 
10673           Add gstdataqueue.c to the build.
10674         * win32/vs6/libgstcoreelements.dsp:
10675           Add gstmultiqueue.c to the build.
10676         
10677 2007-01-06  Andy Wingo  <wingo@pobox.com>
10678
10679         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10680         activate_pull(), providing for a way to specialize the process of
10681         spawning a thread to pull on the sink pad. There is a default
10682         implementation.
10683
10684         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10685         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10686         (gst_base_sink_init): Renamed pad activation functions (inserting
10687         "_pad" in their names). Refactor to use the new activate_pull
10688         vmethod, as appropriate.
10689         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10690         default activate_pull function to start a task pulling from the
10691         sink pad, as before.
10692
10693         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10694         on the pads if necessary, as in push()/chain(). Update docs.
10695         Shouldn't affect existing pull() usage as it is currently only
10696         being used on buffers without caps.
10697
10698 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10699
10700         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10701         (init_pre):
10702           Call g_thread_init() first thing in gst_init() / gst_check_init().
10703           When initialisation is done via gst_init_get_option_group() and
10704           GOption parsing, issue a warning if the GLib thread system has not
10705           been initialised yet by the time gst_init_get_option_group() is
10706           called, as it's quite likely other GLib functions such as
10707           g_option_context_new() have been called already then, and
10708           g_thread_init() must be called before any other GLib function. The
10709           application in question must be fixed in that case, since memory
10710           corruption might happen otherwise.
10711           We issue the warning because even if the GLib folks decide to work
10712           around the problem on their end in future, this is still an issue
10713           with all GLib versions >= 2.10.0, so we should warn until we depend
10714           on a GLib version we know to be safe.
10715           Update documentation as well.
10716           Closes bug #391278.
10717
10718 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10719
10720         * tools/gst-inspect.c: (main):
10721         * tools/gst-launch.c: (main):
10722         * tools/gst-typefind.c: (main):
10723         * tools/gst-xmlinspect.c: (main):
10724           Call g_thread_init() really really early, before any other GLib
10725           function (see #342564 and recent discussion on gtk-devel-list).
10726
10727 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10728
10729         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10730
10731         * gst/gst_private.h:
10732         * gst/gstconfig.h.in:
10733         * gst/gstinfo.h:
10734           On win32, all the __declspec stuff for symbol exporting is
10735           apparently only needed with MSVC, but doesn't work with MingW.
10736           Fixes compilation with MingW and #391909.
10737
10738 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10739
10740         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10741           Change some GST_ERROR_OBJECT that aren't really errors to
10742           GST_WARNING_OBJECT in order to reduce terminal spam.
10743
10744 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10745
10746         * tests/check/Makefile.am:
10747           disable test again, as there seem to be still race problems
10748
10749 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10750
10751         * tests/check/Makefile.am:
10752         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10753         (GST_START_TEST), (queue_suite):
10754           enable queue test again, add tests for the leaky behaviour
10755
10756 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10757
10758         * configure.ac:
10759         * tests/examples/Makefile.am:
10760           Compile adapter test/example only if the required headers are
10761           available (fixes #391915).
10762
10763 2007-01-01  David Schleef  <ds@schleef.org>
10764
10765         * gst/gstplugin.c:
10766           Restore the previous signal handler for SIGSEGV instead of
10767           setting to default, since we may have stolen it away from
10768           someone.  (i.e., Mono)
10769
10770 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10771
10772         * docs/random/draft-missing-plugins.txt:
10773           Some small additions and clarifications.
10774
10775 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10776
10777         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10778           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10779           since that can lead to random memory corruptions and crashes
10780           (may or may not be related to #383244, #386711, and #386711).
10781
10782 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10783
10784         * tests/check/.cvsignore:
10785         * tests/check/Makefile.am:
10786           sync .cvsignome and CLEANFILES
10787
10788 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10789
10790         * tests/check/Makefile.am:
10791           fix distcheck
10792
10793 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10794
10795         * docs/design/part-states.txt:
10796           two tiny additional comments
10797         
10798         * gst/gststructure.c:
10799           doc fixing
10800
10801         * tests/check/Makefile.am:
10802         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10803         (GST_START_TEST):
10804           disable test for now, unless it gets fixed
10805
10806 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10807
10808         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10809         (GST_START_TEST):
10810           fix race in underrun test
10811
10812 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10813
10814         * tests/check/elements/.cvsignore:
10815           ignore more
10816
10817         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10818         (GST_START_TEST):
10819           try to narrow test failure
10820
10821 2006-12-21  David Schleef  <ds@schleef.org>
10822
10823         * plugins/elements/gstfakesrc.c:
10824           Use g_random_int_range(), since it produces better random
10825           numbers in a range than almost-correct floating point code.
10826
10827 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10828
10829         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10830         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10831         (gst_check_teardown_sink_pad):
10832           do not automatically (de)activate pads
10833
10834         * tests/check/Makefile.am:
10835         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10836         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10837           add new, yet simple tests for queue
10838
10839         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10840         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10841         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10842         (GST_START_TEST):
10843         * tests/check/elements/identity.c: (cleanup_identity):
10844           consistent pad (de)activation
10845
10846 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10847
10848         Patch by: Sebastian Dröge  <slomo ubuntu com>
10849
10850         * libs/gst/base/gstcollectpads.c:
10851           Fix two doc typos (#387866).
10852
10853 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10854
10855         * docs/manual/advanced-dparams.xml:
10856           Fix typo (g_object_control_properties() doesn't exist).
10857
10858 2006-12-19  Edward Hervey  <edward@fluendo.com>
10859
10860         * gst/gstsegment.c: (gst_segment_set_seek):
10861         Fine tune the cases where the segment start/stop values are really
10862         updated.
10863         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10864         Add tests for the return values of gst_segment_set_seek().
10865
10866 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10867
10868         * gst/gst.c:
10869           Docs typo fix.
10870
10871         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10872         (gst_queue_init):
10873           Fix incorrect documentation and flesh it out a bit more.
10874           Set default values for the max properties on the GParamSpec as well,
10875           so it shows up correctly in gst-inspect.
10876
10877 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10878
10879         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10880           Correct docs of queue, add more detail and crosslink it more.
10881
10882 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10883
10884         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10885           Print additional debug info when the stream isn't perfectly
10886           timestamped; don't try to use invalid durations.
10887
10888 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10889
10890         * docs/design/Makefile.am:
10891           Dist new design docs.
10892
10893 2006-12-16  Wim Taymans  <wim@fluendo.com>
10894
10895         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10896
10897         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10898         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10899         (gst_collect_pads_stop), (gst_collect_pads_event),
10900         (gst_collect_pads_chain):
10901         * libs/gst/base/gstcollectpads.h:
10902         Add refcounting to the collectpads data so we can track when it's safe
10903         to free the data. Fixes #383382.
10904
10905 2006-12-15  Wim Taymans  <wim@fluendo.com>
10906
10907         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10908         (gst_collect_pads_remove_pad):
10909         Automatically activate/deactivate pads when they are added to a
10910         started/stoped collectpads.
10911
10912 2006-12-15  Wim Taymans  <wim@fluendo.com>
10913
10914         * gst/gstelement.c: (gst_element_add_pad):
10915         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10916         * gst/gstpad.c: (gst_pad_init):
10917         Set pads to FLUSHING when they are created. Check, warn and fix when a
10918         demuxer adds an inactive pad to itself when running. Fixes #339326.
10919
10920 2006-12-15  Wim Taymans  <wim@fluendo.com>
10921
10922         * gst/gstelement.c: (gst_element_class_init),
10923         (gst_element_default_send_event), (gst_element_send_event),
10924         (gst_element_default_query), (gst_element_query):
10925         Expose default element send_event and query handling as vmethods that
10926         subclasses can chain up to.
10927
10928 2006-12-15  Wim Taymans  <wim@fluendo.com>
10929
10930         * gst/gstelement.c: (gst_element_set_state_func):
10931         Small documentation fixes.
10932
10933 2006-12-15  Wim Taymans  <wim@fluendo.com>
10934
10935         * docs/design/draft-latency.txt:
10936         Checked in draft for handling latency in pipelines.
10937
10938 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10939
10940         * Makefile.am:
10941         * gstreamer.doap:
10942         * gstreamer.spec.in:
10943           adding .doap file
10944
10945 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
10946
10947         * gst/gst.c: (init_pre), (init_post):
10948           init_pre() and init_post() might be called via our GOptionGroup or
10949           from gst_init(), and we should skip both of them if we've already
10950           been initialised, otherwise we will init some things twice or add
10951           two default log functions.
10952
10953 2006-12-13  Edward Hervey  <edward@fluendo.com>
10954
10955         * docs/manual/basics-bus.xml:
10956         No, gst_main_loop does not exist. Its g_main_loop.
10957         Discovered by somebody who abused the copy-paste technique of coding :)
10958
10959 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
10960
10961         * gst/gstghostpad.c:
10962           Log ghostpad debug stuff to the GST_PADS category as well rather
10963           than just to the default category.
10964
10965 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
10966
10967         * configure.ac:
10968         * gst/gst.c: (init_pre):
10969           Add some basic system details such as OS and architecture
10970           to the debug output if possible, courtesy of uname().
10971
10972 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10973
10974         * docs/gst/running.xml:
10975           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10976           environment variables.
10977
10978 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10979
10980         * tests/check/gst/gstbin.c: (GST_START_TEST):
10981         It is acceptable to have a refcount of 2 or 3 at this point in the
10982         test, because the pipeline might be just posting its state_change
10983         message. The next line then waits for that message to appear using
10984         bus_poll, so that should be fine too.
10985
10986 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10987
10988         * gst/gst.c: (ensure_current_registry_forking):
10989         Ignore EINTR when reading from the child registry pipe.
10990         Explicitly ignore the return value from close, since it makes no
10991         difference.
10992
10993         * gst/gstminiobject.c: (gst_mini_object_ref),
10994         (gst_mini_object_unref):
10995         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10996
10997         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10998         When removing cached plugins, remove their features too, so they're
10999         not visible after they've disappeared.
11000
11001         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11002         In the unlikely case that we are linking pads with no parents, don't
11003         crash trying to get the non-existent parent bin.
11004
11005         * gst/parse/grammar.y:
11006         Output debug in the PIPELINE category
11007
11008 2005-03-08  Wim Taymans  <wim@fluendo.com>
11009
11010         Patch by: René Stadler <mail at renestadler dot de>
11011
11012         * gst/gstclock.c: (gst_clock_new_periodic_id):
11013         Reject invalid clock times for interval of periodic ids.
11014         Fixes ##383506.
11015
11016 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11017
11018         * gst/gstelementfactory.c: (gst_element_factory_create):
11019         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11020         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11021         * tools/gst-inspect.c: (print_element_info):
11022         Fix refcounting of gst_plugin_feature_load to match the docs. 
11023         Fixes: #380129
11024
11025 2006-12-07  Wim Taymans  <wim@fluendo.com>
11026
11027         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11028         (gst_base_sink_get_position):
11029         Improve debugging of events.
11030
11031 2006-12-07  Wim Taymans  <wim@fluendo.com>
11032
11033         Patch by: René Stadler <mail at renestadler dot de>
11034
11035         * gst/gstclock.c: (gst_clock_id_wait):
11036         Make period ids add the interval to the origial requested time instead
11037         of the possibly updated time which can be wrong when there are multiple
11038         waiters for the same id. Fixes #382592.
11039
11040         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11041         (gst_system_clock_id_wait_jitter_unlocked),
11042         (gst_system_clock_id_wait_jitter):
11043         Fix restart in the async notify thread when an async entry is added to
11044         the front of the list. Fixes #381492. 
11045
11046         * tests/check/gst/gstsystemclock.c: (store_callback),
11047         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11048         Added test for multiple async waits.
11049         Added test for async wait order.
11050
11051 2006-12-07  Wim Taymans  <wim@fluendo.com>
11052
11053         * gst/gstbin.c: (gst_bin_query):
11054         Add some more docs about the POSITION query.
11055
11056 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11057
11058         * configure.ac:
11059         Bump version nano - back to CVS.
11060
11061 === release 0.10.11 ===
11062
11063 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11064
11065         * configure.ac:
11066           releasing 0.10.11, "Love never runs on time"
11067
11068 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11069
11070         * win32/common/libgstbase.def:
11071         * win32/common/libgstreamer.def:
11072         * win32/vs8/libgstbase.vcproj:
11073         * win32/vs8/libgstcoreelements.vcproj:
11074         * win32/vs8/libgstreamer.vcproj:
11075         Fix compilation on win32 under VS8
11076         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11077         Partially fixes #381175
11078
11079 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11080
11081         * gst/gstvalue.c: (gst_value_compare_fraction):
11082         If someone is foolish enough to compare 2 fractions with denominator =
11083         0, return UNORDERED rather than aborting.
11084
11085 2006-11-28  Edward Hervey  <edward@fluendo.com>
11086
11087         * libs/gst/base/Makefile.am:
11088         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11089         (gst_data_queue_base_init), (gst_data_queue_class_init),
11090         (gst_data_queue_init), (gst_data_queue_new),
11091         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11092         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11093         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11094         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11095         (gst_data_queue_set_flushing), (gst_data_queue_push),
11096         (gst_data_queue_pop), (gst_data_queue_drop_head),
11097         (gst_data_queue_set_property), (gst_data_queue_get_property):
11098         * libs/gst/base/gstdataqueue.h:
11099         New GstDataQueue object for threadsafe queueing. Most useful for
11100         elements that need some queueing functionnality.
11101         * docs/libs/gstreamer-libs-docs.sgml:
11102         * docs/libs/gstreamer-libs-sections.txt:
11103         Insert documentation for GstDataQueue
11104         * plugins/elements/Makefile.am:
11105         * plugins/elements/gstelements.c:
11106         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11107         (gst_multi_queue_class_init), (gst_multi_queue_init),
11108         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11109         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11110         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11111         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11112         (gst_multi_queue_loop), (gst_multi_queue_chain),
11113         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11114         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11115         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11116         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11117         (wake_up_next_non_linked), (compute_next_non_linked),
11118         (single_queue_overrun_cb), (single_queue_underrun_cb),
11119         (single_queue_check_full), (gst_single_queue_new):
11120         * plugins/elements/gstmultiqueue.h:
11121         New multiqueue element, using GstDataQueue. Used for queuing multiple
11122         streams.
11123         Closes #344639 and #347785
11124
11125 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11126
11127         * docs/pwg/advanced-types.xml:
11128           add more missing type details
11129
11130         * tools/gst-run.c: (main):
11131           remove unused variable
11132
11133 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11134
11135         * docs/libs/Makefile.am:
11136         * docs/libs/gstreamer-libs.types:
11137           add types of base classes to enable gobject specific stuff in the docs
11138
11139         * docs/random/ensonic/embedded.txt:
11140           more ideas about isolating platform specific things
11141
11142 2006-11-20  Wim Taymans  <wim@fluendo.com>
11143
11144         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11145
11146         * libs/gst/check/gstcheck.h:
11147         Fix compilation and running against 0.9.4. Fixes #377332.
11148
11149 2006-11-20  Wim Taymans  <wim@fluendo.com>
11150
11151         * gst/gstsegment.c: (gst_segment_set_seek),
11152         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11153         (gst_segment_to_running_time):
11154         Fix boundary checking in to_running_time() and to_stream_time().
11155         Fixes #377183.
11156
11157         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11158         stream and running time can now be calculated for the complete
11159         clipped segment.
11160
11161 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11162
11163         * gst/gstpad.c: (gst_pad_push_event):
11164           Can't access event structure after giving away ownership of
11165           the event.
11166
11167 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11168
11169         * docs/random/ensonic/embedded.txt:
11170         * docs/random/ensonic/profiling.txt:
11171         * docs/random/ensonic/receipies.txt:
11172           more thinking
11173
11174 2006-11-13  Wim Taymans  <wim@fluendo.com>
11175
11176         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11177
11178         * gst/gstpad.c:
11179         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11180
11181 2006-11-13  Wim Taymans  <wim@fluendo.com>
11182
11183         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11184
11185         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11186         Store new length in segment duration so we don't keep on calling the
11187         potentially expensize get_size() call. Fixes #370865.
11188
11189 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11190
11191         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11192
11193         * win32/common/libgstreamer.def:
11194           Add two missing symbols (#366492).
11195
11196 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11197
11198         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11199         (gst_adapter_take_buffer):
11200         Fix format string to use all its arguments.
11201         Remove useless >= check on a guint
11202
11203 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11204
11205         * tests/examples/adapter/.cvsignore:
11206         Ignore build file as commanded by the build-bot
11207
11208 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11209
11210         * tests/examples/adapter/Makefile.am:
11211         * tests/examples/adapter/adapter_test.c: (run_test_take),
11212         (run_test_take_buffer), (run_tests), (main):
11213
11214         Add new files from the previous commit
11215
11216 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11217
11218         * Makefile.am:
11219         * configure.ac:
11220         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11221         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11222         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11223         * libs/gst/base/gstadapter.h:
11224         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11225         (GST_START_TEST), (gst_adapter_suite):
11226         * tests/examples/Makefile.am:
11227         Do some optimisation work in GstAdapter to avoid copies in more cases.
11228         It could still do slightly better by merging buffers when
11229         gst_buffer_is_span_fast is true, but is already faster. 
11230
11231         Also, avoid traversing a single-linked list to append each incoming 
11232         buffer inside the adapter.
11233
11234         Add simple test app that times the adapter behaviour in different
11235         situations, and extend the unit test to check that bytes enter and
11236         exit the adapter in their original order.
11237
11238 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11239
11240         * docs/random/draft-missing-plugins.txt:
11241           Update: use element message instead of adding a new message
11242           type to the core; don't provide GStreamer API to initiate the
11243           plugin download, just provide API to compose the strings needed
11244           and let an external libgimmestuff handle the rest.
11245
11246 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11247
11248         * tools/gst-inspect.c: (print_element_properties_info):
11249         Print a string instead of 'unknown type' for GValueArray properties
11250
11251 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11252
11253         * docs/random/draft-missing-plugins.txt:
11254         More small fixes.
11255
11256 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11257
11258         * tests/examples/typefind/typefind.c: (type_found), (main):
11259           Make typefind element example work again (#371894); add a
11260           license header.
11261
11262 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11263
11264         * docs/random/draft-missing-plugins.txt:
11265           Commit initial draft about how to deal with missing plugins,
11266           needs work (API too).
11267
11268 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11269
11270         * docs/pwg/advanced-types.xml:
11271           documents the new caps elements (see #363118)
11272
11273 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11274
11275         * gst/gstplugin.c: (gst_plugin_load_file):
11276         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11277         (gst_file_src_map_region), (gst_file_src_start):
11278         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11279         (gst_file_index_commit):
11280           Use g_strerror() instead of strerror() - we want UTF-8.
11281
11282 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11283
11284         Patch by: Peter Kjellerstedt <pkj at axis com>
11285
11286         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11287           Another printf fix (#371493).
11288
11289 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11290
11291         * tests/check/gst/gsttag.c:
11292           relicence (okay with author=company)
11293
11294 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11295
11296         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11297         (gst_pad_push_event):
11298           Enhance debug and improve docs
11299         
11300         * gst/gsturi.c:
11301           Fix docs
11302
11303 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11304
11305         * docs/random/ensonic/distributed.txt:
11306         * docs/random/ensonic/profiling.txt:
11307           more ideas
11308
11309 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11310
11311         * docs/gst/gstreamer-sections.txt:
11312           add new API and fix the build
11313           
11314         * gst/gstbin.c: (gst_bin_recalc_state):
11315         * gst/gstelement.c: (gst_element_message_full),
11316         (gst_element_get_state_func), (gst_element_set_state_func):
11317           use new API and improve logging
11318         
11319         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11320         * gst/gstutils.h:
11321           API: add function to get StateChangereturn names to improve logs 
11322
11323 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11324
11325         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11326           I'm considering shooting the next person to put strerror stuff
11327           in the translateable part of the message.
11328
11329 2006-11-03  Wim Taymans  <wim@fluendo.com>
11330
11331         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11332         Get the type and printf conversion specifiers right.
11333
11334 2006-11-03  Wim Taymans  <wim@fluendo.com>
11335
11336         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11337
11338         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11339         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11340         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11341         Some small cleanups. Improve debugging.
11342         * gst/gstpad.h:
11343         Signal all waiting threads with a broadcast instead of just one.
11344         Fixes #369942.
11345
11346 2006-11-03  Wim Taymans  <wim@fluendo.com>
11347
11348         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11349         (gst_fd_src_create):
11350         Add some debugging. 
11351         Only update fd when it's different from the old.
11352
11353 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11354
11355         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11356           Printf fixes for PPC/OSX, take two (#369366).
11357
11358 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11359
11360         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11361
11362         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11363         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11364         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11365           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11366           don't cast to long long for portability reasons, but use
11367           GLib's types instead.
11368
11369 2006-10-30  Michael Smith  <msmith@fluendo.com>
11370
11371         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11372           Get the arguments to lseek() the right way around.
11373           Fixes 367677.
11374
11375 2006-10-30  Wim Taymans  <wim@fluendo.com>
11376
11377         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11378
11379         * gst/gstinfo.h:
11380         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11381
11382 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11383
11384         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11385
11386         * docs/design/part-MT-refcounting.txt:
11387         * docs/random/wtay/capsnego2-docs:
11388         * gst/gstclock.c:
11389         * gst/gstxml.c:
11390           Typo fixes (#366212).
11391
11392 2006-10-28  Wim Taymans  <wim@fluendo.com>
11393
11394         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11395
11396         * gst/gst.c:
11397         * win32/common/libgstbase.def:
11398         * win32/common/libgstreamer.def:
11399         * win32/vs8/libgstbase.vcproj:
11400         * win32/vs8/libgstcontroller.vcproj:
11401         Add needed entries in .def files.
11402         Use HAVE_UNISTD_H.
11403         Rearrange def files in vs8 solutions. Fixes #366286.
11404
11405 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11406
11407         * win32/common/gstconfig.h:
11408           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11409           hand-made win32 gstconfig.h. Fixes #366321.
11410
11411 2006-10-27  Wim Taymans  <wim@fluendo.com>
11412
11413         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11414         (gst_ghost_pad_new_full):
11415         Make acceptcaps return TRUE when we don't have a target, just like
11416         setcaps does.
11417
11418 2006-10-27  Wim Taymans  <wim@fluendo.com>
11419
11420         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11421         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11422
11423 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11424
11425         * gst/gststructure.c: (gst_structure_id_set_value):
11426           If someone tries to set a non-UTF8 string field on a structure,
11427           don't just print a warning, but also ignore the request and do
11428           not change/add that field to the structure.
11429
11430         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11431           Test for the above.
11432
11433 2006-10-25  David Schleef  <ds@schleef.org>
11434
11435         * gst/gstinfo.c:
11436           g_hash_table_insert() needs a cast to a non-const pointer duh.
11437
11438 2006-10-25  David Schleef  <ds@schleef.org>
11439
11440         * gst/gstinfo.c:
11441         * gst/gstinfo.h:
11442           Change name parameter of _gst_debug_register_funcptr to const
11443           to reflect the constness of its use in the function as well
11444           as to quiet a gcc warning.
11445
11446 2006-10-25  Edward Hervey  <edward@fluendo.com>
11447
11448         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11449         Don't push the buffer if it's empty.
11450         Closes #363095
11451
11452 2006-10-24  Wim Taymans  <wim@fluendo.com>
11453
11454         * gst/gstevent.h:
11455         Add small comment.
11456
11457         * libs/gst/base/gstbasetransform.c:
11458         (gst_base_transform_sink_eventfunc):
11459         Debug segment values *after* updating them as this is more
11460         interesting.
11461
11462 2006-10-23  Wim Taymans  <wim@fluendo.com>
11463
11464         * docs/design/part-events.txt:
11465         Update some docs.
11466
11467         * docs/design/part-block.txt:
11468         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11469         (gst_pad_push_event):
11470         Revert BLOCKING patch, it tries to be smart without really having a
11471         clear idea what or how. So, now we discard all FLUSHING events again on
11472         a blocking pad. Should fix gnonlin again.
11473
11474 2006-10-23  Wim Taymans  <wim@fluendo.com>
11475
11476         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11477
11478         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11479         (gst_base_src_start), (gst_base_src_activate_push):
11480         Make sure size is always initialized. Fixes #364388.
11481
11482 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11483
11484         * docs/random/ensonic/distributed.txt:
11485           add some ideas about doing distributed processing
11486
11487         * docs/random/ensonic/profiling.txt:
11488           get_rusage look promising
11489
11490 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11491
11492         * docs/manual/basics-helloworld.xml:
11493           Add a cast in example to fix compile warning
11494
11495 2006-10-18  Wim Taymans  <wim@fluendo.com>
11496
11497         * gst/gstsegment.c: (gst_segment_set_last_stop),
11498         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11499         Relax arg checking again, -1 is allowed.
11500
11501 2006-10-18  Wim Taymans  <wim@fluendo.com>
11502
11503         * gst/gstsegment.c: (gst_segment_set_last_stop),
11504         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11505         _set_last_stop() must be with a value != -1
11506         A _TYPE_SET to -1 means seek to 0.
11507         Calc last_stop correctly for negative rates.
11508         Make sure we work with positive durations when updating a segment.
11509
11510 2006-10-18  Wim Taymans  <wim@fluendo.com>
11511
11512         * docs/design/part-live-source.txt:
11513         * gst/gstclock.h:
11514         Small docs fixes.
11515
11516 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11517
11518         * gst/gstbuffer.h:
11519           Add an explicit cast to GstBuffer** to keep old code that added an
11520           explicit cast to GstMiniObject** for gst_mini_object_replace()
11521           compiling without warning.
11522
11523 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11524
11525         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11526           check for validity of dates
11527
11528 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11529
11530         * docs/gst/gstreamer-sections.txt:
11531           Forgot this one, makes gtk-doc shut up.
11532
11533 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11534
11535         Patch by: Peter Kjellerstedt <pkj at axis com>
11536
11537         * gst/gstobject.h:
11538           Don't define xmlNodePtr to gpointer if the core was built with
11539           --disable-loadsave and --disable-registry, this will break
11540           applications that want to use libxml2 but are buildling against a
11541           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11542           instead so we don't have to mess with the libxml2 namespace
11543           (#361675).
11544
11545 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11546
11547         * gst/gstbuffer.h:
11548           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11549           type-punned pointer warnings.
11550
11551 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11552
11553         * gst/gstelement.h:
11554           Add casts to the correct return type to state <=> state transition
11555           macros.
11556
11557 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11558
11559         * docs/design/part-live-source.txt:
11560           describe howto handle latency
11561         
11562         * docs/random/ensonic/profiling.txt:
11563           more ideas
11564
11565         * tools/gst-plot-timeline.py:
11566           fix log parsing for solaris, remove unused function
11567
11568 2006-10-16  Wim Taymans  <wim@fluendo.com>
11569
11570         * docs/design/part-trickmodes.txt:
11571         * gst/gstevent.c:
11572         Update some docs regarding reverse playback.
11573
11574 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11575
11576         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11577
11578         * win32/vs8/grammar.vcproj:
11579           Error out with a warning if glib-genmarshal.exe is not in path,
11580           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11581
11582 2006-10-13  Wim Taymans  <wim@fluendo.com>
11583
11584         * gst/gstsegment.c: (gst_segment_set_seek):
11585         When seeking to stop -1, set last_stop (current position) to the
11586         duration of the segment.
11587
11588 2006-10-13  Wim Taymans  <wim@fluendo.com>
11589
11590         * gst/gstelement.h:
11591         Clarify _NO_PREROLL a bit more.
11592
11593         * gst/gstevent.c:
11594         Fix docs.
11595
11596         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11597         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11598         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11599         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11600         due to wrong locking order. Fixes #361769.
11601         Remove some redundant/misplaced checks in pad_block.
11602
11603         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11604         For negative rates, count backwards from the duration.
11605
11606 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11607
11608         * gst/gsterror.c: (_gst_library_errors_init):
11609           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11610           up with something better).
11611
11612 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11613
11614         * win32/vs6/libgstreamer.dsp:
11615         * win32/vs7/libgstreamer.vcproj:
11616         * win32/vs8/libgstreamer.vcproj:
11617           Don't reference glib-compat.c which is currently not used and not
11618           disted; add gstquark.c which was recently added. Fixes #361730.
11619
11620 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11621
11622         * win32/common/libgstbase.def:
11623         * win32/common/libgstcontroller.def:
11624         * win32/common/libgstreamer.def:
11625           Add gst_caps_merge() and a bunch of other recently-added functions.
11626           Fixes #361732.
11627
11628 2006-10-11  Wim Taymans  <wim@fluendo.com>
11629
11630         * docs/plugins/gstreamer-plugins.args:
11631         * docs/plugins/inspect/plugin-coreelements.xml:
11632         * docs/plugins/inspect/plugin-coreindexers.xml:
11633         Update element args.
11634
11635         * gst/gstsystemclock.c:
11636         Small comment update.
11637
11638         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11639         (gst_tee_request_new_pad), (gst_tee_release_pad),
11640         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11641         (gst_tee_sink_activate_pull):
11642         * plugins/elements/gsttee.h:
11643         Some tee loving:
11644         Add default property defines.
11645         Implement release pad function.
11646         Give properties better blubs etc.
11647         Activate pads before adding them to a running tee.
11648         Do simple buffer_alloc on the first requested pad.
11649         Post error when activation fails.
11650
11651 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11652
11653         * gst/gst.c: (ensure_current_registry_forking):
11654           Check return value of write() to make compiler happy.
11655
11656 2006-10-11  Wim Taymans  <wim@fluendo.com>
11657
11658         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11659
11660         * plugins/elements/gstqueue.c: (gst_queue_chain):
11661         Recheck queue filledness after signalling the overrun when we're about
11662         to leak downstream because we released the lock when emitting the signal
11663         and the queue could be empty again. Fixes #352345.
11664
11665 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11666
11667         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11668           Fix refcounting here too, just like we did for _new_valist() a few
11669           days ago (#357180) (thanks to René Stadler). Also remove all those
11670           'Since: 0.9' from the gtk-doc blobs.
11671
11672         * tests/check/libs/controller.c: (controller_refcount_new_list),
11673         (gst_controller_suite):
11674           Unit test for the above.
11675
11676 2006-10-10  Wim Taymans  <wim@fluendo.com>
11677
11678         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11679
11680         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11681         (gst_pad_save_thyself):
11682         Update some docs.
11683         Write pad direction in XML output. Fixes #345496.
11684
11685 2006-10-10  Wim Taymans  <wim@fluendo.com>
11686
11687         Patch by: René Stadler <mail at renestadler dot de>
11688
11689         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11690         (gst_controller_new_list), (_gst_controller_dispose),
11691         (_gst_controller_finalize), (_gst_controller_class_init):
11692         Take ref to controlled object so that it cannot disappear. 
11693         Fixes #357432.
11694
11695 2006-10-10  Wim Taymans  <wim@fluendo.com>
11696
11697         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11698         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11699         (gst_check_teardown_sink_pad):
11700         Activate/deactivate pads in setup/teardown respectively.
11701
11702 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11703
11704         Patch by: Josep Torra Valles <josep@fluendo.com>
11705
11706         * gst/Makefile.am:
11707         Cast values when making gstenumtypes.h.  This pacifies Forte
11708         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11709         in the enumeration.
11710
11711 2006-10-09  Wim Taymans  <wim@fluendo.com>
11712
11713         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11714         Rename some more @cur to @start to fix docs. 
11715
11716         * gst/gstsegment.c: (gst_segment_set_seek):
11717         Fix typo.
11718         time and start must always stay in sync as defined in design doc.
11719
11720         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11721         Rename param to fix docs.
11722
11723         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11724         Check that start and time are in sync.
11725
11726         * tests/check/pipelines/parse-launch.c:
11727         (gst_parse_test_element_change_state):
11728         Activate pad before adding to the element.
11729
11730 2006-10-09  Wim Taymans  <wim@fluendo.com>
11731
11732         * docs/design/part-qos.txt:
11733         Fix typo.
11734
11735         * gst/gstevent.c:
11736         * gst/gstevent.h:
11737         Update seek event docs regarding negative rates.
11738         Rename @cur to @start. 
11739
11740         * gst/gstsegment.c: (gst_segment_set_seek):
11741         * gst/gstsegment.h:
11742         Update set_seek docs regarding negative rates.
11743         Correctly update last_stop to @stop when dealing with negative
11744         rates.
11745         Rename @cur to @start. 
11746
11747         * tests/check/gst/gstpad.c: (GST_START_TEST):
11748         Activate pads before trying to use them.
11749
11750         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11751         (gst_segment_suite):
11752         Add simple check for segments and negative rates.
11753
11754 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11755
11756         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11757         * gst/gsttaglist.h:
11758         * docs/gst/gstreamer-sections.txt:
11759           API: add gst_tag_list_is_empty() (#360467).
11760
11761         * tests/check/gst/gsttag.c: (GST_START_TEST):
11762           And a test case.
11763
11764 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11765
11766         * gst/gstmessage.h:
11767         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11768         a value that doesn't fit on enumeration.
11769
11770 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11771
11772         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11773         Remove local debugging system and use Gstreamer's instead.
11774
11775 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11776
11777         Patch by: Josep Torra Valles <josep@fluendo.com>
11778
11779         * common/m4/gst-error.m4:
11780         Disable warning of statement not reached on Forte.
11781         * gst/gstmessage.h:
11782         Fix warning on Forte (value doesn't fit on enumeration).
11783         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11784         Fix warning on Forte (value doesn't fit on enumeration).
11785         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11786         DEBUG macro says it takes minimum of 2 args and so Forte
11787         complains about the use with just 1 arg.
11788         * plugins/elements/gstfdsink.c:
11789         * plugins/elements/gstfdsrc.c:
11790         * plugins/elements/gstfilesink.c:
11791         * plugins/elements/gstfilesrc.c:
11792         Use correct return type for the uri handler implementations.
11793
11794         All these fix warnings in Forte.  Fixes bug #360860.
11795
11796 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11797
11798         * gst/gstelement.h:
11799           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11800           format string, so don't use G_GNUC_PRINTF for those versions.
11801
11802 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11803
11804         * gst/gsttaglist.c: (gst_is_tag_list):
11805         * gst/gsttaglist.h:
11806           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11807
11808         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11809           Small test for the above.
11810
11811 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11812
11813         * gst/gsttaglist.h:
11814           Less tabs, more spaces.
11815
11816 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11817
11818         * gst/gstinfo.h:
11819           Those two function declarations do actually belong there, revert
11820           commit from yesterday that turned them intro macros.
11821
11822 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11823
11824         Patch by: Josep Torra Valles <josep@fluendo.com>
11825
11826         * gst/gst.c: (gst_init_get_option_group):
11827         Fix empty declaration and type mismatch.
11828         * gst/gstbin.c: (gst_bin_change_state_func):
11829         Fix type mismatch.
11830         * gst/gstelement.c: (gst_element_continue_state),
11831         (gst_element_set_state_func), (gst_element_change_state),
11832         (gst_element_change_state_func):
11833         Fix type mismatches.
11834         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11835         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11836         Cast as appropriate.
11837         * gst/gstobject.c: (gst_class_signal_connect):
11838         Cast as appropriate.  The function pointer parameter really
11839         has the wrong type but would break API if we change it.
11840         * gst/gstquery.c:
11841         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11842         order of including string.h.
11843         * gst/gstutils.c: (gst_element_state_get_name):
11844         Remove unreachable line.
11845         * gst/gstxml.c: (gst_xml_parse_doc):
11846         Fix type mismatch.
11847         All these caught by Forte.
11848
11849 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11850
11851         Patch by: Josep Torra Valles <josep@fluendo.com>
11852
11853         * common/m4/gst-error.m4:
11854         Fixed bug #360151.
11855         We need to disable warnings on Forte for empty declarations
11856         due to gst-indent adding ;s to lines that just use macros
11857         where the macro actually doesn't need a ; at end to end
11858         statement.
11859
11860 2006-10-06  Wim Taymans  <wim@fluendo.com>
11861
11862         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11863         (gst_file_sink_close_file), (gst_file_sink_event),
11864         (gst_file_sink_render):
11865         Add some FIXME for the NEWSEGMENT handling.
11866
11867 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11868
11869         * gst/parse/grammar.y:
11870         Remove static function gst_parse_element_lock as all it does
11871         is return.  Looks like cruft from 0.8.
11872
11873 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11874
11875         Patch by: Josep Torra Valles <josep@fluendo.com>
11876
11877         * common/m4/gst-error.m4:
11878         * configure.ac:
11879         * libs/gst/net/Makefile.am:
11880         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11881         libresolv.
11882
11883 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11884
11885         * gst/gstpad.c: (pre_activate):
11886         * gst/gstregistry.c: (gst_registry_scan_path_level):
11887         * gst/gstregistryxml.c: (load_plugin):
11888         * libs/gst/controller/gstcontroller.c:
11889         (gst_controlled_property_set_interpolation_mode):
11890         * libs/gst/dataprotocol/dataprotocol.c:
11891         (gst_dp_packet_from_event_1_0):
11892         * libs/gst/net/gstnetclientclock.c:
11893         (gst_net_client_clock_observe_times):
11894         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11895           Printf fixes.
11896
11897 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11898
11899         * configure.ac:
11900         * docs/gst/gstreamer-sections.txt:
11901         * gst/gstconfig.h.in:
11902         * gst/gstelement.h:
11903         * gst/gstinfo.h:
11904           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11905           whether we can use G_GNUC_PRINTF in other header files and at
11906           least check the printf format/arguments of debug messages and
11907           GST_ELEMENT_ERROR messages when the printf extension is not
11908           being used.
11909           Replace more tabs with spaces in gstinfo.h and remove two spurious
11910           function declarations in GST_DISABLE_DEBUG part with macros.
11911
11912 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
11913
11914         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11915           More docs for the sync-message signal (mention that it is not
11916           emitted by default); log message structures of messages posted on
11917           the bus as well.
11918
11919 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
11920
11921         * gst/gst.c: (ensure_current_registry_forking):
11922         Use a pipe pair to receive status results from the forked child, and
11923         ignore the result from waitpid. Fixes #355499
11924
11925 2006-10-02  Wim Taymans  <wim@fluendo.com>
11926
11927         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11928         (gst_ghost_pad_suite):
11929         Fix leak in check.
11930
11931 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11932
11933         * gst/gstpad.c:
11934           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11935
11936 2006-10-02  Edward Hervey  <edward@fluendo.com>
11937
11938         * docs/design/part-block.txt:
11939         Further explain the use of flushing on blocked pads.
11940         * docs/gst/gstreamer-sections.txt:
11941         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11942         (gst_pad_push_event):
11943         * gst/gstpad.h:
11944         Added new GstPadFlag : GST_PAD_BLOCKING.
11945         Adds the notion of pads really blocking, which enables to properly
11946         handle FLUSH_START/FLUSH_STOP events on blocked pads.
11947         Fixes #358999
11948         API: gst_pad_is_blocking()
11949         API: GST_PAD_IS_BLOCKING() macro
11950         API: GST_PAD_BLOCKING GstPadFlag
11951         
11952 2006-10-02  Wim Taymans  <wim@fluendo.com>
11953
11954         Patch by: mrcgran <mrc.gran at gmail dot com>
11955
11956         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11957         Filter the proxied caps against the padtemplate if we have one.
11958
11959         * gst/gstquery.c: (gst_query_new_segment):
11960         Add include for gstinfo.h so that compilation with
11961         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11962
11963 2006-10-02  Wim Taymans  <wim@fluendo.com>
11964
11965         Patch by: Alessandro Decina  <alessandro at nnva org>
11966
11967         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11968         (gst_file_sink_set_location), (gst_file_sink_open_file),
11969         (gst_file_sink_close_file), (gst_file_sink_event),
11970         (gst_file_sink_render):
11971         Set file to NULL when closing filesink so that we can set a new filename
11972         in READY. Fixes #358613.
11973
11974 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11975
11976         Patch by: Alessandro Decina  <alessandro at nnva org>
11977
11978         * gst/gstevent.c: (_gst_event_copy):
11979           Fix gst_mini_object_make_writable() and gst_event_copy() for events
11980           with event structures by setting the parent refcount address of the
11981           copied structure to the address of the refcount member of the newly
11982           copied event rather than the address of the refcount member of the
11983           original event. Fixes #358737.
11984
11985         * tests/check/gst/gstevent.c: (GST_START_TEST):
11986           Unit test for the above.
11987
11988 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
11989
11990         * docs/design/Makefile.am:
11991           Dist some more files.
11992
11993 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11994
11995         * tests/check/libs/controller.c: (GST_START_TEST),
11996         (gst_controller_suite):
11997           Add test for the previous fix; add some more tests
11998           for correct refcounting behaviour; fix a few leaks
11999           in test cases; call gst_controller_init() at start
12000           of all tests.
12001
12002 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12003
12004         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12005         (gst_controller_set_from_list):
12006           Don't g_return_val_if_fail() on timed values with invalid timestamps
12007           inside a critical section without unlocking the mutex. Spotted by
12008           René Stadler. (#357617)
12009           Also, fix up refcounting properly: when returning an existing
12010           controller, we should increase the reference only once and not
12011           once per property and when trying to control a property again
12012           we should also increase the refcount.
12013
12014 2006-09-29  Wim Taymans  <wim@fluendo.com>
12015
12016         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12017         * libs/gst/net/gstnettimeprovider.c:
12018         (gst_net_time_provider_thread):
12019         Stop reading commands when EOF as well.
12020
12021         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12022         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12023         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12024         Unify description of the dump property.
12025
12026 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12027
12028         * tests/examples/manual/.cvsignore:
12029         OK, so it's actually cvsignore that needs changing. Stop laughing.
12030
12031 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12032
12033         * tests/examples/manual/Makefile.am:
12034         Gah, declare vars *before* using them
12035
12036 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12037
12038         * gst/gst.c: (init_pre), (scan_and_update_registry),
12039         (ensure_current_registry_nonforking),
12040         (ensure_current_registry_forking), (ensure_current_registry),
12041         (init_post), (gst_debug_help), (gst_deinit):
12042         * gst/gst_private.h:
12043         * gst/gstregistry.c: (gst_registry_finalize),
12044         (gst_registry_remove_features_for_plugin_unlocked),
12045         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12046         (gst_registry_scan_path),
12047         (_priv_gst_registry_remove_cache_plugins),
12048         (_priv_gst_registry_cleanup):
12049         * gst/gstregistry.h:
12050         Re-commit the registry changes, along with an extra fix:
12051           When a cached plugin is encountered at a different file path,
12052           update the stored path in the registry cache so that the parent
12053           process knows where it actually is now when it re-reads the registry
12054           cache. Fixes the thing that broke distcheck with the previous commit.
12055
12056         * tests/check/Makefile.am:
12057         Clean up files named 'core' too when running make clean.
12058
12059         * tests/examples/manual/Makefile.am:
12060         Set up a registry path for running these tests, and clean it properly
12061         for distcheck.
12062
12063 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12064
12065         * configure.ac:
12066         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12067         want gmodule-no-export-2.0.pc instead so that we don't drag in
12068         --export-dynamic on every project that links to GStreamer.
12069
12070         Also, make our export regex only match the start of symbols, rather 
12071         than any symbol that contains '_gst' somewhere.
12072
12073         * libs/gst/check/Makefile.am:
12074         The libgstcheck we build does however need export-dynamic, as it
12075         produces some symbols that don't match our _gst... style regex.
12076         Fixes: #318031
12077
12078 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12079
12080         * gst/gst.c: (init_pre), (scan_and_update_registry),
12081         (ensure_current_registry_nonforking),
12082         (ensure_current_registry_forking), (ensure_current_registry),
12083         (init_post), (gst_debug_help), (gst_deinit):
12084         * gst/gst_private.h:
12085         * gst/gstregistry.c: (gst_registry_finalize),
12086         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12087         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12088         (_gst_registry_cleanup):
12089         * gst/gstregistry.h:
12090           Revert previous change until I figure out why it breaks distcheck.
12091
12092 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12093
12094         * gst/gst.c: (init_pre), (scan_and_update_registry),
12095         (ensure_current_registry_nonforking),
12096         (ensure_current_registry_forking), (ensure_current_registry),
12097         (init_post), (gst_debug_help), (gst_deinit):
12098
12099           Make init_pre and init_post take the full complement of GOptionFunc
12100           args so they can return useful GErrors. Make the registry updating
12101           functions do so.
12102
12103           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12104           ensure that the registry we're about to write out doesn't contain
12105           stale information about old-deleted plugin files.
12106
12107           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12108           that deletion of plugin files is considered a registry change.
12109
12110         * gst/gst_private.h:
12111         * gst/gstregistry.c: (gst_registry_finalize),
12112         (gst_registry_remove_features_for_plugin_unlocked),
12113         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12114         (gst_registry_scan_path),
12115         (_priv_gst_registry_remove_cache_plugins),
12116         (_priv_gst_registry_cleanup):
12117         * gst/gstregistry.h:
12118         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12119         by adding _priv prefix, so that they won't appear in the global
12120         symbol table. They still do atm though because of #318031. Move the
12121         prototypes to gst_private.h
12122
12123         When removing a plugin, remove all features for that plugin too. 
12124         Fixes #340878.
12125
12126 2006-09-27  Wim Taymans  <wim@fluendo.com>
12127
12128         * docs/random/moving-plugins:
12129         Make it clear that the "compiled-in descriptions" really mean
12130         the element details.
12131
12132         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12133         (gst_base_sink_wait_preroll):
12134         Update docs.
12135
12136         * docs/libs/gstreamer-libs-sections.txt:
12137         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12138         (gst_base_src_get_range), (gst_base_src_activate_push):
12139         * libs/gst/base/gstbasesrc.h:
12140         Added function to block while waiting for PLAYING, this function
12141         is used by live sources that block on the clock.
12142         API: gst_base_src_wait_playing()
12143
12144 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12145
12146         Patch by: Peter Kjellerstedt <pkj at axis com>
12147
12148         * Makefile.am:
12149           gst-element-check.m4 is generated and should therefore be
12150           copied from the build dir rather than the source dir (#357593).
12151           'make distcheck' hasn't noticed this because we were disting
12152           the file as well, so stop doing that.
12153
12154 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12155
12156         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12157           Add some tests for gst_caps_intersect().
12158
12159         * tools/gst-launch.c: (event_loop):
12160           Print all buffering percentages we get, even the 100% one.
12161
12162 2006-09-26  Wim Taymans  <wim@fluendo.com>
12163
12164         * tools/gst-inspect.c: (print_element_properties_info),
12165         (print_signal_info):
12166         Fix printing of flags to match the look of enums.
12167
12168 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12169
12170         * gst/gstelementfactory.c:
12171           Fix typo in docs blurb.
12172
12173 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12174
12175         * gst/gsturi.c: (search_by_entry):
12176           Don't assert/crash here if a uri handler doesn't return any
12177           supported protocols. The list of protocols could be generated
12178           dynamically at runtime or at plugin registration, and an error
12179           in the underlying library shouldn't be fatal (#353301).
12180
12181 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12182
12183         * gst/gstinfo.c:
12184           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12185           (spotted by Peter Kjellerstedt).
12186
12187 2006-09-23  Wim Taymans  <wim@fluendo.com>
12188
12189         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12190
12191         * libs/gst/base/gstbasesrc.c:
12192         (gst_base_src_default_check_get_range), (gst_base_src_start),
12193         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12194         (gst_base_src_change_state):
12195         Match _start/_stop calls in the activate functions. Remove redundant
12196         _stop call from the state change function. Fixes #356910.
12197         Turn failure DEBUG into ERROR. 
12198
12199 2006-09-22  Wim Taymans  <wim@fluendo.com>
12200
12201         * docs/design/part-buffering.txt:
12202         * gst/gstmessage.c: (gst_message_new_buffering),
12203         (gst_message_parse_buffering):
12204         Update docs about buffering.
12205
12206         * docs/design/part-trickmodes.txt:
12207         Fix typo.
12208
12209 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12210
12211         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12212         (gst_controller_new_list):
12213           Ref instances when returning them again (fixes #357180)
12214
12215 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12216
12217         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12218           Don't forget to release proxy lock when there's an error.
12219
12220 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12221
12222         * gst/gstcaps.h:
12223           Add extra initialisers for Caps things, to fix some plugin warnings
12224           when using -Wextra
12225
12226 2006-09-18  Wim Taymans  <wim@fluendo.com>
12227
12228         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12229           Also set template on the internal pad so that a getcaps from the 
12230           target pad returns the template caps.
12231
12232 2006-09-18  Wim Taymans  <wim@fluendo.com>
12233
12234         * gst/gstelement.c: (gst_element_post_message),
12235         (gst_element_dispose):
12236         Use _DEBUG_OBJECT some more.
12237
12238         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12239         Avoid typechecks.
12240
12241         * tools/gst-launch.c: (main):
12242         If the toplevel element is not a GstPipeline, it must be put in a
12243         pipeline so that a bus and clock is selected.
12244
12245 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12246
12247         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12248           JITTER, RATE, and LATENCY query should be handled by the
12249           default case and not by the CONVERT query code.
12250
12251 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12252
12253         * gst/gstformat.c: (gst_format_register):
12254           Fix locking order (must take lock before using n_values).
12255
12256         * gst/gstvalue.c: (gst_value_serialize_enum),
12257         (gst_value_deserialize_enum_iter_cmp),
12258         (gst_value_deserialize_enum):
12259           Fix serialisation/deserialisation of custom registered GstFormats.
12260
12261         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12262           Unit test for custom format serialisation/deserialisation.
12263
12264 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12265
12266         * docs/pwg/building-boiler.xml:
12267         * plugins/elements/gstcapsfilter.c:
12268         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12269         section.
12270
12271 2006-09-16  Edward Hervey  <edward@fluendo.com>
12272
12273         * libs/gst/base/gstbasetransform.c:
12274         (gst_base_transform_buffer_alloc):
12275         Check if requested caps are the same as the sinks caps IF
12276         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12277         is FALSE.
12278         This fixes the renegotiation issues stated in #352827.
12279
12280 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12281
12282         * configure.ac:
12283         * docs/manual/advanced-autoplugging.xml:
12284         * tests/examples/Makefile.am:
12285         * tests/examples/manual/.cvsignore:
12286         * tests/examples/manual/Makefile.am:
12287         * tests/examples/manual/extract.pl:
12288           Extract the manual examples again like we used to do.
12289           Fix one of them.
12290
12291 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12292
12293         * win32/common/config.h:
12294           update for version
12295
12296 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12297
12298         * gst/gsterror.c:
12299           Documents how to receive errors.
12300
12301 2006-09-15  Wim Taymans  <wim@fluendo.com>
12302
12303         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12304         (event_loop), (main):
12305         Added some comments here and there.
12306         Post an application message when an interrupt is caught instead of doing
12307         an uncontrolled state change.
12308         Clean up the event loop.
12309         Handle buffering messages, pause/resume the pipeline.
12310         Make shutdown because of an interrupt more reliable.
12311
12312 2006-09-15  Wim Taymans  <wim@fluendo.com>
12313
12314         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12315         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12316         (gst_base_sink_preroll_object):
12317         Make sure that our internal state is correct when we commit our state
12318         asynchronously. This solves a race where a state change to PLAYING
12319         could cause the sink to remain blocked in preroll in some situations.
12320
12321 2006-09-15  Wim Taymans  <wim@fluendo.com>
12322
12323         * tools/gst-inspect.c: (print_element_properties_info),
12324         (print_signal_info):
12325         List flags as hex so it's easier to deal with.
12326
12327 2006-09-15  Wim Taymans  <wim@fluendo.com>
12328
12329         * docs/libs/gstreamer-libs-sections.txt:
12330         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12331         (gst_base_sink_do_sync):
12332         * libs/gst/base/gstbasesink.h:
12333         Expose logic to wait for preroll so that subclasses such as audiosink
12334         can also use this method.
12335         API: gst_base_sink_wait_preroll()
12336
12337 2006-09-15  Wim Taymans  <wim@fluendo.com>
12338
12339         * gst/gstobject.c: (gst_object_set_parent):
12340         * gst/gstpipeline.c: (do_pipeline_seek):
12341         Small cleanups in docs and code.
12342
12343         * gst/gstsegment.c: (gst_segment_clip):
12344         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12345         if stop == start and start is in the segment, no clipping should be
12346         done. Also add a test for this.
12347
12348 2006-09-15  Wim Taymans  <wim@fluendo.com>
12349
12350         * docs/design/part-buffering.txt:
12351         * docs/gst/gstreamer-sections.txt:
12352         * gst/gstmessage.c: (gst_message_new_buffering),
12353         (gst_message_parse_buffering):
12354         * gst/gstmessage.h:
12355         Added methods to create and parse BUFFERING messages.
12356         Added preliminary docs about buffering.
12357         API: gst_message_new_buffering
12358         API: gst_message_parse_buffering
12359
12360 2006-09-06  Wim Taymans  <wim@fluendo.com>
12361
12362         * gst/gstbin.c:
12363         Update documentation.
12364
12365         * gst/gstelement.c: (gst_element_class_init),
12366         (gst_element_release_request_pad), (gst_element_set_clock),
12367         (gst_element_get_index), (gst_element_add_pad),
12368         (gst_element_remove_pad), (gst_element_get_random_pad),
12369         (gst_element_send_event), (gst_element_get_query_types),
12370         (gst_element_query), (gst_element_post_message),
12371         (gst_element_message_full), (gst_element_continue_state),
12372         (gst_element_lost_state), (gst_element_save_thyself),
12373         (gst_element_restore_thyself):
12374         Documentation updates.
12375         Rename last bit of the new-pad -> pad-added signal rename.
12376         Fix the case where an element query would only work if the source
12377         pad was linked.
12378         Avoid some useless type checking in message handling.
12379
12380         * gst/gstevent.c:
12381         * gst/gstevent.h:
12382         * gst/gstutils.c:
12383         Documentation updates.
12384
12385 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12386
12387         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12388           add an INFO line for when we actually update the fd
12389
12390 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12391
12392         * configure.ac:
12393           back to TRUNK
12394
12395 === release 0.10.10 ===
12396
12397 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12398
12399         * configure.ac:
12400           releasing 0.10.10, "Pais"
12401
12402 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12403
12404         * docs/manual/advanced-position.xml:
12405           Fix typo in sample code.
12406
12407 2006-09-05  Wim Taymans  <wim@fluendo.com>
12408
12409         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12410         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12411         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12412         * libs/gst/net/gstnetclientclock.h:
12413         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12414         * libs/gst/net/gstnettimepacket.h:
12415         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12416         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12417         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12418         * libs/gst/net/gstnettimeprovider.h:
12419         Make stuff compile on windows. Fixes #345295.
12420
12421 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12422
12423         * gst/gst.c: (ensure_current_registry_forking):
12424           Print better details when child was terminated by signal.
12425
12426 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12427
12428         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12429           Print a warning rather than g_assert() if a plugin feature
12430           is a URI handler but returns no protocols (#353976).
12431
12432 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12433
12434         * docs/random/moving-plugins:
12435         Fix two typos.         
12436
12437 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12438
12439         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12440           Fix locking order, handle NULL function values properly.
12441
12442         * gst/gstinfo.h:
12443           Fix docs.
12444
12445         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12446           Initialise variable before using it and fix debug statement to
12447           print the address of the function rather than the address of the
12448           variable on the stack holding the address of the function.
12449
12450 2006-09-01  Wim Taymans  <wim@fluendo.com>
12451
12452         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12453         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12454         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12455         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12456         (gst_ghost_pad_parent_unset),
12457         (gst_ghost_pad_internal_do_activate_push),
12458         (gst_ghost_pad_internal_do_activate_pull),
12459         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12460         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12461         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12462         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12463         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12464         (gst_ghost_pad_new_no_target_from_template),
12465         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12466         More cleanups.
12467         Avoid needless typechecking in macros.
12468         Since the internal pad is always present and never changes, there is
12469         no need to locking or ref when retrieving it.
12470         Improve debugging a bit.
12471         Handle link errors when setting the target. Fixes #341029.
12472
12473 2006-09-01  Wim Taymans  <wim@fluendo.com>
12474
12475         * docs/libs/gstreamer-libs-sections.txt:
12476         * docs/plugins/gstreamer-plugins-sections.txt:
12477         Fix docs some more.
12478
12479         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12480         (gst_collect_pads_event):
12481         * libs/gst/base/gstcollectpads.h:
12482         Documentation updates.
12483         Free queued buffer when removing a pad.
12484
12485 2006-08-31  Michael Smith  <msmith@fluendo.com>
12486
12487         * gst/gstutils.c: (gst_element_link_pads),
12488         (gst_element_link_pads_filtered):
12489           Ensure that we set a capsfilter to NULL if we failed to link it
12490           when doing filtered linking, to avoid criticals.
12491
12492           No need to check for unreffing srcpad, which is explicly NULLed
12493           above (a trivial code cleanup).
12494
12495 2006-08-31  Wim Taymans  <wim@fluendo.com>
12496
12497         * docs/design/part-gstghostpad.txt:
12498         Update ascii art in documentation.
12499
12500         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12501         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12502         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12503         (gst_ghost_pad_internal_do_activate_push),
12504         (gst_ghost_pad_internal_do_activate_pull),
12505         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12506         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12507         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12508         (gst_ghost_pad_set_target):
12509         Small cleanups and leak fixes.
12510         Remove some checks now that the internal pad is never NULL.
12511         Fix the case where linking pads without a target would create nasty
12512         criticals. Fixes #341029.
12513         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12514         value of _set_target().
12515
12516         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12517         (gst_ghost_pad_suite):
12518         Some more tests for creating and linking untargeted ghostpads.
12519
12520 2006-08-31  Edward Hervey  <edward@fluendo.com>
12521
12522         * docs/gst/gstreamer-sections.txt:
12523         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12524         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12525         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12526         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12527         (gst_ghost_pad_new_from_template),
12528         (gst_ghost_pad_new_no_target_from_template):
12529         * gst/gstghostpad.h:
12530         Refactored *_new() functions.
12531         Templates are now used as a g_object_new() parameter.
12532         Use template in _do_getcaps() if we don't have a target.
12533         Small documentation cleanups.
12534         Added two new constructors:
12535         gst_ghost_pad_new_from_template()
12536         gst_ghost_pad_new_no_target_from_template()
12537         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12538         (gst_ghost_pad_suite):
12539         Added tests for new ghostpad instanciation functions.
12540
12541         API additions: gst_ghost_pad_new_from_template,
12542         gst_ghost_pad_new_no_target_from_template
12543
12544 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12545
12546         * docs/random/ensonic/profiling.txt:
12547           Ideas about qos profiling.
12548
12549 2006-08-29  Wim Taymans  <wim@fluendo.com>
12550
12551         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12552         Code cleanups.
12553         Fix memleak.
12554
12555 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12556
12557         * gst/gstxml.c:
12558           Improve and detypofy docs.
12559
12560         * tests/check/Makefile.am:
12561         * tests/check/gst/.cvsignore:
12562         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12563           Add a basic test suite for GstXML.
12564
12565 2006-08-29  Wim Taymans  <wim@fluendo.com>
12566
12567         * gst/gstelement.c: (activate_pads), (clear_caps),
12568         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12569         Clear the pad caps when the element shut down all of the pads and
12570         is not streaming data that could modify the caps. 
12571         Fixes #352958.
12572
12573 2006-08-28  Michael Smith  <msmith@fluendo.com>
12574
12575         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12576           Revert previous change; I misunderstood single-segment mode.
12577
12578 2006-08-28  Michael Smith  <msmith@fluendo.com>
12579
12580         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12581           Unset DISCONT on buffers when using single-segment mode.
12582
12583 2006-08-28  Wim Taymans  <wim@fluendo.com>
12584
12585         * gst/gstcaps.c: (gst_caps_merge_structure):
12586         * gst/gstcaps.h:
12587         Fix docs and indentation again.
12588
12589         * tests/check/gst/gstquery.c: (GST_START_TEST):
12590         Fix leak in tests and add some more tests.
12591
12592 2006-08-28  Edward Hervey  <edward@fluendo.com>
12593
12594         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12595         Inform GstSegment of the last stop position in order for the current
12596         segment to have a proper duration if it doesn't have a specific stop
12597         position from which a duration could be calculated.
12598         This bug was noticeable when a non-flushing, non-update new segment was
12599         followed by another segment (all buffers from the new segment were being
12600         dropped).
12601
12602 2006-08-28  Wim Taymans  <wim@fluendo.com>
12603
12604         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12605         Small comment update.
12606
12607         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12608         (gst_identity_transform_ip):
12609         Drop-probability is broken, mention this in the code with a 
12610         FIXME and also in the property description.
12611         Make silent also be silent about the drop messages.
12612
12613 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12614
12615         * docs/manual/appendix-win32.xml:
12616           Remove mention of popt, we don't depend on that any
12617           longer (#353136). Add some comments pointing out that
12618           this section is slightly outdated.
12619
12620 2006-08-28  Wim Taymans  <wim@fluendo.com>
12621
12622         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12623
12624         * gst/gstquery.c: (gst_query_new_segment):
12625         * tests/check/gst/gstquery.c: (GST_START_TEST):
12626         Initialize variables when creating a new segment query.
12627         Fixes #353121.
12628
12629 2006-08-28  Wim Taymans  <wim@fluendo.com>
12630
12631         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12632
12633         * gst/gstelement.c: (gst_element_get_bus):
12634         * tests/check/gst/gstelement.c: (GST_START_TEST):
12635         Check for NULL before _reffing the bus. Fixes #353122.
12636
12637 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12638
12639         * docs/manual/basics-bus.xml:
12640           Docs update: fix wrong callback return value explanation; add
12641           some lines about the implicit relationship between main loop
12642           and main context; remove duplicate main loop variable declaration.
12643
12644 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12645
12646         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12647           Don't leak caps in unit test; add a few more simple
12648           checks. 
12649
12650 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12651
12652         * docs/gst/gstreamer-sections.txt:
12653         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12654         (gst_caps_structure_is_subset), (gst_caps_merge),
12655         (gst_caps_merge_structure):
12656         * gst/gstcaps.h:
12657         * libs/gst/base/gstbasetransform.c:
12658         (gst_base_transform_transform_caps):
12659         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12660           implement caps merging (fixes #352580)
12661
12662 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12663
12664         * tools/Makefile.am:
12665         * tools/gst-plot-timeline.py:
12666           add debug-log plotting developer tool (#340674)
12667
12668 2006-08-23  Wim Taymans  <wim@fluendo.com>
12669
12670         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12671         (gst_pad_stop_task):
12672         Improve debugging for task functions.
12673
12674         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12675         (gst_task_start), (gst_task_pause), (gst_task_join):
12676         Make sure that the task function started and finished after a 
12677         join(). 
12678         Don't try to push the task function on the threadpool multiple
12679         times.
12680         Improve the g_warning message with some useful suggestions
12681         about how to fix the problem. 
12682
12683 2006-08-23  Wim Taymans  <wim@fluendo.com>
12684
12685         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12686         Handle RESYNC correctly in _proxy_getcaps.
12687
12688 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12689
12690         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12691         (gst_xml_parse_memory), (gst_xml_get_element):
12692           Chain up to parent class in dispose function and also
12693           unref the elements in the toplevel_elements GList.
12694           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12695           Always return a reference in gst_xml_get_element() rather
12696           than only sometimes.
12697
12698         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12699           Don't leak GstXml object.
12700
12701 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12702
12703         * docs/gst/gstreamer-sections.txt:
12704         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12705         (gst_caps_merge):
12706         * gst/gstcaps.h:
12707         * libs/gst/base/gstbasetransform.c:
12708         (gst_base_transform_transform_caps):
12709           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12710           in a better way
12711
12712 2006-08-21  Edward Hervey  <edward@fluendo.com>
12713
12714         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12715         Implement GObject::dispose virtual method in GstXML so we can free the
12716         top_elements GList.
12717
12718 2006-08-21  Wim Taymans  <wim@fluendo.com>
12719
12720         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12721         (gst_buffer_create_sub):
12722         Copy duration/offset_end/caps when creating a subbuffer of the
12723         complete parent.
12724         Make the subbuffer read-only when we make the metadata writable for
12725         now. Fixes #351768.
12726
12727         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12728         Added check for metadata copy when creating subbuffers.
12729
12730 2006-08-21  Edward Hervey  <edward@fluendo.com>
12731
12732         * libs/gst/base/gstbasetransform.c:
12733         (gst_base_transform_buffer_alloc):
12734         Only call downstream buffer_alloc if transform element is passthrough
12735         or always_in_place. Closes #350449.
12736
12737 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12738
12739         * ChangeLog:
12740           ChangeLog surgery to add comments to previous changes
12741
12742 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12743
12744         * gst/gst.c:
12745           Add comments
12746
12747         * gst/gstpad.c: (gst_pad_set_active):
12748           Be more verbose in the log
12749
12750         * libs/gst/base/gstbasetransform.c:
12751         (gst_base_transform_transform_caps):
12752           Simplify caps to get rid of duplicates, fixes #345444
12753
12754 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12755
12756         * gst/gstvalue.c:
12757         * gst/gstvalue.h:
12758           Use these optimizations only internally.
12759
12760 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12761
12762         * gst/gstvalue.c: (gst_value_compare_list),
12763         (gst_value_compare_fraction_range),
12764         (gst_value_intersect_fraction_fraction_range),
12765         (gst_value_intersect_fraction_range_fraction_range),
12766         (gst_value_subtract_fraction_fraction_range),
12767         (gst_value_subtract_fraction_range_fraction_range),
12768         (gst_value_get_compare_func), (gst_value_compare),
12769         (gst_value_compare_with_func):
12770         * gst/gstvalue.h:
12771           Saves the expensive lookup of the compare function in many cases
12772          (#345444)
12773
12774 2006-08-18  Edward Hervey  <edward@fluendo.com>
12775
12776         * tests/check/gst/gstinfo.c: (gst_info_suite):
12777         Disable test that require gstdebug if it wasn't built in core.
12778
12779 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12780
12781         * docs/random/ensonic/logging.txt:
12782           update ideas
12783           
12784         * gst/gstinfo.c: (gst_debug_log_default):
12785           reorder fields, save some columns, add optional color codes for log
12786           levels
12787
12788 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12789
12790         * docs/random/ensonic/logging.txt:
12791           add ideas about making the logs a bit more useful
12792
12793 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12794
12795         * docs/pwg/advanced-events.xml:
12796         * docs/pwg/titlepage.xml:
12797           Update for 0.10 API (#340627). Add myself
12798           to authors list.
12799
12800 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12801
12802         * docs/libs/gstreamer-libs-docs.sgml:
12803         * docs/libs/gstreamer-libs-sections.txt:
12804         * libs/gst/check/gstbufferstraw.c:
12805           Make gstcheck stuff show up in docs (still needs to
12806           be documented properly though).
12807
12808 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12809
12810         * docs/gst/gstreamer-sections.txt:
12811         * gst/Makefile.am:
12812         * gst/gst.c: (init_post):
12813         * gst/gst_private.h:
12814         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12815         * gst/gstquark.h:
12816         * gst/gstquery.c: (gst_query_new_position),
12817         (gst_query_set_position), (gst_query_parse_position),
12818         (gst_query_new_duration), (gst_query_set_duration),
12819         (gst_query_parse_duration), (gst_query_new_convert),
12820         (gst_query_set_convert), (gst_query_parse_convert),
12821         (gst_query_new_segment), (gst_query_set_segment),
12822         (gst_query_parse_segment), (gst_query_new_seeking),
12823         (gst_query_set_seeking), (gst_query_parse_seeking):
12824         Add internal helpers for pre-registering quarks from static strings
12825         and using the quark values directly instead of looking them up when
12826         creating and parsing queries. Can be used for event construction too.
12827         Closes #350432.
12828
12829 2006-08-16  Wim Taymans  <wim@fluendo.com>
12830
12831         * gst/gstbin.c:
12832         Fix bogus docs.
12833
12834 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12835
12836         * gst/gstutils.c: (gst_util_set_value_from_string):
12837           Fix memleak (#351502).
12838
12839         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12840           Add unit test for most of gst_util_set_value_from_string()
12841           (not that one would want to encourage use of this function).
12842
12843 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12844
12845         * libs/gst/check/gstcheck.h:
12846           Use const gchar * variables in fail_unless_equals_string
12847           macro to avoid compiler warnings (and don't use tabs for
12848           indenting).
12849
12850 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12851
12852         * tools/gst-launch.c: (print_tag):
12853           More space on the left for the tag names, to cater
12854           for the 'extended comment' tag (not touching the
12855           string for the first line since it's translated).
12856
12857 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12858
12859         * libs/gst/check/gstcheck.h:
12860           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12861           print something when they fail.
12862
12863 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12864
12865         * docs/gst/gstreamer-sections.txt:
12866         * gst/gsttaglist.c: (_gst_tag_initialize):
12867         * gst/gsttaglist.h:
12868           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12869           Also change merge function for GST_TAG_COMMENT to
12870           use_first.
12871
12872 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12873
12874         * gst/gstinfo.c: (gst_debug_print_object):
12875           Make GST_PTR_FORMAT print messages as well.
12876
12877         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12878         (GST_START_TEST), (gst_info_suite):
12879           More tests.
12880
12881 2006-08-14  Edward Hervey  <edward@fluendo.com>
12882
12883         * gst/gstelementfactory.c: (gst_element_register):
12884         If the GstElementClass doesn't have a GstElementDetails with all fields
12885         filled up correctly (longname, description AND author), then error out
12886         nicely instead of crashing.
12887
12888 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12889
12890         * gst/gststructure.c:
12891           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12892
12893         * gst/gstvalue.h:
12894           Expand on the difference between arrays and lists as we use them.
12895           
12896 2006-08-14  Wim Taymans  <wim@fluendo.com>
12897
12898         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12899         If the parent state change function failed, don't assume we can safely
12900         stop the source, this will be done when the pads are deactivated.
12901
12902 2006-08-14  Wim Taymans  <wim@fluendo.com>
12903
12904         * gst/gstbuffer.c:
12905         * gst/gsttask.c: (gst_task_join):
12906         Small doc updates.
12907
12908         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12909         (gst_pad_stop_task):
12910         When pad (de)activation failed for some reason, restore the old
12911         activation mode and set the pad to flushing instead of assuming the
12912         pad is deactivated.
12913         If the _task_join() failed, reinstall the task on the pad so that it can
12914         be stopped later and return an error.
12915
12916 2006-08-11  Andy Wingo  <wingo@pobox.com>
12917
12918         * configure.ac:
12919         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12920         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12921         is only for users of API that don't want to see deprecated
12922         functions in the headers; people that want to compile out
12923         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12924         CFLAGS. Fixes the build of multifdsink, or will soon..
12925
12926 2006-08-11  Wim Taymans  <wim@fluendo.com>
12927
12928         * docs/gst/gstreamer-sections.txt:
12929         Add GstClockClass vmethod docs.
12930
12931         * gst/gstcaps.h:
12932         Mark #endif with comment for associated #if
12933
12934         * gst/gstclock.c: (gst_clock_id_wait):
12935         * gst/gstclock.h:
12936         Add vmethod wait_jitter to avoid an unneeded _get_time() for
12937         most clock implementations.
12938         Document vmethods.
12939         Flesh out docs about resolution methods.
12940         API: GstClockClass::wait_jitter
12941
12942         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12943         (gst_system_clock_async_thread),
12944         (gst_system_clock_id_wait_jitter_unlocked),
12945         (gst_system_clock_id_wait_jitter):
12946         Use base class wait_jitter variant for improved performance
12947         due to less clock polling.
12948
12949 2006-08-11  Edward Hervey  <edward@fluendo.com>
12950
12951         * gst/gst.c: (gst_init_check), (init_post):
12952         Set gst as being initialized before scanning/updating the registry,
12953         since there might be my python plugin loader that calls gst_init() and
12954         we don't want to loop back in.
12955         Closes #350879
12956
12957 2006-08-11  Wim Taymans  <wim@fluendo.com>
12958
12959         * docs/design/part-qos.txt:
12960         Bring docs in line with the code. Mostly the sign of the jitter was
12961         wrong in the docs. Fixes #349943.
12962
12963         * gst/gstclock.c:
12964         Fix the docs for the jitter.
12965
12966         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12967         (gst_event_parse_tag), (gst_event_new_buffer_size),
12968         (gst_event_parse_buffer_size), (gst_event_parse_qos),
12969         (gst_event_new_seek), (gst_event_parse_seek),
12970         (gst_event_new_navigation):
12971         Make sure the GstStructure has no parent when creating custom
12972         events.
12973         Add some more argument checking so that we avoid 0.0 rates.
12974         Flesh out the docs for the QoS event some more.
12975
12976 2006-08-11  Wim Taymans  <wim@fluendo.com>
12977
12978         * docs/gst/gstreamer-sections.txt:
12979         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12980         (ensure_current_registry_forking), (ensure_current_registry),
12981         (parse_one_option), (parse_goption_arg), (gst_deinit),
12982         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12983         * gst/gst.h:
12984         Doc updates.
12985         Added API and command line option to disable registry forking in
12986         addition to the environment variable.
12987         Constify some static arrays.
12988         Added some more debug.
12989         Don't deinit twice.
12990         API: gst_registry_fork_is_enabled()
12991         API: gst_registry_fork_set_enabled()
12992         API: --gst-disable-registry-fork command line option
12993         Fixes #348918.
12994
12995 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
12996
12997         * gst/gst.c: (gst_init):
12998           Fix typo in error message.
12999
13000 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13001
13002         * libs/gst/controller/gstcontroller.h:
13003           fix ABI size-correction
13004
13005         * tests/check/libs/gdp.c: (gst_dp_suite):
13006           make tests that use deprecated API conditional
13007
13008 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13009
13010         * docs/libs/gstreamer-libs-sections.txt:
13011         * libs/gst/controller/gstcontroller.c:
13012         (_gst_controller_get_property), (_gst_controller_set_property),
13013         (_gst_controller_init), (_gst_controller_class_init):
13014         * libs/gst/controller/gstcontroller.h:
13015         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13016         (gst_object_set_control_rate):
13017           API: add gst_object_{s,g}et_control_rate(), add private data section,
13018           fix docs
13019
13020         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13021         * libs/gst/dataprotocol/dataprotocol.h:
13022           add deprecation guards to make gtk-doc happy and allow disabling cruft
13023
13024 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13025
13026         * tests/check/Makefile.am:
13027         * tests/check/gst/.cvsignore:
13028           Let's enable the new unit test as well.
13029
13030 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13031
13032         * configure.ac:
13033         * docs/gst/gstreamer-sections.txt:
13034         * gst/gstconfig.h.in:
13035         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13036         (_gst_info_printf_extension_ptr),
13037         (_gst_info_printf_extension_segment):
13038           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13039           register that lets us easily dump GstSegments into debug
13040           logs (#350419).
13041
13042         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13043         (info_segment_format_printf_extension), (gst_info_suite):
13044           Add simple unit test that logs a bunch of different segments (not
13045           valgrinded at the moment because of leaks in
13046           gst_debug_add_log_function).
13047
13048 2006-08-09  Edward Hervey  <edward@fluendo.com>
13049
13050         * libs/gst/base/gstbasetransform.c:
13051         (gst_base_transform_buffer_alloc):
13052         Even if we can't figure out the proper format to request downstream,
13053         call buffer_alloc() downstream with the input parameters without setting
13054         the caps on the srcpad. This will force negotiation in the chain
13055         function.
13056         Closes #350449
13057
13058 2006-08-08  Edward Hervey  <edward@fluendo.com>
13059
13060         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13061         Unlinking from a pad without a target is now a perfectly valid case
13062         which should NOT raise an assertion.
13063         This case would happen if a linked ghostpad its target set to NULL after
13064         it was previously linked.
13065
13066 2006-08-08  Edward Hervey  <edward@fluendo.com>
13067
13068         * tests/check/libs/gdp.c:
13069         Also comment out the test (see below).
13070
13071 2006-08-08  Edward Hervey  <edward@fluendo.com>
13072
13073         * tests/check/libs/gdp.c: (gst_dp_suite):
13074         Use the architecture information from config.h and not gcc macros
13075         in order to properly disable a test that fails on PPC64.
13076
13077 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13078
13079         * gst/gstelement.c: (gst_element_remove_pad):
13080           Don't crash printing the warning if the pad has no parent.
13081
13082 2006-08-02  Wim Taymans  <wim@fluendo.com>
13083
13084         * libs/gst/dataprotocol/dataprotocol.c:
13085         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13086         (gst_dp_crc), (gst_dp_header_payload_length),
13087         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13088         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13089         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13090         (gst_dp_event_from_packet), (gst_dp_validate_header),
13091         (gst_dp_validate_payload):
13092         Make debug category static
13093         Constify the crc table.
13094         Do some more arg checking in public functions.
13095         Fix some docs and do some small cleanups.
13096
13097         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13098         Add some more checks to see if GDP deals with bogus input.
13099
13100 2006-07-31  Wim Taymans  <wim@fluendo.com>
13101
13102         * gst/gstvalue.c: (gst_value_compare_list):
13103         Fix GstValueList comparison code. Fixes #347293.
13104
13105         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13106         Check to test GstValueList comparison.
13107
13108 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13109
13110         * gst/gstelementfactory.c: (gst_element_factory_create):
13111         Remove unnecessary ref/unref pair
13112
13113         * gst/parse/grammar.y:
13114         Make sure to free the parse buffer on all code paths.
13115         Move a g_free up to the error handler where it's easier to see.
13116
13117         * tests/check/gst/gstevent.c: (test_event):
13118         Extending timeout for downstream travelling events to 10 seconds to
13119         hopefully avoid intermittent failure on the buildbots.
13120
13121         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13122         Don't manually set the state of the src element - it will happen as a
13123         natural consequence of the pipeline changing state, and that way it
13124         will do it in the right order too.
13125
13126 2006-07-31  Wim Taymans  <wim@fluendo.com>
13127
13128         * libs/gst/base/gstbasetransform.c:
13129         (gst_base_transform_buffer_alloc):
13130         Use OBJECT_LOCK and refcounting to get the pad caps in the
13131         buffer_alloc function because the caps could change while we are
13132         busy with them. Fixes #349105
13133
13134 2006-07-31  Wim Taymans  <wim@fluendo.com>
13135
13136         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13137         Protect _PAD_CAPS with OBJECT_LOCK.
13138
13139 2006-07-31  Wim Taymans  <wim@fluendo.com>
13140
13141         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13142         (gst_pad_get_property), (gst_pad_activate_pull),
13143         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13144         (gst_pad_set_activate_function),
13145         (gst_pad_set_activatepull_function),
13146         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13147         (gst_pad_set_getrange_function),
13148         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13149         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13150         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13151         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13152         (gst_pad_set_acceptcaps_function),
13153         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13154         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13155         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13156         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13157         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13158         (gst_pad_configure_sink), (gst_pad_configure_src),
13159         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13160         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13161         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13162         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13163         (gst_pad_send_event):
13164         Use _DEBUG_OBJECT when it makes sense.
13165         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13166         Small cleanups and code reflows.
13167         Avoid caps refcounting in _accept_caps.
13168         Refactor alloc_buffer so that the code performed on the peer is in a
13169         separate function. Also if the pad does not implement a buffer alloc
13170         function, we should still check if the pad is flushing before falling
13171         back to the default allocator.
13172
13173 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13174
13175         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13176         Make all uses of identity and fakesink have silent=true to avoid
13177         serialising every passing data structure, which is breaking tests
13178         on FC4 for some unknown reason.
13179
13180 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13181
13182         * gst/parse/Makefile.am:
13183         * gst/parse/grammar.y:
13184         * gst/parse/parse.l:
13185           Reverted previous patch as it required to bump the flex dependency to
13186           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13187
13188 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13189
13190         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13191
13192         * gst/parse/Makefile.am:
13193         * gst/parse/grammar.y:
13194         * gst/parse/parse.l:
13195           push & pop the state of the lexer for reentrant use case
13196           Fixes #349180
13197
13198 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13199
13200         * libs/gst/base/gstbasesrc.h:
13201           Note in the docs that the ::newsegment vfunc is not actually used by
13202           GstBaseSrc.
13203
13204 2006-07-28  Wim Taymans  <wim@fluendo.com>
13205
13206         * libs/gst/base/gstcollectpads.c:
13207         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13208         (gst_collect_pads_clear), (gst_collect_pads_flush),
13209         (gst_collect_pads_event), (gst_collect_pads_chain):
13210         When flushing a pad, also clear the queued buffer so that we don't
13211         accidentally use it when we shouldn't.
13212         Fix leaks by inreffing incomming buffer.
13213         Flush out queued buffers in case of errors.
13214         Fixes #347452.
13215
13216 2006-07-28  Wim Taymans  <wim@fluendo.com>
13217
13218         * docs/random/phonon-gst:
13219         Random notes about a Phonon backend.
13220
13221 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13222
13223         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13224         Extra debug output
13225         * tests/check/libs/gdp.c: (gst_dp_suite):
13226         Take a whack at fixing the ppc compile using a different define to
13227         disable the broken test.
13228
13229         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13230         Remove excess g_print()
13231
13232 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13233
13234         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13235         Oops, meant to uncomment this line too to dampen the noise a bit.
13236
13237 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13238
13239         * gst/parse/grammar.y:
13240         * gst/parse/parse.l:
13241         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13242         (GST_START_TEST), (parse_suite):
13243         Fix some of the leaks exposed by extending the parse-launch testsuite,
13244         and move the 3 I can't figure out into a separate test that won't run
13245         the pipelines unless the appropriate line is uncommented.
13246
13247 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13248
13249         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13250           Requesting 0 bytes before the end of the file should result in
13251           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13252           unit test.
13253
13254 2006-07-27  Wim Taymans  <wim@fluendo.com>
13255
13256         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13257         Fix useless assert, a uint is always positive.
13258
13259         * gst/gststructure.c: (gst_structure_nth_field_name),
13260         (gst_structure_foreach), (gst_structure_map_in_place):
13261         Check input arguments for public functions to avoid obvious crashes.
13262
13263         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13264         * plugins/elements/gstfakesink.h:
13265         Do less useless typechecking.
13266
13267 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13268
13269         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13270           Do not use mmap() by default since there are a number of error
13271           conditions that we would like to handle in a non-fatal way that
13272           will result in a SIGBUS if we use mmap(). Examples: external
13273           devices (USB harddrive, portable music player) being unplugged
13274           while in use; file on mounted CD/DVD that can't be read because
13275           the medium is partly damaged. Fixes #348455 and #348475.
13276
13277 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13278
13279         * gst/gstquery.h:
13280         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13281         rates are a gdouble
13282
13283 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13284
13285         * gst/gstregistry.c:
13286           Move big documentation comment into class section header, so that it
13287           appears in the API docs.
13288
13289 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13290
13291         * docs/gst/gstreamer-sections.txt:
13292         Oops. Commit the docs additions too for new API.
13293         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13294
13295 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13296
13297         * gst/gststructure.c: (gst_structure_id_set),
13298         (gst_structure_id_set_valist):
13299         * gst/gststructure.h:
13300         Add API for setting values into structures without performing
13301         a quark lookup, if the appropriate quark is already known.
13302
13303         API: gst_structure_id_set
13304         API: gst_structure_id_set_valist
13305
13306         * gst/parse/grammar.y:
13307         * gst/parse/parse.l:
13308         Remove some dead code shown by the coverage information.
13309         Don't throw a critical g_warning when encountering a syntax error,
13310         just warn and let the normal error path handle it.
13311
13312         * plugins/elements/gstelements.c:
13313         Bump the rank of filesink up to PRIMARY so that it is preferred over
13314         gnomevfssink for file:// sink uri's
13315
13316         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13317         (GST_START_TEST), (run_delayed_test),
13318         (gst_parse_test_element_base_init),
13319         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13320         (gst_parse_test_element_change_state),
13321         (gst_register_parse_element), (parse_suite):
13322         Beef up the tests for parse syntax to check that more error cases
13323         fail as they are supposed to. Increases the test coverage a bit.
13324
13325 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13326
13327         * docs/manual/basics-elements.xml:
13328           Fix gst_element_link() example.
13329
13330         * gst/gstutils.c:
13331           Mention in API docs that one should usually gst_bin_add()
13332           elements to a bin or pipeline before doing the linking.
13333           
13334 2006-07-26  Wim Taymans  <wim@fluendo.com>
13335
13336         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13337         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13338         Avoid function call for known types by keeping the buffer and
13339         subbuffer GType global.
13340
13341         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13342         Random silly optimisations in read() path.
13343
13344 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13345
13346         * tools/gst-launch.c: (main):
13347           If the top-level of the parse is a normal bin, it doesn't do the
13348           right logic to run as a top-level element, so place it inside a
13349           pipeline.
13350
13351 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13352
13353         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13354           Remove superfluous g_object_notify() calls, GObject does
13355           that for us automatically.
13356
13357 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13358
13359         * gst/gstinfo.h:
13360           on Win32, use dllspec to export the debug category symbols
13361
13362 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13363
13364         * gst/gsttaglist.c: (_gst_tag_initialize):
13365           Allow more than one GST_TAG_IMAGE per taglist.
13366
13367 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13368
13369         * gst/gstminiobject.c:
13370           update docs
13371         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13372         (gst_fd_src_create):
13373           log recurring events at LOG level
13374           add more debug for when the fd gets set
13375
13376 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13377
13378         * gst/gstparse.c: (gst_parse_launch):
13379           Also remove reentrance checks if flex is MT safe (#348179)
13380          Fix my empty ChangeLog entry below
13381
13382 2006-07-21  Andy Wingo  <wingo@pobox.com>
13383
13384         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13385
13386         * libs/gst/check/Makefile.am
13387         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13388         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13389         * libs/gst/check/gstbufferstraw.h:
13390         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13391         functions, thus proving I am still a GStreamer haxor. OK I wrote
13392         them a long time ago, but anyways.
13393
13394 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13395
13396         * configure.ac:
13397         * gst/gstparse.c: (gst_parse_launch):
13398           Check for flex version and omit mutex if we have a MT save flex
13399           (fixes #348179)
13400
13401 2006-07-21  Wim Taymans  <wim@fluendo.com>
13402
13403         * gst/gstparse.c: (gst_parse_launch):
13404         Protect recursive calls to _parse with a recursive mutex
13405         and busy flag.
13406
13407 2006-07-21  Wim Taymans  <wim@fluendo.com>
13408
13409         * tests/check/gst/gstpad.c: (GST_START_TEST):
13410         Fix leak in test.
13411
13412 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13413
13414         * gst/gstparse.c: (gst_parse_launch):
13415           Do not hang on recursive usage of gst_parse_launch()
13416
13417 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13418
13419         * gst/gsttaglist.c:
13420           Add some more docs, comments and FIXME 0.11s here and there
13421           and also fix some typos.
13422
13423 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13424
13425         * gst/gstsegment.h:
13426           Convert tabs to spaces for better readability. 
13427
13428 2006-07-20  Edward Hervey  <edward@fluendo.com>
13429
13430         * tests/check/libs/gdp.c: (gst_dp_suite):
13431         the test_buffer test fails at line 140 on ppc64 at the following
13432         check:
13433         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13434                 GST_BUFFER_FLAG_IN_CAPS),
13435                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13436         See bug #348114 for more details.
13437
13438 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13439
13440         * docs/pwg/advanced-scheduling.xml:
13441         * gst/gstpad.c:
13442           Fix typos (#348000).
13443
13444 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13445
13446         * docs/pwg/intro-basics.xml:
13447           Fix wrong links (#347927).
13448
13449 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13450
13451         * gst/gstregistry.h:
13452         * gst/gstregistryxml.c: (load_feature),
13453         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13454         * win32/common/config.h:
13455           make --disable-index work (#342564)
13456
13457 2006-07-18  Wim Taymans  <wim@fluendo.com>
13458
13459         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13460
13461         * gst/Makefile.am:
13462         * gst/gsttrace.h:
13463         The attached patch adds two missing defines to gsttrace.h when tracing
13464         is disabled.  It also corrects one existing define.
13465         Fixes #347756.
13466
13467 2006-07-17  Wim Taymans  <wim@fluendo.com>
13468
13469         * docs/gst/gstreamer-sections.txt:
13470         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13471         * gst/gst.h:
13472         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13473         Add two functions to check and change the SIGSEGV behaviour
13474         when loading plugins.
13475         Don't mess with the SIGSEGV handler when we were told not to.
13476         Fixes #347794.
13477         API: gst_segtrap_is_enabled
13478         API: gst_segtrap_set_enabled
13479
13480 2006-07-14  Wim Taymans  <wim@fluendo.com>
13481
13482         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13483         * tests/check/elements/filesrc.c: (GST_START_TEST):
13484         Revert fix for regression in #347408 after release.
13485
13486 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13487
13488         Patch by: Antoine Tremblay <hexa00 at gmail com>
13489
13490         * gst/gstutils.c: (gst_element_unlink):
13491           Free iterator when done (#347311).
13492
13493         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13494           And add a test case for this.
13495
13496 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13497
13498         * configure.ac:
13499         Bump nano back to CVS
13500
13501 === release 0.10.9 ===
13502
13503 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13504
13505         * configure.ac:
13506           releasing 0.10.9, "On the road again"
13507
13508 2006-07-13  Wim Taymans  <wim@fluendo.com>
13509
13510         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13511         * tests/check/elements/filesrc.c: (GST_START_TEST):
13512         Revert pull-0 fix for release. Disable check. Fixes #347408.
13513
13514 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13515
13516         * libs/gst/dataprotocol/dataprotocol.c:
13517         (gst_dp_event_from_packet_1_0):
13518           Fixes #347337: failure to deserialize event packets with
13519           empty payload (only event type)
13520
13521 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13522
13523         * gst/Makefile.am:
13524           do not install a .c file in the header directory
13525
13526 2006-07-13  Edward Hervey  <edward@fluendo.com>
13527
13528         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13529         GhostPad no longer implicitely use the padtemplates of the targets.
13530         Fixes #347384
13531
13532 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13533
13534         * gst/gstvalue.c: (gst_value_compare_list),
13535         (gst_value_compare_array), (_gst_value_initialize):
13536         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13537         Make GstValueArray comparison be order dependent as designed.
13538         Add checks for value lists and value array comparisons.
13539         Fixes #347221
13540
13541 2006-07-11  Edward Hervey  <edward@fluendo.com>
13542
13543         * gst/gstbin.c: (activate_pads),
13544         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13545         (gst_bin_change_state_func):
13546         (de)activate src pads before calling state_change on the childs.
13547         This is to avoid the case where a src ghostpad is blocked (holding the
13548         stream lock), which would block the deactivation of the ghostpad's
13549         target pad.
13550         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13551         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13552         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13553         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13554         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13555         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13556         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13557         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13558         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13559         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13560         (gst_ghost_pad_class_init),
13561         (gst_ghost_pad_internal_do_activate_push),
13562         (gst_ghost_pad_internal_do_activate_pull),
13563         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13564         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13565         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13566         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13567         GhostPads now create their internal GstProxyPad at creation (and not
13568         when they're linked, as it was being done previously).
13569         The internal and target pads are linked straight away.
13570         The data will also travel through the other pad in order to make
13571         pad blocking and probes non-hackish (the probe/block now really happens
13572         on the GhostPad and not on the target).
13573         * gst/gstpad.c: (gst_pad_set_blocked_async),
13574         (gst_pad_link_prepare), (gst_pad_push_event):
13575         Remove previous ghostpad cruft.
13576         * gst/gstutils.c: (gst_pad_add_data_probe),
13577         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13578         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13579         (gst_pad_remove_buffer_probe):
13580         Remove previous ghost pad cruft.
13581         Added more detailed debug statements.
13582         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13583         Fix the testsuite for refcounting changes.
13584         The comments about who has references were correct, but the refcount
13585         being checked wasn't the same (!?!).
13586
13587         Fixes #341029
13588
13589 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13590
13591         * docs/gst/gstreamer-sections.txt:
13592         * gst/gstconfig.h.in:
13593         More docs for configuration options, add docs to gtk-doc.
13594
13595 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13596
13597         * gst/Makefile.am:
13598         * gst/gstconfig.h.in:
13599         * win32/common/config.h:
13600         Fix build when disabling tracing (fixes #344016). Also start to document
13601         the defines that disable the sub-systems.
13602
13603 2006-07-10  Edward Hervey  <edward@fluendo.com>
13604
13605         * gst/gst.c: (ensure_current_registry_forking):
13606         let's make valgrind happy...
13607
13608 2006-07-09  Wim Taymans  <wim@fluendo.com>
13609
13610         * gst/gstelement.c: (activate_pads),
13611         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13612         Better pad activation code: Reset the collect value too on resync.
13613         Add some comments.
13614
13615 2006-07-09  Wim Taymans  <wim@fluendo.com>
13616
13617         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13618         (gst_pad_activate_push):
13619         Use some more macros where it makes sense.
13620         Allow pad mode switching instead of asserting. When a pad
13621         is activated in one mode and we activate it in another, 
13622         deactivate it first before activating it in a different mode.
13623         Fixes #329198.
13624
13625 2006-07-08  Andy Wingo  <wingo@pobox.com>
13626
13627         * tools/gst-launch.c (main): Handle err == NULL.
13628
13629         * gst/gst.c (init_post, ensure_current_registry)
13630         (ensure_current_registry_forking)
13631         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13632         factoring out the registry scanning into separate functions. Don't
13633         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13634         Better environment var name/interface suggestions accepted.
13635
13636 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13637
13638         * gst/gstobject.c: (gst_object_set_name_default),
13639         (gst_object_set_name):
13640           Random micro-optimisation: don't use a hash table
13641           with strings as keys and the usual strdup/strcmp
13642           involved, but rather just use the GQuark of the
13643           type name as key, since it needs to be looked up
13644           anyway to get the type name string.
13645
13646         * tests/check/gst/gstobject.c: (GST_START_TEST):
13647           Fix various leaks.
13648
13649 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13650
13651         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13652         (gst_bin_iterate_all_by_interface):
13653           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13654           GTypes are gulongs and thus the top 4 bytes might be cut
13655           off on some platforms when doing GPOINTER_TO_INT, leading
13656           to invalid GTypes and bad things happening (see RH bug #179654).
13657           Also add a check to make sure the type passed in is really
13658           an interface type.
13659
13660 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13661
13662         * .cvsignore:
13663           Ignore more.
13664
13665 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13666
13667         * Makefile.am:
13668         * configure.ac:
13669         * gst-element-check.m4:
13670         * gst-element-check.m4.in:
13671           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13672           instead of the unversioned gst-inspect (#324176, #168659).
13673
13674 2006-07-06  Wim Taymans  <wim@fluendo.com>
13675
13676         * gst/gstmessage.h:
13677         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13678         warnings.
13679
13680 2006-07-06  Wim Taymans  <wim@fluendo.com>
13681
13682         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13683         (gst_base_src_wait), (gst_base_src_update_length),
13684         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13685         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13686         (gst_base_src_loop), (gst_base_src_start),
13687         (gst_base_src_activate_pull):
13688         Update docs.
13689         blocksize == 0 now means the default blocksize when working in push
13690         based mode.
13691         Remove some pointless asserts in _wait function.
13692         Fix offset/length calculations and EOS handling. We can now pull 0
13693         bytes as well, which is allowed.
13694         use _check_get_range() to decide if we can operate in _pull based
13695         mode.
13696         Fix refcounting leak when check_get_range function was not 
13697         implemented.
13698         API GstBaseSrc::blocksize range can be 0 too now (default)
13699
13700         * tests/check/elements/filesrc.c: (GST_START_TEST),
13701         (filesrc_suite):
13702         Added check to test _get_range() behaviour.
13703
13704 2006-07-06  Wim Taymans  <wim@fluendo.com>
13705
13706         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13707         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13708         (gst_pad_pull_range):
13709         * gst/gstpad.h:
13710         Lots of comments and docs added to the pad functions.
13711         Flesh out the expected behaviour of the get_range() functions.
13712
13713 2006-07-06  Wim Taymans  <wim@fluendo.com>
13714
13715         * gst/gstbus.h:
13716         * gst/gstclock.h:
13717         * gst/gstevent.h:
13718         * gst/gstiterator.h:
13719         * gst/gstpad.h:
13720         * gst/gstplugin.h:
13721         * gst/gsttask.h:
13722         Remove comma at end of enumerator list. 
13723
13724 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13725
13726         * win32/common/libgstbase.def:
13727         * win32/common/libgstdataprotocol.def:
13728         * win32/common/libsgtreamer.def:
13729         Add new exported functions.
13730
13731 2006-07-05  Wim Taymans  <wim@fluendo.com>
13732
13733         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13734         Add some more docs here and there.
13735
13736 2006-07-05  Wim Taymans  <wim@fluendo.com>
13737
13738         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13739         (gst_base_sink_loop), (gst_base_sink_get_position):
13740         When operating in pull mode update the offset so that we
13741         read sequentially.
13742
13743 2006-07-05  Wim Taymans  <wim@fluendo.com>
13744
13745         * gst/gstregistryxml.c: (read_string):
13746         Avoid strdup. (will happen in libxml, but hey!)
13747
13748         * gst/gsturi.c:
13749         Add some more docs.
13750
13751 2006-07-05  Wim Taymans  <wim@fluendo.com>
13752
13753         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13754         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13755         (gst_buffer_suite):
13756         No point in checking if the size of the subbuffer > 0, the
13757         code handles it correclty as demonstrated by unit test.
13758         Also add a unit test for the zero sized _new_and_alloc and
13759         _copy. Fixes #346663.
13760
13761 2006-07-05  Wim Taymans  <wim@fluendo.com>
13762
13763         * libs/gst/base/gstbasetransform.c:
13764         (gst_base_transform_prepare_output_buffer),
13765         (gst_base_transform_buffer_alloc),
13766         (gst_base_transform_handle_buffer):
13767         Make sure the buffer we pass to transform_ip has a refcount of
13768         1 and thus is writable. Fixes #343196
13769
13770 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13771
13772         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13773         (gst_file_src_init), (gst_file_src_set_property),
13774         (gst_file_src_get_property), (gst_file_src_map_region):
13775         * plugins/elements/gstfilesrc.h:
13776         Add "sequential" property, off by default, to use madvise and hint
13777         to the kernel that sequential access is desired.
13778         Touch all retrieved pages by default to ensure they are pulled
13779         into memory. (Closes #345720)
13780
13781 2006-07-03  Wim Taymans  <wim@fluendo.com>
13782
13783         * docs/design/part-block.txt:
13784         * docs/design/part-dynamic.txt:
13785         Small docs updates.
13786
13787 2006-07-03  Wim Taymans  <wim@fluendo.com>
13788
13789         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13790         (gst_caps_unref), (gst_static_caps_get),
13791         (gst_caps_append_structure):
13792         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13793         Use GSlice when the glib we build against is >= 2.10
13794
13795 2006-07-03  Wim Taymans  <wim@fluendo.com>
13796
13797         * gst/gstelement.c: (gst_element_pads_activate):
13798         Small cleanup in pad activation code.
13799
13800 2006-07-03  Wim Taymans  <wim@fluendo.com>
13801
13802         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13803
13804         * gst/gst-i18n-app.h:
13805         * gst/gst-i18n-lib.h:
13806         * tools/gst-inspect.c: (print_signal_info):
13807         The attached patch will make the inclusion of gettext.h unconditional in
13808         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13809         libintl.h in tools/gst-inspect.c.
13810         This allows use of --disable-nls again and fixes #344642.
13811
13812 2006-07-03  Edward Hervey  <edward@fluendo.com>
13813
13814         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13815         Implement pad blocking on events according to part-block.txt.
13816         More comments on behaviour.
13817         * tests/check/gst/gstevent.c: (test_event):
13818         Send event to peer pad of blocked pad (else it will block).
13819
13820 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13821
13822         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13823         (gst_check_run_suite):
13824           if we get the wrong message, give us the types as string
13825         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13826           Fix a translatable
13827         * tests/check/elements/filesrc.c: (GST_START_TEST):
13828           add a test for trying to open a non-existing file
13829
13830 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13831
13832         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13833           add a test for adding self
13834
13835 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13836
13837         * libs/gst/check/gstcheck.h:
13838           add some assert_ as alias for fail_unless_*
13839         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13840           increase test coverage
13841
13842 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13843
13844         * Makefile.am:
13845           include lcov.mak for lcov coverage generation
13846         * tools/Makefile.am:
13847           add to CLEANFILES
13848
13849 2006-07-02  Edward Hervey  <edward@fluendo.com>
13850
13851         * tests/check/elements/.cvsignore:
13852         moaping
13853
13854 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13855
13856         * configure.ac:
13857           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13858         * tests/check/Makefile.am:
13859           clean up gcov files
13860
13861 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13862
13863         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13864           remove gst_caps_simplify; it was not declared and not used
13865           and deprecated in 0.8
13866
13867 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13868
13869         * docs/faq/gst-uninstalled:
13870           don't put empty paths on PYTHONPATH
13871         * docs/gst/gstreamer-sections.txt:
13872           remove some symbols that are not there
13873
13874 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13875
13876         * gst/gstcaps.c: (gst_caps_compare_structures):
13877           whitespace fixes
13878         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13879         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13880           add more tests
13881
13882 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13883
13884         * libs/gst/dataprotocol/Makefile.am:
13885           build dataprotocol test by linking to the lib, instead of
13886           compiling the source, so we get coverage
13887         * tests/check/Makefile.am:
13888         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13889         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13890           add a test for filesrc
13891
13892 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13893
13894         * tests/check/gst/gststructure.c: (GST_START_TEST),
13895         (gst_structure_suite):
13896           Push coverage from 59.04% to 70.00%
13897
13898 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13899
13900         * tests/check/Makefile.am:
13901           gst-inspect every element; this makes sure that we also get
13902           coverage on element's get/set functions
13903
13904 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13905
13906         * configure.ac:
13907           set CFLAGS and friends to -O0 if gcov is being used
13908           add GCOV LIBS
13909         * gst/Makefile.am:
13910         * libs/gst/base/Makefile.am:
13911         * libs/gst/check/Makefile.am:
13912         * libs/gst/controller/Makefile.am:
13913         * libs/gst/dataprotocol/Makefile.am:
13914         * libs/gst/net/Makefile.am:
13915         * plugins/elements/Makefile.am:
13916         * plugins/indexers/Makefile.am:
13917           add makefile rules to generate gcov data and clean up
13918         * tests/check/Makefile.am:
13919           add a coverage target that generates an html overview
13920           of coverage data
13921
13922 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13923
13924         * tests/check/elements/fakesink.c:
13925         * tests/check/elements/fakesrc.c:
13926         * tests/check/elements/fdsrc.c:
13927         * tests/check/elements/identity.c:
13928         * tests/check/generic/sinks.c: (gst_sinks_suite):
13929         * tests/check/generic/states.c:
13930         * tests/check/gst/gst.c:
13931         * tests/check/gst/gstabi.c:
13932         * tests/check/gst/gstbin.c:
13933         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13934         * tests/check/gst/gstbus.c: (gst_bus_suite):
13935         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13936         * tests/check/gst/gstelement.c:
13937         * tests/check/gst/gstevent.c: (gst_event_suite):
13938         * tests/check/gst/gstghostpad.c:
13939         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13940         * tests/check/gst/gstmessage.c: (gst_message_suite):
13941         * tests/check/gst/gstminiobject.c:
13942         * tests/check/gst/gstobject.c:
13943         * tests/check/gst/gstpad.c:
13944         * tests/check/gst/gstpipeline.c:
13945         * tests/check/gst/gstplugin.c:
13946         * tests/check/gst/gstquery.c: (gst_query_suite):
13947         * tests/check/gst/gstsegment.c: (gst_segment_suite):
13948         * tests/check/gst/gststructure.c:
13949         * tests/check/gst/gstsystemclock.c:
13950         * tests/check/gst/gsttag.c:
13951         * tests/check/gst/gsttask.c: (gst_task_suite):
13952         * tests/check/gst/gstutils.c:
13953         * tests/check/gst/gstvalue.c:
13954         * tests/check/libs/adapter.c:
13955         * tests/check/libs/basesrc.c:
13956         * tests/check/libs/collectpads.c:
13957         * tests/check/libs/controller.c:
13958         * tests/check/libs/gdp.c: (gst_dp_suite):
13959         * tests/check/libs/gstnetclientclock.c:
13960         * tests/check/libs/gstnettimeprovider.c:
13961         * tests/check/libs/libsabi.c: (libsabi_suite):
13962         * tests/check/libs/typefindhelper.c:
13963         * tests/check/pipelines/cleanup.c:
13964         * tests/check/pipelines/parse-launch.c:
13965         * tests/check/pipelines/simple-launch-lines.c:
13966         * tests/check/pipelines/stress.c: (stress_suite):
13967           use the new macro
13968
13969 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13970
13971         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13972         * libs/gst/check/gstcheck.h:
13973           create a macro and function so that the simple unit test
13974           case can be just one macro to create main()
13975
13976 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
13977
13978         * gst/gstbin.c: (gst_bin_restore_thyself):
13979         * gst/gstxml.c: (gst_xml_make_element):
13980           Fix deserialisation from XML. Set parent manually
13981           instead of using gst_bin_add(), since gst_bin_add()
13982           will unlink all pads of the element being added.
13983           Fixes #341667.
13984
13985 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
13986
13987         Patch by: Peter Kjellerstedt <pkj at axis com>
13988
13989         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13990           Fix missing g_strdup() and double free when using the
13991           --gst-plugin-load command line option (#346097).
13992
13993 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13994
13995         * gst/gstinfo.c:
13996           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13997
13998         * libs/gst/net/gstnetclientclock.c:
13999         * libs/gst/net/gstnettimeprovider.c:
14000           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14001
14002 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14003
14004         * docs/manual/advanced-dataaccess.xml:
14005           Fix buffer probe example compilation in
14006           ADM (#345708).
14007         
14008 2006-06-22  Edward Hervey  <edward@fluendo.com>
14009
14010         * gst/gstelement.c: (gst_element_pads_activate):
14011         We need to deactivate src pads first and then sink pads.
14012         The reason is the src pads might be blocking while holding the streaming
14013         lock, so we need to deactivate them first so that deactivating the sink
14014         pads doesn't block (since it will require the streaming lock).
14015
14016 2006-06-22  Wim Taymans  <wim@fluendo.com>
14017
14018         * libs/gst/base/gstbasetransform.c:
14019         (gst_base_transform_buffer_alloc):
14020         Forgot to remove two unneeded unrefs.
14021         Simplify a check _is_equal allready checks the obvious case.
14022
14023 2006-06-22  Wim Taymans  <wim@fluendo.com>
14024
14025         * docs/design/part-block.txt:
14026         Some docs about what pad_block should do.
14027
14028 2006-06-22  Wim Taymans  <wim@fluendo.com>
14029
14030         * gst/gstcaps.c: (gst_caps_replace):
14031         Fix crasher when passed NULL. Doc clarification.
14032         Optimize for the trivial case.
14033
14034         * gst/gstpipeline.c: (gst_pipeline_change_state):
14035         Small cleanups.
14036
14037         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14038         Small documentation cleanup.
14039
14040         * libs/gst/base/gstbasetransform.c:
14041         (gst_base_transform_buffer_alloc):
14042         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14043         is what we need and it avoids a whole lot of redundant 
14044         refcount operations.
14045
14046 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14047
14048         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14049
14050         * docs/manual/advanced-dataaccess.xml:
14051           Fix 'Embedding static elements' section to use
14052           GST_PLUGIN_DEFINE_STATIC (#345607).
14053
14054 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14055
14056         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14057           Attempt to 'fix' spuriously failing test case: it seems like the
14058           timeout of half a second is simply too small when the system is under
14059           load otherwise, and the timeout doesn't really seem to serve any
14060           particular purpose here. Give the pipeline a few seconds to preroll
14061           first, and then give it another half a second to go from PAUSED to
14062           PLAYING and marshal the message into the main thread.
14063
14064 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14065
14066         * tools/gst-feedback-m.m:
14067           Don't only use unversioned tools, try versioned tools as well
14068           (#345086).
14069
14070 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14071
14072         * gst/gstbus.c: (gst_bus_class_init):
14073           Fix some typos, make docs more explicit.
14074
14075 2006-06-20  Wim Taymans  <wim@fluendo.com>
14076
14077         * tests/check/gst/gstghostpad.c: (block_callback),
14078         (GST_START_TEST), (gst_ghost_pad_suite):
14079         Added some more ghostpad tests, mainly blocking
14080         and probes.
14081
14082 2006-06-16  Wim Taymans  <wim@fluendo.com>
14083
14084         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14085         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14086         (gst_file_sink_event), (gst_file_sink_render):
14087         * plugins/elements/gstfilesink.h:
14088         Check if we can seek in the file instead of assuming
14089         we always can. Post an error when we are asked to seek in a
14090         non-seekable file (like a fifo). Fixes #343312.
14091         Some cleanups.
14092
14093 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14094
14095         * tools/gst-launch.1.in:
14096           Un-garble (fourcc) bit in filtered caps section.
14097
14098 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14099
14100         * docs/manual/advanced-autoplugging.xml:
14101         * docs/manual/basics-helloworld.xml:
14102         * docs/manual/highlevel-components.xml:
14103           Don't leak bus reference in sample code.
14104
14105 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14106
14107         * autogen.sh:
14108           Add default for new --enable-plugin-docs switch.
14109
14110         * configure.ac:
14111           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14112           Fixes #344039.
14113
14114         * docs/Makefile.am:
14115           Use new ENABLE_PLUGIN_DOCS conditional.
14116
14117 2006-06-14  Wim Taymans  <wim@fluendo.com>
14118
14119         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14120         Make it clear with a FIXME and a real define what the #if 0
14121         previously disabled.
14122
14123 2006-06-14  Wim Taymans  <wim@fluendo.com>
14124
14125         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14126         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14127         * libs/gst/base/gstbasetransform.c:
14128         (gst_base_transform_sink_eventfunc):
14129         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14130         Don't randomly and silently reset a segment when the format 
14131         changes as this is a bug somewhere upstream. Fixes #330379.
14132
14133 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14134
14135         Patch by: Wouter Paesen  <wouter at kangaroot net>
14136
14137         * libs/gst/controller/gstcontroller.c:
14138         (gst_controlled_property_new):
14139           Fix controlling of float properties (#344849).
14140
14141         * tests/check/libs/controller.c:
14142         (gst_test_mono_source_get_property),
14143         (gst_test_mono_source_set_property),
14144         (gst_test_mono_source_class_init), (GST_START_TEST):
14145           While we're at it, add some float stuff to unit test.
14146
14147 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14148
14149         * docs/README:
14150         * docs/images/gdp-header.svg:
14151           add a gdp image
14152         * docs/libs/Makefile.am:
14153         * docs/libs/gdp-header.png:
14154         * libs/gst/dataprotocol/dataprotocol.c:
14155           add it to the API docs
14156         * docs/manual/intro-motivation.xml:
14157           fix typo
14158
14159 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14160
14161         * gst/gst.c: (scan_and_update_registry), (init_post):
14162           If the fork()'ed child process can't write the updated registry cache
14163           file to disk for some reason, make it exit with a failure exit code,
14164           so that the parent can then re-scan the plugins itself and update the
14165           registry structures in memory and work with that (rather than failing
14166           when creating elements because seemingly no plugins are available).
14167           Refactor registry scanning code into separate function for this and
14168           also separate fork() and non-fork() code paths. Fixes #344748.
14169
14170 2006-06-13  Wim Taymans  <wim@fluendo.com>
14171
14172         * docs/manual/advanced-dataaccess.xml:
14173         Fix wrong PluginDesc. Fixes #344755.
14174
14175 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14176
14177         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14178           Fix silly bug that prevented us from creating
14179           ~/.gstreamer-0.10 and writing the registry in one
14180           go (the first call to g_mkstemp() would overwrite the
14181           placeholder in the template string, so the second call
14182           to g_mkstemp() after creating the missing directory
14183           would then error out with 'invalid argument').
14184
14185 2006-06-13  Edward Hervey  <edward@fluendo.com>
14186
14187         * gst/gst.c: (init_post):
14188         Free string.
14189
14190 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14191
14192         * gst/glib-compat-private.h:
14193         * gst/glib-compat.c:
14194         * gst/glib-compat.h:
14195         * gst/gstvalue.c: (gst_value_serialize_flags):
14196           remove GLib 2.6 compatibility code
14197
14198 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14199
14200         * gst/parse/Makefile.am:
14201           Fix build with 'make -j N' even more (#340016).
14202
14203 2006-06-12  Wim Taymans  <wim@fluendo.com>
14204
14205         * docs/gst/gstreamer-sections.txt:
14206         Fix docs.
14207
14208 2006-06-12  Wim Taymans  <wim@fluendo.com>
14209
14210         * gst/gstsegment.c: (gst_segment_set_duration),
14211         (gst_segment_set_last_stop), (gst_segment_set_seek),
14212         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14213         (gst_segment_to_running_time), (gst_segment_clip):
14214         Use G_UNLIKELY to help the compiler a bit.
14215
14216 2006-06-12  Wim Taymans  <wim@fluendo.com>
14217
14218         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14219
14220         * gst/gstevent.c: (gst_event_get_type):
14221         * gst/gstmessage.c:
14222         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14223         (gst_pad_push):
14224         constify quark registration strings. Fixes #344115
14225         Avoid unneeded type checking is _pad_push() by internally
14226         calling gst_pad_chain_unchecked().
14227
14228 2006-06-12  Wim Taymans  <wim@fluendo.com>
14229
14230         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14231         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14232         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14233         (gst_buffer_is_span_fast), (gst_buffer_span):
14234         Init _type for consistency.
14235         Use _FLAGS macro to avoid type check.
14236         Avoid unneeded type checks in subbufer code.
14237
14238 2006-06-12  Wim Taymans  <wim@fluendo.com>
14239
14240         * gst/gst.c: (gst_debug_help):
14241         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14242         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14243         (gst_plugin_feature_list_free):
14244         * gst/gstregistry.c: (gst_registry_add_plugin),
14245         (gst_registry_add_feature), (gst_registry_plugin_filter),
14246         (gst_registry_feature_filter), (gst_registry_find_plugin),
14247         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14248         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14249         * gst/gstregistryxml.c: (load_feature),
14250         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14251         * gst/gstminiobject.c: (gst_mini_object_unref),
14252         (gst_mini_object_replace), (gst_value_mini_object_free),
14253         (gst_value_mini_object_copy):
14254         Use _CAST macros to avoid unneeded type checking.
14255         Added some more G_UNLIKELY.
14256
14257 2006-06-12  Wim Taymans  <wim@fluendo.com>
14258
14259         * gst/gstbuffer.h:
14260         Avoid unneeded type checking.
14261         API: GST_BUFFER_IS_DISCONT
14262
14263         * gst/gstminiobject.h:
14264         Avoid type check in flag accessor.
14265
14266         * gst/gstelementfactory.h:
14267         * gst/gstplugin.h:
14268         * gst/gstpluginfeature.h:
14269         Add _CAST macros.
14270         API: GST_ELEMENT_FACTORY_CAST
14271         API: GST_PLUGIN_CAST
14272         API: GST_PLUGIN_FEATURE_CAST
14273
14274 2006-06-12  Wim Taymans  <wim@fluendo.com>
14275
14276         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14277         (gst_object_unref):
14278         Add G_UNLIKELY in type registration.
14279         Avoid type check in _ref/_unref since that is also
14280         done in glib.
14281
14282 2006-06-12  Wim Taymans  <wim@fluendo.com>
14283
14284         * gst/gsterror.c: (gst_g_error_get_type):
14285         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14286         (gst_static_pad_template_get_type):
14287         * gst/gsttaglist.c: (gst_tag_list_get_type):
14288         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14289         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14290         * gst/gsturi.c: (gst_uri_handler_get_type):
14291         * gst/gstvalue.c: (gst_date_get_type):
14292         * gst/gstxml.c: (gst_xml_get_type):
14293         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14294         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14295         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14296         Add G_UNLIKELY in type registration.
14297
14298 2006-06-12  Wim Taymans  <wim@fluendo.com>
14299
14300         * tools/gst-inspect.c: (print_signal_info):
14301         Properly print enum values.
14302
14303 2006-06-12  Wim Taymans  <wim@fluendo.com>
14304
14305         * gst/gstinfo.c: (gst_debug_set_active),
14306         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14307         * gst/gstinfo.h:
14308         Add some G_[UN]LIKELY.
14309         Maintain __gst_debug_min to avoid formatting the arguments of
14310         debug messages that will be dropped anyway to avoid a lot of 
14311         overhead from the debugging system.
14312
14313 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14314
14315         * po/POTFILES.in:
14316         * po/POTFILES.skip:
14317           add missing files containing translatable strings, tell intltool about
14318           one exception
14319
14320 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14321
14322         * tests/check/libs/.cvsignore:
14323         add test-binary to ignore list
14324
14325 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14326
14327         * docs/libs/gstreamer-libs-docs.sgml:
14328         reorder (put dp into a chapter) and indent
14329
14330 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14331
14332         * configure.ac:
14333           back to HEAD
14334
14335 === release 0.10.8 ===
14336
14337 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14338
14339         * configure.ac:
14340           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14341
14342 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14343
14344         * gst/gst.c: (init_post):
14345           move pid declaration to declaration block
14346
14347 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14348
14349         * gst/gst.c: (init_post):
14350           use _exit() instead of exit() in our forked child; this ensures
14351           that none of the registered exit handlers from whatever is using
14352           GStreamer get executed.  This fixes gnome-mixer-applet failing
14353           to load, because ORBit would shut down.
14354           Spotted by: Edward Hervey  <edward@fluendo.com>
14355           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14356           Fixes #344474
14357
14358 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14359
14360         * configure.ac:
14361           back to TRUNK
14362
14363 === release 0.10.7 ===
14364
14365 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14366
14367         * configure.ac:
14368           releasing 0.10.7, "Soepeke, ik zie ou"
14369
14370 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14371
14372         * configure.ac:
14373         * po/af.po:
14374         * po/az.po:
14375         * po/bg.po:
14376         * po/ca.po:
14377         * po/cs.po:
14378         * po/de.po:
14379         * po/en_GB.po:
14380         * po/fr.po:
14381         * po/it.po:
14382         * po/nb.po:
14383         * po/nl.po:
14384         * po/ru.po:
14385         * po/sq.po:
14386         * po/sr.po:
14387         * po/sv.po:
14388         * po/tr.po:
14389         * po/uk.po:
14390         * po/vi.po:
14391         * po/zh_CN.po:
14392         * po/zh_TW.po:
14393         * win32/common/config.h:
14394           0.10.6.2 prerelease
14395
14396 2006-06-07  Wim Taymans  <wim@fluendo.com>
14397
14398         * gst/gstindex.c: (gst_index_gtype_resolver):
14399         * tools/gst-xmlinspect.c: (print_plugin_info):
14400         Fix leak spotted by coverity checker. Fixes #343827
14401         Fix another other leak found by paolo borelli.
14402
14403 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14404
14405         * libs/gst/dataprotocol/dataprotocol.c:
14406         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14407         (gst_dp_version_get_type), (gst_dp_init),
14408         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14409         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14410         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14411         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14412         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14413         (gst_dp_packetizer_free):
14414         * libs/gst/dataprotocol/dataprotocol.h:
14415           API: add a GstDPPacketizer object, and create/free functions
14416           API: add GstDPVersion enum
14417           Add 1.0 event function that uses the string serialization
14418           Serialize more useful buffer flags
14419           Fixes #343988
14420
14421 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14422
14423         * tests/check/Makefile.am:
14424         * tests/check/gst/gstabi.c:
14425         * tests/check/gst/struct_ppc64.h:
14426         * tests/check/libs/libsabi.c:
14427         * tests/check/libs/struct_ppc64.h:
14428           add ppc64 structure sizes
14429
14430 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14431
14432         * tests/check/Makefile.am:
14433         * tests/check/gst/gstabi.c:
14434         * tests/check/gst/struct_x86_64.h:
14435         * tests/check/libs/libsabi.c:
14436         * tests/check/libs/struct_x86_64.h:
14437           generate and add structure size lists for x86_64
14438
14439 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14440
14441         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14442         * libs/gst/check/gstcheck.h:
14443           factor out the method from tests that checks size of structures,
14444           and add code to generate the header containing these sizes
14445         * tests/check/gst/gstabi.c: (GST_START_TEST):
14446         * tests/check/gst/struct_i386.h:
14447         * tests/check/libs/libsabi.c: (GST_START_TEST):
14448         * tests/check/libs/struct_i386.h:
14449           use it
14450
14451 2006-06-06  Michael Smith  <msmith@fluendo.com>
14452
14453         * gst/gstsegment.h:
14454           Don't use c++-style comments, fixes #343929
14455
14456 2006-06-05  Edward Hervey  <edward@fluendo.com>
14457
14458         * gst/gst.c:
14459         plugin_paths is not used if we build without registry support.
14460
14461         * gst/gstsegment.c: (gst_segment_copy): 
14462         _copy() was always returning NULL...
14463
14464 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14465
14466         * libs/gst/dataprotocol/dataprotocol.c:
14467         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14468         (gst_dp_packet_from_event):
14469           factor out CRC code
14470
14471 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14472
14473         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14474           make sure we unset caps
14475
14476 2006-06-02  Michael Smith  <msmith@fluendo.com>
14477
14478         * libs/gst/check/gstcheck.c: (gst_check_init),
14479         (gst_check_chain_func):
14480         * libs/gst/check/gstcheck.h:
14481           Add a cond/mutex to the check support lib, signal this whenever we
14482           add to the buffers list. This will allow tests to not busy-wait on
14483           the buffer-list.
14484
14485 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14486
14487         * libs/gst/dataprotocol/dataprotocol.c:
14488         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14489         (gst_dp_packet_from_event):
14490           factor out some common header init code
14491
14492 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14493
14494         * docs/libs/gstreamer-libs-sections.txt:
14495         * docs/libs/tmpl/gstdataprotocol.sgml:
14496         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14497         * libs/gst/dataprotocol/dataprotocol.h:
14498           API: make gst_dp_crc() public
14499
14500 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14501
14502         * plugins/indexers/gstindexers.c: (plugin_init):
14503         conditionally register fileindexer (fixes #343598)
14504
14505 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14506
14507         * gst/gsttagsetter.h:
14508         Can't cast ifaces to a class
14509
14510         * libs/gst/net/gstnetclientclock.h:
14511         * libs/gst/net/gstnettimeprovider.h:
14512         * plugins/elements/gstfakesink.h:
14513         * plugins/elements/gstfakesrc.h:
14514         * plugins/elements/gstfdsink.h:
14515         * plugins/elements/gstfdsrc.h:
14516         * plugins/elements/gstfilesink.h:
14517         * plugins/elements/gstfilesrc.h:
14518         * plugins/elements/gstidentity.h:
14519         * plugins/elements/gstqueue.h:
14520         * plugins/elements/gsttee.h:
14521         * plugins/indexers/gstfileindex.c:
14522         * plugins/indexers/gstmemindex.c:
14523         * tests/old/examples/plugins/example.h:
14524         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14525
14526 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14527
14528         * libs/gst/dataprotocol/dataprotocol.c:
14529         (gst_dp_header_from_buffer):
14530           make sure we zero the whole ABI-compatible area
14531
14532 2006-06-01  Wim Taymans  <wim@fluendo.com>
14533
14534         Patch by: Alessandro Decina <alessandro at nnva dot org>
14535
14536         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14537         Make sure the EOS flag is cleared from pads after a flush
14538         or stop. Fixes #343538.
14539
14540         * tests/check/libs/collectpads.c: (GST_START_TEST),
14541         (gst_collect_pads_suite):
14542         Added test for collectpads reusage after EOS.
14543
14544 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14545
14546         * gst/gst.c:
14547          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14548         * win32/common/libgstbase.def:
14549          export gst_collect_pads_set_flushing
14550         * win32/common/libgstreamer.def:
14551          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14552          gst_value_fraction_multiply
14553         * win32/vs6/gst_inspect.dsp:
14554          add a link to intl.lib
14555
14556 2006-05-30  Wim Taymans  <wim@fluendo.com>
14557
14558         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14559         (gst_collect_pads_chain):
14560         Handle the case where a pad is removed from the collection
14561         that could cause the other pads to become collectable.
14562
14563 2006-05-30  Wim Taymans  <wim@fluendo.com>
14564
14565         * gst/gstelement.c:
14566         Clarify the use of _release_request_pad() and
14567         _get_request_pad() a bit better.
14568
14569         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14570         (gst_adapter_take_buffer):
14571         Fix some doc and comment typos.
14572
14573 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14574
14575         * docs/gst/gstreamer-sections.txt:
14576         * docs/libs/gstreamer-libs-sections.txt:
14577           add declared symbols
14578
14579 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14580
14581         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14582         Add debug that can be enabled using a #define at the top of the file,
14583         for dumping stats about how late/early we were when waking up from
14584         waiting on the clock.
14585
14586 2006-05-30  Wim Taymans  <wim@fluendo.com>
14587
14588         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14589         When rebuilding the pad list, don't leak the previous list.
14590
14591 2006-05-30  Wim Taymans  <wim@fluendo.com>
14592
14593         Patch by: Lutz Mueller <lutz at topfrose dot de>
14594
14595         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14596         (gst_base_src_get_query_types), (gst_base_src_update_length):
14597         Publish supported query types.
14598         Update last_stop field in get_range mode so the position
14599         query works. Fixes #342321.
14600
14601 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14602
14603         * docs/gst/gstreamer-sections.txt:
14604         * gst/gsttaglist.c: (_gst_tag_initialize):
14605         * gst/gsttaglist.h:
14606           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14607
14608 2006-05-30  Wim Taymans  <wim@fluendo.com>
14609
14610         Patch by: Alessandro Decina <alessandro at nnva dot org>
14611
14612         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14613         Unlock mutex when removing an unknown pad.
14614         Fixes #343334.
14615
14616         * tests/check/Makefile.am:
14617         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14618         (push_event), (setup), (teardown), (GST_START_TEST),
14619         (gst_collect_pads_suite), (main):
14620         Added collecpads check, disabled for now as check crashes for
14621         some reason.
14622
14623 2006-05-29  Wim Taymans  <wim@fluendo.com>
14624
14625         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14626         Don't leak pads lists.
14627
14628 2006-05-29  Wim Taymans  <wim@fluendo.com>
14629
14630         * docs/libs/gstreamer-libs-sections.txt:
14631         * libs/gst/base/gstcollectpads.c:
14632         (gst_collect_pads_set_flushing_unlocked),
14633         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14634         (gst_collect_pads_stop):
14635         * libs/gst/base/gstcollectpads.h:
14636         API: gst_collect_pads_set_flushing()
14637         Added api to set the pads to flushing, useful for seeking
14638         code in elements using collectpads.
14639         Clear segment when receiving a flush.
14640
14641 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14642
14643         * gst/gst.c: (add_path_func), (init_post):
14644           Don't scan registry paths passed via --gst-plugin-path immediately
14645           (will crash, because absolutely nothing is set up and no types are
14646           registered etc.); do this later in init_post(). Fixes #343057.
14647
14648 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14649
14650         * gst/gst.c: (init_post):
14651           if we have fork, fork while reading/rebuilding the registry
14652           so the parent doesn't take the hit of having all plugins loaded
14653           in memory.  Fixes #342777.
14654         * configure.ac:
14655           Check if we have fork()
14656         * win32/common/config.h.in:
14657           no fork() on win32
14658
14659 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14660
14661         * plugins/elements/gstelements.c:
14662         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14663         (gst_file_src_init), (gst_file_src_set_property),
14664         (gst_file_src_get_property), (gst_file_src_start):
14665         * plugins/elements/gstfilesrc.h:
14666           API: GstFileSrc::use-mmap
14667
14668         Add a use-mmap property to enable easier testing of all code paths.
14669         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14670         in the absence of gnomevfssrc. (Closes #340501)
14671
14672 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14673
14674         * tools/gst-inspect.c:
14675         Add missing include, removes warning of ngettext not being defined on
14676         some arches.
14677
14678 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14679
14680         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14681         Handle NULL input and output pointers silently as a failed conversion,
14682         rather than g_warnings.
14683
14684 2006-05-25  Wim Taymans  <wim@fluendo.com>
14685
14686         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14687         Initialize variable before using. Fixes #342820.
14688
14689 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14690
14691         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14692           Fix off-by-one bug that would only allow peeks of N-1 bytes
14693           from the start even if the buffer to typefind on contains
14694           in fact N bytes of data (makes vorbis typefinding from a
14695           vorbis identification header buffer work).
14696
14697         * tests/check/Makefile.am:
14698         * tests/check/libs/.cvsignore:
14699         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14700         (gst_typefindhelper_suite), (main), (foobar_typefind),
14701         (plugin_init):
14702           Add very basic unit test for gst_type_find_helper_for_buffer()
14703           that checks for the problem fixed above.
14704
14705 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14706
14707         * tools/gst-inspect.c: (print_interfaces),
14708         (print_element_properties_info), (print_element_list), (main):
14709           add more translatable strings
14710
14711 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14712
14713         Patch by: Julien Moutte  <julien at moutte net>
14714
14715         * docs/gst/gstreamer-sections.txt:
14716           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14717           
14718         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14719         (gst_fake_sink_preroll):
14720         * plugins/elements/gstfakesink.h:
14721           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14722
14723 2006-05-23  Wim Taymans  <wim@fluendo.com>
14724
14725         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14726         * gst/gstpad.h:
14727         Added _CUSTOM error and success GstFlowReturn that can be
14728         used be elements internally. 
14729         Added macro to check for SUCCESS flowreturns.
14730         API: GST_FLOW_CUSTOM_SUCCESS
14731         API: GST_FLOW_CUSTOM_ERROR
14732         API: GST_FLOW_IS_SUCCESS
14733
14734         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14735         Added check for GstFlowReturn sanity.
14736
14737 2006-05-23  Wim Taymans  <wim@fluendo.com>
14738
14739         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14740
14741         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14742         (gst_collect_pads_event):
14743         clear/reset segment info in FLUSH_STOP.
14744         Fixes #336929.
14745
14746 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14747
14748         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14749         (gst_collect_pads_check_collected):
14750         Flush queued buffer on _stop(), fixes playing again (#342454)
14751
14752 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14753
14754         * tests/check/gst/gststructure.c: (GST_START_TEST),
14755         (gst_structure_suite):
14756           add a test for a complete structure
14757
14758 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14759
14760         * docs/faq/developing.xml:
14761         * docs/faq/faq.xml:
14762         * docs/faq/troubleshooting.xml:
14763         * docs/faq/using.xml:
14764           Some minor FAQ updates that won't change the fact that
14765           our FAQ is badly structured, full of information hardly
14766           anyone new to GStreamer needs to know and lacking lots
14767           of information people constantly ask for.
14768           
14769 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14770
14771         * gst/gstpad.c: (gst_pad_set_caps):
14772           Short-circuit gst_pad_set_caps if setting the existing
14773           caps pointer again, and avoid printing debug and 
14774           reffing/unreffing the caps.
14775
14776         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14777           There's actually no need to set the caps before pushing -
14778           the acceptcaps method will handle it anyway.
14779
14780 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14781
14782         * docs/gst/gstreamer-sections.txt:
14783         * win32/common/libgstreamer.def:
14784         * gst/gstutils.c: (gst_element_seek_simple):
14785         * gst/gstutils.h:
14786           API: add gst_element_seek_simple() (#342238).
14787
14788 2006-05-18  Edward Hervey  <edward@fluendo.com>
14789
14790         * gst/gsttypefind.c: (gst_type_find_get_type):
14791         * gst/gsttypefind.h:
14792         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14793         registered for GstTypeFind pointers. This allows wrapping the structure
14794         in bindings (i.e. gst-python).
14795
14796 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14797
14798         * gst/gsttagsetter.c:
14799           Docs additions and fixes (see #339918).
14800
14801 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14802
14803         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14804         The caps intersection algorithm can produce multiple copies of the
14805         caps. Until that is fixed, we need to simplify the result to be
14806         sure whether the allowed caps are fixed or not.
14807
14808         * plugins/elements/gstqueue.c: (gst_queue_init),
14809         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14810         (gst_queue_push_one):
14811         Proxied buffer alloc should not set the caps on the source pad.
14812         When pushing buffers, we always accept the caps change that triggers.
14813         This prevents negotiation errors caused by caps changing mid-stream 
14814         and then being refused on our source pad (because upstream is now
14815         refusing those caps).
14816
14817 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14818
14819         * tests/examples/helloworld/helloworld.c: (main):
14820           Must plug audioconvert and audioresample between decoder
14821           and audio sink.
14822
14823 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14824
14825         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14826         (load_feature), (load_plugin):
14827         Allow empty strings for some of the plugin fields so we don't 
14828         drop valid plugin entries that were written out correctly
14829         (Fixes #341479)
14830
14831 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14832         
14833         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14834           Use g_remove and g_rename instead of remove and rename that don't 
14835           handle utf8 characters. rename was failing for users who had specific
14836           characters in their name then the registry was built at each 
14837           gstreamer init.
14838         * win32/vs6/gst_inspect.dsp:
14839         * win32/vs6/gst_launch.dsp:
14840         * win32/vs6/libgstbase.dsp:
14841         * win32/vs6/libgstcoreelements.dsp:
14842         * win32/vs6/libgstreamer.dsp:
14843           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14844           build of libgstreamer and clean unused libraries in projects link 
14845           settings.
14846
14847 2006-05-17  Edward Hervey  <edward@fluendo.com>
14848
14849         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14850         The queue is not responsible for pushing an EOS when receiving a fatal
14851         flow error. It's up to the real element driving the pipeline to do that.
14852
14853 2006-05-16  Edward Hervey  <edward@fluendo.com>
14854
14855         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14856         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14857         buffer returned a fatal error. It should just send an EOS and stop
14858         its task.
14859         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14860         when pushing buffers on the queue and will be able to handle the event.
14861
14862 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14863
14864         * docs/manual/basics-bins.xml:
14865         * docs/manual/basics-init.xml:
14866           Fix typos and minor errors in sample code (#341856).
14867
14868 2006-05-16  Wim Taymans  <wim@fluendo.com>
14869
14870         * docs/design/part-qos.txt:
14871         Fix indexes in formulas to make more sense.
14872
14873 2006-05-15  Wim Taymans  <wim@fluendo.com>
14874
14875         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14876         Don't report POSITION based on clock time if sync is
14877         disabled in a sink.
14878
14879 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14880
14881         * gst/gstobject.h:
14882           Add cast to make compiler happy - refcount variable was a gint
14883           in GstObject but is a guint in GObject and g_atomic_int_get()
14884           wants a gint *.
14885
14886 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14887
14888         * gst/parse/Makefile.am:
14889           chain commands using &&, which also makes parallel make work
14890
14891 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
14892
14893         * docs/gst/gstreamer-sections.txt:
14894         * gst/gstevent.c:
14895         * gst/gstevent.h:
14896         * gst/gstmessage.h:
14897           Minor docs fixes.
14898
14899 === release 0.10.6 ===
14900
14901 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
14902
14903         * configure.ac:
14904           releasing 0.10.6, "Take the cannoli"
14905
14906 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
14907
14908         * tools/gst-launch.c: (print_tag):
14909           Fix use of uninitialized variable in the hypothetical
14910           case that some broken plugin creates a GST_TAG_IMAGE
14911           tag containing a NULL buffer (#341667).
14912
14913 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
14914
14915         * tools/gst-launch.c: (print_tag):
14916           Print something more intelligible for image tags when
14917           using the -t switch (#341556).
14918
14919 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14920
14921         * Makefile.am:
14922           updates for win32
14923         * configure.ac:
14924           define GST_MAJORMINOR so we have it available in win32/common/config.h
14925           Possibly remove it from our Makefile.am files later
14926         * win32/common/config.h:
14927         * win32/common/config.h.in:
14928           added GST_MAJORMINOR
14929         * win32/common/gstenumtypes.c: (register_gst_resource_error):
14930         * win32/common/gstversion.h:
14931           updated
14932
14933 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
14934
14935         * win32/MANIFEST:
14936           Update win32 files listing.
14937         * win32/common/gstversion.h:
14938           Add GST_MAJORMINOR definition.
14939         * win32/common/libgstreamer.def:
14940           Add new exported functions.
14941           
14942 2006-05-12  Michael Smith  <msmith@fluendo.com>
14943
14944         * gst/gstplugin.c: (gst_plugin_load_file):
14945           If an so file has no plugin entry point, unload the module.
14946
14947 2006-05-11  Wim Taymans  <wim@fluendo.com>
14948
14949         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14950         (gst_queue_set_property):
14951         Don't forget to signal the _chain or _loop function 
14952         when the queue size or thresholds change since that might
14953         cause them to make progres again.
14954
14955 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
14956
14957         * gst/gstclock.c: (gst_clock_class_init):
14958         * gst/gstindex.c: (gst_index_class_init):
14959         * gst/gstobject.c: (gst_object_class_init):
14960         * gst/gstpad.c: (gst_pad_class_init):
14961         * gst/gstpipeline.c: (gst_pipeline_class_init):
14962         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14963         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14964         * libs/gst/base/gstbasetransform.c:
14965         (gst_base_transform_class_init):
14966         * libs/gst/net/gstnetclientclock.c:
14967         (gst_net_client_clock_class_init):
14968         * libs/gst/net/gstnettimeprovider.c:
14969         (gst_net_time_provider_class_init):
14970         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14971         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14972         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14973         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14974         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14975         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14976         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14977         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14978         * plugins/elements/gsttee.c: (gst_tee_class_init):
14979         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14980         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14981           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14982
14983 2006-05-11  Wim Taymans  <wim@fluendo.com>
14984
14985         * gst/gstbuffer.c: (_gst_buffer_initialize):
14986         Register subbufer along with the buffer type so that
14987         it does not accidentally gets registered from N
14988         different streaming threads in a non threadsafe way.
14989
14990 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14991
14992         * gst/gstbuffer.h:
14993         * gst/gstevent.h:
14994         * gst/gstmessage.h:
14995           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14996           gst_event_ref() and gst_message_ref() functions again
14997           (ugly hack, please do fix if there's a better way besides
14998           overrides.txt, which doesn't seem to work).
14999
15000 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15001
15002         * libs/gst/check/gstcheck.h:
15003           add an assert for setting state to avoid lots of repetitive code
15004           in the future
15005
15006 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15007
15008         * gst/gstvalue.c: (gst_value_serialize_flags):
15009           fix a leak if no flags are set
15010         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15011           fix leak in tests
15012
15013 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15014
15015         * docs/manual/basics-pads.xml:
15016           Expand a bit on caps and filtered links and update
15017           examples that were still using the no longer existing
15018           gst_pad_link_filtered() (#338206).
15019
15020 2006-05-10  Wim Taymans  <wim@fluendo.com>
15021
15022         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15023         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15024         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15025         (gst_collect_pads_stop):
15026         * libs/gst/base/gstcollectpads.h:
15027         No need to call _stop in _finalize.
15028         Iterate the main pad list in _finalize.
15029         Added some more debug.
15030         Free lists and data in the right order.
15031         Also free data whem doing _remove_pad when stopped for
15032         backward compatibility protect ::started with PAD_LOCK as
15033         well.
15034
15035 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15036
15037         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15038         (gst_structure_parse_value):
15039           add some comments
15040           rename a method so that it actually says what it does better
15041
15042 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15043
15044         * gst/gstevent.c: (_gst_event_initialize):
15045         * gst/gstformat.c: (_gst_format_initialize):
15046           make sure some essential types used by events are registered
15047           as part of gst_init()
15048         * gst/gstvalue.c: (gst_value_serialize_flags):
15049           if no flags are set, serialize them to a value that represents NONE
15050           so that deserializing them works
15051         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15052           add tests for serialization and deserialization of flags
15053
15054 2006-05-10  Wim Taymans  <wim@fluendo.com>
15055
15056         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15057         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15058         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15059         (gst_collect_pads_event), (gst_collect_pads_chain):
15060         Update docs.
15061         Better debug info.
15062         Catch and return errors from the collect function
15063         Refuse data on eos pads.
15064
15065 2006-05-10  Edward Hervey  <edward@fluendo.com>
15066
15067         * gst/gstinterface.h:
15068         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15069         GInterface type checking.
15070         They were previously using non-defined macros.
15071
15072 2006-05-09  Wim Taymans  <wim@fluendo.com>
15073
15074         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15075         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15076         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15077         (gst_collect_pads_start), (gst_collect_pads_stop),
15078         (gst_collect_pads_peek), (gst_collect_pads_pop),
15079         (gst_collect_pads_available), (gst_collect_pads_read),
15080         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15081         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15082         (gst_collect_pads_chain):
15083         * libs/gst/base/gstcollectpads.h:
15084         Clean up the mess that is collectpads, add comments and
15085         FIXMEs where needed.
15086         Maintain a separate pad list so we can add pads while
15087         collecting the other ones. For this we need a new separate 
15088         lock (see comics).
15089         Fix memory leak in finalize.
15090         Refactor some weird code to set/unset pad flushing flags, mark
15091         with comments.
15092         Don't crash in _available, _read, _flush when we're EOS.
15093
15094         * tests/check/libs/.cvsignore:
15095         Ignore adapter check binary.
15096
15097 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15098
15099         * gst/gstindex.c: (gst_index_resolver_get_type):
15100         * plugins/elements/gstfakesink.c:
15101         (gst_fake_sink_state_error_get_type):
15102         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15103         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15104         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15105           Const-ify GEnumValue arrays.
15106
15107 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15108
15109         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15110           Add test case for flags + gst_buffer_make_metadata_writable().
15111
15112 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15113
15114         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15115           gst_buffer_make_metadata_writable() should maintain the
15116           buffer flags (those that make sense at least) (see #340859).
15117
15118 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15119
15120         * tools/gst-inspect.c:
15121         * tools/gst-launch.c:
15122         * tools/gst-typefind.c:
15123         * tools/gst-xmlinspect.c:
15124         * tools/tools.h:
15125           Fix up includes: need to include stdlib.h in tools.h for exit().
15126
15127 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15128
15129         * gst/gsttaglist.c: (_gst_tag_initialize):
15130         * gst/gsttaglist.h:
15131           API: add GST_TAG_IMAGE tag (#340721).
15132
15133 2006-05-08  Wim Taymans  <wim@fluendo.com>
15134
15135         * gst/gstquery.c:
15136         Added some docs for the segment query.
15137
15138 2006-05-08  Wim Taymans  <wim@fluendo.com>
15139
15140         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15141         (gst_base_src_loop), (gst_base_src_change_state):
15142         Always push non-flushing serialized events in the streaming 
15143         thread.
15144
15145 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15146
15147         * gst/gsterror.c: (_gst_stream_errors_init):
15148           Add a missing error string.
15149
15150 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15151
15152         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15153         Add applied_rate to the debug
15154
15155         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15156         Copy applied_rate into the outgoing NEWSEGMENT event
15157
15158 2006-05-08  Wim Taymans  <wim@fluendo.com>
15159
15160         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15161
15162         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15163         (gst_base_sink_change_state):
15164         call ::unlock before taking the PREROLL_LOCK so we can safely
15165         handle elements that lock in ::render.
15166         Fixes #340174.
15167
15168 2006-05-08  Edward Hervey  <edward@fluendo.com>
15169
15170         * autogen.sh: (CONFIGURE_DEF_OPT): 
15171         Darwin's libtoolize is in fact called glibtoolize.
15172         Adding glibtoolize to the list of accepted names for libtoolize.
15173
15174 2006-05-08  Wim Taymans  <wim@fluendo.com>
15175
15176         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15177         Unify error handling, don't post an error message
15178         when a push() returns EOS but perform our normal EOS
15179         handling code. Fixes #340772.
15180
15181 2006-05-08  Wim Taymans  <wim@fluendo.com>
15182
15183         * docs/design/part-overview.txt:
15184         Make upsteam/downstream concepts more clear.
15185         Give an example of serialized/non-serialized events.
15186
15187         * docs/design/part-events.txt:
15188         * docs/design/part-streams.txt:
15189         Mention applied_rate.
15190
15191         * docs/design/part-trickmodes.txt:
15192         Mention applied rate, flesh out some more use cases.
15193
15194         * gst/gstevent.c: (gst_event_new_new_segment),
15195         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15196         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15197         (gst_event_parse_tag), (gst_event_new_buffer_size),
15198         (gst_event_parse_buffer_size), (gst_event_new_qos),
15199         (gst_event_parse_qos), (gst_event_parse_seek),
15200         (gst_event_new_navigation):
15201         * gst/gstevent.h:
15202         Add applied_rate field to NEWSEGMENT event.
15203         API: gst_event_new_new_segment_full()
15204         API: gst_event_parse_new_segment_full()
15205
15206         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15207         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15208         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15209         * gst/gstsegment.h:
15210         Add applied_rate to GstSegment structure.
15211         Make calculation of stream_time and running_time more correct
15212         wrt rate/applied_rate.
15213         Add some more docs.
15214         API: GstSegment::applied_rate field
15215         API: gst_segment_set_newsegment_full();
15216
15217         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15218         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15219         * libs/gst/base/gstbasetransform.c:
15220         (gst_base_transform_sink_eventfunc),
15221         (gst_base_transform_handle_buffer):
15222         Parse and use applied_rate in the GstSegment field.
15223
15224         * tests/check/gst/gstevent.c: (GST_START_TEST):
15225         Add check for applied_rate field.
15226
15227         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15228         (gstsegments_suite):
15229         Add more checks for various GstSegment operations.
15230
15231 2006-05-08  Wim Taymans  <wim@fluendo.com>
15232
15233         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15234         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15235         (gst_base_sink_get_position), (gst_base_sink_change_state):
15236         Store the sync time of the buffer end position separatly in a
15237         new variable eos_rtime so we can properly sync the EOS event.
15238         Fixes #340697.
15239         Fix the docs for gst_base_sink_set_qos_enabled().
15240         Don't set segment start to invalid value when we receive a 
15241         non TIME newsegment.
15242         get closer to handling position reporting for negative rates 
15243         correctly.
15244
15245 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15246
15247         * gst/gstcaps.c:
15248         Docs about how to print caps for debug purposes.
15249
15250         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15251         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15252
15253 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15254
15255         * gst/gstelement.c:
15256           use full enum names and preprend a '%' in docs strings to make recent 
15257           gtk-doc turn that into a link
15258
15259 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15260
15261         * docs/manual/basics-bins.xml:
15262         * docs/manual/basics-bus.xml:
15263         * docs/manual/basics-pads.xml:
15264           Some typo fixes, some additions, some clarifications. 
15265
15266 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15267
15268         * tools/gst-inspect.c: (main):
15269         * tools/gst-launch.c: (main):
15270         * tools/gst-run.c: (main):
15271         * tools/gst-typefind.c: (main):
15272         * tools/gst-xmlinspect.c: (main):
15273           Use the string passed to g_option_context_new() for
15274           what it's intended for - the program name is already
15275           printed elsewhere.
15276
15277 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15278
15279         * tools/Makefile.am:
15280         * tools/gst-inspect.c: (main):
15281         * tools/gst-launch.c: (main):
15282         * tools/gst-xmlinspect.c: (main):
15283         * tools/tools.h:
15284           Add back --version command line option (#340460).
15285
15286         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15287           Add --version option and use GOption for argument parsing; refactor a
15288           bit; accept directories as arguments and recurse into them; lastly,
15289           print a decent error message when things go wrong.
15290
15291 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15292
15293         * docs/manual/basics-bins.xml:
15294         Don't mention GstThread (#340611)
15295         * docs/manual/basics-elements.xml:
15296         Update link to GObject tutorial (#340607)
15297         
15298 2006-05-05  Wim Taymans  <wim@fluendo.com>
15299
15300         * gst/gstbuffer.h:
15301         * gst/gstminiobject.c:
15302         Add note about refcounting and miniobject/buffer writeability
15303         to docs. Fixes #340604
15304
15305         * gst/gstelementfactory.h:
15306         Added some explanation about @klass.
15307
15308 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15309
15310         * docs/manual/intro-motivation.xml:
15311         * docs/manual/manual.xml:
15312         Avoid CORBA & Bonobo references (#340598)
15313
15314 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15315
15316         * docs/manual/basics-bus.xml:
15317         * docs/manual/basics-pads.xml:
15318         Fix up some inaccuracies and omissions (#340609)
15319         
15320 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15321
15322         * gst/gstghostpad.c:
15323           Small typo in docs (#340625)
15324
15325 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15326
15327         * gst/parse/Makefile.am:
15328           Make 'make -j' proof (see #340698).
15329
15330 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15331
15332         * configure.ac:
15333           Require GLib-2.8 here as well.
15334
15335 2006-05-05  Wim Taymans  <wim@fluendo.com>
15336
15337         * gst/glib-compat.c:
15338         * gst/gst.c: (init_pre):
15339         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15340         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15341         (gst_object_dispatch_properties_changed):
15342         * gst/gstobject.h:
15343         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15344         * gst/gststructure.c: (gst_structure_set_valist):
15345         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15346         Remove pre glib2.8 compatibility, fixes #340508
15347
15348 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15349
15350         * gst/gsttaglist.h:
15351           Mention type of tags in doc blurbs.
15352
15353 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15354
15355         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15356         (gst_pad_configure_src), (gst_pad_push):
15357         Restore acceptcaps checking behaviour now that good plugins have
15358         been released.
15359
15360 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15361
15362         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15363
15364         * gst/gst.c:
15365         * gst/gstbus.c:
15366         * gst/gstclock.c:
15367         * gst/gstevent.c:
15368         * gst/gstformat.c:
15369         * gst/gstmessage.c:
15370         * gst/gstparse.c:
15371         * gst/gstquery.c:
15372         * gst/gstutils.c:
15373         * gst/parse/Makefile.am:
15374         * libs/gst/base/gstadapter.c:
15375         * libs/gst/base/gstbasesrc.c:
15376         * libs/gst/base/gstpushsrc.c:
15377         * libs/gst/base/gsttypefindhelper.c:
15378         * plugins/elements/gstfakesrc.c:
15379         * plugins/elements/gstidentity.c:
15380           Make sure gstprivate.h and/or config.h are
15381           always included first, otherwise some of our
15382           defines (like _FILE_OFFSET_BITS) might be
15383           redefined in the system headers. Fixes build
15384           on opensolaris (#340016).
15385
15386 2006-05-04  Wim Taymans  <wim@fluendo.com>
15387
15388         * docs/libs/gstreamer-libs-sections.txt:
15389         API: addition: gst_adapter_take_buffer()
15390         
15391         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15392         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15393         (gst_adapter_available_fast):
15394         * libs/gst/base/gstadapter.h:
15395         Prepare for optimizing the hell out of this hugely inefficient
15396         piece of code. 
15397         Added gst_adapter_take_buffer() so we can at least start thinking
15398         about subbuffering and merging.
15399         Added some comments.
15400
15401         * tests/check/Makefile.am:
15402         * tests/check/libs/adapter.c: (GST_START_TEST),
15403         (gst_adapter_suite), (main):
15404         Added GstAdapter check.
15405
15406 2006-05-04  Wim Taymans  <wim@fluendo.com>
15407
15408         * docs/design/part-overview.txt:
15409         Fix some typos, add blurb about buffer flags.
15410
15411 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15412
15413         * docs/libs/gstreamer-libs-sections.txt:
15414           make sure GstBaseTransformClass shows up in the docs
15415         * libs/gst/base/gstbasetransform.c:
15416         * libs/gst/base/gstbasetransform.h:
15417           move docs so gtk-doc picks it up now
15418
15419 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15420
15421         * docs/libs/gstreamer-libs-sections.txt:
15422           add missing symbols to docs
15423
15424 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15425
15426         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15427           back out the newsegment handling change, see #340060 for ongoing
15428           discussion
15429
15430 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15431
15432         * tools/gst-run.c: (get_candidates), (main):
15433           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15434           work); fix typo in error message. Fixes #340079.
15435
15436 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15437
15438         * common/Makefile.am:
15439         * docs/Makefile.am:
15440         * docs/faq/Makefile.am:
15441         * docs/gst/Makefile.am:
15442         * docs/libs/Makefile.am:
15443         * docs/manual/Makefile.am:
15444         * docs/plugins/Makefile.am:
15445         * docs/pwg/Makefile.am:
15446         * docs/slides/Makefile.am:
15447         * docs/upload.mak:
15448         * common/upload.mak:
15449           move upload.mak to common
15450
15451 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15452
15453         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15454           add more asserts on refcounts
15455           do more cleanup at end of tests
15456           fix test leaks showing in FC5
15457
15458 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15459
15460         * plugins/elements/gsttypefindelement.c:
15461         (gst_type_find_element_handle_event):
15462         reverted wrong change and reflowed code to avoid others falling into
15463         this trap
15464
15465 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15466
15467         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15468           fix changelog entry about last collectpads change,
15469           add notes about proper fix
15470
15471 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15472
15473         * gst/gst.c:
15474         * gst/gstregistry.c: (gst_registry_scan_path_level),
15475         (gst_registry_scan_path):
15476         * gst/gstregistry.h:
15477           only write out registry if it has changed, fixes #338339
15478
15479 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15480
15481         * gst/gstbin.c:
15482         * gst/gstpipeline.c:
15483         * plugins/elements/gstcapsfilter.c:
15484         * plugins/elements/gstfakesink.c:
15485         * plugins/elements/gstfakesrc.c:
15486         * plugins/elements/gstfdsink.c:
15487         * plugins/elements/gstfdsrc.c:
15488         * plugins/elements/gstfilesink.c:
15489         * plugins/elements/gstfilesrc.c:
15490         * plugins/elements/gstidentity.c:
15491         * plugins/elements/gstqueue.c:
15492         * plugins/elements/gsttee.c:
15493         * plugins/elements/gsttypefindelement.c:
15494         (gst_type_find_element_handle_event):
15495           make GstElementDetails const
15496
15497 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15498
15499         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15500         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15501         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15502           more detailed debug and formatting cleanup,
15503           forward newsegments to src-pad (so that e.g. adder not eats them)
15504
15505 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15506
15507         * gst/gstutils.c: (gst_element_link_pads):
15508           cleanup double code
15509
15510 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15511
15512         * libs/gst/controller/gstcontroller.c:
15513         (gst_controller_sync_values):
15514           some little tuning
15515         * tests/check/libs/controller.c: (GST_START_TEST),
15516         (gst_controller_suite):
15517           a new test for live value handling
15518
15519 2006-04-28  Wim Taymans  <wim@fluendo.com>
15520
15521         * gst/gstutils.c: (push_and_ref):
15522         Added some more docs.
15523         Fix refcount issue whith gst_element_found_tags() helper 
15524         function. Fixes #338335
15525
15526         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15527         Added testsuite for gst_element_found_tags().
15528
15529 2006-04-28  Michael Smith  <msmith@fluendo.com>
15530
15531         * gst/gstvalue.c: (gst_value_serialize_flags):
15532           Avoid NULL dereference when trying to serialize flags containing
15533           invalid values.
15534
15535 2006-04-28  Michael Smith  <msmith@fluendo.com>
15536
15537         * plugins/elements/gsttypefindelement.c:
15538         (gst_type_find_element_handle_event):
15539           If we get EOS before any data is accumulated, don't use
15540           uninitialised local variables.
15541
15542 2006-04-28  Michael Smith  <msmith@fluendo.com>
15543
15544         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15545         (gst_dp_event_from_packet):
15546           Fixes in reading/writing events over GDP (not currently used?) - 
15547           dereferencing NULL events for unknown/invalid event types, memory
15548           leak, and change g_warning to GST_WARNING.
15549
15550 2006-04-28  Wim Taymans  <wim@fluendo.com>
15551
15552         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15553         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15554         (gst_base_sink_get_position), (gst_base_sink_change_state):
15555         When frame dropping is enabled, we should not ignore frames
15556         without a duration.
15557         Update some documentation.
15558
15559 2006-04-28  Wim Taymans  <wim@fluendo.com>
15560
15561         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15562         (gst_base_src_send_event), (gst_base_src_change_state):
15563         Documentation updates.
15564
15565 2006-04-28  Wim Taymans  <wim@fluendo.com>
15566
15567         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15568         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15569         handle EAGAIN, EINTR and short writes correctly. Also clean
15570         up some error cases, avoid a deadlock on bad file descriptors and
15571         use GST_DEBUG_OBJECT.
15572         Fixes #339843
15573
15574 2006-04-28  Wim Taymans  <wim@fluendo.com>
15575
15576         * gst/gstvalue.c: (gst_value_serialize_buffer),
15577         (gst_value_deserialize_buffer):
15578         Don't try to serialize a GValue with a NULL buffer. 
15579         Fixes #339821.
15580
15581         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15582         Added check for serialisation of NULL buffers.
15583
15584 2006-04-28  Wim Taymans  <wim@fluendo.com>
15585
15586         * gst/gstminiobject.c: (gst_value_take_mini_object):
15587         Taking a NULL miniobject is valid, fix the case where
15588         we try to unref the NULL miniobject.
15589
15590 2006-04-28  Wim Taymans  <wim@fluendo.com>
15591
15592         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15593
15594         * gst/gstbin.c: (gst_bin_handle_message_func):
15595         Update docs.
15596         Don't leak bin refcount when a state recalc is
15597         in progress and we delay another one #339808.
15598
15599 2006-04-28  Wim Taymans  <wim@fluendo.com>
15600
15601         * docs/design/part-TODO.txt:
15602         Mention QoS as an ongoing work item.
15603
15604         * docs/design/part-buffering.txt:
15605         New doc about buffering that needs to be fleshed out
15606         at some point.
15607
15608         * docs/design/part-qos.txt:
15609         More QoS policy for decoders/demuxers/transforms
15610
15611         * docs/design/part-trickmodes.txt:
15612         Small update.
15613
15614 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15615
15616         * configure.ac:
15617           back to HEAD
15618
15619 === release 0.10.5 ===
15620
15621 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15622
15623         * configure.ac:
15624           releasing 0.10.5, "Fogo"
15625
15626 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15627
15628         patch by: Wim Taymans
15629
15630         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15631         (gst_pad_configure_src), (gst_pad_push):
15632         * gst/gstpipeline.c: (gst_pipeline_init):
15633           Fix internal data flow errors.  Fixes #338711.
15634
15635 2006-04-12  Wim Taymans  <wim@fluendo.com>
15636
15637         * tests/check/gst/gstelement.c: (GST_START_TEST):
15638         Don't leak the factory.
15639
15640 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15641
15642         * configure.ac:
15643         * win32/common/config.h:
15644           prerelease
15645
15646 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15647
15648         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15649         (gst_controller_unset_all):
15650           Free allocated GstTimedValues when freeing list nodes.
15651           Should fix leaks 'make check-valgrind' complains about.
15652
15653         * win32/common/libgstcontroller.def:
15654           Add gst_controller_unset_all.
15655
15656 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15657
15658         * docs/libs/gstreamer-libs-sections.txt:
15659         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15660         (gst_controller_unset_all):
15661         * libs/gst/controller/gstcontroller.h:
15662         API: Added new method gst_controller_unset_all()
15663         fixed gst_controller_unset()
15664         * tests/check/libs/controller.c: (GST_START_TEST),
15665         (gst_controller_suite):
15666         Added two testcases for new and fixed method
15667
15668 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15669
15670         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15671           MSG_DONTWAIT is not defined on Cygwin, so work
15672           around that (fixes #317048).
15673           
15674 2006-04-11  Wim Taymans  <wim@fluendo.com>
15675
15676         * gst/gstelementfactory.c: (gst_element_register),
15677         (gst_element_factory_create), (gst_element_factory_make):
15678         Some cleanups.
15679         Fixed a FIXME.
15680         Updated docs (Fixes #131079)
15681
15682         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15683         Small cleanups.
15684
15685         * tests/check/gst/gstelement.c: (GST_START_TEST),
15686         (gst_element_suite):
15687         Added testcase for elementfactory class field.
15688
15689 2006-04-10  Wim Taymans  <wim@fluendo.com>
15690
15691         * gst/gstsegment.c:
15692         Added some more docs.
15693
15694         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15695         (gst_base_sink_reset_qos):
15696         Calculate more accurate rate values.
15697
15698 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15699
15700         * gst/gst_private.h:
15701           add a new #ifdef to use __declspec(dllimport) only for
15702           other modules and not for gstreamer core
15703         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15704           use gst_guint64_to_gdouble for conversion
15705         * win32/common/libgstreamer.def:
15706           add new exported functions
15707         * win32/vs6/gst_inspect.dsp:
15708         * win32/vs6/gst_launch.dsp:
15709         * win32/vs6/libgstbase.dsp:
15710         * win32/vs6/libgstcontroller.dsp:
15711         * win32/vs6/libgstcoreelements.dsp:
15712         * win32/vs6/libgstdataprotocol.dsp:
15713         * win32/vs6/libgstnet.dsp:
15714           update project files
15715
15716 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15717
15718         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15719         * gst/gstclock.c: (gst_clock_class_init):
15720         * gst/gstelement.c: (gst_element_class_init):
15721         * gst/gstindex.c: (gst_index_class_init):
15722         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15723         * gst/gstobject.c: (gst_object_class_init),
15724         (gst_signal_object_class_init):
15725         * gst/gstpad.c: (gst_pad_class_init):
15726         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15727         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15728         * gst/gstregistry.c: (gst_registry_class_init):
15729         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15730         * gst/gsttask.c: (gst_task_class_init):
15731         * gst/gstxml.c: (gst_xml_class_init):
15732         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15733         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15734         (gst_base_src_loop):
15735         * libs/gst/controller/gstcontroller.c:/
15736         (_gst_controller_class_init):
15737         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15738         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15739         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15740         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15741         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15742         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15743
15744 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15745
15746         * gst/gstpad.c: (gst_pad_link):
15747           Must set peer pads before calling the link function, otherwise
15748           a task started from a link function might get a flow-not-linked
15749           result when trying to push because the other thread where the
15750           linking happens hasn't had a chance to set the peers yet. This
15751           might happen for example when a queue gets linked to a downstream
15752           element, as queue starts a streaming task when its source pad
15753           gets linked. Happens in real life when playing back flac/musepack
15754           files in playbin (#332390).
15755           
15756 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15757
15758         * gst/gstindex.h:
15759         * gst/gstxml.h:
15760         * libs/gst/base/gstadapter.h:
15761         * libs/gst/base/gstbasesink.h:
15762         * libs/gst/base/gstbasesrc.h:
15763         * libs/gst/base/gstbasetransform.h:
15764         * libs/gst/base/gstcollectpads.h:
15765         * libs/gst/base/gstpushsrc.h:
15766         Fix broken GObject macros
15767
15768 2006-04-07  Wim Taymans  <wim@fluendo.com>
15769
15770         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15771         Initialize start and stop times, thanks valgrind.
15772
15773 2006-04-07  Wim Taymans  <wim@fluendo.com>
15774
15775         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15776         Be a bit nicer to badly behaving upstream elements that expect
15777         us to deal with non TIME segments and timestamps (such as fakesrc
15778         in the testsuite).
15779
15780 2006-04-07  Wim Taymans  <wim@fluendo.com>
15781
15782         * gst/gstbus.c:
15783         Small documentation clarification about the signal watch.
15784
15785         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15786         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15787         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15788         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15789         (gst_base_sink_get_position_last),
15790         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15791         Convert and store timestamps in stream time and running time, the
15792         raw timestamps are not useful, also document this better.
15793         Use different window sizes for good and bad QoS observations so
15794         we react to badness a little quicker.
15795         Keep track of the amount of rendered and dropped buffers.
15796         Send QoS timestamps in running time.
15797
15798         * libs/gst/base/gstbasetransform.c:
15799         (gst_base_transform_sink_eventfunc),
15800         (gst_base_transform_handle_buffer):
15801         Compare QoS timestamps against running time.
15802
15803 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15804
15805         * gst/gstpad.c:
15806           Typo fixes in docs.
15807
15808 2006-04-06  Michael Smith  <msmith@fluendo.com>
15809
15810         * gst/gstpad.c: (gst_pad_set_property):
15811           Use g_value_get_object() instead of g_value_dup_gst_object(),
15812           to avoid double-reffing the pad template (which we then sink,
15813           so this worked previously if (and only if) the pad template
15814           was floating.
15815
15816         * gst/gstpadtemplate.c: (gst_pad_template_init),
15817         (gst_pad_template_pad_created):
15818           Never return floating references to pad templates, create
15819           them as initially-sunken.
15820
15821           Document an extra function (and make this stop sinking our
15822           pad template, since that is now guaranteed to do nothing,
15823           since we created it sunken).
15824
15825         * gst/gstghostpad.c:
15826           Fix docs typo.
15827
15828 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15829
15830         * gst/gstinfo.c: (__gst_in_valgrind):
15831           Add some newlines.
15832
15833         * plugins/elements/gsttypefindelement.c:
15834         (gst_type_find_element_chain):
15835           Don't leak buffer caps.
15836
15837 2006-04-06  Michael Smith  <msmith@fluendo.com>
15838
15839         * gst/parse/grammar.y:
15840           Fix a leak in parse-launch for any source-or-sink named element 
15841           references used.
15842
15843         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15844           Unref the pipeline if it exists after we've failed parsing.
15845
15846 2006-04-05  Michael Smith  <msmith@fluendo.com>
15847
15848         * gst/gstpipeline.c: (gst_pipeline_init):
15849           When we create a pipeline bus, initially create it in flushing mode.
15850           Fixes leaks in at least one test, and makes a new pipeline work the
15851           same as one that has gone to READY and then back to NULL.
15852
15853         * gst/gstelement.c:
15854           Typo fix in docs.
15855
15856 2006-04-05  Michael Smith  <msmith@fluendo.com>
15857
15858         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15859           Unref a pad we reffed.
15860         * tests/check/gst/gstutils.c: (GST_START_TEST):
15861           Unref bins
15862
15863 2006-04-05  Michael Smith  <msmith@fluendo.com>
15864
15865         * gst/gstquery.c: (gst_query_set_formats),
15866         (gst_query_set_formatsv):
15867           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15868
15869 2006-04-05  Michael Smith  <msmith@fluendo.com>
15870
15871         * tests/check/generic/sinks.c: (GST_START_TEST):
15872           Fix a variety of memleaks in sinks check, which are only sometimes 
15873           shown by running the tests under valgrind (weird?).
15874
15875 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15876
15877         * docs/version.entities.in:
15878           Fix the substituted entity name after thomas' changes on the
15879           weekend.
15880
15881 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15882
15883         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15884         VALGRIND_PRINTF
15885         
15886 2006-04-05  Andy Wingo  <wingo@pobox.com>
15887
15888         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15889
15890         * libs/gst/base/gstbasetransform.c
15891         (gst_base_transform_sink_eventfunc): When resetting our segment on
15892         FLUSH_STOP, also update the flag saying we haven't seen a
15893         newsegment.
15894
15895 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15896
15897         Patch by: Paolo Borelli  <pborelli at katamail dot com>
15898
15899         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15900         (gst_plugin_check_license):
15901           minor clean-ups: G_DEFINE_TYPE already takes care of the
15902           parent_class stuff, no need to do it twice. Mark array of
15903           license strings as constant. (#337103)
15904           
15905 2006-04-04  Michael Smith  <msmith@fluendo.com>
15906
15907         * tools/gst-inspect.c: (print_element_list):
15908           Free the right plugin list; fixes a memory leak.
15909
15910 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15911
15912         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
15913
15914         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15915           Don't error out on empty buffers (#336945).
15916           
15917 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
15918
15919         * docs/libs/gstreamer-libs-sections.txt:
15920         * gst/gsttaglist.c:
15921         * libs/gst/base/gstbasesink.c:
15922         * libs/gst/base/gstbasesink.h:
15923         * libs/gst/base/gstbasesrc.c:
15924         * libs/gst/base/gstbasesrc.h:
15925           Documentation updates. Make BaseSink and BaseSrc docs contain the
15926           class structure so that people can actually see the prototypes for
15927           virtual functions they're supposed to be overriding.
15928
15929 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15930
15931         * plugins/elements/gsttypefindelement.c:
15932         (gst_type_find_element_chain):
15933           More debug info; when skipping typefinding, send cached
15934           events in all cases.
15935
15936 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15937
15938         * configure.ac:
15939           use new AS_VERSION and AS_NANO macros
15940         * gst/gst-i18n-lib.h:
15941         * gst/gst.c:
15942         * gst/gsterror.c:
15943         * gst/gstversion.h.in:
15944         * win32/common/config.h:
15945         * win32/common/config.h.in:
15946           update accordingly
15947
15948 2006-03-31  Michael Smith  <msmith@fluendo.com>
15949
15950         * plugins/elements/gsttypefindelement.c:
15951         (gst_type_find_element_chain):
15952           Do not typefind content if the buffers already have caps.
15953           Neccesary for icydemux (#333657), and the right thing to do anyway.
15954
15955 2006-03-30  Wim Taymans  <wim@fluendo.com>
15956
15957         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15958         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15959         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15960         (gst_base_sink_record_qos_observation),
15961         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15962         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15963         (gst_base_sink_change_state):
15964         More QoS measurements as described in the design doc.
15965         Get rid of ringbuffer with observations, running average is
15966         more simple and equally good.
15967         Calculates valid proportion now.
15968         Added beginning of flood measurement.
15969
15970 2006-03-29  Wim Taymans  <wim@fluendo.com>
15971
15972         * docs/design/part-qos.txt:
15973         * gst/gstclock.c:
15974         Small documentation updates and additions.
15975
15976 2006-03-29  Wim Taymans  <wim@fluendo.com>
15977
15978         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15979         (gst_base_src_send_event), (gst_base_src_loop),
15980         (gst_base_src_change_state):
15981         Perform the EOS logic when we reach the segment stop position.
15982         Fix compilation on gcc4.1
15983
15984 2006-03-29  Wim Taymans  <wim@fluendo.com>
15985
15986         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15987
15988         * plugins/elements/gstqueue.c: (gst_queue_init),
15989         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15990         (gst_queue_set_property):
15991         * plugins/elements/gstqueue.h:
15992         In queue, when EOS is received, if minimum threshold > max_size -
15993         current_level, there is chance that queue blocks forever in conditional
15994         item del wait. This is because the queue is not emptied completely due
15995         to minimum threshold.  Here is another approach. Instead of setting
15996         cur_levels to max in EOS, just zero all minimum threshold levels. This
15997         should make sure that queue gives out all data. When going to READY
15998         (stop) state, just reset the original minimum threshold levels.
15999         Fixes #336336.
16000
16001 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16002
16003         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16004         (gst_type_find_element_handle_event),
16005         (gst_type_find_element_send_cached_events),
16006         (gst_type_find_element_change_state):
16007         * plugins/elements/gsttypefindelement.h:
16008           When typefinding is done in push mode, we should cache
16009           events we receive during typefinding instead of just
16010           dropping them (e.g. newsegment, custom events from
16011           dvdreadsrc etc.) and then send them out once we've
16012           determined the type of the stream (and decodebin
16013           has had a chance to plug in a decoder/demuxer).
16014           
16015 2006-03-27  Wim Taymans  <wim@fluendo.com>
16016
16017         * docs/design/part-qos.txt:
16018         First QoS ideas.
16019
16020 2006-03-27  Wim Taymans  <wim@fluendo.com>
16021
16022         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16023
16024         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16025         (gst_base_src_send_event), (gst_base_src_change_state):
16026         Handle element seek correctly when we are streaming.
16027         Fixes #326998.
16028
16029 2006-03-24  Michael Smith  <msmith@fluendo.com>
16030
16031         * docs/faq/gst-uninstalled:
16032           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16033           allow you to correctly run intalled applications built against old 
16034           core, using plugins that require updated core (e.g. running
16035           installed totem against a full uninstalled gstreamer stack)
16036
16037 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16038
16039         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16040         more debug details
16041
16042 2006-03-24  Wim Taymans  <wim@fluendo.com>
16043
16044         * docs/gst/gstreamer-sections.txt:
16045         Rearrange the order of the methods so that related methods
16046         are grouped together in sections.
16047
16048 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16049
16050         * gst/gstelement.c:
16051           Little clarification in the docs
16052
16053 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16054
16055         * docs/README:
16056         formatting fix
16057         * plugins/elements/gstidentity.c:
16058         * plugins/elements/gstqueue.c:
16059         * plugins/elements/gsttee.c:
16060         * plugins/elements/gsttypefindelement.c:
16061         GST_ELEMENT_DETAILS formatting
16062
16063 2006-03-24  Wim Taymans  <wim@fluendo.com>
16064
16065         * libs/gst/base/gstbasesink.h:
16066         Only add fields, not insert or we break ABI.
16067
16068 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16069
16070         * win32/common/libgstbase.def:
16071         * win32/common/libgstreamer.def:
16072           Update, add recently added functions.
16073
16074 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16075
16076         * docs/gst/gstreamer-sections.txt:
16077         * gst/gstutils.c: (gst_pad_query_peer_position),
16078         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16079         * gst/gstutils.h:
16080           API: add some new utility functions:
16081            - gst_pad_query_peer_position()
16082            - gst_pad_query_peer_duration()
16083            - gst_pad_query_peer_convert()
16084           
16085 2006-03-23  Wim Taymans  <wim@fluendo.com>
16086
16087         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16088         (gst_base_sink_init), (gst_base_sink_finalize),
16089         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16090         (gst_base_sink_set_property), (gst_base_sink_get_property),
16091         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16092         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16093         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16094         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16095         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16096         (gst_base_sink_preroll_object), (gst_base_sink_event),
16097         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16098         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16099         (gst_base_sink_query), (gst_base_sink_change_state):
16100         Decouple max-lateness and the fact that QoS messages are generated
16101         with a new property (qos).
16102         added API: GstBaseSink::async_play()
16103         Add vmethod so subclasses can be notified of ASYNC playing
16104         state changes.
16105         Collect timestamp start and stop to report better current
16106         position in EOS/PLAYING/PAUSED/READY/NULL.
16107         Refactor QoS/frame dropping and other measurements.
16108         API: GstBaseSrc::qos
16109         Fixes #326311
16110
16111         * libs/gst/base/gstbasesink.h:
16112         Added Private struct.
16113         API: gst_base_sink_set_qos_enabled()
16114         API: gst_base_sink_is_qos_enabled()
16115
16116 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16117
16118         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16119           If compiling against GLib-2.8 or newer, try to read the
16120           registry file using GMappedFile first before falling back
16121           to fopen() + fread() (#332151).
16122
16123 2006-03-22  Wim Taymans  <wim@fluendo.com>
16124
16125         * gst/gstinfo.c: (gst_debug_set_active),
16126         (gst_debug_category_set_threshold):
16127         Disable debugging unless explicitly activated.
16128         Fixes #335480.
16129
16130 2006-03-22  Wim Taymans  <wim@fluendo.com>
16131
16132         * gst/gstelement.c: (gst_element_set_locked_state),
16133         (gst_element_dispose):
16134         Cleanup the error case.
16135
16136         * gst/gstobject.c: (gst_object_dispose):
16137         print a critical when some object was disposed with
16138         a parent, also revive the object since it might
16139         crash the parent.
16140
16141 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16142
16143         * tools/gst-launch.1.in:
16144           Fix another typo.
16145
16146 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16147
16148         * configure.ac:
16149         * tests/check/Makefile.am:
16150           disable some tests when we don't have a registry
16151         * tests/check/gst/gstutils.c: (gst_utils_suite):
16152           don't build the part that needs parsing
16153
16154 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16155
16156         * gst/Makefile.am
16157         * tests/examples/Makefile.am:
16158           fix --disable-parse build
16159
16160 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16161
16162         * tools/gst-feedback.1.in:
16163           Fix typo: s/feeback/feedback/ (#133494).
16164
16165 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16166
16167         * tools/Makefile.am:
16168         * tools/gst-launch.1.in:
16169           Add FILES section and correct entry about GST_REGISTRY_PATH
16170           environment variable (#133495; #133494).
16171
16172 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16173
16174         * tools/Makefile.am:
16175         * tools/gst-md5sum.1.in:
16176         * tools/gst-md5sum.c:
16177           Remove gst-md5sum and man page (the md5sink element
16178           required was removed ages ago)
16179
16180 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16181
16182         * gst/gststructure.c: (gst_structure_id_set_value):
16183           Make sure that string fields in structures/taglists
16184           contain valid UTF-8 - we don't want to pass rubbish to
16185           applications because of a buggy plugin (cp. #334167).
16186
16187 2006-03-21  Edward Hervey  <edward@fluendo.com>
16188
16189         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16190         (gst_bin_handle_message_func):
16191         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16192         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16193         (gst_element_set_bus_func):
16194         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16195         * gst/gstminiobject.c: (gst_value_set_mini_object),
16196         (gst_value_take_mini_object):
16197         * gst/gstpad.c: (gst_pad_set_pad_template):
16198         * gst/gstpipeline.c: (gst_pipeline_dispose),
16199         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16200         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16201         (gst_collect_pads_chain):
16202         * libs/gst/net/gstnettimeprovider.c:
16203         (gst_net_time_provider_set_property):
16204         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16205         It's in fact all issues with gst_*object_replace().
16206
16207 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16208
16209         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16210         
16211         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16212         * pkgconfig/gstreamer-check.pc.in:
16213           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16214
16215 2006-03-21  Edward Hervey  <edward@fluendo.com>
16216
16217         * gst/gstbuffer.h:
16218         * gst/gstevent.h:
16219         * gst/gstmessage.h:
16220         gst_[buffer|event|message]_ref() macros are replaced by a static
16221         inline functions because gcc-4.1 will about if the return value
16222         isn't used.
16223         * tests/check/gst/gstevent.c: (event_probe):
16224         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16225
16226 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16227
16228         * gst/gstutils.h:
16229         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16230         the type' case. (Closes: #335195 for now). In the future, when we
16231         depend on GLib 2.10, we could also intern the type name using
16232         g_intern_static_string()
16233
16234 2006-03-20  Wim Taymans  <wim@fluendo.com>
16235
16236         * gst/gstbin.c: (gst_bin_handle_message_func),
16237         (bin_query_max_init), (bin_query_position_fold),
16238         (bin_query_position_done), (gst_bin_query):
16239         Position query should also take max of all streams.
16240
16241 2006-03-20  Wim Taymans  <wim@fluendo.com>
16242
16243         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16244         (gst_fake_src_finalize):
16245         Fix leaks in fakesrc.
16246
16247         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16248         Fix leaks in the testcase.
16249
16250 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16251
16252         * gst/gst_private.h:
16253           add win32 specific import decoration(__declspec(dllimport)) 
16254           for all extern GstDebugCategory * variables
16255         * win32/common/libgstbase.def:
16256         * win32/common/libgstcontroller.def:
16257         * win32/common/libgstreamer.def:
16258           Add some exports, remove empty lines
16259         * win32/common/libgstdataprotocol.def:
16260         * win32/common/libgstdataprotocol.dsp:
16261         * win32/common/libgstnet.def:
16262         * win32/common/libgstnet.dsp:
16263           new project files and exportation files added
16264         
16265 2006-03-19  Wim Taymans  <wim@fluendo.com>
16266
16267         * tests/check/libs/basesrc.c: (eos_event_counter):
16268         Use proper return value for probe.
16269
16270 2006-03-17  Wim Taymans  <wim@fluendo.com>
16271
16272         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16273         (gst_pad_push):
16274         Don't leak buffers, caps and pads on negotiation errors.
16275
16276 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16277
16278         * docs/faq/cvs.xml:
16279         * docs/faq/dependencies.xml:
16280         * docs/faq/developing.xml:
16281         * docs/faq/faq.xml:
16282         * docs/faq/general.xml:
16283         * docs/faq/getting.xml:
16284         * docs/faq/legal.xml:
16285         * docs/faq/troubleshooting.xml:
16286         * docs/faq/using.xml:
16287         Faq review and update.
16288
16289 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16290
16291         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16292         (gst_pad_push):
16293         Don't pound the cpu to pieces by checking get_caps when accept_caps
16294         is called with the same caps as the pad already has.
16295         Use GST_DEBUG_OBJECT when outputting caps change information.
16296
16297 2006-03-15  Wim Taymans  <wim@fluendo.com>
16298
16299         * gst/gstclock.c: (gst_clock_class_init):
16300         Fix docs.
16301
16302 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16303
16304         * gst/gstbuffer.h:
16305         Documentation fix.
16306
16307         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16308         (gst_pad_accept_caps), (gst_pad_configure_sink),
16309         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16310         Make the default acceptcaps behaviour be to check the requested 
16311         caps against the gst_pad_get_caps output. 
16312
16313         Ensure that gst_pad_accept_caps is used to check caps when a pad
16314         doesn't have a setcaps function, so that pads automatically refuse 
16315         caps that they don't allow in their pad template. (Fixes #332986)
16316
16317         When a buffer with attached caps is pushed, ensure that the source 
16318         pad receives those caps even if the element didn't call
16319         gst_pad_set_caps first.
16320
16321 2006-03-15  Wim Taymans  <wim@fluendo.com>
16322
16323         * libs/gst/base/gstadapter.c:
16324         Add some docs.
16325
16326 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16327
16328         * win32/common/libgstbase.def:
16329         * win32/common/libgstcontroller.def:
16330         * win32/common/libgstreamer.def:
16331           Add a whole bunch of missing functions (#334434).
16332
16333 2006-03-14  Wim Taymans  <wim@fluendo.com>
16334
16335         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16336         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16337         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16338         Better debug info when we receive a segment event.
16339         Reorganize a bit so we can pass the get_times() results around.
16340         Use the segment format when calculating the running time.
16341         Don't do QoS is sync is disabled or we have no clock or the
16342         element does not want us to sync to the clock.
16343         Don't drop buffers if QoS is disabled for now.
16344
16345 2006-03-14  Wim Taymans  <wim@fluendo.com>
16346
16347         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16348         Marked the stats property as unimplemented so people don't get
16349         wild ideas.
16350         Add debug message when regression goes wrong.
16351         Added some more docs.
16352
16353 2006-03-14  Wim Taymans  <wim@fluendo.com>
16354
16355         * gst/gstsegment.c: (gst_segment_to_stream_time):
16356         Return correct return type in case of errors.
16357
16358 2006-03-14  Wim Taymans  <wim@fluendo.com>
16359
16360         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16361           Don't segfault on invalid formats.
16362
16363 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16364
16365         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16366           Can't use gst_segment_to_running_time() when the segment
16367           is not in GST_TIME_FORMAT (like with filesink, for example).
16368           Stops flac encoding pipelines from spewing critical warnings
16369           at EOS (#331248).
16370           
16371 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16372
16373         * gst/gstpipeline.c: (gst_pipeline_class_init):
16374           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16375
16376         * plugins/elements/gsttypefindelement.c:
16377         (gst_type_find_element_handle_event):
16378           Don't try to typefind empty streams.
16379
16380 2006-03-14  Wim Taymans  <wim@fluendo.com>
16381
16382         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16383         (gst_base_sink_do_qos):
16384         Separate QoS calculation.
16385         Only drop buffers when lateness is bigger than the 
16386         duration of the buffer.
16387
16388 2006-03-13  Wim Taymans  <wim@fluendo.com>
16389
16390         * gst/gstpipeline.c: (gst_pipeline_set_property),
16391         (gst_pipeline_get_property), (do_pipeline_seek),
16392         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16393         (gst_pipeline_get_delay):
16394         Don't deadlock when reading properties.
16395
16396 2006-03-13  Wim Taymans  <wim@fluendo.com>
16397
16398         * libs/gst/base/gstbasetransform.c:
16399         (gst_base_transform_class_init), (gst_base_transform_init),
16400         (gst_base_transform_sink_event),
16401         (gst_base_transform_sink_eventfunc),
16402         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16403         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16404         (gst_base_transform_set_property),
16405         (gst_base_transform_get_property),
16406         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16407         (gst_base_transform_set_qos_enabled),
16408         (gst_base_transform_is_qos_enabled):
16409         * libs/gst/base/gstbasetransform.h:
16410         Make basetransform virtual method for src events too.
16411         Handle QOS in basetransform.
16412         API: gst_base_transform_update_qos()
16413         API: gst_base_transform_set_qos_enabled()
16414         API: gst_base_transform_is_qos_enabled()
16415
16416 2006-03-13  Wim Taymans  <wim@fluendo.com>
16417
16418         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16419         (gst_base_sink_do_sync):
16420         Small cleanups.
16421         Use QOS debug category.
16422
16423 2006-03-13  Wim Taymans  <wim@fluendo.com>
16424
16425         * plugins/elements/gstqueue.c:
16426         Very small doc update.
16427
16428 2006-03-13  Wim Taymans  <wim@fluendo.com>
16429
16430         * gst/gst_private.h:
16431         * gst/gstinfo.c: (_gst_debug_init):
16432         Added QOS debug category
16433
16434 2006-03-13  Wim Taymans  <wim@fluendo.com>
16435
16436         * docs/gst/gstreamer-sections.txt:
16437         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16438         * gst/gstbin.h:
16439         * gst/gstbus.c: (gst_bus_class_init):
16440         * gst/gstbus.h:
16441         * gst/gstclock.c:
16442         * gst/gstelement.c: (gst_element_set_locked_state):
16443         * gst/gstsegment.c:
16444         Documentation updates.
16445
16446         * gst/gstpipeline.c: (gst_pipeline_get_type),
16447         (gst_pipeline_class_init), (gst_pipeline_init),
16448         (gst_pipeline_dispose), (gst_pipeline_set_property),
16449         (gst_pipeline_get_property), (do_pipeline_seek),
16450         (gst_pipeline_send_event), (gst_pipeline_change_state),
16451         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16452         (gst_pipeline_get_delay):
16453         * gst/gstpipeline.h:
16454         Added methods for setting the delay.
16455         API: gst_pipeline_set_delay()
16456         API: gst_pipeline_get_delay()
16457         Add pipeline debug category
16458         Various cleanups.
16459         Updated docs.
16460         Don't reset stream time when seek failed.
16461
16462 2006-03-13  Wim Taymans  <wim@fluendo.com>
16463
16464         * docs/design/draft-klass.txt:
16465         * docs/design/part-clocks.txt:
16466         * docs/design/part-events.txt:
16467         * docs/design/part-gstbin.txt:
16468         * docs/design/part-gstpipeline.txt:
16469         * docs/design/part-messages.txt:
16470         * docs/design/part-negotiation.txt:
16471         * docs/design/part-overview.txt:
16472         * docs/design/part-preroll.txt:
16473         * docs/design/part-seeking.txt:
16474         * docs/design/part-states.txt:
16475         * docs/design/part-streams.txt:
16476         Documentation updates.
16477
16478 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16479
16480         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16481         us to leak strings...
16482
16483 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16484
16485         * libs/gst/net/gstnettimeprovider.c:
16486           fix docs
16487         * win32/common/config.h:
16488           update
16489
16490 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16491
16492         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16493
16494         * configure.ac:
16495           Don't check for libgnomeui (leftover from old examples
16496           that aren't built or disted any longer) (#334303).
16497           
16498 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16499
16500         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16501         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16502           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16503           there's no space left on the device.
16504
16505 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16506
16507         * gst/gstclock.h:
16508           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16509           to cast the input to GstClockTime before comparing with
16510           another GstClockTime value.
16511
16512 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16513
16514         * configure.ac:
16515           back to trunk
16516
16517 === release 0.10.4 ===
16518
16519 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16520
16521         * configure.ac:
16522           releasing 0.10.4, "Light"
16523
16524 2006-03-10  Michael Smith  <msmith@fluendo.com>
16525
16526         * libs/gst/dataprotocol/dataprotocol.c:
16527           Fix docs for dataprocotol to not get the return types completely
16528           wrong for a few functions.
16529
16530 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16531
16532         * docs/gst/gstreamer-sections.txt:
16533         * gst/gstpipeline.c: (gst_pipeline_class_init),
16534         (gst_pipeline_init), (gst_pipeline_set_property),
16535         (gst_pipeline_get_property), (gst_pipeline_change_state),
16536         (gst_pipeline_set_auto_flush_bus),
16537         (gst_pipeline_get_auto_flush_bus):
16538         * gst/gstpipeline.h:
16539           Add new API: gst_pipeline_set_auto_flush_bus() and
16540           gst_pipeline_get_auto_flush_bus() to disable automatic
16541           flushing of the pipeline's GstBus when going from READY
16542           to NULL state (#332045).
16543
16544 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16545
16546         * docs/gst/gstreamer-sections.txt:
16547         * gst/gsturi.c: (gst_uri_has_protocol):
16548         * gst/gsturi.h:
16549            Add new API: gst_uri_has_protocol() (#333779).
16550
16551 2006-03-09  Wim Taymans  <wim@fluendo.com>
16552
16553         * gst/gstclock.c: (gst_clock_entry_new),
16554         (gst_clock_id_compare_func), (gst_clock_id_wait),
16555         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16556         (gst_clock_init), (gst_clock_get_internal_time),
16557         (gst_clock_set_master), (do_linear_regression),
16558         (gst_clock_add_observation), (gst_clock_set_property):
16559         * gst/gstclock.h:
16560         Review docs.
16561         Small cleanups.
16562         Fix a possible segfault when the window-size is made smaller.
16563         Calculate jitter before performing the clock wait. Ideally
16564         the clock implementation should calculate jitter but we need
16565         API breakage for that.
16566
16567         * gst/gstsystemclock.c: (gst_system_clock_init):
16568         Docs review.
16569         
16570         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16571         Remove leftover else
16572
16573         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16574         (gst_systemclock_suite):
16575         Added check to test GST_CLOCK_DIFF.
16576
16577 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16578
16579         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16580         (gst_type_find_helper_get_range):
16581           If we are provided with the size, we should implement
16582           GstTypeFind::get_length, so that typefind functions who
16583           want to can actually peek at the middle of a file.
16584
16585 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16586
16587         * docs/manual/advanced-dataaccess.xml:
16588           Add some very very basic error checking.
16589
16590         * docs/pwg/appendix-checklist.xml:
16591           Some updates to the list of things to check when writing an element.
16592
16593 2006-03-08  Wim Taymans  <wim@fluendo.com>
16594
16595         * docs/design/part-element-transform.txt:
16596         Added some docs about the design of tranform elements.
16597
16598         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16599         (gst_base_src_loop), (gst_base_src_change_state):
16600         Mark buffers with the DISCONT flag.
16601
16602 2006-03-08  Michael Smith  <msmith@fluendo.com>
16603
16604         * gst/gstregistry.h:
16605         * gst/gstregistryxml.c: (gst_registry_save),
16606         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16607         (gst_registry_xml_save_pad_template),
16608         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16609         (gst_registry_xml_write_cache):
16610           Rewrite registry-saving to avoid race conditions and check for
16611           failed writes.
16612
16613 2006-03-08  Wim Taymans  <wim@fluendo.com>
16614
16615         * libs/gst/base/gstbasetransform.c:
16616         (gst_base_transform_transform_caps),
16617         (gst_base_transform_transform_size),
16618         (gst_base_transform_prepare_output_buffer),
16619         (gst_base_transform_get_unit_size),
16620         (gst_base_transform_buffer_alloc),
16621         (gst_base_transform_handle_buffer),
16622         (gst_base_transform_change_state):
16623         Cleanups, separate normal flow from errors, add sensible
16624         DEBUG lines.
16625         Don't try to renegotiate when allocating an output buffer.
16626         Also copy DISCONT buffer flag when copying a buffer.
16627         Reset the transform after we finish streaming, not during.
16628
16629 2006-03-08  Wim Taymans  <wim@fluendo.com>
16630
16631         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16632         Use last buffer timestamp in qos message.
16633
16634 2006-03-07  Wim Taymans  <wim@fluendo.com>
16635
16636         Patch by: Christophe Fergeau
16637
16638         * docs/pwg/advanced-tagging.xml:
16639         * docs/pwg/building-pads.xml:
16640           fixes #333416
16641
16642 2006-03-07  Wim Taymans  <wim@fluendo.com>
16643
16644         * docs/libs/gstreamer-libs-sections.txt:
16645         Added basesink new methods.
16646
16647         * gst/gstevent.c:
16648         * gst/gstevent.h:
16649         Docs updates. Flesh out the QoS docs.
16650
16651         * libs/gst/base/gstadapter.c:
16652         Small doc clarification about ownership and flushing.
16653
16654         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16655         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16656         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16657         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16658         * libs/gst/base/gstbasesink.h:
16659         API additions: 
16660         Added new methods to allow subclass to control max-lateness 
16661         and sync.
16662         Generate very basic QoS events based on last sync observation.
16663         Updated docs, fix typo, added some QoS blurb.
16664
16665         * libs/gst/base/gstbasesrc.c:
16666         Remove obsolete _get_state() calls from docs.
16667
16668 2006-03-07  Wim Taymans  <wim@fluendo.com>
16669
16670         * docs/libs/gstreamer-libs-sections.txt:
16671         * libs/gst/base/gstbasetransform.h:
16672         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16673         Fix docs for GstBaseSrc.
16674
16675 2006-03-07  Wim Taymans  <wim@fluendo.com>
16676
16677         * docs/gst/gstreamer-sections.txt:
16678         * gst/gstbuffer.h:
16679         * gst/gstvalue.c:
16680         * libs/gst/base/gstbasetransform.h:
16681         Small documentation fixes.
16682
16683 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16684
16685         * gst/gstvalue.c:
16686           Document thread-unsafety of gst_value_register_foo_func()
16687           when used at the same time as gst_value_foo() (#322628).
16688
16689 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16690
16691         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16692         (gst_push_src_check_get_range):
16693           Push sources don't support pull mode by default.
16694
16695 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16696
16697         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16698         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16699         (gst_base_src_default_check_get_range):
16700         * libs/gst/base/gstbasesrc.h:
16701           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16702           provide default implementation, and rename
16703           gst_base_src_check_get_range() to
16704           gst_base_src_pad_check_get_range() for clarity.
16705
16706 2006-03-06  Wim Taymans  <wim@fluendo.com>
16707
16708         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16709         Make property overridable.
16710
16711 2006-03-06  Wim Taymans  <wim@fluendo.com>
16712
16713         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16714         (gst_base_sink_init), (gst_base_sink_set_property),
16715         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16716         * libs/gst/base/gstbasesink.h:
16717         API addition: Make max-lateness a property.
16718
16719 2006-03-06  Wim Taymans  <wim@fluendo.com>
16720
16721         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16722         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16723         Don't ever draw a frame that is >10ms late.
16724
16725 2006-03-06  Michael Smith  <msmith@fluendo.com>
16726
16727         * gst/gstmessage.c: (_gst_message_copy):
16728           When copying a message, set the parent_refcount of the enclosed
16729           structure to point at the copy, not the original message.
16730
16731 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16732
16733         Patch by: Christophe Fergeau
16734
16735         * gst/gstutils.h:
16736           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16737           usable in c++ code (#333417)
16738
16739 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16740
16741         * gst/gstclock.h:
16742           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16743
16744 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16745
16746         * libs/gst/base/gstbasetransform.c:
16747         (gst_base_transform_transform_caps):
16748           Make sure caps are writable before passing them to
16749           gst_caps_append().
16750
16751 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16752
16753         * gst/gsterror.h:
16754           Fix some minor docs errors.
16755
16756 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16757
16758           Patch by: Ross Burton <ross at burtonini dot com>
16759
16760         * gst/gsterror.c: (_gst_resource_errors_init):
16761         * gst/gsterror.h:
16762           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16763
16764 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16765
16766         * gst/gst.c:
16767         Add a check and output a g_warning when GStreamer is built
16768         against GLib 2.6 but running against 2.8 or higher, and vice 
16769         versa. (Closes: #323542)
16770
16771 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16772
16773         * gst/parse/parse.l:
16774           Commit patch for parse_launch syntax from #331255. Removes 
16775           support for quoted strings and mimetypes when writing filtered 
16776           caps. See the bug report for more details - I'm pretty sure this
16777           obscure feature is not in use by _anyone_ anywhere.
16778
16779           With this simple change, the size of the gstreamer.so here 
16780           drops from 2193KB to 1565KB.
16781
16782 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16783
16784         * plugins/elements/gsttypefindelement.h:
16785         * plugins/elements/gsttypefindelement.c:
16786         (gst_type_find_element_src_event), (start_typefinding),
16787         (stop_typefinding), (gst_type_find_element_handle_event),
16788         (gst_type_find_element_chain),
16789         (gst_type_find_element_chain_do_typefinding):
16790           Use gst_type_find_helper_for_buffer() for chain-based
16791           typefinding.
16792
16793 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16794
16795         * plugins/elements/gsttypefindelement.c:
16796         (gst_type_find_element_class_init),
16797         (gst_type_find_element_set_property),
16798         (gst_type_find_element_get_property):
16799           Deprecate "maximum" property (not only was it only taken into
16800           account for typefinding in push-mode anyway, it also was never
16801           actually possible to set it in the first place because the
16802           property was registered with the numeric property ID for the
16803           "minimum" property). Register "maximum" property correctly,
16804           for the sake of future copy'n'pasters. Remove some cruft
16805           from property get/set functions.
16806
16807 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16808
16809         * plugins/elements/gsttypefindelement.c:
16810         (gst_type_find_element_activate):
16811           Use gst_type_find_helper_get_range() here, so we
16812           can honour the "minimum" property and also emit
16813           the signal with the correct probability of the found caps.
16814
16815 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16816
16817         * docs/libs/gstreamer-libs-sections.txt:
16818         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16819         (helper_find_suggest), (gst_type_find_helper_get_range),
16820         (gst_type_find_helper):
16821         * libs/gst/base/gsttypefindhelper.h:
16822           New API: gst_type_find_helper_get_range() (#333042).
16823
16824 2006-03-02  Michael Smith  <msmith@fluendo.com>
16825
16826         * gst/gstregistryxml.c: (load_feature):
16827           Asserting on a failure to read part of the registry is Not Cool.
16828           Just log a warning and return NULL (which is already handled)
16829
16830 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16831
16832         * win32/common/libgstbase.def:
16833           added export of gst_type_find_helper_for_buffer
16834         * win32/common/libgstbase.def:
16835           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16836           gst_ghost_pad_get_target
16837
16838 2006-02-28  Wim Taymans  <wim@fluendo.com>
16839
16840         * docs/design/draft-klass.txt:
16841         We use Filter now.
16842         Added Connector to mark elements that are only used to
16843         allow pipeline connections.
16844         Moved Debug to extra feature since most of them are 
16845         functionally something else.
16846
16847 2006-02-28  Wim Taymans  <wim@fluendo.com>
16848
16849         * docs/design/draft-klass.txt:
16850         Some updates and clarifications.
16851
16852 2006-02-28  Wim Taymans  <wim@fluendo.com>
16853
16854         * docs/design/draft-klass.txt:
16855         Proposal for klass field values.
16856
16857         * docs/design/part-streams.txt:
16858         Start of a doc describing stream anatomy.
16859
16860 2006-02-28  Wim Taymans  <wim@fluendo.com>
16861
16862         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16863         Help the compiler a bit with type registration.
16864         Use existing forward cod path instead of duplicating it when 
16865         handling a message.
16866         
16867         * gst/gstbus.c: (gst_bus_get_type):
16868         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16869         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16870         * gst/gstclock.c: (gst_clock_get_type):
16871         * gst/gstelement.c: (gst_element_get_type),
16872         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16873         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16874         * gst/gstminiobject.c: (gst_mini_object_get_type):
16875         * gst/gstpad.c: (gst_pad_get_type):
16876         * gst/gstsegment.c: (gst_segment_get_type):
16877         * gst/gststructure.c: (gst_structure_get_type):
16878         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16879         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16880         * gst/gstvalue.c:
16881         Help compiler with type registration.
16882
16883         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16884         Small doc update.
16885
16886 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16887
16888         * plugins/elements/gsttypefindelement.c:
16889         (gst_type_find_element_handle_event):
16890           When we get an EOS event and have not found a type yet
16891           (most likely because we had not yet accumulated
16892           TYPE_FIND_MIN_SIZE of data yet), try to determine the
16893           type given the data we have so far. Fixes typefinding
16894           for very short streams again, most notably quicktime
16895           redirections as used on Apple's trailer site (#331701).
16896
16897 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16898
16899         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16900         (gst_type_find_helper):
16901           Try typefinding factories with the highest rank first.
16902
16903 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16904
16905         * docs/libs/gstreamer-libs-docs.sgml:
16906         * docs/libs/gstreamer-libs-sections.txt:
16907         * libs/gst/base/gsttypefindhelper.c:
16908           Add section for typefind helper and add documentation
16909           for the old and the new function.
16910
16911 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16912
16913         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16914         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16915         (gst_type_find_helper_for_buffer):
16916         * libs/gst/base/gsttypefindhelper.h:
16917           New API: gst_type_find_helper_for_buffer() (#332723).
16918           
16919 2006-02-27  Michael Smith  <msmith@fluendo.com>
16920
16921         Patch by: Loïc Minier
16922
16923         * configure.ac:
16924         * docs/Makefile.am:
16925         * docs/slides/Makefile.am:
16926           prevent CVS directories getting disted.
16927
16928 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16929
16930         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16931           Use the REFCOUNTING category for caps refcounting.
16932           
16933 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16934
16935         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16936           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16937
16938 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16939
16940         * plugins/elements/gsttypefindelement.c:
16941         (gst_type_find_element_activate):
16942           Use gst_pad_check_pull_range() before _activate_pull()
16943           to avoid unnecessary open/close (see #331690).
16944
16945 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16946
16947         * gst/gstutils.c:
16948           Docs enhancement: make it crystal clear what the
16949           gst_pad_add_*_probe() callbacks should look like.
16950
16951 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16952
16953         * libs/gst/base/gstbasesrc.c:
16954           Document how applications can stop recording from
16955           live sources (see #330996).
16956
16957 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16958
16959         * tests/check/Makefile.am:
16960         * tests/check/libs/basesrc.c: (eos_event_counter),
16961         (basesrc_eos_events_pull), (basesrc_eos_events_push),
16962         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16963         (gst_basesrc_suite), (main):
16964           ... and add some tests for the base source EOS stuff.
16965
16966 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16967
16968         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16969           Test case originally showed the problem fixed below,
16970           but was then amended. Add checks back at the place
16971           where they used to be.
16972
16973 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16974
16975         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16976         (gst_base_src_init), (gst_base_src_loop),
16977         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16978         (gst_base_src_change_state):
16979         * libs/gst/base/gstbasesrc.h:
16980           Don't unconditionally send EOS when going from PAUSED to
16981           READY state, esp. make sure we don't send two EOS events
16982           in some cases (e.g. one when reaching EOS and one when
16983           going from PAUSED to READY). Also, we don't want to send
16984           EOS events when operating in pull mode. However, we do
16985           want to send an EOS event when shutting down a live
16986           source explicitly, for example (fixes #330996).
16987           
16988 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16989
16990         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16991           Update src->read_position after a seek when not using mmap.
16992           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16993
16994 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
16995
16996         * gst/Makefile.am:
16997         * gst/gstparse.h:
16998         * gst/gstutils.c:
16999         * gst/gstutils.h:
17000         Make things work with --disable-parse as they do with 
17001         --disable-load-save - the symbols involved disappear, but the
17002         header is still installed and GST_DISABLE_PARSE is included via
17003         gstconfig.h
17004
17005 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17006
17007         * libs/gst/base/gstbasetransform.c:
17008         (gst_base_transform_change_state): Fix a stupid bug. I was 
17009         sure I compiled that.
17010
17011 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17012
17013         * gst/gstpad.c: (gst_pad_set_blocked_async):
17014         * gst/gstutils.c: (gst_pad_add_data_probe),
17015         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17016         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17017         (gst_pad_remove_buffer_probe): Make those function act on the
17018         ghostpad target when it's a ghostpad. (Closes #331727)
17019
17020 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17021
17022         * libs/gst/base/gstbasetransform.c:
17023         (gst_base_transform_change_state): Make basetransform reusable.
17024         (Closes #331898)
17025
17026 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17027
17028         * docs/random/release:
17029         Move the current documentation of how to do a release to the top
17030         of the file.
17031
17032         * gst/gstbin.c: (gst_bin_class_init),
17033         (gst_bin_handle_message_func):
17034         Allow multiple state-recalculation threads. (Closes #328873)
17035
17036 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17037
17038         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17039         * gst/gstpad.c: (gst_pad_set_event_function),
17040         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17041         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17042         2 strings. You can't use the STR_NULL macro on that.
17043
17044 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17045
17046         * gst/gstpad.c: (gst_pad_set_event_function),
17047         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17048         (gst_pad_set_getcaps_function)
17049         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17050           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17051           So now, we can use --gst-debug-level=5 on Windows
17052         * win32/common/libgstcontroller.def:
17053           Added export of gst_controller_init
17054         * win32/vs6/libgstcontroller.dsp:
17055           Fixed Release post build configuration
17056
17057 2006-02-17  Wim Taymans  <wim@fluendo.com>
17058
17059         * tests/check/gst/gstquery.c: (GST_START_TEST):
17060         Added another check.
17061
17062 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17063
17064         * plugins/elements/gsttypefindelement.c: (find_peek):
17065           We can do peeks at non-zero offsets, as long as they
17066           fall within the buffer we have.
17067
17068 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17069
17070         * tests/check/Makefile.am:
17071         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17072         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17073         (parse_suite), (main):
17074           Add testsuite for parse launch syntax
17075
17076 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17077
17078         * plugins/elements/gsttypefindelement.c:
17079         (gst_type_find_element_chain):
17080           When typefinding is unsuccessful in the chain function, don't
17081           error out immediately. Only error out with NO_CAPS_FOUND if
17082           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17083           otherwise simply wait for more data so we can try typefinding
17084           again with more data later. Also, don't attempt to typefind
17085           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17086           this should improve typefinding from network sources where the
17087           size of the first buffer can be somewhat random.
17088
17089 2006-02-14  Wim Taymans  <wim@fluendo.com>
17090
17091         * docs/gst/gstreamer-sections.txt:
17092         * gst/gstpadtemplate.c:
17093         * gst/gstpadtemplate.h:
17094         Fix padtemplate docs, fixes #328805.
17095
17096 2006-02-14  Wim Taymans  <wim@fluendo.com>
17097
17098         * tools/gst-launch.c: (main):
17099         NO_PREROLL is not an ERROR so don't send confusing messages
17100         to the user.
17101
17102 2006-02-14  Wim Taymans  <wim@fluendo.com>
17103
17104         Patch by: Torsten Schoenfeld
17105
17106         * gst/gstregistry.c: (gst_registry_get_default),
17107         (_gst_registry_cleanup):
17108         Protect default registry with lock and ref/sink it.
17109         Fixes #324818
17110
17111 2006-02-14  Wim Taymans  <wim@fluendo.com>
17112
17113         * gst/gstbuffer.c:
17114         * gst/gstquery.c: (gst_query_list_add_format),
17115         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17116         (gst_query_parse_formats_nth):
17117         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17118         Docs fixes.
17119
17120 2006-02-14  Wim Taymans  <wim@fluendo.com>
17121
17122         * docs/gst/gstreamer-sections.txt:
17123         Reworked query docs.
17124
17125         * gst/gstquery.c: (gst_query_new_formats),
17126         (gst_query_list_add_format), (gst_query_set_formats),
17127         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17128         (gst_query_parse_formats_nth):
17129         * gst/gstquery.h:
17130         Flesh out formats query, added some new methods.
17131         Fix part of #324398.
17132
17133         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17134         Added query creation tests.
17135
17136 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17137
17138         * gst/gstpad.c: (fixate_value):
17139         Add a default fixation for fraction lists.
17140
17141 2006-02-13  Wim Taymans  <wim@fluendo.com>
17142
17143         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17144         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17145         (gst_task_join):
17146         * gst/gsttask.h:
17147         Detect and warn for obvious deadlocks. fixes #320340
17148         Fix error case where lock was not released.
17149
17150         * tests/check/Makefile.am:
17151         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17152         (task_func), (gst_element_suite), (main):
17153         Add task check.
17154
17155 2006-02-13  Wim Taymans  <wim@fluendo.com>
17156
17157         * docs/gst/gstreamer-sections.txt:
17158         * gst/gstbus.c:
17159         Add new functions to docs.
17160
17161 2006-02-13  Wim Taymans  <wim@fluendo.com>
17162
17163         * docs/design/part-TODO.txt:
17164         Updated TODO list, basesrc supports seeking to non-bytes
17165         formats.
17166
17167         * docs/design/part-element-sink.txt:
17168         Update docs.
17169
17170         * gst/gstbin.c: (bin_replace_message),
17171         (gst_bin_handle_message_func):
17172         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17173         * gst/gstevent.c: (gst_event_finalize):
17174         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17175         (gst_pad_send_event):
17176         Use shiny new _TYPE_NAME macros.
17177
17178         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17179         Move debug statement up.
17180
17181         * gst/gstelement.c: (gst_element_set_locked_state):
17182         Add some debugging.
17183
17184 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17185
17186         * docs/gst/gstreamer-sections.txt:
17187         * gst/gstmessage.h:
17188         * gst/gstquery.h:
17189           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17190           macros (#330906). Also, document the already existing
17191           GST_QUERY_TYPE macro.
17192
17193 2006-02-13  Wim Taymans  <wim@fluendo.com>
17194
17195         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17196         (event_probe), (GST_START_TEST):
17197         Only events up to the pipeline EOS are counted, there are
17198         some more when going to NULL currently which we don't care
17199         about for now.
17200
17201 2006-02-13  Wim Taymans  <wim@fluendo.com>
17202
17203         * gst/gstpad.c: (gst_pad_send_event):
17204         Correctly check flushing and emit probes. fixes #330125
17205
17206 2006-02-10  Andy Wingo  <wingo@pobox.com>
17207
17208         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17209         structure.
17210         (gst_bus_init): Cache the location of the private data in the
17211         instance structure.
17212         (gst_bus_enable_sync_message_emission) 
17213         (gst_bus_disable_sync_message_emission): Implement new public
17214         functions.
17215         (gst_bus_post): Emit the sync-message signal if the user asked for
17216         it. Fixes #330684.
17217
17218         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17219         location of the bus-private structure.
17220         (gst_bus_enable_sync_message_emission)
17221         (gst_bus_disable_sync_message_emission): API addition
17222
17223 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17224
17225         Patch by: Vincent Torri
17226
17227         * docs/pwg/building-boiler.xml:
17228         PWG patch from #326800
17229
17230 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17231
17232         * configure.ac:
17233         * docs/Makefile.am:
17234         * docs/design/Makefile.am:
17235           Dist design docs.
17236
17237 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17238
17239         * configure.ac:
17240           back to CVS
17241
17242 === release 0.10.3 ===
17243
17244 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17245
17246         * configure.ac:
17247           releasing 0.10.3, "Like a virgin"
17248
17249 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17250
17251         * configure.ac:
17252           2nd prerelease of 0.10.3
17253           Bump libtool versioning.
17254
17255 2006-02-07  Andy Wingo  <wingo@pobox.com>
17256
17257         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17258         update last_stop if we're in TIME format and the timestamp is
17259         valid.
17260
17261         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17262         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17263         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17264         If we get a new newsegment with a different format, adapt
17265         accordingly.
17266
17267         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17268         of 0. Not a problem, really.
17269
17270         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17271         warn if sync=true.
17272
17273 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17274
17275         * configure.ac:
17276           Prelease of 0.10.3
17277
17278 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17279
17280         * win32/vs7:
17281           project files updated to the default vs7 configuration
17282         * win32/common/libgstbase.def:
17283         * win32/common/libgstreamer.def:
17284           added new symbols,
17285           removed empty lines,
17286           sorted all exported symbols alphabetically
17287         * win32/common/dirent.c:
17288         * win32/common/dirent.h:
17289         * win32/common/gchar.h:
17290           use windows line end.
17291           
17292 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17293
17294         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17295           Send EOS event when stopping.
17296
17297 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17298
17299         * docs/README:
17300           Tell folks what to do if the plugin-foobar.xml file
17301           hasn't been generated for a newly-added plugin.
17302
17303 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17304
17305         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17306         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17307         (gst_collect_pads_start), (gst_collect_pads_stop),
17308         (gst_collect_pads_event): Collectpads now holds a reference
17309         to the GstPad that was added. Indeed we don't want to look
17310         at pads that might just go away with no warning...
17311
17312 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17313
17314         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17315         (gst_collect_pads_start), (gst_collect_pads_stop),
17316         (gst_collect_pads_event), (gst_collect_pads_chain):
17317         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17318         Mark Nauwelaerts's patch on bug #328491.
17319
17320 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17321
17322         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17323         (gst_utils_suite):
17324           Add some simple tests for gst_parse_bin_from_description() and
17325           gst_bin_find_unconnected_pad() (#329069).
17326
17327 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17328
17329         * tools/gst-launch.c: (event_loop), (main):
17330           Catch errors during preroll (#320084).
17331
17332 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17333
17334         * plugins/elements/gsttypefindelement.c:
17335         (gst_type_find_element_activate):
17336           Post TYPE_NOT_FOUND error message when typefinding
17337           is unsuccessful in the activate function as well.
17338
17339 2006-02-02  Wim Taymans  <wim@fluendo.com>
17340
17341         * docs/design/part-element-sink.txt:
17342         Updated doc.
17343
17344 2006-02-02  Wim Taymans  <wim@fluendo.com>
17345
17346         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17347         (gst_base_sink_render_object),
17348         (gst_base_sink_queue_object_unlocked):
17349         Only keep track of prerollable items when we are 
17350         prerolling.
17351         Before rendering after preroll, always check if we
17352         have queued items.
17353         Added some more debugging.
17354
17355 2006-02-02  Wim Taymans  <wim@fluendo.com>
17356
17357         * gst/gstelement.c: (gst_element_continue_state),
17358         (gst_element_set_state_func), (gst_element_change_state):
17359         Fixed #326576, been running this for quite some time with
17360         no regressions at all.
17361
17362 2006-02-02  Wim Taymans  <wim@fluendo.com>
17363
17364         * common/gst.supp:
17365         Added more suppressions
17366
17367 2006-02-02  Wim Taymans  <wim@fluendo.com>
17368
17369         * docs/design/part-element-sink.txt:
17370         Updated document.
17371
17372         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17373         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17374         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17375         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17376         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17377         (gst_base_sink_preroll_object),
17378         (gst_base_sink_queue_object_unlocked),
17379         (gst_base_sink_queue_object), (gst_base_sink_event),
17380         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17381         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17382         (gst_base_sink_get_position), (gst_base_sink_change_state):
17383         * libs/gst/base/gstbasesink.h:
17384         Totally refactored matching the design doc.
17385         Use two segments, one to clip incomming buffers and another to
17386         perform sync.
17387         Handle queueing correctly, bypass the queue when playing.
17388         Make EOS cancelable.
17389         Handle errors correctly when operating in pull based mode.
17390
17391         * tests/check/elements/fakesink.c: (GST_START_TEST),
17392         (fakesink_suite):
17393         Added new check for sinks.
17394
17395 2006-02-02  Wim Taymans  <wim@fluendo.com>
17396
17397         * gst/gstsegment.c: (gst_segment_clip):
17398         No reason to refuse to clip when start == -1
17399
17400 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17401
17402         * docs/README:
17403         * docs/manual/intro-basics.xml:
17404         * docs/manual/intro-preface.xml:
17405         * docs/manual/manual.xml:
17406         * docs/pwg/advanced-dparams.xml:
17407         * docs/pwg/intro-basics.xml:
17408         * docs/pwg/intro-preface.xml:
17409         * docs/pwg/pwg.xml:
17410           describe dparams (controller) for plugins
17411           unify docs a little more
17412
17413 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17414
17415         * docs/gst/gstreamer-sections.txt:
17416         * gst/gstutils.c: (element_find_unconnected_pad),
17417         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17418         * gst/gstutils.h:
17419           Add new API: gst_parse_bin_from_description() and
17420           gst_bin_find_unconnected_pad() (#329069).
17421
17422 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17423
17424         * docs/manual/README:
17425           uncover a nasty detail of the docs build
17426
17427 2006-01-31  Wim Taymans  <wim@fluendo.com>
17428
17429         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17430         Don't cache duration messages if we're not going to use or
17431         free them.
17432
17433 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17434
17435         * docs/manual/advanced-dparams.xml:
17436         * docs/pwg/advanced-dparams.xml:
17437           more dparam docs
17438         * gst/gstindex.c:
17439           fix docs
17440         * libs/gst/controller/lib.c: (gst_controller_init):
17441           init just once
17442
17443 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17444
17445         * gst/gstelement.c: (gst_element_message_full):
17446           also show file/line/func if no additional debug was given
17447
17448 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17449         
17450         * win32/vs7/grammar.vcproj:
17451           activate copy of autogenerated files for Release mode
17452
17453 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17454         
17455         * win32/common/libgstreamer.def:
17456           export gst_value_compare
17457
17458 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17459
17460         * plugins/elements/Makefile.am:
17461         * plugins/elements/gstelements.c:
17462         * plugins/elements/gstfdsink.c: (_do_init),
17463         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17464         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17465         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17466         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17467         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17468         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17469         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17470         * plugins/elements/gstfdsink.h:
17471         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17472
17473 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17474
17475         * docs/manual/advanced-dparams.xml:
17476           describe controller
17477         * docs/manual/advanced-position.xml:
17478         * docs/manual/basics-init.xml:
17479         * docs/manual/manual.xml:
17480         * docs/manual/titlepage.xml:
17481         * docs/pwg/pwg.xml:
17482         * docs/pwg/titlepage.xml:
17483           cleanup xml (more to come)
17484         * libs/gst/controller/gstcontroller.c:
17485           fix typo
17486
17487 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17488         
17489         * win32/vs6/grammar.dsp:
17490           add autogen of gstmarshal.c,h for Release mode
17491                 
17492 2006-01-30  Wim Taymans  <wim@fluendo.com>
17493
17494         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17495         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17496         (gst_base_sink_handle_object), (gst_base_sink_event),
17497         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17498         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17499         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17500         (gst_base_sink_deactivate), (gst_base_sink_activate),
17501         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17502         (gst_base_sink_query), (gst_base_sink_change_state):
17503         Basesink cleanups, remove some old code.
17504         Handle the case where a subclass can preroll in the render
17505         method (mostly audiosinks).
17506         Handle more events.
17507         Remove some locks around variables that are now protected
17508         with the PREROLL_LOCK (clock_id, flushing, ..).
17509         Optimize position query some more, do correct locking.
17510         Remove old code to push queue in state change, this is not
17511         needed anymore since preroll blocks on all prerollable items 
17512         now.
17513         Almost implemented as described in design doc.
17514
17515 2006-01-30  Wim Taymans  <wim@fluendo.com>
17516
17517         * tests/check/gst/gstbin.c: (GST_START_TEST):
17518         Wait for refcount to settle down before checking.
17519
17520 2006-01-30  Wim Taymans  <wim@fluendo.com>
17521
17522         * docs/design/part-element-sink.txt:
17523         Pseudo code overview of desired sink behaviour regarding
17524         preroll.
17525
17526 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17527         * win32/vs6/grammar.dsp:
17528           fix some bugs in Release mode for autogenerated files
17529                 
17530 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17531         * win32/common/libgstbase.def:
17532         * win32/common/libgstreamer.def:
17533           export some new symbols: gst_base_src_set_format,
17534           gst_iterator_next, gst_structure_set_valist
17535
17536 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17537
17538         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17539         Set pad functions unconditionally. Fixes #329105.
17540
17541 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17542         * win32/vs8:
17543           add vs8 project files created by Sergey Scobich
17544
17545 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17546
17547         * gst/gstutils.c: (gst_element_unlink_pads):
17548         Don't leak pad references.
17549
17550         * tests/check/elements/fakesink.c: (GST_START_TEST):
17551         * tests/check/generic/sinks.c: (GST_START_TEST):
17552         * tests/check/generic/states.c: (GST_START_TEST):
17553         * tests/check/gst/gstbin.c: (GST_START_TEST):
17554         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17555         * tests/check/gst/gstelement.c: (GST_START_TEST):
17556         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17557         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17558         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17559         Fix a bunch of leaks. Make generic/sinks.c
17560         use a bit less cpu by slowing the buffer rate
17561         between fakesrc and fakesink.
17562         
17563 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17564         * gst/gstcaps.c:
17565         * gst/gstelement.c: (gst_element_send_event):
17566         * gst/gstevent.c:
17567         * gst/gstinfo.c:
17568         * gst/gstiterator.c:
17569         * gst/gstiterator.h:
17570         * gst/gstpad.c: (gst_pad_send_event):
17571         * gst/gststructure.c:
17572         * gst/gsturi.c:
17573         * gst/gstutils.c:
17574         * gst/gstvalue.c:
17575         * libs/gst/base/gstadapter.c:
17576           doc fixes, to link to function, just write gst_cool_function(), don't
17577           prefix with '#'
17578
17579 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17580
17581         * plugins/elements/gsttee.c: (gst_tee_do_push),
17582         (gst_tee_handle_buffer):
17583         Always prefer an actual return value from a src
17584         pad in place of NOT_LINKED. This means we return
17585         WRONG_STATE when all src pads are WRONG_STATE
17586         instead of NOT_LINKED.
17587
17588         Lock when replacing the last message to prevent
17589         racing with the get_property method.
17590
17591         Add debug output
17592
17593 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17594
17595         * tests/check/Makefile.am:
17596         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17597         (main):
17598         Add a very simple check that should have caught the memleak I fixed
17599         last night (if not for the slice allocator hiding it)
17600
17601 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17602
17603         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17604         (gst_bin_remove_func), (gst_bin_handle_message_func),
17605         (bin_query_duration_fold), (bin_query_generic_fold):
17606         Clean up references to the clock provider when disposed or when
17607         handling a clock-lost message from it.
17608
17609         Unref sinks when performing a query via gst_iterator_fold, as the
17610         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17611
17612         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17613         (gst_clock_set_master):
17614         Drop our reference to the master clock, if any, when we are disposed.
17615
17616         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17617         Chain up in dispose. 
17618
17619 2006-01-26  Wim Taymans  <wim@fluendo.com>
17620
17621         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17622         Add some debugging.
17623
17624 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17625
17626         * plugins/elements/gsttee.c: (gst_tee_do_push),
17627         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17628         handles pad being NOT_LINKED or in WRONG_STATE.
17629
17630 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17631
17632         * win32/MANIFEST:
17633           more updating
17634
17635 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17636
17637         * win32/MANIFEST:
17638           remove obsolete entry
17639
17640 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17641
17642         * docs/gst/gstreamer-sections.txt:
17643         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17644         (gst_bin_iterate_sources), (gst_bin_send_event):
17645         * gst/gstbin.h:
17646         * gst/gstelement.c: (gst_element_send_event):
17647         * gst/gstevent.c:
17648         * gst/gstpad.c: (gst_pad_send_event):
17649           added code for downstream events, reviewed docs in gstevent.c
17650
17651 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17652
17653         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17654         We only query position using the clock in the playing state.
17655         Query peer in the other cases.
17656         * win32/common/config.h: Updates.
17657
17658 2006-01-24  Wim Taymans  <wim@fluendo.com>
17659
17660         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17661         A clock entry that is scheduled for the exact time of the
17662         clock is still in time.
17663
17664         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17665         (gst_base_sink_do_sync):
17666         Add some more debug info.
17667
17668 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17669
17670         * win32/vs7:
17671           Add new vs7 project files and solution.
17672
17673 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17674
17675         * win32/vs7:
17676           all files removed as they were out-dated.
17677
17678 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17679
17680         * docs/random/release:
17681           update notes
17682         * gst/gstbin.c: (gst_bin_init):
17683         * gst/gstbus.c: (gst_bus_new):
17684         * gst/gstbus.h:
17685         * gst/gstpipeline.c: (gst_pipeline_init):
17686           use gst_bus_new(), improve logging, fix docs
17687         * win32/common/config.h:
17688           update for cvs build
17689
17690 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17691
17692         * autogen.sh:
17693           up required version of automake to 1.7
17694
17695 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17696
17697         * win32/common/libgstreamer.def:
17698           export gst_buffer_is_metadata_writable
17699
17700 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17701
17702         * docs/gst/gstreamer-sections.txt:
17703         * gst/gstevent.h:
17704           Add gst_event_replace() (#327001)
17705
17706 2006-01-20  Wim Taymans  <wim@fluendo.com>
17707
17708         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17709         Make it actually compile too..
17710
17711 2006-01-20  Wim Taymans  <wim@fluendo.com>
17712
17713         * gst/gstcaps.c:
17714         Clarify behaviour of _is_equal() when passing NULL parameters.
17715
17716         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17717         (gst_pad_set_caps):
17718         Cleanups. Don't unref NULL caps.
17719         When setting the same caps, protect caps of the pad with
17720         proper lock.
17721         Use full functionality of _is_equal() when comparing caps.
17722
17723 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17724
17725         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17726         Don't loop infinitely if there are no buffers to present. Partially
17727         fixes #327197, but collectpads is just broken for reusing elements
17728         to do multiple encodes atm.
17729
17730 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17731
17732         * tools/gst-inspect.c: (print_element_features):
17733         * tools/gst-xmlinspect.c: (main):
17734         URL_HANDLER is not a plugin feature we can search for in
17735         the registry.
17736
17737 2006-01-19  Edward Hervey  <edward@fluendo.com>
17738
17739         * gst/gstelement.c: (gst_element_pads_activate): 
17740         When activating, do src pads first, then sink pads.
17741         When de-activating, do sink pads first, then src pads.
17742
17743 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17744
17745         * docs/gst/gstreamer-sections.txt:
17746         Add gst_index_add_associationv to the docs
17747
17748 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17749
17750         * gst/gstevent.c:
17751           Fix docs typo
17752
17753         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17754         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17755           Do some refactoring. Doesn't actually change functionality,
17756           but makes landing the DRAIN event easier later.
17757
17758 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17759
17760         * docs/pwg/advanced-scheduling.xml:
17761           Update from 0.9.x to 0.10 API and make example a bit
17762           clearer.
17763
17764 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17765
17766         * docs/gst/gstreamer-sections.txt:
17767         Add gst_buffer_(is|make)_metadata_writable methods.
17768
17769 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17770
17771         * docs/design/part-sparsestreams.txt:
17772         Update sparse streams doc, hopefully for greater clarity
17773
17774 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17775
17776         * docs/design/part-events.txt:
17777         Remove mention of FILLER events.
17778         Add DRAIN event.
17779
17780         * docs/design/part-sparsestreams.txt:
17781         Write some things about using NEWSEGMENT to keep sparse streams
17782         flowing.
17783
17784 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17785
17786         * gst/gstbin.c: (gst_bin_dispose):
17787           Guard gst_object_unref call against a NULL object (dispose
17788           can theoretically be called multiple times).
17789           
17790 2006-01-18  Wim Taymans  <wim@fluendo.com>
17791
17792         * gst/gstbin.c: (gst_bin_element_set_state):
17793         * gst/gstclock.c: (gst_clock_id_wait):
17794         Added some more debug info.
17795
17796         * libs/gst/base/gstadapter.c:
17797         Added more docs.
17798
17799         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17800         (gst_base_sink_do_sync), (gst_base_sink_chain):
17801         Added some comments.
17802
17803 2006-01-18  Wim Taymans  <wim@fluendo.com>
17804
17805         * tests/check/Makefile.am:
17806         * tests/check/elements/fakesink.c: (chain_async_buffer),
17807         (chain_async), (chain_async_return), (GST_START_TEST),
17808         (fakesink_suite), (main):
17809         Added fakesink test that checks prerolling and clipping
17810         behaviour.
17811
17812         * tests/check/gst/gstutils.c: (GST_START_TEST):
17813         Make check run faster so that buildbots don't timeout.
17814
17815 2006-01-18  Wim Taymans  <wim@fluendo.com>
17816
17817         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17818         (gst_base_sink_do_sync):
17819         Some cleanups.
17820         When the sink finishes blocking on the preroll buffer, it can
17821         immediatly render it instead of rendering when the next buffer
17822         arrives.
17823
17824 2006-01-18  Wim Taymans  <wim@fluendo.com>
17825
17826         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17827         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17828         (gst_base_sink_chain):
17829         Small cleanups.
17830         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17831         Don't store _last_stop if the buffer is dropped.
17832
17833 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17834
17835         * plugins/elements/gsttypefindelement.c:
17836         (gst_type_find_element_class_init):
17837           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17838           object method handler that sets the caps on the pad and we want
17839           that to happen before we emit the signal (fixes e.g. feeding a
17840           plain text file to decodebin).
17841
17842 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17843
17844         * gst/gstplugin.c: Add MPL and Proprietary as license options
17845
17846 2006-01-18  Andy Wingo  <wingo@pobox.com>
17847
17848         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17849         symbol was exported before, it appears this was just an oversight.
17850         Fixes #168703.
17851         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17852
17853         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17854         prototype to gint. OK since this prototype was not in the header.
17855
17856 2006-01-17  Andy Wingo  <wingo@pobox.com>
17857
17858         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17859         registry while we remove plugins.
17860
17861         * tools/gst-inspect.c (print_element_info): Don't unref the
17862         factory arg, that should be the responsibility of whatever code
17863         received the ref. Fixes a double-free when called from
17864         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17865         (main): Unref the factory if we have one.
17866         (print_element_list): No change -- relies on the
17867         plugin_feature_list_free to free the list of features.
17868
17869 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17870
17871         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17872         (gst_buffer_make_metadata_writable):
17873         * gst/gstbuffer.h:
17874         * libs/gst/base/gstbasetransform.c:
17875         (gst_base_transform_prepare_output_buf):
17876         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17877         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17878           Replace gst_buffer_(make|is)_metadata_writable patch now
17879           that the release is out.
17880
17881 2006-01-17  Andy Wingo  <wingo@pobox.com>
17882
17883         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17884         in the present tense without reference to versions.
17885
17886         * gst/gstregistry.c (gst_registry_add_plugin)
17887         (gst_registry_remove_plugin, gst_registry_remove_feature)
17888         (gst_registry_find_feature, gst_registry_get_feature_list)
17889         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17890         (gst_registry_lookup, gst_registry_scan_path)
17891         (_gst_registry_remove_cache_plugins)
17892         (gst_registry_get_feature_list_by_plugin): Add argument
17893         validation.
17894
17895 === release 0.10.2 ===
17896
17897 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
17898
17899         * configure.ac:
17900           releasing 0.10.2, "If man is five"
17901
17902 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17903
17904         * gst/gstbuffer.c:
17905         * gst/gstbuffer.h:
17906         * libs/gst/base/gstbasetransform.c:
17907         (gst_base_transform_prepare_output_buf):
17908         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17909         * tests/check/gst/gstbuffer.c: (gst_test_suite):
17910           Back out patch until after the release.
17911
17912 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17913
17914         * gst/gstminiobject.c:
17915           Spelling fix in docs.
17916         * ChangeLog - remove conflict indicator
17917
17918 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17919
17920         Reviewed By: Andy Wingo
17921
17922         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17923         (gst_buffer_make_metadata_writable):
17924         * gst/gstbuffer.h:
17925           Add gst_buffer_(is|make)_metadata_writable as analogues of
17926           gst_buffer_(is|make)_writable.
17927
17928         * libs/gst/base/gstbasetransform.c:
17929         (gst_base_transform_prepare_output_buf):
17930         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17931           Use name gst_buffer_(is|make)_metadata_writable functions.
17932
17933         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17934           Test gst_buffer_(is|make)_metadata_writable
17935         
17936           (Closes: #324162)
17937
17938 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17939
17940         * docs/manual/Makefile.am:
17941           don't do parallel make
17942         * configure.ac:
17943           AC_SUBST HOST_CPU
17944         * win32/common/config.h.in:
17945           add generations for HOST_CPU and GST_MAJORMINOR
17946         * win32/common/config.h:
17947           commit generated result
17948
17949 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
17950
17951         * docs/manual/appendix-integration.xml:
17952           Update GNOME integration section to use gst_init_get_option_group()
17953           instead of the old popt stuff (#322911). Also, GNOME applications
17954           should  now use gconf*sink and gconf*src instead of the old gconf
17955           helper lib we had.
17956
17957 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
17958
17959
17960         * docs/gst/gstreamer-docs.sgml:
17961         * docs/gst/gstreamer-sections.txt:
17962         * docs/libs/gstreamer-libs-sections.txt:
17963           add new API entries to the docs
17964         * libs/gst/controller/Makefile.am:
17965         * libs/gst/controller/gstcontroller.c:
17966         * libs/gst/controller/gstcontroller.h:
17967         * libs/gst/controller/gstcontrollerprivate.h:
17968         * libs/gst/controller/gsthelper.c:
17969         * libs/gst/controller/gstinterpolation.c:
17970           move private structs to private header
17971         * po/README:
17972           gstreamer-0.7 -> gstreamer-0.10
17973         * tests/check/libs/struct_i386.h:
17974           remove private structs
17975
17976 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17977
17978         * plugins/indexers/Makefile.am:
17979           Fixes as part of #317048
17980
17981 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17982
17983         * plugins/indexers/Makefile.am:
17984           fix #316086 - compilation when mmap is missing
17985
17986 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
17987
17988         * libs/gst/base/gstbasesink.c:
17989           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
17990           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17991         * win32/common/config.h:
17992           added some defines GST_MAJORMINOR and HOST_CPU
17993         * win32/common/libgstbase.def:
17994         * win32/common/libgstreamer.def:
17995           added some exported functions.
17996
17997 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17998
17999         * libs/gst/controller/gstcontroller.c:
18000         (gst_controlled_property_set_interpolation_mode),
18001         (gst_controlled_property_new):
18002         * libs/gst/controller/gstcontroller.h:
18003         * libs/gst/controller/gstinterpolation.c:
18004         (interpolate_none_get_string_value_array):
18005           make G_TYPE_STRING controlable
18006
18007 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18008
18009         * tools/README:
18010         * tools/gst-feedback.1.in:
18011         * tools/gst-inspect.1.in:
18012         * tools/gst-launch.1.in:
18013         * tools/gst-md5sum.1.in:
18014         * tools/gst-typefind.1.in:
18015         * tools/gst-xmlinspect.1.in:
18016         * tools/gst-xmllaunch.1.in:
18017           cleanup man-pages, remove reference to gst-register, document env-vars
18018
18019 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18020
18021         * gst/gstbuffer.c: (gst_buffer_span):
18022           gst_buffer_span should copy the timestamp of the first buffer
18023           if they were both originally overlapping subbuffers of the 
18024           same parent, using the same logic as the 'slow copy' case.
18025
18026 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18027
18028         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18029           Need to awaken ALL the pads when we pop a buffer, otherwise
18030           collectpads only works when there is 2 input streams.
18031
18032 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18033
18034         * docs/random/ensonic/media-device-daemon.txt:
18035           more ideas (dbus)
18036         * gst/gstbuffer.c:
18037           fix doc example, add clarification
18038         * tools/gst-launch.1.in:
18039           add initial info about GST_PLUGIN_PATH, needs more work
18040
18041 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18042
18043         * docs/manual/basics-bins.xml:
18044         * docs/manual/basics-elements.xml:
18045         * docs/manual/intro-basics.xml:
18046           Some more minor docs additions and updates.
18047
18048 2006-01-11  Wim Taymans  <wim@fluendo.com>
18049
18050         * docs/manual/basics-bins.xml:
18051         * docs/manual/basics-elements.xml:
18052         Some small fixes as pointed out by Ser-ver on IRC.
18053
18054 2006-01-10  Edward Hervey  <edward@fluendo.com>
18055
18056         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18057         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18058         the single-segment mode.
18059
18060 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18061
18062         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18063
18064         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18065         (gst_base_src_perform_seek), (gst_base_src_send_event),
18066         (gst_base_src_set_property), (gst_base_src_get_property),
18067         (gst_base_src_loop), (gst_base_src_start),
18068         (gst_base_src_activate_push):
18069         * libs/gst/base/gstbasesrc.h:
18070           Name (private) union; makes Sun's Forte compiler happy (#324900).
18071
18072 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18073
18074         * README:
18075           gst-register is gone.
18076
18077 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18078
18079         * gst/gstvalue.c: (_gst_value_initialize):
18080           make the G_TYPE_DATE instantiation work if debug is disabled
18081
18082 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18083
18084         * gst/gstmessage.c: (gst_message_parse_tag),
18085         (gst_message_parse_error), (gst_message_parse_warning):
18086           Don't crash when return location for error/warning debug
18087           string is NULL; add fact that return locations can be
18088           NULL to docs where appropriate.
18089
18090 2006-01-05  Wim Taymans  <wim@fluendo.com>
18091
18092         * gst/gstplugin.c: (gst_plugin_load_file):
18093         Replace strdup by g_strdup.
18094
18095 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18096
18097         * docs/pwg/advanced-types.xml:
18098           fix doc borkage
18099
18100 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18101
18102         submitted by: Abel Cheung
18103
18104         * po/LINGUAS:
18105         * po/zh_TW.po:
18106           Added Chinese (traditional) translation
18107
18108 2006-01-04  Wim Taymans  <wim@fluendo.com>
18109
18110         * docs/manual/basics-pads.xml:
18111         * docs/plugins/Makefile.am:
18112         * docs/plugins/gstreamer-plugins-docs.sgml:
18113         * docs/plugins/gstreamer-plugins-sections.txt:
18114         * docs/pwg/advanced-clock.xml:
18115         * docs/pwg/advanced-scheduling.xml:
18116         * docs/pwg/advanced-types.xml:
18117         * plugins/elements/gstfdsink.c:
18118         * plugins/elements/gstfdsrc.c:
18119         * plugins/elements/gstfdsrc.h:
18120         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18121         * plugins/elements/gstidentity.h:
18122         * plugins/elements/gstqueue.h:
18123         * plugins/elements/gsttee.c:
18124         * plugins/elements/gsttee.h:
18125         * plugins/elements/gsttypefindelement.c:
18126         (gst_type_find_element_class_init):
18127         * plugins/elements/gsttypefindelement.h:
18128         Small updates to various docs.
18129         Added core plugins to docs.
18130
18131 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18132
18133         * common/gst.supp:
18134           add a suppression for liboil's uninitialized variable
18135
18136 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18137
18138         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18139
18140         * gst/gstutils.h:
18141           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18142           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18143           compiler switch is being used (#325429).
18144
18145 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18146
18147         * gst/gstbin.c: (gst_bin_query):
18148           Disable duration query caching in bins until it gets
18149           fixed (see #324807).
18150
18151 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18152
18153         * tools/gst-inspect.c: (print_element_properties_info):
18154           Handle properties of POINTER and BOXED type.
18155
18156 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18157
18158         * gst/gst.c: (init_post):
18159           Init tags stuff and some other things before loading
18160           any static plugins (there may be other static plugins
18161           than just the GStreamer ones, and they may want to
18162           register their own tags or formats or whatever, and
18163           preferably without segfaulting).
18164
18165         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18166           Print at least a warning in the debug logs if we drop a
18167           query just because we don't know how to adjust the value
18168           in the particular format.
18169
18170 2005-12-24  David Schleef  <ds@schleef.org>
18171
18172         * tools/gstreamer-completion:
18173           Replacement for gst-complete written in sh and sed.  Only
18174           completes names of features, but that's 90% of what I want
18175           it for.  Properties are not available in registry.xml.  (Maybe
18176           they should be...)
18177
18178 === release 0.10.1 ===
18179
18180 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18181
18182         * configure.ac:
18183           releasing 0.10.1, "Nollaig chridheil"
18184
18185 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18186
18187         * docs/faq/cvs.xml:
18188           Add missing quote, should be make ERROR_CFLAGS="".
18189
18190 2005-12-20  Wim Taymans  <wim@fluendo.com>
18191
18192         * docs/design/part-trickmodes.txt:
18193         More documentation on trickmodes.
18194
18195 2005-12-20  Edward Hervey  <edward@fluendo.com>
18196
18197         * gst/gstcaps.c: (gst_static_caps_get_type):
18198         * gst/gstcaps.h:
18199           API addition: GST_TYPE_STATIC_CAPS
18200         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18201         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18202         * gst/gstpadtemplate.h:
18203           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18204         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18205         bindings.
18206
18207 2005-12-18  Wim Taymans  <wim@fluendo.com>
18208
18209         * libs/gst/base/gstadapter.c:
18210         * libs/gst/base/gstadapter.h:
18211         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18212         (gst_base_sink_get_position):
18213         * libs/gst/base/gstbasesink.h:
18214         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18215         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18216         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18217         (gst_base_src_send_event), (gst_base_src_update_length),
18218         (gst_base_src_get_range), (gst_base_src_loop),
18219         (gst_base_src_start):
18220         * libs/gst/base/gstbasesrc.h:
18221         * libs/gst/base/gstbasetransform.h:
18222         * libs/gst/base/gstcollectpads.h:
18223         * libs/gst/base/gstpushsrc.c:
18224         * libs/gst/base/gstpushsrc.h:
18225         * libs/gst/dataprotocol/dataprotocol.c:
18226         * libs/gst/dataprotocol/dataprotocol.h:
18227         * libs/gst/net/gstnetclientclock.h:
18228         * libs/gst/net/gstnettimeprovider.h:
18229         Documentation updates.
18230
18231 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18232
18233         * docs/manual/basics-helloworld.xml:
18234           Remove superfluous closing bracket in helloworld example.
18235
18236 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18237
18238         * tools/gst-launch.1.in:
18239           Update gst-launch man page; add a section with useful
18240           environment variables. Fixes #323882.
18241
18242 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18243
18244         * gst/gst.c:
18245         * gst/gst_private.h:
18246           change some char* into char[]
18247
18248 2005-12-16  Wim Taymans  <wim@fluendo.com>
18249
18250         * gst/gstregistryxml.c: (load_feature):
18251         Cleanups.
18252         Don't use g_object_unref on GstObjects so that we avoid
18253         leaks on unsafe glibs.
18254
18255 2005-12-16  Wim Taymans  <wim@fluendo.com>
18256
18257         * gst/gstbin.c: (gst_bin_recalc_state):
18258         Small doc updates.
18259
18260 2005-12-16  Wim Taymans  <wim@fluendo.com>
18261
18262         * common/check.mak:
18263         Added make forever target for check.
18264
18265 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18266
18267         * gst/gst.c: (init_post):
18268           make the registry cache file HOST_CPU-dependent
18269
18270 2005-12-16  Andy Wingo  <wingo@pobox.com>
18271
18272         * plugins/elements/gstbufferstore.c
18273         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18274         return value.
18275
18276         * tests/check/gst/gstobject.c
18277         (test_fake_object_name_threaded_unique): Pay attention to
18278         g_list_sort return value.
18279
18280 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18281
18282         * tools/gst-feedback-m.m:
18283           Update for 0.9/0.10 (fixes #323870).
18284
18285 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18286
18287         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18288           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18289           
18290         * tests/check/gst/gstminiobject.c: (my_foo_init),
18291         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18292         (test_value_collection), (gst_mini_object_suite):
18293           Add test to ensure refcounts end up as expected when passing
18294           GstMiniObjects through g_object_get() and g_object_set().
18295
18296 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18297
18298         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18299         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18300         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18301         of collectpads. This version removes a lot of races without
18302         touching API/ABI. Yay !
18303
18304 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18305
18306         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18307           Don't allow activation of a srcpad in pull_range if it has no
18308           getrange function.
18309           Change some debug statements to be a little clearer
18310
18311         * plugins/elements/gsttypefindelement.c:
18312         (gst_type_find_handle_src_query):
18313           Check that we have a peer before executing queries thereupon.
18314
18315         * tests/examples/metadata/read-metadata.c: (message_loop):
18316           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18317           immediately return us any available message with 0 timeout.
18318
18319 2005-12-12  Michael Smith  <msmith@fluendo.com>
18320
18321         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18322           Don't unref factories after calling them.
18323         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18324         * plugins/elements/gsttypefindelement.c:
18325         (gst_type_find_element_chain):
18326           Free lists of factories after using them. Fixing typefinding memory
18327           leaks.
18328
18329 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18330
18331         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18332         (gst_plugin_feature_load):
18333           more meaningful debug output
18334         * configure.ac:
18335         * tests/Makefile.am:
18336         * tests/old/examples/Makefile.am:
18337           make make distcheck happy again
18338
18339 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18340
18341         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18342           Catch the special case where we are operating chain-based,
18343           but the downstream peer pad has no chain function. Emit a
18344           custom error message in this case instead of letting the
18345           core generate one implying that this is some sort of core
18346           bug. It's not, it just means that whatever got plugged
18347           into the pipeline downstream when we announced the type
18348           can only operate pull-based, while our source can only
18349           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18350           Error string has not been marked for translation yet, as
18351           it probably needs some more work first.
18352
18353         (gst_type_find_element_get_best_possibility):
18354           Add helper function to find the best of all available
18355           found possibilities that qualify given the min. threshold.
18356
18357         (gst_type_find_element_handle_event):
18358           Fix the case where we get an EOS while still in TYPEFIND
18359           mode (we want to chose the best of all possible types,
18360           not just the first type that happens to be in our unsorted
18361           list of possible types).
18362
18363         (gst_type_find_element_chain):
18364           Make sure we return GST_FLOW_ERROR when we errored out
18365           in stop_typefinding(); also, don't just find the best of
18366           all found type entries and then use the last examined
18367           type entry, but actually use the best entry.
18368
18369 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18370
18371         * tests/examples/typefind/typefind.c: (type_found):
18372         * tests/examples/xml/runxml.c: (xml_loaded):
18373           More gcc4 fixes and a mem leak fix.
18374
18375 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18376
18377         * tests/examples/xml/createxml.c: (object_saved):
18378           gcc 4 fixes
18379
18380 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18381
18382         * tests/Makefile.am:
18383           enable the examples even more
18384
18385 2005-12-12  Andy Wingo  <wingo@pobox.com>
18386
18387         * libs/gst/net/gstnettimeprovider.c
18388         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18389         (gst_net_time_provider_set_property)
18390         (gst_net_time_provider_get_property):
18391         API addition: Export "active" as a GObject property.
18392         (gst_net_time_provider_thread): Only respond to time queries if
18393         the time provider is active.
18394
18395         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18396         NetTimeProvider, preserving binary compat.
18397
18398 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18399
18400         * tests/examples/controller/audio-example.c: (main):
18401         * tests/examples/launch/Makefile.am:
18402           convert comments again
18403
18404 2005-12-12  Wim Taymans  <wim@fluendo.com>
18405
18406         * libs/gst/base/gstpushsrc.c:
18407         Fix typo.
18408
18409 2005-12-12  Wim Taymans  <wim@fluendo.com>
18410
18411         * docs/libs/gstreamer-libs-sections.txt:
18412         Added new symbol to docs.
18413
18414         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18415         (gst_base_src_init), (gst_base_src_set_format),
18416         (gst_base_src_default_query), (gst_base_src_query),
18417         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18418         (gst_base_src_perform_seek), (gst_base_src_send_event),
18419         (gst_base_src_default_event), (gst_base_src_event_handler),
18420         (gst_base_src_set_property), (gst_base_src_get_property),
18421         (gst_base_src_wait), (gst_base_src_do_sync),
18422         (gst_base_src_update_length), (gst_base_src_get_range),
18423         (gst_base_src_check_get_range), (gst_base_src_loop),
18424         (gst_base_src_default_negotiate), (gst_base_src_start),
18425         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18426         (gst_base_src_change_state):
18427         * libs/gst/base/gstbasesrc.h:
18428         Implement seeking to other formats than _BYTES.
18429         Implement more seeking methods correctly.
18430         Doc updates.
18431         Added query vmethod.
18432         Added do_seek vmethod to make life easier for subclasses
18433         when seeking.
18434         API addition: gst_base_src_set_format()
18435
18436 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18437
18438         * tests/examples/Makefile.am:
18439           added that too
18440
18441 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18442
18443         * configure.ac:
18444         * docs/random/ensonic/media-device-daemon.txt:
18445         * tests/examples/controller/.cvsignore:
18446         * tests/examples/controller/Makefile.am:
18447         * tests/examples/controller/audio-example.c: (main):
18448         * tests/examples/helloworld/.cvsignore:
18449         * tests/examples/helloworld/Makefile.am:
18450         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18451         * tests/examples/launch/.cvsignore:
18452         * tests/examples/launch/Makefile.am:
18453         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18454         * tests/examples/metadata/.cvsignore:
18455         * tests/examples/metadata/Makefile.am:
18456         * tests/examples/metadata/read-metadata.c: (message_loop),
18457         (make_pipeline), (print_tag), (main):
18458         * tests/examples/queue/.cvsignore:
18459         * tests/examples/queue/Makefile.am:
18460         * tests/examples/queue/queue.c: (event_loop), (main):
18461         * tests/examples/typefind/.cvsignore:
18462         * tests/examples/typefind/Makefile.am:
18463         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18464         (main):
18465         * tests/examples/xml/.cvsignore:
18466         * tests/examples/xml/Makefile.am:
18467         * tests/examples/xml/createxml.c: (object_saved), (main):
18468         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18469         * tests/old/examples/Makefile.am:
18470         * tests/old/examples/TODO:
18471         * tests/old/examples/controller/.cvsignore:
18472         * tests/old/examples/controller/Makefile.am:
18473         * tests/old/examples/controller/audio-example.c:
18474         * tests/old/examples/helloworld/.cvsignore:
18475         * tests/old/examples/helloworld/Makefile.am:
18476         * tests/old/examples/helloworld/helloworld.c:
18477         * tests/old/examples/launch/.cvsignore:
18478         * tests/old/examples/launch/Makefile.am:
18479         * tests/old/examples/launch/mp3parselaunch.c:
18480         * tests/old/examples/launch/mp3play:
18481         * tests/old/examples/manual/Makefile.am:
18482         * tests/old/examples/metadata/Makefile.am:
18483         * tests/old/examples/metadata/read-metadata.c:
18484         * tests/old/examples/queue/.cvsignore:
18485         * tests/old/examples/queue/Makefile.am:
18486         * tests/old/examples/queue/queue.c:
18487         * tests/old/examples/typefind/.cvsignore:
18488         * tests/old/examples/typefind/Makefile.am:
18489         * tests/old/examples/typefind/typefind.c:
18490         * tests/old/examples/xml/.cvsignore:
18491         * tests/old/examples/xml/Makefile.am:
18492         * tests/old/examples/xml/createxml.c:
18493         * tests/old/examples/xml/runxml.c:
18494           applied some simple fixing to some examples
18495           re-enabled the working examples
18496
18497 2005-12-12  Wim Taymans  <wim@fluendo.com>
18498
18499         * gst/gstsegment.c: (gst_segment_init),
18500         (gst_segment_set_last_stop), (gst_segment_set_seek),
18501         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18502         (gst_segment_to_running_time):
18503         Added more documentation.
18504         Make sure the last_pos value is updated properly.
18505         Make sure to_stream_time and to_running_time don't
18506         operate on wrong values.
18507
18508         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18509         Update check.
18510
18511 2005-12-12  Michael Smith  <msmith@fluendo.com>
18512
18513         * plugins/elements/gsttypefindelement.c: (free_entry),
18514         (gst_type_find_element_chain):
18515           Now that we're not leaking factories, make sure we keep references
18516           to them while we need them.
18517
18518 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18519
18520         * tests/check/gst/struct_i386.h:
18521           ifdef out the XML structs
18522
18523 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18524
18525         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18526           floor is not needed, F is always positive; this obviates the
18527           need for adding -lm when building without libxml
18528
18529 2005-12-12  Wim Taymans  <wim@fluendo.com>
18530
18531         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18532         Take current playback rate into account when reporting
18533         the position.
18534
18535 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18536
18537         * docs/manual/mime-world.fig:
18538           Let's try this again, this time with a file that is
18539           actually in XFig format.
18540
18541 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18542
18543         * docs/manual/mime-world.fig:
18544           Add audioconvert element to diagram so that it
18545           matches the text and the code (fixes #319526).
18546
18547 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18548
18549         * docs/pwg/building-chainfn.xml:
18550         * docs/pwg/building-pads.xml:
18551         * docs/pwg/building-state.xml:
18552         * docs/pwg/other-source.xml:
18553           Update state change stuff for 0.10 (fixes #322969).
18554
18555 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18556
18557         * docs/manual/advanced-dataaccess.xml:
18558         * docs/manual/appendix-checklist.xml:
18559         * docs/manual/appendix-programs.xml:
18560         * docs/manual/basics-pads.xml:
18561         * docs/manual/highlevel-components.xml:
18562         * docs/manual/manual.xml:
18563           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18564           add converters in front of pipelines; remove curly
18565           brackets for threads stuff, they no longer exist; use
18566           GST_TYPE_FRACTION for framerates; update some pieces of
18567           code to 0.10, but there's plenty more to do.
18568
18569         * docs/manual/appendix-porting.xml:
18570           Expand on asynchroneous state changes; s/0.9/0.10/;
18571           mention disappearance of gst_init_get_popt_table()
18572           (fixes #322916).
18573
18574 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18575
18576         * docs/faq/using.xml:
18577           Spider no longer exists, and neither does gst-launch-ext.
18578           Update examples to use decodebin and playbin and put
18579           converters in front of sinks (fixes #323726).
18580
18581 2005-12-09  Michael Smith  <msmith@fluendo.com>
18582
18583         * plugins/elements/gsttypefindelement.c: (find_peek),
18584         (gst_type_find_element_chain):
18585           Fix leaking element factories in typefinding.
18586           Fix problem where we forgot about a probable type on non-seekable
18587           files, and thus later mis-typefound it.
18588
18589 2005-12-09  Michael Smith  <msmith@fluendo.com>
18590
18591         * common/m4/gst-makecontext.m4:
18592         * common/m4/gst-mcsc.m4:
18593         * configure.ac:
18594         * win32/common/config.h:
18595         * win32/common/config.h.in:
18596           Remove makecontext stuff; not used in 0.10 and causes problems on
18597           HPUX according to bug #322441
18598
18599 2005-12-07  Wim Taymans  <wim@fluendo.com>
18600
18601         * tests/check/Makefile.am:
18602         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18603         (main):
18604         * tests/check/libs/struct_i386.h:
18605         Added ABI check for libs
18606
18607 2005-12-07  Wim Taymans  <wim@fluendo.com>
18608
18609         * tests/check/Makefile.am:
18610         And add the struct_i386.h to dist.
18611
18612 2005-12-07  Wim Taymans  <wim@fluendo.com>
18613
18614         * tests/check/Makefile.am:
18615         * tests/check/gst/.cvsignore:
18616         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18617         (main):
18618         * tests/check/gst/struct_i386.h:
18619         Added check for ABI compatibility.
18620
18621 2005-12-07  Wim Taymans  <wim@fluendo.com>
18622
18623         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18624         (gst_fake_src_get_times), (gst_fake_src_create):
18625         Fix broken sync option, fixes #323259
18626
18627 2005-12-07  Wim Taymans  <wim@fluendo.com>
18628
18629         * gst/gstbuffer.c:
18630         Small docs update.
18631
18632         * gst/gstcaps.c: (gst_caps_is_equal):
18633         Don't assert on NULL <--> X. Fixes #323260
18634
18635         * gst/gstminiobject.c: (gst_mini_object_replace):
18636         If we're doing atomic operations, we might just as well use
18637         the proper way to get an atomic pointer.
18638
18639         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18640         Clean up debugging.
18641
18642 2005-12-07  Michael Smith  <msmith@fluendo.com>
18643
18644         * gst/parse/grammar.y:
18645           Remove handling of { } for threads.
18646
18647 2005-12-06  David Schleef  <ds@schleef.org>
18648
18649         * libs/gst/base/gstbasetransform.c: speling fix.
18650
18651 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18652
18653         * docs/libs/tmpl/gstdataprotocol.sgml:
18654         * docs/random/omega/testing/gstobject.c:
18655         * gst/gst.c:
18656         * gst/gstclock.c:
18657         * gst/gstelement.c:
18658         * gst/gstelementfactory.c:
18659         * gst/gsterror.c:
18660         * gst/gstevent.c:
18661         * gst/gstghostpad.c:
18662         * gst/gstinfo.c:
18663         * gst/gstpadtemplate.c:
18664         * gst/gstregistryxml.c:
18665         * gst/gsttaglist.c:
18666         * gst/gsttagsetter.c:
18667         * gst/gsttypefind.c:
18668         * gst/gstvalue.c:
18669         * libs/gst/base/gstbasesrc.c:
18670         * libs/gst/net/gstnetclientclock.c:
18671         * libs/gst/net/gstnettimeprovider.c:
18672         * plugins/elements/gstfakesrc.c:
18673         * plugins/elements/gstfdsrc.c:
18674         * plugins/elements/gstfilesrc.c:
18675         * plugins/elements/gstidentity.c:
18676         * plugins/elements/gstqueue.c:
18677         * plugins/elements/gsttypefindelement.c:
18678         * plugins/indexers/gstfileindex.c:
18679         * plugins/indexers/gstmemindex.c:
18680         * tests/check/gst/gsttag.c:
18681         * tests/old/examples/cutter/cutter.c:
18682         * tests/old/examples/mixer/mixer.c:
18683         * tests/old/examples/xml/runxml.c: (main):
18684         * tests/old/testsuite/caps/normalisation.c:
18685         * tests/old/testsuite/debug/global.c:
18686         * tests/old/testsuite/parse/parse1.c:
18687         * tools/gst-xmlinspect.c:
18688         * win32/common/dirent.c:
18689           expand tabs
18690
18691 === release 0.10.0 ===
18692
18693 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18694
18695         * configure.ac:
18696           releasing 0.10.0, "Maroilles"
18697
18698 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18699
18700         submitted by: Funda Wang <fundawang@linux.net.cn>
18701
18702         * po/LINGUAS:
18703         * po/zh_CN.po:
18704           added Chinese (Traditional) translation
18705
18706 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18707
18708         * docs/gst/gstreamer-sections.txt:
18709         * docs/libs/tmpl/gstdataprotocol.sgml:
18710         * docs/random/thomasvs/TODO:
18711         * gst/gstutils.c:
18712         * gst/gstutils.h:
18713           fix docs
18714
18715 2005-12-05  Andy Wingo  <wingo@pobox.com>
18716
18717         patch by: Wim Taymans <wim@fluendo.com>
18718
18719         * libs/gst/base/gstbasetransform.c
18720         (gst_base_transform_prepare_output_buf)
18721         (gst_base_transform_buffer_alloc):
18722         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18723         alloc_buffer_and_set_caps.
18724
18725         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18726         set_caps on the source pad.
18727         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18728         alloc_buffer used to do. Fixes #322874.
18729
18730         * docs/gst/gstreamer-sections.txt: 
18731         * docs/design/part-negotiation.txt: 
18732         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18733         changes.
18734
18735 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18736
18737         patch by: Sebastien Moutte
18738
18739         * win32/MANIFEST:
18740         * win32/common/config.h.in:
18741         * win32/vs6/libgstcontroller.dsp:
18742           win32 build fixes
18743
18744 2005-12-05  Wim Taymans  <wim@fluendo.com>
18745
18746         * gst/gstcaps.c: (gst_caps_is_equal):
18747         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18748         (gst_fake_src_create):
18749         Back out previous code changes, leave doc updates, file bugs 
18750         instead. 
18751
18752 2005-12-05  Wim Taymans  <wim@fluendo.com>
18753
18754         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18755         (gst_fake_src_get_times), (gst_fake_src_create):
18756         * plugins/elements/gstfakesrc.h:
18757         Fix broken sync code.
18758
18759 2005-12-05  Wim Taymans  <wim@fluendo.com>
18760
18761         * gst/gstcaps.c: (gst_caps_is_equal):
18762         Comparing NULL against !NULL yields different caps, not a
18763         failure.
18764
18765 2005-12-05  Wim Taymans  <wim@fluendo.com>
18766
18767         * gst/gstpipeline.c:
18768         Fix small typo in docs.
18769
18770 2005-12-05  Andy Wingo  <wingo@pobox.com>
18771
18772         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18773
18774         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18775         registries/plugins with a MAJORMINOR one.
18776         (plugin_desc): Rename library from gstcoreleements to
18777         staticelements. Fixes #323222.
18778
18779 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18780
18781         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18782           Change debug category to 'collectpads' from 'collect_pads'
18783           (fixes #323250).
18784
18785 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18786
18787         patch by: Sebastien Moutte
18788
18789         * libs/gst/controller/gstinterpolation.c:
18790           use convert function for uint64/double
18791         * win32/vs6/libgstcontroller.dsp:
18792           link to GLib
18793
18794 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18795
18796         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18797         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18798         * gst/gstutils.h:
18799         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18800           add tests that seem to show that the guint64/gdouble conversions
18801           are correct.
18802
18803 2005-12-02  Wim Taymans  <wim@fluendo.com>
18804
18805         * gst/gstregistry.c: (gst_registry_add_path):
18806         * gst/gstregistry.h:
18807         * gst/gstregistryxml.c:
18808         Fix docs again.
18809
18810 2005-12-02  Wim Taymans  <wim@fluendo.com>
18811
18812         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18813         (gst_util_uint64_scale_int):
18814         Small cleanup.
18815
18816         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18817         Add debug log line.
18818
18819         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18820         Add FIXME.
18821
18822 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18823
18824         * win32/MANIFEST:
18825         * win32/common/config.h:
18826         * win32/vs6/gstreamer.dsw:
18827         * win32/vs6/libgstcoreelements.dsp:
18828         * win32/vs6/libgstelements.dsp:
18829           renamed core elements plugin
18830
18831 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18832
18833         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18834         (get_candidates):
18835           do piece-wise major/minor comparison so 0.9 < 0.10
18836           also allow .exe extensions for tools
18837
18838 2005-12-02  Michael Smith  <msmith@fluendo.com>
18839
18840         * gst/gst.c:
18841           Escape a % to make gtkdoc happier; bug 322958.
18842
18843 === release 0.9.7 ===
18844
18845 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18846
18847         * configure.ac:
18848           releasing 0.9.7, "My Dog Has No Nose"
18849
18850 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18851
18852         * common/gst-xmlinspect.py:
18853         * configure.ac:
18854         * docs/libs/tmpl/gstdataprotocol.sgml:
18855         * docs/random/release:
18856         * po/af.po:
18857         * po/az.po:
18858         * po/bg.po:
18859         * po/ca.po:
18860         * po/cs.po:
18861         * po/de.po:
18862         * po/en_GB.po:
18863         * po/fr.po:
18864         * po/it.po:
18865         * po/nb.po:
18866         * po/nl.po:
18867         * po/ru.po:
18868         * po/sq.po:
18869         * po/sr.po:
18870         * po/sv.po:
18871         * po/tr.po:
18872         * po/uk.po:
18873         * po/vi.po:
18874         * win32/common/config.h:
18875         * win32/common/config.h.in:
18876         * win32/vs6/gst_inspect.dsp:
18877         * win32/vs6/gst_launch.dsp:
18878         * win32/vs6/libgstbase.dsp:
18879         * win32/vs6/libgstelements.dsp:
18880         * win32/vs6/libgstreamer.dsp:
18881         * win32/vs7/GStreamer.vcproj:
18882         * win32/vs7/gst-inspect.vcproj:
18883         * win32/vs7/gst-launch.vcproj:
18884         * win32/vs7/libgstbase.vcproj:
18885           bump GST_MAJORMINOR to 0.10
18886           reset libtool version
18887
18888 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18889
18890         * po/LINGUAS:
18891         * po/bg.po:
18892           Added Bulgarian translation by (Alexander Shopov)
18893
18894 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18895
18896         * tests/check/gst/gstplugin.c:
18897           fix test
18898
18899 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18900
18901         * common/gst-xmlinspect.py:
18902         * common/gtk-doc-plugins.mak:
18903         * configure.ac:
18904         * docs/Makefile.am:
18905         * docs/gst/Makefile.am:
18906         * docs/gst/gstreamer-docs.sgml:
18907         * docs/gst/gstreamer-sections.txt:
18908         * docs/gst/gstreamer.types:
18909         * docs/gst/gstreamer.types.in:
18910         * docs/plugins/Makefile.am:
18911         * docs/plugins/gstreamer-plugins-docs.sgml:
18912         * docs/plugins/gstreamer-plugins-sections.txt:
18913         * docs/plugins/gstreamer-plugins.types:
18914         * docs/plugins/inspect.stamp:
18915         * docs/plugins/inspect/plugin-coreelements.xml:
18916         * docs/plugins/inspect/plugin-coreindexers.xml:
18917         * docs/plugins/scanobj-build.stamp:
18918         * gstreamer.spec.in:
18919         * plugins/elements/Makefile.am:
18920         * plugins/elements/gstelements.c:
18921         * plugins/elements/gstfakesink.c:
18922         * plugins/elements/gstfakesrc.c:
18923         * plugins/elements/gstfilesink.c:
18924         * plugins/elements/gstfilesrc.c:
18925         * plugins/elements/gstqueue.c:
18926         * plugins/indexers/Makefile.am:
18927         * plugins/indexers/gstindexers.c:
18928           document core plugins in a separate document just like all the
18929           others
18930           rename these plugins to something starting with core
18931
18932 2005-12-01  Andy Wingo  <wingo@pobox.com>
18933
18934         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18935         padding here before, but it missed the commit.
18936
18937 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18938
18939         * libs/gst/controller/gstinterpolation.c:
18940           whitespace prices have crashed, we should feel free to use some now
18941           use gst_guint64_to_gdouble
18942
18943 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18944
18945         * libs/gst/controller/gstcontroller.c:
18946         * libs/gst/controller/gsthelper.c:
18947         * libs/gst/controller/gstinterpolation.c:
18948         * libs/gst/controller/lib.c:
18949           wrap config.h include
18950
18951 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18952
18953         * docs/gst/gstreamer-sections.txt:
18954           update docs
18955
18956 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18957
18958         * plugins/elements/gstelements.c:
18959         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18960         (gst_fd_sink__class_init), (gst_fd_sink__init),
18961         (gst_fd_sink__chain), (gst_fd_sink__set_property),
18962         (gst_fd_sink__get_property):
18963         * plugins/elements/gstfdsink.h:
18964         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18965         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18966         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18967         (gst_fd_src_unlock), (gst_fd_src_set_property),
18968         (gst_fd_src_get_property), (gst_fd_src_create),
18969         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18970         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18971         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18972         (gst_fd_src_uri_handler_init):
18973         * plugins/elements/gstfdsrc.h:
18974         * plugins/elements/gstqueue.c: (gst_queue_get_type):
18975           more anal cleanup
18976
18977 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18978
18979         * docs/gst/Makefile.am:
18980         * docs/gst/gstreamer.types.in:
18981         * gst/Makefile.am:
18982           fix the docs build
18983
18984 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18985
18986         * configure.ac:
18987         * gst/Makefile.am:
18988         * gst/gst.c:
18989         * gst/gstplugin.h:
18990         * gst/gstregistry.h:
18991         * tests/benchmarks/complexity.c:
18992         * tests/benchmarks/mass-elements.c:
18993         * tests/check/Makefile.am:
18994         * tools/Makefile.am:
18995         * tools/gst-inspect.c:
18996         * tools/gst-xmlinspect.c:
18997           various fixes to make
18998           --disable-nls --disable-registry --disable-loadsave
18999           --disable-parse --disable-gst-debug
19000           work and get the core .so down to 360444 bytes after stripping
19001
19002 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19003
19004         * Makefile.am:
19005         * configure.ac:
19006           descend into tests
19007         * docs/random/thomasvs/TODO:
19008         * tests/Makefile.am:
19009         * tests/README:
19010           add a README
19011
19012 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19013
19014         * win32/GStreamer.vcproj:
19015         * win32/MANIFEST:
19016         * win32/Makefile:
19017         * win32/Makefile.inspect:
19018         * win32/Makefile.launch:
19019         * win32/Makefile.register:
19020         * win32/README.txt:
19021         * win32/gst-inspect.vcproj:
19022         * win32/gst-launch.vcproj:
19023         * win32/gst-register.vcproj:
19024         * win32/gstelements.vcproj:
19025         * win32/gstgetbits.def:
19026         * win32/gstgetbits.vcproj:
19027         * win32/gstreamer-dbg.def:
19028         * win32/gstreamer.def:
19029         * win32/libgstbase.def:
19030         * win32/libgstbase.vcproj:
19031         * win32/link_oldruntime.c:
19032         * win32/mman.c:
19033         * win32/mman.h:
19034         * win32/mman.inl:
19035         * win32/msvc71.sln:
19036           move even more stuff, win32/ is nice and clean now
19037
19038 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19039
19040         * libs/gst/control/.cvsignore:
19041         * win32/MANIFEST:
19042         * win32/config.h:
19043         * win32/dirent.c:
19044         * win32/dirent.h:
19045         * win32/gstbytestream.def:
19046         * win32/gstbytestream.vcproj:
19047         * win32/gstconfig.h:
19048         * win32/gstenumtypes.c:
19049         * win32/gstenumtypes.h:
19050         * win32/gstoptimalscheduler.vcproj:
19051         * win32/gstversion.h:
19052         * win32/gtchar.h:
19053         * win32/testsuite/bins.vcproj:
19054         * win32/testsuite/bytestream.vcproj:
19055         * win32/testsuite/caps.vcproj:
19056         * win32/testsuite/cleanup.vcproj:
19057         * win32/testsuite/clock.vcproj:
19058         * win32/testsuite/debug.vcproj:
19059         * win32/testsuite/dlopen.vcproj:
19060         * win32/testsuite/dynparams.vcproj:
19061         * win32/testsuite/elements.vcproj:
19062         * win32/testsuite/ghostpads.vcproj:
19063         * win32/testsuite/indexers.vcproj:
19064         * win32/testsuite/negotiation.vcproj:
19065         * win32/testsuite/parse.vcproj:
19066         * win32/testsuite/plugin.vcproj:
19067         * win32/testsuite/refcounting.vcproj:
19068         * win32/testsuite/schedulers.vcproj:
19069         * win32/testsuite/states.vcproj:
19070         * win32/testsuite/tags.vcproj:
19071         * win32/testsuite/threads.vcproj:
19072           remove old win32 stuff that isn't maintained and should be
19073           reorganized
19074
19075 2005-11-30  Andy Wingo  <wingo@pobox.com>
19076
19077         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19078         loading the gst.interfaces python module bork.
19079
19080         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19081         available since GLib 2.2. Fixes #318031.
19082
19083 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19084
19085         * Makefile.am:
19086         * check/.cvsignore:
19087         * check/Makefile.am:
19088         * check/elements/.cvsignore:
19089         * check/elements/fakesrc.c:
19090         * check/elements/fdsrc.c:
19091         * check/elements/identity.c:
19092         * check/generic/.cvsignore:
19093         * check/generic/states.c:
19094         * check/gst-libs/.cvsignore:
19095         * check/gst-libs/controller.c:
19096         * check/gst-libs/gdp.c:
19097         * check/gst/.cvsignore:
19098         * check/gst/capslist.h:
19099         * check/gst/gst.c:
19100         * check/gst/gstbin.c:
19101         * check/gst/gstbuffer.c:
19102         * check/gst/gstbus.c:
19103         * check/gst/gstcaps.c:
19104         * check/gst/gstelement.c:
19105         * check/gst/gstevent.c:
19106         * check/gst/gstghostpad.c:
19107         * check/gst/gstiterator.c:
19108         * check/gst/gstmessage.c:
19109         * check/gst/gstminiobject.c:
19110         * check/gst/gstobject.c:
19111         * check/gst/gstpad.c:
19112         * check/gst/gstpipeline.c:
19113         * check/gst/gstplugin.c:
19114         * check/gst/gstsegment.c:
19115         * check/gst/gststructure.c:
19116         * check/gst/gstsystemclock.c:
19117         * check/gst/gsttag.c:
19118         * check/gst/gstutils.c:
19119         * check/gst/gstvalue.c:
19120         * check/net/.cvsignore:
19121         * check/net/gstnetclientclock.c:
19122         * check/net/gstnettimeprovider.c:
19123         * check/pipelines/.cvsignore:
19124         * check/pipelines/cleanup.c:
19125         * check/pipelines/simple_launch_lines.c:
19126         * check/pipelines/stress.c:
19127         * check/states/.cvsignore:
19128         * check/states/sinks.c:
19129         * configure.ac:
19130         * examples/Makefile.am:
19131         * examples/appreader/.cvsignore:
19132         * examples/appreader/Makefile.am:
19133         * examples/appreader/appreader.c:
19134         * examples/controller/.cvsignore:
19135         * examples/controller/Makefile.am:
19136         * examples/controller/audio-example.c:
19137         * examples/cutter/.cvsignore:
19138         * examples/cutter/Makefile.am:
19139         * examples/cutter/cutter.c:
19140         * examples/cutter/cutter.h:
19141         * examples/events/Makefile.am:
19142         * examples/events/seek.c:
19143         * examples/helloworld/.cvsignore:
19144         * examples/helloworld/Makefile.am:
19145         * examples/helloworld/helloworld.c:
19146         * examples/helloworld2/.cvsignore:
19147         * examples/helloworld2/Makefile.am:
19148         * examples/helloworld2/helloworld2.c:
19149         * examples/launch/.cvsignore:
19150         * examples/launch/Makefile.am:
19151         * examples/launch/mp3parselaunch.c:
19152         * examples/launch/mp3play:
19153         * examples/manual/.cvsignore:
19154         * examples/manual/Makefile.am:
19155         * examples/manual/extract.pl:
19156         * examples/metadata/Makefile.am:
19157         * examples/metadata/read-metadata.c:
19158         * examples/mixer/.cvsignore:
19159         * examples/mixer/Makefile.am:
19160         * examples/mixer/mixer.c:
19161         * examples/mixer/mixer.h:
19162         * examples/pingpong/.cvsignore:
19163         * examples/pingpong/Makefile.am:
19164         * examples/pingpong/pingpong.c:
19165         * examples/plugins/.cvsignore:
19166         * examples/plugins/Makefile.am:
19167         * examples/plugins/example.c:
19168         * examples/plugins/example.h:
19169         * examples/pwg/.cvsignore:
19170         * examples/pwg/Makefile.am:
19171         * examples/pwg/extract.pl:
19172         * examples/queue/.cvsignore:
19173         * examples/queue/Makefile.am:
19174         * examples/queue/queue.c:
19175         * examples/queue2/.cvsignore:
19176         * examples/queue2/Makefile.am:
19177         * examples/queue2/queue2.c:
19178         * examples/queue3/.cvsignore:
19179         * examples/queue3/Makefile.am:
19180         * examples/queue3/queue3.c:
19181         * examples/queue4/.cvsignore:
19182         * examples/queue4/Makefile.am:
19183         * examples/queue4/queue4.c:
19184         * examples/retag/.cvsignore:
19185         * examples/retag/Makefile.am:
19186         * examples/retag/retag.c:
19187         * examples/retag/transcode.c:
19188         * examples/thread/.cvsignore:
19189         * examples/thread/Makefile.am:
19190         * examples/thread/thread.c:
19191         * examples/typefind/.cvsignore:
19192         * examples/typefind/Makefile.am:
19193         * examples/typefind/typefind.c:
19194         * examples/xml/.cvsignore:
19195         * examples/xml/Makefile.am:
19196         * examples/xml/createxml.c:
19197         * examples/xml/runxml.c:
19198         * tests/Makefile.am:
19199         * tests/check/Makefile.am:
19200         * testsuite/.cvsignore:
19201         * testsuite/Makefile.am:
19202         * testsuite/Rules:
19203         * testsuite/caps/.cvsignore:
19204         * testsuite/caps/Makefile.am:
19205         * testsuite/caps/app_fixate.c:
19206         * testsuite/caps/audioscale.c:
19207         * testsuite/caps/caps.c:
19208         * testsuite/caps/caps.h:
19209         * testsuite/caps/caps_strings:
19210         * testsuite/caps/compatibility.c:
19211         * testsuite/caps/deserialize.c:
19212         * testsuite/caps/enumcaps.c:
19213         * testsuite/caps/eratosthenes.c:
19214         * testsuite/caps/filtercaps.c:
19215         * testsuite/caps/fixed.c:
19216         * testsuite/caps/fraction-convert.c:
19217         * testsuite/caps/fraction-multiply-and-zero.c:
19218         * testsuite/caps/intersect2.c:
19219         * testsuite/caps/intersection.c:
19220         * testsuite/caps/normalisation.c:
19221         * testsuite/caps/random.c:
19222         * testsuite/caps/renegotiate.c:
19223         * testsuite/caps/sets.c:
19224         * testsuite/caps/simplify.c:
19225         * testsuite/caps/string-conversions.c:
19226         * testsuite/caps/structure.c:
19227         * testsuite/caps/subtract.c:
19228         * testsuite/caps/union.c:
19229         * testsuite/debug/.cvsignore:
19230         * testsuite/debug/Makefile.am:
19231         * testsuite/debug/category.c:
19232         * testsuite/debug/commandline.c:
19233         * testsuite/debug/global.c:
19234         * testsuite/debug/output.c:
19235         * testsuite/debug/printf_extension.c:
19236         * testsuite/dlopen/.cvsignore:
19237         * testsuite/dlopen/Makefile.am:
19238         * testsuite/dlopen/dlopen_gst.c:
19239         * testsuite/dlopen/loadgst.c:
19240         * testsuite/elements/.cvsignore:
19241         * testsuite/elements/Makefile.am:
19242         * testsuite/elements/gst-inspect-check.in:
19243         * testsuite/elements/struct_i386.h:
19244         * testsuite/elements/struct_size.c:
19245         * testsuite/indexers/.cvsignore:
19246         * testsuite/indexers/Makefile.am:
19247         * testsuite/indexers/cache1.c:
19248         * testsuite/indexers/indexdump.c:
19249         * testsuite/parse/.cvsignore:
19250         * testsuite/parse/Makefile.am:
19251         * testsuite/parse/parse1.c:
19252         * testsuite/parse/parse2.c:
19253         * testsuite/plugin/.cvsignore:
19254         * testsuite/plugin/Makefile.am:
19255         * testsuite/plugin/README:
19256         * testsuite/plugin/dynamic.c:
19257         * testsuite/plugin/linked.c:
19258         * testsuite/plugin/loading.c:
19259         * testsuite/plugin/registry.c:
19260         * testsuite/plugin/static.c:
19261         * testsuite/plugin/static2.c:
19262         * testsuite/plugin/testplugin.c:
19263         * testsuite/plugin/testplugin2.c:
19264         * testsuite/plugin/testplugin2_s.c:
19265         * testsuite/plugin/testplugin_s.c:
19266         * testsuite/refcounting/.cvsignore:
19267         * testsuite/refcounting/Makefile.am:
19268         * testsuite/refcounting/bin.c:
19269         * testsuite/refcounting/element.c:
19270         * testsuite/refcounting/element_pad.c:
19271         * testsuite/refcounting/mainloop.c:
19272         * testsuite/refcounting/mem.c:
19273         * testsuite/refcounting/mem.h:
19274         * testsuite/refcounting/object.c:
19275         * testsuite/refcounting/pad.c:
19276         * testsuite/refcounting/sched.c:
19277         * testsuite/refcounting/thread.c:
19278         * testsuite/states/.cvsignore:
19279         * testsuite/states/Makefile.am:
19280         * testsuite/states/bin.c:
19281         * testsuite/states/locked.c:
19282         * testsuite/states/parent.c:
19283         * testsuite/threads/.cvsignore:
19284         * testsuite/threads/159566.c:
19285         * testsuite/threads/159852.c:
19286         * testsuite/threads/Makefile.am:
19287         * testsuite/threads/queue.c:
19288         * testsuite/threads/signals.c:
19289         * testsuite/threads/staticrec.c:
19290         * testsuite/threads/thread.c:
19291         * testsuite/threads/threadb.c:
19292         * testsuite/threads/threadc.c:
19293         * testsuite/threads/threadd.c:
19294         * testsuite/threads/threade.c:
19295         * testsuite/threads/threadf.c:
19296         * testsuite/threads/threadg.c:
19297         * testsuite/threads/threadh.c:
19298         * testsuite/threads/threadi.c:
19299           move all of these under tests
19300
19301 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19302
19303         * configure.ac:
19304         * tests/Makefile.am:
19305           fix distcheck
19306
19307 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19308
19309         * docs/gst/gstreamer-sections.txt:
19310         * tests/sched/.cvsignore:
19311         * tests/sched/Makefile.am:
19312         * tests/sched/cases/(fs-fs).xml:
19313         * tests/sched/cases/(fs-i-fs).xml:
19314         * tests/sched/cases/(fs-i-i-fs).xml:
19315         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19316         * tests/sched/dynamic-pipeline.c:
19317         * tests/sched/interrupt1.c:
19318         * tests/sched/interrupt2.c:
19319         * tests/sched/interrupt3.c:
19320         * tests/sched/runtestcases:
19321         * tests/sched/runxml.c:
19322         * tests/sched/sched-stress.c:
19323         * tests/sched/sort.c:
19324         * tests/sched/testcases:
19325         * tests/sched/testcases1.tc:
19326         * tests/seeking/.cvsignore:
19327         * tests/seeking/Makefile.am:
19328         * tests/seeking/seeking1.c:
19329         * tests/threadstate/.cvsignore:
19330         * tests/threadstate/Makefile.am:
19331         * tests/threadstate/test1.c:
19332         * tests/threadstate/test2.c:
19333         * tests/threadstate/threadstate1.c:
19334         * tests/threadstate/threadstate2.c:
19335         * tests/threadstate/threadstate3.c:
19336         * tests/threadstate/threadstate4.c:
19337         * tests/threadstate/threadstate5.c:
19338           remove obsolete tests
19339         * configure.ac:
19340         * tests/bench-complexity.scm:
19341         * tests/bench-mass_elements.scm:
19342         * tests/complexity.c:
19343         * tests/complexity.gnuplot:
19344         * tests/instantiate/.cvsignore:
19345         * tests/instantiate/Makefile.am:
19346         * tests/instantiate/caps.c:
19347         * tests/mass_elements.c:
19348         * tests/network-clock-utils.scm:
19349         * tests/network-clock.scm:
19350         * tests/plot-data:
19351         First pass at cleaning up tests/ dir before moving the rest
19352         Combined with CVS surgery
19353
19354 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19355
19356         * po/POTFILES.in:
19357           queue has moved, update
19358
19359 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19360
19361         * docs/gst/gstreamer-sections.txt:
19362           remove double entries from the docs
19363         * gst/gst_private.h:
19364         * gst/gstinfo.c: (_gst_debug_init):
19365           remove the THREAD debug category
19366         * gst/Makefile.am:
19367         * gst/gstqueue.c:
19368         * gst/gstqueue.h:
19369         * docs/gst/gstreamer.types:
19370         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19371         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19372           completely move queue and fix up debugging categories
19373
19374 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19375
19376         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19377           make initialization portable, using LL is not
19378
19379 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19380
19381         * win32/common/gstconfig.h:
19382           add large padding
19383
19384 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19385
19386         * win32/common/libgstreamer.def:
19387           rename symbols; sort base section
19388
19389 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19390
19391         * gst/gstclock.c: (do_linear_regression):
19392           remove crack non-portable handrolled DEBUG macro
19393
19394 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19395
19396         * docs/random/release:
19397           update notes
19398         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19399         (gst_object_flags_get_type), (register_gst_bin_flags),
19400         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19401         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19402         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19403         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19404         (gst_caps_flags_get_type), (register_gst_clock_return),
19405         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19406         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19407         (gst_clock_flags_get_type), (register_gst_state),
19408         (gst_state_get_type), (register_gst_state_change_return),
19409         (gst_state_change_return_get_type), (register_gst_state_change),
19410         (gst_state_change_get_type), (register_gst_element_flags),
19411         (gst_element_flags_get_type), (register_gst_core_error),
19412         (gst_core_error_get_type), (register_gst_library_error),
19413         (gst_library_error_get_type), (register_gst_resource_error),
19414         (gst_resource_error_get_type), (register_gst_stream_error),
19415         (gst_stream_error_get_type), (register_gst_event_type_flags),
19416         (gst_event_type_flags_get_type), (register_gst_event_type),
19417         (gst_event_type_get_type), (register_gst_seek_type),
19418         (gst_seek_type_get_type), (register_gst_seek_flags),
19419         (gst_seek_flags_get_type), (register_gst_format),
19420         (gst_format_get_type), (register_gst_index_certainty),
19421         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19422         (gst_index_entry_type_get_type),
19423         (register_gst_index_lookup_method),
19424         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19425         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19426         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19427         (gst_index_flags_get_type), (register_gst_debug_level),
19428         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19429         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19430         (gst_iterator_result_get_type), (register_gst_iterator_item),
19431         (gst_iterator_item_get_type), (register_gst_message_type),
19432         (gst_message_type_get_type), (register_gst_mini_object_flags),
19433         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19434         (gst_pad_link_return_get_type), (register_gst_flow_return),
19435         (gst_flow_return_get_type), (register_gst_activate_mode),
19436         (gst_activate_mode_get_type), (register_gst_pad_direction),
19437         (gst_pad_direction_get_type), (register_gst_pad_flags),
19438         (gst_pad_flags_get_type), (register_gst_pad_presence),
19439         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19440         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19441         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19442         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19443         (gst_plugin_flags_get_type), (register_gst_rank),
19444         (gst_rank_get_type), (register_gst_query_type),
19445         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19446         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19447         (gst_tag_flag_get_type), (register_gst_task_state),
19448         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19449         (gst_alloc_trace_flags_get_type),
19450         (register_gst_type_find_probability),
19451         (gst_type_find_probability_get_type), (register_gst_uri_type),
19452         (gst_uri_type_get_type), (register_gst_parse_error),
19453         (gst_parse_error_get_type):
19454         * win32/common/gstenumtypes.h:
19455         * win32/common/gstversion.h:
19456           update visual studio generated files
19457
19458 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19459
19460         * win32/vs6/libgstbase.dsp:
19461         * win32/vs6/libgstelements.dsp:
19462           update project files for new locations
19463
19464 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19465
19466         * Makefile.am:
19467           remove some files
19468         * README:
19469           reinstate and update
19470         * DEVEL:
19471         * REQUIREMENTS:
19472           removed
19473         * LICENSE:
19474         * docs/random/LICENSE:
19475           moved to random
19476
19477 2005-11-30  Edward Hervey  <edward@fluendo.com>
19478
19479         * gst/gsttypefind.c: (gst_type_find_register):
19480         * gst/gsttypefind.h:
19481         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19482         (gst_type_find_factory_dispose):
19483         * gst/gsttypefindfactory.h:
19484         Fix memory leak in GstTypeFindFactory.
19485
19486 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19487
19488         * gst/gst.c:
19489         * plugins/elements/Makefile.am:
19490         * plugins/elements/gstelements.c:
19491         * plugins/elements/gstqueue.c:
19492           move queue from core to the elements plugin
19493
19494 2005-11-29  Andy Wingo  <wingo@pobox.com>
19495
19496         * libs/gst/base/gstbasetransform.h: 
19497         * libs/gst/base/gstbasesrc.h: 
19498         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19499
19500         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19501         of pointers by which to pad very extensible base classes (like the
19502         ones in libs/gst/base).
19503
19504 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19505
19506         * docs/gst/gstreamer-docs.sgml:
19507         * docs/gst/gstreamer-sections.txt:
19508         * docs/libs/gstreamer-libs-docs.sgml:
19509         * docs/libs/gstreamer-libs-sections.txt:
19510           moving documentation from core to lib
19511
19512 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19513
19514         * check/Makefile.am:
19515         * configure.ac:
19516         * docs/gst/Makefile.am:
19517         * gst/Makefile.am:
19518         * gst/base/.cvsignore:
19519         * gst/base/Makefile.am:
19520         * gst/base/README:
19521         * gst/base/gstadapter.c:
19522         * gst/base/gstadapter.h:
19523         * gst/base/gstbasesink.c:
19524         * gst/base/gstbasesink.h:
19525         * gst/base/gstbasesrc.c:
19526         * gst/base/gstbasesrc.h:
19527         * gst/base/gstbasetransform.c:
19528         * gst/base/gstbasetransform.h:
19529         * gst/base/gstcollectpads.c:
19530         * gst/base/gstcollectpads.h:
19531         * gst/base/gstpushsrc.c:
19532         * gst/base/gstpushsrc.h:
19533         * gst/base/gsttypefindhelper.c:
19534         * gst/base/gsttypefindhelper.h:
19535         * gst/check/Makefile.am:
19536         * gst/check/gstcheck.c:
19537         * gst/check/gstcheck.h:
19538         * gst/net/Makefile.am:
19539         * gst/net/gstnet.h:
19540         * gst/net/gstnetclientclock.c:
19541         * gst/net/gstnetclientclock.h:
19542         * gst/net/gstnettimepacket.c:
19543         * gst/net/gstnettimepacket.h:
19544         * gst/net/gstnettimeprovider.c:
19545         * gst/net/gstnettimeprovider.h:
19546         * libs/gst/Makefile.am:
19547         * libs/gst/base/Makefile.am:
19548         * libs/gst/base/gstbasetransform.c:
19549         * libs/gst/check/Makefile.am:
19550         * plugins/elements/Makefile.am:
19551         * po/POTFILES.in:
19552           CVS surgery + support to move base, check, and net out of gst
19553           and into libs/gst
19554
19555 2005-11-29  Andy Wingo  <wingo@pobox.com>
19556
19557         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19558
19559         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19560         padding.
19561
19562         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19563
19564         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19565
19566         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19567
19568         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19569         padding; reduces object size by about 30%. We don't expect
19570         anything else to go into gstobject.
19571
19572         * gst/gstminiobject.h (struct _GstMiniObject)
19573         (struct _GstMiniObjectClass): Only one pointer of padding; the
19574         payload is only a pointer and two ints anyway. For the class there
19575         are only two methods as well.
19576         
19577         * gst/gstelement.h (struct _GstElementClass): Removed
19578         the state_changed signal callback, it is not used.
19579
19580 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19581
19582         * docs/gst/gstreamer.types:
19583           fix includes, though they are a little dinky
19584
19585 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19586
19587         * check/Makefile.am:
19588           look in the right place for elements, a lot more chance of
19589           success
19590         * gst/Makefile.am:
19591           remove indexers and elements subdirs
19592         * plugins/Makefile.am:
19593           make indexers conditional
19594
19595 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19596
19597         * Makefile.am:
19598         * configure.ac:
19599         * plugins/elements/Makefile.am:
19600         * plugins/elements/gstcapsfilter.c:
19601         * plugins/elements/gstfilesink.c:
19602         * plugins/elements/gstfilesrc.c:
19603         * plugins/elements/gstidentity.c:
19604         * plugins/indexers/Makefile.am:
19605           do CVS surgery and related build fixery to move elements
19606           and indexers in a new gstreamer/plugins directory, out of the
19607           gst/ directory
19608
19609 2005-11-29  Andy Wingo  <wingo@pobox.com>
19610
19611         * check/Makefile.am:
19612         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19613         * pkgconfig/gstreamer-net.pc.in:
19614         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19615         #322257.
19616
19617 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19618
19619         * tools/Makefile.am:
19620         * tools/gst-complete.1.in:
19621         * tools/gst-complete.c:
19622         * tools/gst-compprep.1.in:
19623         * tools/gst-compprep.c:
19624           removing -compprep and -complete
19625
19626 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19627
19628         * gst/gstevent.c: (gst_event_new_new_segment),
19629         (gst_event_parse_new_segment):
19630         * gst/gstevent.h:
19631           fix #320529 - clean up new_segment API and structure.
19632           Let's hope everyone was using the methods, and not the structure.
19633
19634 2005-11-29  Edward Hervey  <edward@fluendo.com>
19635
19636         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19637         (gst_base_sink_event), (gst_base_sink_do_sync),
19638         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19639         Properly handle non GST_FORMAT_TIME segment
19640         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19641         Properly handle non GST_FORMAT_TIME segment
19642         * gst/gstsegment.c:
19643         This function is valid if the accumulator is 0 and the format
19644         is different from the requested format.
19645         
19646 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19647
19648         * docs/gst/gstreamer-sections.txt:
19649         Add gst_query_new_seeking and gst_query_parse_seeking to the
19650         docs.
19651
19652 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19653
19654         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19655           Treat a pad alloc with new caps the same as if we were not
19656           negotiated, in order to allow a changing upstream output
19657           to produce a new format of data.
19658
19659 2005-11-29  Edward Hervey  <edward@fluendo.com>
19660
19661         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19662         (gst_base_transform_event), (gst_base_transform_eventfunc):
19663         The event virtual method is now properly implemented, with a default
19664         handler
19665         Sub classes should call the parent_class event method. They should
19666         return FALSE if they had a problem handling the given event, or don't
19667         want GstBaseTransform to send that even downstream
19668         * gst/elements/gstidentity.c: (gst_identity_class_init),
19669         (gst_identity_init), (gst_identity_event),
19670         (gst_identity_transform_ip), (gst_identity_set_property),
19671         (gst_identity_get_property):
19672         * gst/elements/gstidentity.h:
19673         Added the single-segment boolean property.
19674         If set to TRUE, it will output a single segment of data, starting from
19675         0, will eat up all incoming newsegment, and modify the timestamp of the
19676         buffers accordingly
19677
19678 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19679
19680         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19681           Don't ref NULL target pad (#322751). Improve docs.
19682
19683 2005-11-29  Michael Smith  <msmith@fluendo.com>
19684
19685         * gst/gstregistryxml.c: (load_plugin):
19686           Don't crash if we failed to load a feature from a plugin. 
19687
19688 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19689
19690         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19691         (GST_START_TEST):
19692           use more check API and less GLib API
19693
19694 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19695
19696         * Makefile.am:
19697           don't run checks if we don't have check
19698         * common/check.mak:
19699           remove the registry when running make torture
19700         * docs/gst/gstreamer-sections.txt:
19701           remove second multiply
19702         * gst/gstqueue.c: (gst_queue_loop):
19703           fix a compile warning when disabling debug
19704
19705 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19706
19707         * gst/gstinfo.h:
19708         Hey! Let's print the pad name if the pointer != NULL instead
19709         of when it == NULL :-)
19710
19711 2005-11-28  Wim Taymans  <wim@fluendo.com>
19712
19713         * check/gst/gstutils.c: (GST_START_TEST):
19714         Updated check, add some scaling accuracy checking code.
19715
19716         * gst/gstutils.c: (gst_util_div128_64),
19717         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19718         (gst_util_uint64_scale_int):
19719         Fix 6 times faster division code. Optimize for common 
19720         1/1 and less common X/1 cases.
19721
19722 2005-11-28  Wim Taymans  <wim@fluendo.com>
19723
19724         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19725         More checks.
19726
19727         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19728         (do_linear_regression), (gst_clock_add_observation):
19729         Cleanups.
19730         Release lock when the clock cannot be slaved.
19731         Catch the case where the regression returned an invalid denominator.
19732
19733         * gst/gstutils.c: (gst_util_div128_64_iterate),
19734         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19735         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19736         Add protentially more performant non-iterative 128/64 divide function
19737         that unfortunatly does not work yet.
19738         Shortcut the trivial 0/X = 0 case.
19739         Remove the warnings on overflow.
19740
19741 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19742
19743         * gst/gstplugin.c: (gst_plugin_register_func):
19744           everything causing a plugin not to load should be at least a WARNING
19745
19746 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19747
19748         * docs/random/ensonic/dparams.txt:
19749           some TODOs for the next dev cycle
19750         * libs/gst/controller/gstcontroller.c:
19751         (gst_controlled_property_set_interpolation_mode),
19752         (gst_controlled_property_new):
19753         * libs/gst/controller/gstcontroller.h:
19754           use base type to assign acccessor functions
19755
19756 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19757
19758         * check/Makefile.am:
19759         Oops, that should have been top_srcdir
19760
19761 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19762
19763         * check/Makefile.am:
19764         * check/elements/fdsrc.c: (GST_START_TEST):
19765         Use a cmdline define to specify the location of a file to use for
19766         testing, to avoid breaking distcheck.
19767
19768 2005-11-28  Andy Wingo  <wingo@pobox.com>
19769
19770         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19771
19772 2005-11-28  Edward Hervey  <edward@fluendo.com>
19773
19774         * tools/gst-launch.c: (main):
19775         Clarify the output strings, makes it easier to translate.
19776         Fixes #322626
19777
19778 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19779
19780         * gst/Makefile.am:
19781           don't try and build net if we don't even have <sys/socket.h>
19782
19783 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19784
19785         * check/Makefile.am:
19786         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19787         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19788           Add tests for fdsrc seekability
19789
19790         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19791         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19792         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19793         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19794         * gst/elements/gstfdsrc.h:
19795           fdsrc should not be a 'live' source.
19796           Implement seeking on seekable fd's.
19797
19798         * gst/gstquery.c: (gst_query_new_seeking),
19799         (gst_query_parse_seeking):
19800         * gst/gstquery.h:
19801           Implement SEEKING query functions: 
19802             *_new_seeking and *_parse_seeking
19803
19804 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19805
19806         * gst/gstelement.c: (gst_element_dispose):
19807           don't loop forever
19808
19809         * gst/gstiterator.c:
19810         * gst/gststructure.c:
19811           doc fixes
19812
19813         * libs/gst/controller/gstcontroller.c:
19814         (gst_controlled_property_set_interpolation_mode):
19815         * libs/gst/controller/gstcontroller.h:
19816         * libs/gst/controller/gstinterpolation.c:
19817         (interpolate_none_get_enum_value_array):
19818           support controlling enums
19819
19820 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19821
19822         * gst/gstvalue.c:
19823           Improve documentation for gst_value_union().
19824
19825         * gst/gstvalue.h:
19826           Change return value for union, intersect and subtract functions
19827           from gint to gboolean.
19828
19829 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19830
19831         * gst/gstvalue.c: (gst_value_serialize_any_list),
19832         (gst_value_transform_any_list_string),
19833         (gst_value_deserialize_list), (gst_value_deserialize_array),
19834         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19835         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19836         (gst_value_set_fraction_range_full),
19837         (gst_value_deserialize_fraction_range),
19838         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19839         (gst_value_deserialize_boolean),
19840         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19841         (gst_value_serialize_float), (gst_value_deserialize_float),
19842         (gst_string_wrap), (gst_value_deserialize_string),
19843         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19844         (gst_value_union_int_range_int_range),
19845         (gst_value_intersect_int_range_int_range),
19846         (gst_value_intersect_double_range_double_range),
19847         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19848         (gst_value_subtract_int_range_int_range),
19849         (gst_value_subtract_double_double_range),
19850         (gst_value_subtract_double_range_double_range),
19851         (gst_value_deserialize_fraction):
19852         * gst/gstvalue.h:
19853           Use gint, gdouble and gchar in our API instead of int, double and
19854           char (and make usage in gstvalue.c more consistent).
19855
19856 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19857
19858         * check/Makefile.am:
19859         * libs/gst/controller/Makefile.am:
19860         * libs/gst/dataprotocol/Makefile.am:
19861           fix up Makefile.am and remove GST_ENABLE_NEW
19862
19863 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19864
19865         * configure.ac:
19866         * gst/Makefile.am:
19867         * gst/base/Makefile.am:
19868         * gst/check/Makefile.am:
19869         * gst/elements/Makefile.am:
19870         * gst/net/Makefile.am:
19871           update LDFLAGS use some more
19872
19873 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19874
19875         * common/m4/gst-doc.m4:
19876           Fixes #312589
19877
19878 2005-11-26  Edward Hervey  <edward@fluendo.com>
19879
19880         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19881         This shouldn't issue a g_warning since it returns NULL if it
19882         couldn't find the plugin, and all functions using this behave
19883         properly on a NULL return. Switching to a GST_WARNING.
19884
19885 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19886
19887         * gst/gstbin.c: (gst_bin_handle_message_func):
19888         Don't leak clock messages.
19889
19890 2005-11-25  Wim Taymans  <wim@fluendo.com>
19891
19892         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19893         (gst_util_uint64_scale_int):
19894         Optimisations, remove unneeded vars.
19895
19896 2005-11-25  Wim Taymans  <wim@fluendo.com>
19897
19898         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19899         Added more checks for the high precision uint64 cases.
19900
19901         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19902         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19903         Implement high precision (guint64 * guint64) / guint64.
19904
19905 2005-11-24  Wim Taymans  <wim@fluendo.com>
19906
19907         * gst/base/gstbasesrc.c: (gst_base_src_query):
19908         Fix wrong percentage query.
19909
19910         * gst/gstutils.c: (gst_util_uint64_scale),
19911         (gst_util_uint64_scale_int):
19912         Add some more common cases that can be handled 
19913         efficiently to _scale.
19914
19915 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19916
19917         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19918         (gst_mini_object_suite):
19919           don't use check calls from threads; check probably isn't
19920           threadsafe and using a lock to make it threadsafe would
19921           defeat the purpose of this check
19922         * gst/check/gstcheck.c:
19923         * gst/check/gstcheck.h:
19924           use GST_DEBUG some more
19925
19926 2005-11-24  Wim Taymans  <wim@fluendo.com>
19927
19928         * gst/gstutils.c: (gst_util_uint64_scale),
19929         (gst_util_uint64_scale_int):
19930         Chain trivial case to _scale_int.
19931
19932 2005-11-24  Wim Taymans  <wim@fluendo.com>
19933
19934         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19935         Added test for scaling.
19936
19937         * gst/gstclock.h:
19938         Small doc fix.
19939
19940         * gst/gstutils.c: (gst_util_uint64_scale_int):
19941         Implemented high precision scaling code.
19942
19943 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
19944
19945         * gst/gstinfo.h:
19946           do not crash on pad==NULL
19947
19948 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19949
19950         Patch by: Stefan Kost
19951
19952         * common/gtk-doc.mak:
19953         * docs/gst/Makefile.am:
19954         * docs/libs/Makefile.am:
19955           Fix distcheck issues for the libraries docs build
19956           Closes #319599.
19957
19958 2005-11-24  Michael Smith <msmith@fluendo.com>
19959
19960         * docs/manual/basics-helloworld.xml:
19961           Fix bug #315027: memory leak in example code in docs.
19962
19963 2005-11-24  Michael Smith <msmith@fluendo.com>
19964
19965         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19966           Unlock the PREROLL_LOCK in a failure case.
19967
19968 2005-11-24  Wim Taymans  <wim@fluendo.com>
19969
19970         * docs/gst/gstreamer-sections.txt:
19971         * gst/base/gstadapter.h:
19972         * gst/base/gstbasesink.h:
19973         * gst/base/gstbasesrc.h:
19974         * gst/base/gstbasetransform.h:
19975         * gst/base/gstpushsrc.h:
19976         * gst/elements/gstfakesink.h:
19977         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19978         * gst/elements/gstfakesrc.h:
19979         * gst/elements/gstfilesink.h:
19980         * gst/elements/gstfilesrc.h:
19981         * gst/gst.c:
19982         * gst/gstbin.c:
19983         * gst/gstbuffer.c: (_gst_buffer_copy):
19984         * gst/gstbus.h:
19985         * gst/gstcaps.c:
19986         * gst/gstchildproxy.c:
19987         * gst/gstclock.c:
19988         * gst/gstelement.c:
19989         * gst/gstelementfactory.c:
19990         * gst/gstelementfactory.h:
19991         * gst/gstevent.c:
19992         * gst/gstghostpad.h:
19993         * gst/gstindex.h:
19994         * gst/gstinterface.h:
19995         * gst/gstminiobject.c:
19996         * gst/gstminiobject.h:
19997         * gst/gstpad.c:
19998         * gst/gstpad.h:
19999         * gst/gstpadtemplate.h:
20000         * gst/gstpipeline.h:
20001         * gst/gstpluginfeature.h:
20002         * gst/gstquery.h:
20003         * gst/gstqueue.h:
20004         * gst/gsttaglist.c:
20005         * gst/gsttaglist.h:
20006         * gst/gsttagsetter.c:
20007         * gst/gsttagsetter.h:
20008         * gst/gsttrace.c:
20009         * gst/gsttrace.h:
20010         * gst/gsttypefind.h:
20011         * gst/gsturi.h:
20012         * gst/gstvalue.c:
20013         * gst/net/gstnetclientclock.c:
20014         * gst/net/gstnetclientclock.h:
20015         * gst/net/gstnettimepacket.c:
20016         * gst/net/gstnettimeprovider.c:
20017         * gst/net/gstnettimeprovider.h:
20018         Doc fixes.
20019
20020 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20021
20022         * configure.ac: back to HEAD
20023
20024 === release 0.9.6 ===
20025
20026 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20027
20028         * configure.ac:
20029           releasing 0.9.6, "Always On Time"
20030
20031 2005-11-23  Wim Taymans  <wim@fluendo.com>
20032
20033         * docs/gst/gstreamer-sections.txt:
20034         * gst/glib-compat.c:
20035         * gst/gsttagsetter.c:
20036         * gst/gstvalue.c:
20037         * gst/net/gstnetclientclock.c:
20038         * gst/net/gstnettimepacket.h:
20039         Doc updates.
20040
20041 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20042
20043         * docs/faq/using.xml:
20044         * docs/libs/tmpl/gstcontrol.sgml:
20045         * docs/manual/advanced-dparams.xml:
20046         * docs/manual/appendix-checklist.xml:
20047         * docs/manual/basics-elements.xml:
20048         * docs/pwg/other-source.xml:
20049         * docs/random/moving-plugins:
20050         * gst/gstpad.c:
20051         * tools/gst-launch.1.in:
20052           remove mentions of sinesrc
20053
20054 2005-11-23  Michael Smith <msmith@fluendo.com>
20055
20056         * docs/gst/gstreamer-sections.txt:
20057           Update for new API and API changes.
20058         * gst/gstobject.h:
20059           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20060         * gst/gstvalue.c:
20061           Documentation typo fix.
20062         * gst/net/gstnettimepacket.c:
20063           Documentation fixes for arguments.
20064
20065 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20066
20067         * gst/gststructure.c: (gst_structure_get_fraction),
20068         (gst_structure_parse_value),
20069         (gst_structure_fixate_field_nearest_fraction):
20070         * gst/gststructure.h:
20071         * gst/gstutils.c: (gst_util_uint64_scale_int):
20072         * gst/gstutils.h:
20073         * scripts/update-funcnames:
20074         API Changes. 
20075         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20076         Make gst_structure_fixate_field_nearest_fraction take a numerator
20077         and denominator argument instead of a GValue
20078         add gst_structure_get_fraction helper function.
20079
20080 2005-11-23  Wim Taymans  <wim@fluendo.com>
20081
20082         * docs/design/part-TODO.txt:
20083         Update TODO.
20084
20085         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20086         * gst/net/gstnetclientclock.h:
20087         Use parent fields for timeout and window_size.
20088
20089 2005-11-23  Andy Wingo  <wingo@pobox.com>
20090
20091         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20092         rate_num/rate_denom change.
20093
20094         * gst/net/gstnetclientclock.c
20095         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20096         OBJECT_LOCK. Don't call add_observation with the lock.
20097
20098         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20099         fraction.
20100         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20101         rate fraction.
20102         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20103         deal with rate as a fraction whose numerator and denominator are
20104         GstClockTime values.
20105         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20106         master; the other fields are protected by the SLAVE_LOCK.
20107         (do_linear_regression): Note that this must be called with the
20108         SLAVE_LOCK.
20109         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20110         OBJECT_LOCK. Call set_calibration instead of touching the
20111         variables directly.
20112         (gst_clock_set_property, gst_clock_get_property): Protect
20113         master/slave parameters with the SLAVE_LOCK.
20114
20115         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20116         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20117         note that all of the instance variables that add_observation and
20118         the set_master functions use are protected by that lock and not
20119         the OBJECT_LOCK.
20120         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20121
20122         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20123         the caller to take the object lock.
20124
20125 2005-11-23  Wim Taymans  <wim@fluendo.com>
20126
20127         * gst/gsterror.c: (_gst_core_errors_init):
20128         * gst/gsterror.h:
20129         Add error for clock stuff.
20130
20131         * gst/gstpipeline.c: (gst_pipeline_change_state),
20132         (gst_pipeline_set_clock):
20133         Post clock error when clock cannot be used in a pipeline.
20134
20135 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20136
20137         * docs/gst/gstreamer-sections.txt:
20138           make two symbols from gstinfo private for the docs
20139         * gst/base/gstcollectpads.h:
20140         * gst/gstutils.c:
20141           fix doc typos, update docs
20142
20143 2005-11-22  Wim Taymans  <wim@fluendo.com>
20144
20145         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20146         (gst_base_sink_wait), (gst_base_sink_do_sync),
20147         (gst_base_sink_handle_event):
20148         * gst/base/gstbasesink.h:
20149         No need to store the clock, the parent element class already
20150         has it.
20151
20152         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20153         Updates for clock_set returning a gboolean
20154
20155         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20156         (gst_clock_id_wait_async), (gst_clock_class_init),
20157         (gst_clock_init), (gst_clock_finalize),
20158         (gst_clock_get_internal_time), (gst_clock_get_time),
20159         (gst_clock_slave_callback), (gst_clock_set_master),
20160         (gst_clock_get_master), (do_linear_regression),
20161         (gst_clock_add_observation), (gst_clock_set_property),
20162         (gst_clock_get_property):
20163         * gst/gstclock.h:
20164         Implement master/slave. When setting a clock as a slave, a
20165         periodic timeout is scheduled to sample master and slave times.
20166         Then the slave clock is recalibrated to match offset and rate
20167         of the master clock.
20168         Update logging a bit.
20169         Add flag so that a clock can state that is cannot be slaved to
20170         another clock.
20171
20172         * gst/gstelement.c: (gst_element_set_clock):
20173         * gst/gstelement.h:
20174         The set clock returns a gboolean for when an element cannot
20175         deal with the selected clock in the pipeline. 
20176
20177         * gst/gstpipeline.c: (gst_pipeline_change_state),
20178         (gst_pipeline_set_clock):
20179         * gst/gstpipeline.h:
20180         Handle the case where the selected clock cannot be set on
20181         the pipeline.
20182
20183         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20184         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20185         (gst_net_client_clock_set_property),
20186         (gst_net_client_clock_get_property),
20187         (gst_net_client_clock_observe_times):
20188         * gst/net/gstnetclientclock.h:
20189         Use regression code in GstClock parent, remove duplicated
20190         functionality.
20191
20192 2005-11-22  Michael Smith <msmith@fluendo.com>
20193
20194         * gst/gstutils.c: (gst_util_clock_time_scale):
20195         * gst/gstutils.h:
20196         * docs/gst/gstreamer-sections.txt:
20197           Rename method to have extra underscore.
20198
20199 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20200
20201         * gst/elements/Makefile.am:
20202         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20203         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20204         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20205         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20206         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20207         * gst/elements/gstfakesrc.h:
20208         * gst/gstqueue.c: (queue_leaky_get_type):
20209           correctly fix GEnumValues so that nick is the short lowercase
20210           dashed tag
20211         * tools/gst-inspect.c: (print_element_properties_info):
20212           also show the nick, since it's useful to use from parse_launch
20213           syntax
20214           Fixes #322139
20215
20216 2005-11-22  Michael Smith <msmith@fluendo.com>
20217
20218         * gst/gstutils.c: (gst_util_clocktime_scale):
20219         * gst/gstutils.h:
20220         * docs/gst/gstreamer-sections.txt:
20221           Add util method for scaling a clocktime by a fraction. Useful 
20222           implementation is left as an exercise for the reader.
20223
20224 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20225
20226         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20227         If needed, allocate storage in the destination value during
20228         collection.
20229
20230 2005-11-22  Edward Hervey  <edward@fluendo.com>
20231
20232         * docs/gst/gstreamer-sections.txt:
20233         * gst/Makefile.am:
20234         * gst/gst.h:
20235         * gst/gsturitype.c:
20236         * gst/gsturitype.h:
20237         * gst/gstutils.c: (gst_util_set_object_arg):
20238         * tools/gst-compprep.c: (main):
20239         * tools/gst-inspect.c: (print_element_properties_info):
20240         Removed GstURI, closes bug #321061
20241
20242 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20243
20244         * check/gst/gststructure.c: (GST_START_TEST):
20245         * gst/gststructure.c: (gst_structure_parse_value):
20246           Oops, broke automatic string type parsing.
20247           Add a test to catch it in future.
20248
20249 2005-11-22  Andy Wingo  <wingo@pobox.com>
20250
20251         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20252         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20253         Actually rename the function implementations. Grr.
20254
20255 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20256
20257         * check/gst/capslist.h:
20258           Comment test cases
20259         * check/gst/gststructure.c: (GST_START_TEST),
20260         (gst_structure_suite):
20261           Test automatic value type detection in gst_structure_from_string.
20262         * gst/gststructure.c: (gst_structure_parse_value):
20263           Add fraction as a type we try and guess automatically in
20264           caps/structure strings.
20265
20266 2005-11-22  Andy Wingo  <wingo@pobox.com>
20267
20268         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20269
20270         * gst/gsttagsetter.h:
20271         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20272         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20273         (gst_tag_setter_add_tag_valist)
20274         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20275         _add_values, _add_valist, and _add_valist_values. Since this is an
20276         interface the function suffixes should be more explicit so
20277         language binding don't end up with element.add_valist ->
20278         gst_tag_setter_add_valist, for example. Fixes #322069.
20279
20280 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20281
20282         * check/gst/gstcaps.c: (GST_START_TEST):
20283           Extend caps string tests to check that a caps to string
20284           conversion is reversible and produces the same caps.
20285
20286         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20287           Output "fraction" as the generic type fraction range, so caps
20288           serialisation and deserialisation works.
20289         * check/gst/capslist.h:
20290         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20291           Support 'MIN' and 'MAX' for deserialising fractions.
20292
20293 2005-11-22  Andy Wingo  <wingo@pobox.com>
20294
20295         * gst/gstevent.h (gst_event_new_new_segment)
20296         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20297         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20298         Renamed from *_newsegment, *_buffersize, *_notarget.
20299
20300         * scripts/update-funcnames: New script, performs the changes
20301         listed above.
20302
20303 2005-11-22  Wim Taymans  <wim@fluendo.com>
20304
20305         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20306         Make sure the GstFlowReturn is returned.
20307
20308         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20309         (gst_bus_add_signal_watch):
20310         * gst/gstbus.h:
20311         add gst_bus_add_signal_watch_full.
20312
20313         * gst/gstplugin.c: (gst_plugin_load_file):
20314         Small style cleanup.
20315
20316 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20317
20318         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20319           Block the fakesrc srcpad when we send an event, to avoid
20320           contention on the stream_lock causing random test failures.
20321
20322 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20323
20324         * check/gst/gstvalue.c: (GST_START_TEST):
20325         * gst/gstvalue.c: (gst_value_fraction_subtract):
20326           Fix subtraction.
20327
20328 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20329
20330         * gst/gst.h:
20331           include "gstchildproxy.h"
20332         * gst/gstchildproxy.h:
20333         * libs/gst/controller/gstcontroller.h:
20334           use G_GNUC_NULL_TERMINATED
20335
20336 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20337
20338         * check/gst/capslist.h:
20339         * check/gst/gstcaps.c: (GST_START_TEST):
20340         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20341         * gst/gststructure.c: (gst_structure_parse_range),
20342         (gst_structure_fixate_field_nearest_fraction):
20343         * gst/gststructure.h:
20344         * gst/gstvalue.c: (gst_value_init_fraction_range),
20345         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20346         (gst_value_collect_fraction_range),
20347         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20348         (gst_value_set_fraction_range_full),
20349         (gst_value_get_fraction_range_min),
20350         (gst_value_get_fraction_range_max),
20351         (gst_value_serialize_fraction_range),
20352         (gst_value_transform_fraction_range_string),
20353         (gst_value_compare_fraction_range),
20354         (gst_value_deserialize_fraction_range),
20355         (gst_value_intersect_fraction_fraction_range),
20356         (gst_value_intersect_fraction_range_fraction_range),
20357         (gst_value_subtract_fraction_fraction_range),
20358         (gst_value_subtract_fraction_range_fraction),
20359         (gst_value_subtract_fraction_range_fraction_range),
20360         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20361         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20362         (gst_value_transform_string_fraction), (_gst_value_initialize):
20363         * gst/gstvalue.h:
20364           Implement fraction ranges and extend GstFraction to support
20365           arithmetic subtraction, as well as deserialization from integer
20366           strings such as "100"
20367           Add a testsuite as for int and double range set operations
20368
20369 2005-11-21  Andy Wingo  <wingo@pobox.com>
20370
20371         * gst/gsttaglist.h: 
20372         * gst/gstcaps.h: 
20373         * gst/gststructure.h: Add glib-compat.h.
20374
20375 2005-11-21  Wim Taymans  <wim@fluendo.com>
20376
20377         * gst/gstbin.c: (gst_bin_change_state_func):
20378         Fix for #321595
20379
20380 2005-11-21  Wim Taymans  <wim@fluendo.com>
20381
20382         * gst/gstsegment.h:
20383         And add a nice define too.
20384
20385 2005-11-21  Wim Taymans  <wim@fluendo.com>
20386
20387         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20388         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20389         (gst_segment_set_duration), (gst_segment_set_last_stop),
20390         (gst_segment_set_seek), (gst_segment_set_newsegment),
20391         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20392         (gst_segment_clip):
20393         * gst/gstsegment.h:
20394         Make binding friendly.
20395
20396 2005-11-21  Andy Wingo  <wingo@pobox.com>
20397
20398         * gst/gsttagsetter.h: 
20399         * gst/gsttaglist.h: 
20400         * gst/gststructure.h: 
20401         * gst/gstcaps.h: 
20402         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20403         #319940.
20404
20405         * gst/gsterror.c (_gst_core_errors_init):
20406         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20407         category.
20408
20409         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20410         (noinst_HEADERS): noinst the -private.
20411
20412 2005-11-21  Michael Smith <msmith@fluendo.com>
20413
20414         * gst/gstplugin.h:
20415         * gst/gstregistry.h:
20416           Remove unimplemented declarations for which we can see no sensible
20417           use.
20418
20419 2005-11-21  Andy Wingo  <wingo@pobox.com>
20420
20421         * gst/gst.h: Include glib-compat.h.
20422
20423         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20424
20425         * gst/glib-compat.c: Include the public and the private header.
20426
20427         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20428
20429         * gst/gstvalue.c: 
20430         * gst/gstpad.c: 
20431         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20432
20433         * check/gst/gstevent.c (create_custom_events): Check that
20434         FLUSH_STOP is serialized.
20435
20436         * check/elements/identity.c (event_func): 
20437         * check/elements/fakesrc.c (event_func): No stream lock, the core
20438         takes it.
20439
20440         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20441         stream lock taking, yay.
20442
20443         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20444         ensure that core takes the stream lock.
20445
20446         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20447         lock name change.
20448
20449         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20450         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20451         it already. For the flush start we do take it though so we get the
20452         right preroll state change messages.
20453
20454         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20455         the stream lock here, the core does it for us.
20456
20457         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20458         GST_STREAM_GET_LOCK.
20459         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20460         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20461         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20462         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20463         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20464         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20465
20466         * gst/gstpad.c: Update for stream lock name change.
20467
20468         * gst/base/gstbasesink.c: Update for preroll lock name change.
20469
20470 2005-11-21  Wim Taymans  <wim@fluendo.com>
20471
20472         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20473         (gst_clock_get_master):
20474         * gst/gstclock.h:
20475         * gst/gstsystemclock.c: (gst_system_clock_init):
20476         Convert Clock flags to object flags.
20477         Added methods to manage master/slave clocks.
20478
20479 2005-11-21  Wim Taymans  <wim@fluendo.com>
20480
20481         * check/gst/gstsegment.c: (GST_START_TEST):
20482         * docs/design/part-TODO.txt:
20483         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20484         (gst_base_sink_event), (gst_base_sink_do_sync),
20485         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20486         (gst_base_sink_query), (gst_base_sink_change_state):
20487         * gst/base/gstbasesink.h:
20488         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20489         (gst_base_src_default_newsegment),
20490         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20491         (gst_base_src_get_range), (gst_base_src_loop),
20492         (gst_base_src_change_state):
20493         * gst/base/gstbasesrc.h:
20494         * gst/base/gstbasetransform.c:
20495         (gst_base_transform_prepare_output_buf),
20496         (gst_base_transform_event), (gst_base_transform_change_state):
20497         * gst/base/gstbasetransform.h:
20498         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20499         (gst_collect_pads_event):
20500         * gst/base/gstcollectpads.h:
20501         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20502         (gst_fake_src_create):
20503         * gst/elements/gstfakesrc.h:
20504         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20505         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20506         (gst_segment_set_last_stop), (gst_segment_set_seek),
20507         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20508         (gst_segment_to_running_time), (gst_segment_clip):
20509         * gst/gstsegment.h:
20510         More segment updates, replace code in plugins with segment
20511         helper functions.
20512
20513 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20514
20515         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20516         Don't ignore sscanf results
20517
20518 2005-11-21  Andy Wingo  <wingo@pobox.com>
20519
20520         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20521
20522         * *.h:
20523         * *.c: Ran scripts/update-macros. Oh yes.
20524
20525         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20526         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20527         GST_GET_LOCK, etc.
20528
20529         * scripts/update-macros: New script. Run it on your files to
20530         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20531         well.
20532
20533 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20534
20535         * docs/gst/Makefile.am:
20536         * docs/gst/gstreamer-docs.sgml:
20537         * docs/gst/gstreamer-sections.txt:
20538         * docs/gst/gstreamer.types:
20539         * gst/gstinfo.h:
20540           more docs fixes, add new api to the docs
20541
20542 2005-11-21  Andy Wingo  <wingo@pobox.com>
20543
20544         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20545         state_broadcast call.
20546
20547         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20548
20549 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20550
20551         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20552         function calls for arrays.
20553
20554 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20555
20556         * docs/random/ensonic/media-device-daemon.txt:
20557           wild idea, can this be done?
20558         * docs/gst/gstreamer-sections.txt:
20559         * gst/gsterror.h:
20560         * gst/gstfilter.c:
20561         * gst/gstfilter.h:
20562         * gst/gstplugin.h:
20563         * gst/gstpluginfeature.c:
20564         * gst/gsttrace.c:
20565         * gst/gstvalue.c:
20566         * gst/gstvalue.h:
20567           doc fixes and additions
20568
20569 2005-11-21  Andy Wingo  <wingo@pobox.com>
20570
20571         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20572         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20573         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20574         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20575         private to the basesrc implementation.
20576
20577         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20578         behalf of event function if necessary. It should no longer be
20579         necessary to take the stream lock in pad's event functions. Fixes
20580         #320299.
20581
20582 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20583         * docs/gst/gstreamer-sections.txt:
20584         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20585         (gst_structure_fixate_field_nearest_double),
20586         (gst_structure_fixate_field_boolean):
20587         * gst/gststructure.h:
20588         * win32/common/libgstreamer.def:
20589         * win32/gstreamer.def:
20590
20591         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20592         (#322027)
20593
20594 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20595
20596         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20597         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20598         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20599         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20600         (gst_fdsrc_uri_handler_init):
20601         * gst/elements/gstfdsrc.h:
20602           Port fd:// URI handler from 0.8 to fdsrc
20603
20604 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20605
20606         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20607         (gst_value_serialize_fourcc):
20608         * gst/gstvalue.h:
20609           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20610           consistent with our other format defines (#320324).
20611
20612 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20613
20614         * gst/gstvalue.c: (gst_value_is_fixed):
20615           Revert previous commit. Value lists are by definition
20616           not fixed, as they are a list of possible values.
20617
20618 2005-11-21  Andy Wingo  <wingo@pobox.com>
20619
20620         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20621         during the stable series if we need it. Fixes #319178.
20622
20623         * gst/gstevent.c (gst_event_new_filler): Removed.
20624
20625         * check/gst/gstevent.c: Update comment about filler events.
20626
20627 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20628
20629         * gst/gstvalue.c: (gst_value_is_fixed):
20630           Should handle both value arrays and value lists.
20631
20632 2005-11-21  Andy Wingo  <wingo@pobox.com>
20633
20634         patch by: Alessandro Dessina <alessandro nnva org>
20635
20636         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20637         functions to access arrays. Fixes #321962.
20638
20639 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20640
20641         * docs/gst/gstreamer.types:
20642           gst_collectpads_get_type => gst_collect_pads_get_type.
20643           
20644         * gst/base/gstbasetransform.c:
20645           Remove unused SIGNAL_HANDOFF enum.
20646
20647 2005-11-21  Andy Wingo  <wingo@pobox.com>
20648
20649         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20650         the event type (upstream, downstream, serialized). Renamed
20651         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20652         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20653         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20654
20655         * gst/gstevent.c: Update for new CUSTOM event names.
20656
20657         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20658
20659         * gst/gstevent.h:
20660         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20661         bug #319392.
20662
20663 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20664
20665         * docs/gst/gstreamer-sections.txt:
20666         * win32/common/libgstbase.def:
20667         * win32/libgstbase.def:
20668         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20669         (gst_collect_pads_class_init), (gst_collect_pads_init),
20670         (gst_collect_pads_finalize), (gst_collect_pads_new),
20671         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20672         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20673         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20674         (gst_collect_pads_start), (gst_collect_pads_stop),
20675         (gst_collect_pads_peek), (gst_collect_pads_pop),
20676         (gst_collect_pads_available), (gst_collect_pads_read),
20677         (gst_collect_pads_flush), (gst_collect_pads_event),
20678         (gst_collect_pads_chain):
20679         * gst/base/gstcollectpads.h:
20680           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20681           unimplemented functions as unimplemented. Add padding to
20682           GstCollectData. (#320766, #320423)
20683
20684 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20685
20686         * gst/gstmessage.c:
20687           Improve docs for DURATION message (usage of duration parameter)
20688           (#320113)
20689
20690 2005-11-20  Wim Taymans  <wim@fluendo.com>
20691
20692         * check/Makefile.am:
20693         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20694         (main):
20695         * gst/Makefile.am:
20696         * gst/gst.h:
20697         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20698         (gst_segment_set_seek), (gst_segment_set_newsegment),
20699         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20700         (gst_segment_clip):
20701         * gst/gstsegment.h:
20702         Added segment helper structure and methods. Not fully implemented
20703         yet.
20704         Added segment check.
20705
20706 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20707
20708         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20709           Add a deserialisation test for fractions
20710         * examples/metadata/read-metadata.c: (message_loop),
20711         (make_pipeline), (main):
20712           Fix up metadata reading sample.
20713         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20714           Debug format fix
20715         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20716           Don't try and fixate empty caps
20717         * gst/gst_private.h:
20718           Wrap in G_BEGIN_DECLS/G_END_DECLS
20719         * gst/gstvalue.c: (gst_value_collect_fraction),
20720         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20721         (gst_value_transform_string_fraction),
20722         (gst_value_compare_fraction):
20723           Add some extra guards to ensure that we don't end up 
20724           with an invalid denominator of 0 in a gstfraction and
20725           that fractions always get reduced.
20726
20727 2005-11-20  Wim Taymans  <wim@fluendo.com>
20728
20729         * docs/gst/gstreamer-sections.txt:
20730         * gst/gstbuffer.h:
20731         * gst/gstelement.c:
20732         * gst/gstformat.c:
20733         * gst/gstformat.h:
20734         * gst/gstindex.h:
20735         * gst/gstquery.c:
20736         * gst/gstquery.h:
20737         * gst/gstvalue.c:
20738         Doc fixes.
20739
20740 2005-11-20  Wim Taymans  <wim@fluendo.com>
20741
20742         * docs/design/part-TODO.txt:
20743         * gst/gstcaps.h:
20744         Make a proper enum of the flag.
20745
20746 2005-11-19  Wim Taymans  <wim@fluendo.com>
20747
20748         * docs/design/part-TODO.txt:
20749         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20750         (gst_format_to_quark), (gst_format_register):
20751         * gst/gstformat.h:
20752         * gst/gstquery.c: (_gst_query_initialize),
20753         (gst_query_type_get_name), (gst_query_type_to_quark),
20754         (gst_query_type_register):
20755         * gst/gstquery.h:
20756         Add type to quark and type to string conversions.
20757
20758 2005-11-19  Andy Wingo  <wingo@pobox.com>
20759
20760         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20761         #320097.
20762
20763 2005-11-19  Wim Taymans  <wim@fluendo.com>
20764
20765         * docs/design/part-TODO.txt:
20766         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20767         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20768         (gst_bin_handle_message_func):
20769         * gst/gstbin.h:
20770         Make message handling overridable.
20771
20772 2005-11-19  Andy Wingo  <wingo@pobox.com>
20773
20774         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20775
20776         * gst/gstclock.h:
20777         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20778         be a GstClockTime.
20779         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20780         is a GstClockTime. Fixes #321710.
20781
20782         * gst/gstclock.h (GstClock): Remove offset property. Add
20783         internal_calibration and external_calibration. Fix padding. Pad
20784         also by GstClockTime so we don't run into problems.
20785
20786         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20787         (gst_clock_get_rate_offset): Remove.
20788         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20789
20790         * gst/gstutils.h:
20791         * gst/gstutils.c (g_static_rec_cond_wait)
20792         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20793
20794         * gst/gstbin.c: Remove terrible continue_state prototype.
20795
20796         * gst/gstelement.h (gst_element_continue_state): Make public.
20797
20798         * gst/gstelement.h:
20799         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20800         by continue_state. Fixes #319389.
20801
20802         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20803         Really fixes #168438. However I don't see anywhere where the
20804         filter function is called... stupid GStreamer...
20805         
20806         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20807         don't have a dispose function, so it won't get called when the
20808         object is unreffed, but oh well!
20809
20810         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20811         allows a destroy function to be set so user_data can be freed.
20812         Fixes #168438.
20813         (gst_index_set_filter): Call gst_index_set_filter_full.
20814
20815         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20816
20817         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20818         string should produce an error, given the lack of a way to
20819         represent NULL strings. Fixes #165650.
20820         
20821         * gst/gstvalue.h: 
20822         * gst/gstvalue.c (gst_value_array_append_value) 
20823         (gst_value_array_prepend_value, gst_value_array_get_size) 
20824         (gst_value_array_get_value): New API, copied from
20825         gst_value_list_*, only operates on arrays.
20826         (gst_value_list_append_value, gst_value_list_prepend_value) 
20827         (gst_value_list_concat, gst_value_list_get_size) 
20828         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20829
20830         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20831         init_list, because it works on both.
20832         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20833         (gst_value_copy_list_or_array): Renamed from copy_list.
20834         (gst_value_free_list_or_array): Renamed from free_list.
20835         (gst_value_collect_list_or_array): Renamed from collect_list.
20836         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20837         (gst_value_list_or_array_peek_pointer): Renamed from
20838         list_peek_pointer.
20839         (_gst_value_array_value_table, _gst_value_list_value_table):
20840         Update value table functions.
20841         (gst_value_compare_list_or_array): Renamed from compare_list.
20842
20843         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20844         some constness.
20845
20846         * gst/gsttaglist.c:
20847         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20848         GstTagList*. Fixes #143472.
20849
20850         * gst/gststructure.h: Clarify what the foreach/map functions can
20851         or can't do to their arguments.
20852
20853 2005-11-18  Wim Taymans  <wim@fluendo.com>
20854
20855         * gst/gstclock.c: (gst_clock_set_calibration),
20856         (gst_clock_get_calibration):
20857         Doc and API fixes.
20858         Calibration can be set with internal time equal to current
20859         internal time too.
20860
20861 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20862
20863         * gst/gsterror.c:
20864         * gst/gsterror.h:
20865           document
20866
20867 2005-11-18  Andy Wingo  <wingo@pobox.com>
20868
20869         * configure.ac: 
20870         * pkgconfig/gstreamer-net.pc.in:
20871         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20872         * pkgconfig/Makefile.am: Add net pkgconfig files.
20873
20874 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20875
20876         * gst/gstcaps.c:
20877         * gst/gstghostpad.c:
20878         * gst/gsttrace.c:
20879         * gst/gstvalue.c:
20880         * gst/gstvalue.h:
20881           docs fixes
20882
20883 2005-11-18  Andy Wingo  <wingo@pobox.com>
20884
20885         * gst/net/gstnetclientclock.c: Turn off debugging.
20886
20887         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20888         times connverge somewhat. Can't make a real test.
20889
20890         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20891         integer arithmetic. Return the minimum of the domain, which can be
20892         set as "internal" for gst_clock_set_calibration.
20893         (gst_net_client_clock_observe_times): Call _set_calibration.
20894         (gst_net_client_clock_new): Call _set_calibration instead of
20895         rate_offset.
20896
20897         * check/net/gstnetclientclock.c (test_functioning): Use the right
20898         adjustment api.
20899
20900         * gst/gstclock.h:
20901         * gst/gstclock.c (gst_clock_get_calibration) 
20902         (gst_clock_set_calibration): New functions, obsolete the ones I
20903         added yesterday. Doh. Precision issues mean we have to extrapolate
20904         from a point in the more recent past than 1970.
20905         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20906         obsolete.
20907         (gst_clock_adjust_unlocked): Use the right calibration data.
20908
20909 2005-11-18  Edward Hervey  <edward@fluendo.com>
20910
20911         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
20912         Also reset the ->current_* values in READY->PAUSED
20913
20914 2005-11-18  Andy Wingo  <wingo@pobox.com>
20915
20916         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20917         Whoops, check the right fd. Also add some debugging.
20918         (gst_net_client_clock_observe_times): Adjust for int64 offset.
20919         (do_linear_regression): Add a crapload of debugging. Subtract off
20920         the minimum values from the input series to discard unneeded bits.
20921         Use only int arithmetic. There is still double arithmetic when
20922         calculating the intercept that needs fixing. Return boolean to
20923         indicate success; FALSE would mean the domain or range is too
20924         great. Still needs fixes.
20925
20926 2005-11-18  Wim Taymans  <wim@fluendo.com>
20927
20928         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20929         For the current position in stream time, we need to subtract
20930         accumulated time.
20931         
20932         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20933         Release lock before calling the callback function of async
20934         entries.
20935
20936 2005-11-18  Andy Wingo  <wingo@pobox.com>
20937
20938         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20939         Port goes all the way to MAXUINT16.
20940
20941         * gst/net/gstnettimeprovider.c: Make the port range the same as
20942         for the kernel: 0 assigns, otherwise ports are less than
20943         MAXUINT16.
20944
20945         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20946         port change.
20947
20948         * check/net/gstnetclientclock.c (test_functioning): Add the start
20949         of another test. 
20950
20951 2005-11-18  Wim Taymans  <wim@fluendo.com>
20952
20953         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20954         (gst_bin_remove_func), (bin_bus_handler):
20955         * gst/gstbin.h:
20956         Removing a clock provider from a bin, triggers a clock lost message
20957         so that a new clock will be selected.
20958         Adding a clock to a bin triggers a clock provider message.
20959         Make sure we reselect a clock when we received a clock lost message.
20960         Keep a reference to the element that provided the clock.
20961
20962 2005-11-18  Andy Wingo  <wingo@pobox.com>
20963
20964         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20965         the clock initially so it produces values around the base time.
20966         (gst_net_client_clock_class_init): Typo fix.
20967         (gst_net_client_clock_thread): Add note on when the socket gets
20968         closed.
20969
20970 2005-11-17  Wim Taymans  <wim@fluendo.com>
20971
20972         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20973         Free remote and local time arrays.
20974
20975 2005-11-17  Wim Taymans  <wim@fluendo.com>
20976
20977         * gst/net/gstnetclientclock.c: (do_linear_regression),
20978         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20979         Fix compilation, uninitialized vars and a forgotten continue.
20980
20981 2005-11-17  Andy Wingo  <wingo@pobox.com>
20982
20983         * check/Makefile.am (check_PROGRAMS): 
20984         * check/net/gstnetclientclock.c: Add a most minimal test for the
20985         net client clock. More to come later.
20986
20987         * gst/net/gstnet.h: 
20988         * gst/net/Makefile.am: Add netclientclock.
20989
20990         * gst/net/gstnetclientclock.h:
20991         * gst/net/gstnetclientclock.c: New files, implement an untested
20992         GstClock that takes its time from a network time provider.
20993         Implements the algorithm in network-clock.scm.
20994
20995         * tests/network-clock.scm (*window-size*): Rename from
20996         *queue-length*.
20997         * tests/network-clock.scm (network-time): 
20998         * tests/network-clock-utils.scm (q-push): Update callers.
20999
21000 2005-11-17  Wim Taymans  <wim@fluendo.com>
21001
21002         * gst/gstbin.c: (gst_bin_provide_clock_func),
21003         (gst_bin_sort_iterator_new):
21004         And unref the child too..
21005
21006 2005-11-17  Wim Taymans  <wim@fluendo.com>
21007
21008         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21009         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21010         Refactor the sort iterator so it can be used while holding the
21011         LOCK too.
21012         Make clock selection select a clock closest to the source.
21013
21014 2005-11-17  Michael Smith <msmith@fluendo.com>
21015
21016         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21017         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21018         * gst/gstclock.h:
21019           Anonymous structs are a gcc (and some other compilers) extension, so
21020           don't use them. Since this is only for ABI-compatibility, and our
21021           API/ABI freeze is over in a few days, this whole thing will only
21022           last a few days, so don't bother trying to think up a meaningful
21023           name for the struct.
21024
21025 2005-11-17  Andy Wingo  <wingo@pobox.com>
21026
21027         * gst/gstclock.h (GstClock): Add rate and offset properties,
21028         preserving ABI stability. Add rate/offset accessors. Will file bug
21029         for the freeze break.
21030
21031         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21032         and offset, trying to keep precision and avoiding
21033         underflow/overflow.
21034         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21035         functions. Make gst_clock_set_time_adjust obsolete.
21036         (gst_clock_set_time_adjust): Note that this function is obsolete.
21037         Will file bug soon.
21038
21039         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21040         greppable by using GST_PADDING-1+1.
21041
21042 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21043
21044         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21045
21046         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21047           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21048
21049         * gst/gstpadtemplate.h:
21050         * gst/gstpluginfeature.h:
21051           Don't use c++ style comments in headers (#321638).
21052
21053 2005-11-16  Andy Wingo  <wingo@pobox.com>
21054
21055         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21056         buffer.
21057
21058         * check/net/gstnettimeprovider.c: Check to see that the time
21059         provider actually provides times. Works, yo!
21060
21061 2005-11-16  Wim Taymans  <wim@fluendo.com>
21062
21063         * check/Makefile.am:
21064         Enable more tests.
21065
21066         * check/elements/fakesrc.c: (GST_START_TEST):
21067         Set element to NULL before disposing it.
21068
21069 2005-11-16  Andy Wingo  <wingo@pobox.com>
21070
21071         * gst/net/Makefile.am:
21072         * gst/net/gstnet.h:
21073         * gst/net/gstnettimeprovider.c: 
21074         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21075         provider, include it from gstnet.h, and add it to the build.
21076
21077         * gst/net/gstnettimepacket.h: 
21078         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21079         sending and receiving.
21080
21081 2005-11-16  Wim Taymans  <wim@fluendo.com>
21082
21083         * check/Makefile.am:
21084         Enable valgrind check.
21085
21086         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21087         (gst_fake_src_alloc_buffer):
21088         Fix memleak.
21089
21090 2005-11-16  Wim Taymans  <wim@fluendo.com>
21091
21092         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21093         Call parent finalize too.
21094
21095 2005-11-16  Wim Taymans  <wim@fluendo.com>
21096
21097         * check/Makefile.am:
21098         Enable valgrind check that should work fine now.
21099
21100         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21101         * gst/gstqueue.c: (gst_queue_init):
21102         Fix memleaks in pad allocation.
21103
21104 2005-11-16  Andy Wingo  <wingo@pobox.com>
21105
21106         * gst/net/Makefile.am:
21107         * gst/net/gstnet.h: New part of core to hold network elements and
21108         objects. Put in core because it exposes API that applications want
21109         to use. The library is named libgstnet-tempname right now because
21110         of the existing libgstnet in gst-plugins-base. Solution is
21111         probably to rename the one in plugins-base; will file a bug for
21112         the freeze break.
21113
21114         * gst/net/gstnettimeprovider.c: 
21115         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21116         get_time call over the network.
21117
21118         * configure.ac: 
21119         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21120
21121         * check/Makefile.am:
21122         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21123         get additions shortly.
21124
21125 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21126
21127         * gst/gstpad.c: (gst_pad_new_from_static_template):
21128         * gst/gstpad.h:
21129           add gst_pad_new_from_static_template functions
21130         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21131         (gst_check_setup_sink_pad):
21132         * gst/elements/gsttee.c: (gst_tee_init):
21133           and use them
21134
21135 2005-11-16  Wim Taymans  <wim@fluendo.com>
21136
21137         * gst/gstpad.c: (gst_pad_pause_task):
21138         Removed warning, it's not really an error either.
21139
21140 2005-11-16  Wim Taymans  <wim@fluendo.com>
21141
21142         * gst/base/gstbasetransform.c:
21143         (gst_base_transform_prepare_output_buf),
21144         (gst_base_transform_event):
21145         Check if the caps are NULL, this can happen if the element
21146         is shutting down and the pad caps are set to NULL.
21147
21148 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21149
21150         * gst/elements/gsttee.c: (gst_tee_init):
21151           fix pad template leak in tee
21152
21153 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21154
21155         * gst/glib-compat.c: (g_value_dup_gst_object):
21156         * gst/glib-compat.h:
21157         * gst/gstpad.c: (gst_pad_set_property):
21158           use gst_object_ref when setting the pad template; this will
21159           trigger the pad template leaks on GLib 2.6 and the slaves
21160
21161 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21162
21163         * gst/glib-compat.c: (gst_flags_get_first_value):
21164         * gst/glib-compat.h:
21165         * gst/gstregistryxml.c:
21166           remove functions copied from GLib 2.6
21167
21168 2005-11-16  Michael Smith <msmith@fluendo.com>
21169
21170         * gst/Makefile.am:
21171           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21172           do, but only breaks with newer valgrind versions. We're not a
21173           valgrind tool, we have no link-time dependencies on libcoregrind.
21174
21175 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21176
21177         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21178           some debug changes
21179         * gst/gstmessage.h:
21180           typo fixes
21181
21182 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21183
21184         * gst/base/gstbasesrc.c: (gst_base_src_init):
21185         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21186         * gst/gstqueue.c: (gst_queue_init):
21187         * gst/gstregistryxml.c: (load_feature):
21188           Revert all these unrefs, they don't even pass make check !
21189
21190 2005-11-15  Johan Dahlin  <johan@gnome.org>
21191
21192         * gst/base/gstbasesrc.c: (gst_base_src_init):
21193         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21194         * gst/gstqueue.c: (gst_queue_init): 
21195         Free pad templates, fixes a couple of leaks.
21196
21197 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21198
21199         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21200
21201         * gst/gstpad.c: (gst_pad_get_property):
21202           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21203           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21204           (#321452)
21205
21206 2005-11-15  Wim Taymans  <wim@fluendo.com>
21207
21208         * gst/gstevent.c:
21209         Small doc update.
21210
21211 2005-11-15  Andy Wingo  <wingo@pobox.com>
21212
21213         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21214
21215         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21216         using GST_CLOCK_TIME_NONE to disable base time management.
21217         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21218         time if it was NONE before.
21219         (gst_pipeline_change_state): Only munge the base time if
21220         stream_time != GST_CLOCK_TIME_NONE.
21221
21222         * check/gst/gstpipeline.c (test_base_time): Punt around the
21223         problem of the probe not being called, because that's not the
21224         issue I'm looking at. Add a check that setting stream_time to NONE
21225         disables base time management.
21226         
21227 2005-11-15  Wim Taymans  <wim@fluendo.com>
21228
21229         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21230         segment_stop == -1 at startup.
21231
21232         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21233         (gst_base_transform_change_state):
21234         Init segment values at start.
21235
21236 2005-11-15  Wim Taymans  <wim@fluendo.com>
21237
21238         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21239         0 segment values are 0 in any format.
21240
21241         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21242         * gst/base/gstbasetransform.h:
21243         Parse newsegment correctly in basetransform
21244
21245         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21246         Sync to clock using updated segment values.
21247
21248 2005-11-15  Andy Wingo  <wingo@pobox.com>
21249
21250         * check/gst/gstpipeline.c (test_base_time): Add check that the
21251         base time and stream time are reset correctly.
21252
21253 2005-11-15  Wim Taymans  <wim@fluendo.com>
21254
21255         * docs/design/part-TODO.txt:
21256         Some more TODO items.
21257
21258 2005-11-15  Andy Wingo  <wingo@pobox.com>
21259
21260         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21261         error if the user selected "no clock" as the clocking method.
21262
21263         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21264         timestamps with live capture.
21265
21266         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21267         is 0 but we are a live source, timestamp the buffers using the
21268         element's clock.
21269
21270 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21271
21272         * docs/gst/gstreamer-sections.txt:
21273         * gst/gsterror.c:
21274         * gst/gstghostpad.c:
21275         * gst/gstobject.h:
21276         * gst/gstxml.c:
21277           more section docs
21278
21279 2005-11-14  Wim Taymans  <wim@fluendo.com>
21280
21281         * common/gst.supp:
21282           add suppressions from Wim's Debian machine
21283
21284 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21285
21286         * common/gst.supp:
21287           add suppressions from Andy's AMD64 Ubuntu machine
21288
21289 2005-11-14  Andy Wingo  <wingo@pobox.com>
21290
21291         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21292         STATE_LOCK not necessary. Fixes #311489.
21293
21294         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21295         #305291.
21296
21297         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21298         this function is not implemented.
21299
21300 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21301
21302         * gst/base/gstbasetransform.c:
21303         (gst_base_transform_prepare_output_buf):
21304         Ref the source pad caps while we need them.
21305         Fixes (#321386)
21306
21307 2005-11-11  Wim Taymans  <wim@fluendo.com>
21308
21309         * docs/gst/gstreamer-sections.txt:
21310         Added some docs for GstCollectData.
21311
21312         * gst/base/gstadapter.c:
21313         Some small code example fix.
21314
21315         * gst/base/gstcollectpads.c:
21316         * gst/base/gstcollectpads.h:
21317         Document some more.
21318
21319 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21320
21321         * configure.ac: back to HEAD
21322
21323 === release 0.9.5 ===
21324
21325 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21326
21327         * configure.ac:
21328           releasing 0.9.5, "Bike Lunch Day"
21329
21330 2005-11-11  Wim Taymans  <wim@fluendo.com>
21331
21332         * gst/gstbuffer.c: (_gst_buffer_copy):
21333         Copy more flags.
21334
21335         * gst/gstcaps.c: (gst_caps_is_equal):
21336         Fix some docs.
21337         Make _is_equal fast in the trivial cases.
21338
21339         * gst/gstminiobject.c:
21340         * gst/gstminiobject.h:
21341         More docs. Spifify .h file.
21342
21343         * gst/gstutils.c:
21344         Small doc update.
21345
21346 2005-11-11  Wim Taymans  <wim@fluendo.com>
21347
21348         * gst/base/gstbasetransform.c:
21349         (gst_base_transform_prepare_output_buf),
21350         (gst_base_transform_handle_buffer):
21351         Small cleanups.
21352         If we're processing a buffer and need to allocate an output
21353         buffer, we cannot accept a format change. If we did get a 
21354         format change, we have to alloc a buffer ourselves of the 
21355         right size.
21356
21357 2005-11-11  Wim Taymans  <wim@fluendo.com>
21358
21359         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21360         While checking the flag for reentrancy in the gstcaps function
21361         is nice to detect recursive invocations, it also makes it 
21362         impossible to call getcaps from multiple threads, which must be
21363         possible. So, checking for recursive calls has to go.
21364
21365 2005-11-11  Michael Smith <msmith@fluendo.com>
21366
21367         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21368           Don't sync on buffers that fall partially outside our current
21369           segment. Prevents an assertion failure/abort playing some files.
21370
21371 2005-11-10  Andy Wingo  <wingo@pobox.com>
21372
21373         * check/gst/gstbin.c (test_message_state_changed_children): Style
21374         fix..
21375
21376         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21377         gst_bus_poll with the signal watch. Ensures that poll and a signal
21378         watch see the same messages.
21379
21380         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21381         a poll and a watch at the same time get the same messages.
21382
21383 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21384
21385         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21386         * gst/gstcaps.c: (gst_caps_intersect):
21387           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21388           and it's not needed.
21389
21390 2005-11-10  Wim Taymans  <wim@fluendo.com>
21391
21392         * docs/design/part-TODO.txt:
21393         Updated todo.
21394
21395 2005-11-10  Wim Taymans  <wim@fluendo.com>
21396
21397         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21398         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21399         (gst_base_src_do_sync), (gst_base_src_get_range):
21400         Implement clock sync in base class.
21401
21402 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21403
21404         patch by: Tim-Philipp Müller <tim at centricular dot net>
21405
21406         * gst/gststructure.c: (gst_structure_parse_field),
21407         (gst_structure_from_string):
21408           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21409           so that gst_parse_launch() can deal with spaces in filtered link
21410           caps (fixes #164479)
21411         * check/gst/capslist.h:
21412         * check/gst/gststructure.c: (GST_START_TEST):
21413           add unit tests for this change
21414
21415 2005-11-10  Wim Taymans  <wim@fluendo.com>
21416
21417         * docs/gst/gstreamer-sections.txt:
21418         * gst/gstelement.c:
21419         * gst/gstelement.h:
21420         Fix docs, move some STATE macros to private.
21421
21422 2005-11-10  Wim Taymans  <wim@fluendo.com>
21423
21424         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21425         Added check for bug #317341
21426
21427         * gst/gstbuffer.c:
21428         * gst/gstbuffer.h:
21429         Some more spiffifying.
21430
21431         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21432         Call peer linkfunction if we are a source pad. Totally fixes
21433         #317341
21434
21435         * gst/gstpad.c:
21436         Update docs, source pads should call the peer linkfunction
21437         so they can atomically perform the pad link.
21438
21439 2005-11-09  Wim Taymans  <wim@fluendo.com>
21440
21441         * gst/gstbuffer.c:
21442         * gst/gstbuffer.h:
21443         Uber-spiffy-spiffify some more.
21444
21445 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21446
21447         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21448         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21449         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21450         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21451         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21452         * gst/gstpad.c: (gst_pad_init):
21453           Use GST_DEBUG_FUNCPTR() more extensively.
21454
21455 2005-11-09  Wim Taymans  <wim@fluendo.com>
21456
21457         * gst/gstobject.c: (gst_object_class_init):
21458         * gst/gstobject.h:
21459         Documentation fixes.
21460
21461 2005-11-09  Edward Hervey  <edward@fluendo.com>
21462
21463         * gst/gsttypefindfactory.c:
21464         Fix docs.
21465         
21466 2005-11-09  Edward Hervey  <edward@fluendo.com>
21467
21468         * gst/base/gsttypefindhelper.c:
21469         * gst/gsttypefind.c:
21470         * gst/gsttypefind.h:
21471         Fix docs.
21472
21473 2005-11-09  Wim Taymans  <wim@fluendo.com>
21474
21475         * gst/gstiterator.c:
21476         Fix revision data.
21477
21478         * gst/gsttask.c:
21479         * gst/gsttask.h:
21480         Fix docs.
21481
21482 2005-11-09  Wim Taymans  <wim@fluendo.com>
21483
21484         * gst/gstevent.h:
21485         * gst/gsturi.h:
21486         Fix docs.
21487
21488 2005-11-09  Wim Taymans  <wim@fluendo.com>
21489
21490         * docs/gst/gstreamer-sections.txt:
21491         Moved the message async delivery private lock and cond
21492         to the private section.
21493
21494         * gst/gstmessage.c:
21495         * gst/gstmessage.h:
21496         Fixed docs.
21497
21498 2005-11-09  Edward Hervey  <edward@fluendo.com>
21499
21500         * docs/gst/gstreamer-sections.txt:
21501         * gst/gsturi.c:
21502         * gst/gsturi.h:
21503         Document GstURIHandler
21504
21505 2005-11-09  Wim Taymans  <wim@fluendo.com>
21506
21507         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21508         (gst_iterator_find_custom):
21509         * gst/gstiterator.h:
21510         Fix iterator docs.
21511
21512 2005-11-09  Wim Taymans  <wim@fluendo.com>
21513
21514         * gst/gstbin.h:
21515         Document another field.
21516
21517         * gst/gststructure.c:
21518         * gst/gststructure.h:
21519         Document.
21520
21521 2005-11-09  Wim Taymans  <wim@fluendo.com>
21522
21523         * gst/gstbin.h:
21524         Documented structs.
21525
21526 2005-11-09  Wim Taymans  <wim@fluendo.com>
21527
21528         * docs/gst/gstreamer-sections.txt:
21529         Added some new macros.
21530
21531         * gst/gstclock.c:
21532         * gst/gstclock.h:
21533         * gst/gstobject.h:
21534         Docs updates.
21535
21536 2005-11-09  Wim Taymans  <wim@fluendo.com>
21537
21538         * docs/design/part-TODO.txt:
21539         Some more items for the TODO
21540
21541         * gst/gstcaps.c:
21542         * gst/gstcaps.h:
21543         Document GstCaps.
21544
21545 2005-11-09  Andy Wingo  <wingo@pobox.com>
21546
21547         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21548         to work on something else now tho...
21549
21550         * gst/base/gstadapter.c: More adapter docs.
21551
21552         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21553         (gst_file_sink_stop): New functions, replace the state change
21554         handler.
21555         (gst_file_sink_class_init): Hook up the start and stop functions.
21556         (gst_file_sink_base_init): Don't set the state change handler any
21557         more. It was a bit ugly too, being set from here...
21558         (gst_file_sink_get_property, gst_file_sink_set_property):
21559         Cleanups...
21560         (gst_file_sink_set_location): More robust check that doesn't call
21561         GST_STATE. Ugggggg.
21562
21563 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21564
21565         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21566           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21567
21568 2005-11-08  Wim Taymans  <wim@fluendo.com>
21569
21570         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21571         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21572         (gst_base_sink_chain), (gst_base_sink_change_state):
21573         * gst/base/gstbasesink.h:
21574         * gst/base/gstbasesrc.h:
21575         * gst/gstelement.h:
21576         * gst/gstevent.h:
21577         Avoid excessive typechecking in macros.
21578
21579         * gst/gstminiobject.c: (gst_mini_object_get_type),
21580         (gst_mini_object_init), (gst_mini_object_new),
21581         (gst_mini_object_free):
21582         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21583         (gst_object_finalize):
21584         Remove cruft code, optimize alloc_trace.
21585
21586 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21587
21588         * docs/faq/gst-uninstalled:
21589           fix up PS1 for systems that try to reset it
21590
21591 2005-11-07  Wim Taymans  <wim@fluendo.com>
21592
21593         * gst/base/gstbasesrc.c: (gst_base_src_init),
21594         (gst_base_src_get_range):
21595         Set the segment_end to -1 initially. Fixed typefind.
21596
21597 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21598
21599         * gst/base/gstadapter.c:
21600           Debug category should be 'adapter', not 'GstAdapter'.
21601           
21602         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21603         (gst_collectpads_class_init), (gst_collectpads_init),
21604         (gst_collectpads_peek), (gst_collectpads_pop),
21605         (gst_collectpads_event), (gst_collectpads_chain):
21606           Add debug category and some debugging output. Use boilerplate
21607           macros. Remove some extraneous words from docs.
21608
21609 2005-11-05  Andy Wingo  <wingo@pobox.com>
21610
21611         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21612         macro.
21613
21614 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21615
21616         * docs/gst/gstreamer-sections.txt:
21617         * gst/gstcaps.h:
21618         * gst/gstinfo.c:
21619         * gst/gstminiobject.h:
21620         * gst/gstobject.h:
21621         * gst/gstutils.h:
21622           more docs added
21623
21624 2005-11-04  Wim Taymans  <wim@fluendo.com>
21625
21626         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21627         Small update to stop at the configured segment_end
21628         position.
21629
21630 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21631
21632         * gst/gstregistry.c:
21633         * gst/gstregistry.h:
21634           added missing docs
21635
21636 2005-11-04  Edward Hervey  <edward@fluendo.com>
21637
21638         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21639         Check if we are doing a segment seek and have arrived at the
21640         end of that segment.
21641
21642 2005-11-04  Wim Taymans  <wim@fluendo.com>
21643
21644         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21645         Don't leak a mutex unlock in case of an error.
21646
21647         * gst/gstbus.h:
21648         Doc fixes.
21649
21650 2005-11-04  Wim Taymans  <wim@fluendo.com>
21651
21652         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21653         (gst_bus_post):
21654         Get the context to wake up only once.
21655
21656 2005-11-03  Wim Taymans  <wim@fluendo.com>
21657
21658         * check/states/sinks.c: (GST_START_TEST):
21659         Uncomment fixed check.
21660
21661         * docs/design/part-TODO.txt:
21662         Updated TODO.
21663
21664         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21665         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21666         (gst_base_sink_get_position):
21667         If we are going to PLAYING, post the right pending state
21668         when we post the intermediate paused message.
21669
21670         * gst/gstelement.c: (gst_element_continue_state),
21671         (gst_element_set_state_func), (gst_element_change_state):
21672         Don't post state changes that were between the same state
21673         and were not ASYNC.
21674
21675 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21676
21677         * docs/gst/gstreamer-sections.txt:
21678         * gst/gstcaps.h:
21679         * gst/gstinfo.c:
21680         * gst/gstminiobject.h:
21681         * gst/gstobject.h:
21682         * gst/gstutils.h:
21683           more docs and doc style fixes
21684
21685 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21686
21687         * docs/gst/gstreamer-sections.txt:
21688         * gst/gstelement.c:
21689         * gst/gstminiobject.c:
21690         doc fixes
21691
21692 2005-11-03  Andy Wingo  <wingo@pobox.com>
21693
21694         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21695         state-changed messages actually have the right order and the right
21696         values.
21697
21698 2005-11-03  Wim Taymans  <wim@fluendo.com>
21699
21700         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21701         Added some more checks. Specifically the case where NO_PREROLL
21702         elements are in the pipeline.
21703
21704         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21705         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21706         (gst_base_sink_get_position):
21707         Post READY->PAUSED state change messages too.
21708         Fix bug where VOID was posted as pending state...
21709
21710         * gst/gstbin.c: (gst_bin_recalc_state):
21711         use _element_continue_state() to continue the state change.
21712
21713         * gst/gstelement.c: (gst_element_continue_state),
21714         (gst_element_commit_state), (gst_element_set_state_func),
21715         (gst_element_change_state), (gst_element_change_state_func):
21716         Lots of state change cleanups, assign the STATE_RETURN in
21717         a new continue_state() function that also propagates the
21718         last return value from a state change to the app.
21719         Update some debug statements with proper category.
21720
21721 2005-11-03  Wim Taymans  <wim@fluendo.com>
21722
21723         * docs/design/part-events.txt:
21724         * docs/design/part-gstpipeline.txt:
21725         * docs/design/part-messages.txt:
21726         * docs/design/part-overview.txt:
21727         * docs/design/part-seeking.txt:
21728         * docs/design/part-states.txt:
21729         * docs/design/part-trickmodes.txt:
21730         * docs/manual/advanced-position.xml:
21731         Small docs updates.
21732
21733         * gst/gstobject.h:
21734         People think !! is ugly, this looks better.
21735
21736         * gst/gstpad.c: (gst_pad_set_blocked_async):
21737         Remove !! since it's fixed elsewhere now.
21738
21739 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21740
21741         * gst/gstminiobject.h:
21742         * gst/gstobject.h:
21743           Add !! to _FLAG_IS_SET macros to make the result boolean.
21744
21745 2005-11-03  Edward Hervey  <edward@fluendo.com>
21746
21747         * gst/gstpad.c: (gst_pad_set_blocked_async):
21748         comparing a flag and a gboolean rarely returns coherent results...
21749         Added two characters (!!) to make that work correctly.
21750         
21751 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21752
21753         * gst/gstbus.c: (gst_bus_class_init):
21754           Fix some typos.
21755           
21756         * gst/gstqueue.c: (gst_queue_loop):
21757           Don't assume a miniobject that isn't a buffer is an
21758           event (it could be that there is a refcounting
21759           problem somewhere and the pointer is stale and
21760           refers to an already destroyed miniobject).
21761
21762 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21763
21764         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21765
21766 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21767
21768         * docs/manual/advanced-position.xml:
21769           Update seek example and explanations to current 0.9 API.
21770
21771         * gst/elements/gsttypefindelement.c:
21772         (gst_type_find_element_activate):
21773           Remove FIXME comment now that the found caps
21774           are unreffed.
21775
21776 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21777
21778         * gst/gstregistryxml.c: (load_feature):
21779           Add another GST_STR_NULL instance
21780
21781 2005-11-02  Edward Hervey  <edward@fluendo.com>
21782
21783         * gst/gstpad.c: (handle_pad_block):
21784         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21785         
21786 2005-11-02  Wim Taymans  <wim@fluendo.com>
21787
21788         * gst/gstbin.c:
21789         Fix typo in docs.
21790
21791         * gst/gstelement.c: (gst_element_commit_state):
21792         Remove unused value.
21793
21794         * gst/gstiterator.c:
21795         Mention that the returned element is reffed in the docs.
21796
21797 2005-11-02  Wim Taymans  <wim@fluendo.com>
21798
21799         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21800         (gst_pad_push), (gst_pad_push_event):
21801         Unlock blocked pads when they are flushed.
21802
21803 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21804
21805         * docs/README:
21806         * docs/gst/gstreamer-sections.txt:
21807         * gst/gstbin.c:
21808           doc updates
21809         * gst/gstregistry.c: (gst_registry_scan_path_level):
21810           fix for a nasty little missed situation where an installed plug-in
21811           which was in the cache did not get overridden by an uninstalled one
21812           which was earlier in the plugin path because the newly created plugin
21813           for the uninstalled one (not in the registry) didn't get its
21814           ->registered set to TRUE
21815
21816 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21817
21818         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21819         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21820         (gst_collectpads_is_active), (gst_collectpads_collect),
21821         (gst_collectpads_collect_range), (gst_collectpads_start),
21822         (gst_collectpads_stop), (gst_collectpads_peek),
21823         (gst_collectpads_pop), (gst_collectpads_available),
21824         (gst_collectpads_read), (gst_collectpads_flush):
21825           Guard public API with assertions.
21826         
21827         * gst/gstpad.c:
21828           Fix docs for gst_pad_set_link_function().
21829
21830 2005-11-02  Johan Dahlin  <johan@gnome.org>
21831
21832         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21833         Unref found_caps after we used it.
21834
21835 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21836
21837         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21838           Don't try to ref NULL.
21839
21840 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21841
21842         * win32/common/config.h.in:
21843           provide a GST_FUNCTION that just gives a string for now
21844
21845 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21846
21847         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21848         (gst_object_flags_get_type), (register_gst_bin_flags),
21849         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21850         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21851         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21852         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21853         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21854         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21855         (gst_clock_flags_get_type), (register_gst_state),
21856         (gst_state_get_type), (register_gst_state_change_return),
21857         (gst_state_change_return_get_type), (register_gst_state_change),
21858         (gst_state_change_get_type), (register_gst_element_flags),
21859         (gst_element_flags_get_type), (register_gst_core_error),
21860         (gst_core_error_get_type), (register_gst_library_error),
21861         (gst_library_error_get_type), (register_gst_resource_error),
21862         (gst_resource_error_get_type), (register_gst_stream_error),
21863         (gst_stream_error_get_type), (register_gst_event_type),
21864         (gst_event_type_get_type), (register_gst_seek_type),
21865         (gst_seek_type_get_type), (register_gst_seek_flags),
21866         (gst_seek_flags_get_type), (register_gst_format),
21867         (gst_format_get_type), (register_gst_index_certainty),
21868         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21869         (gst_index_entry_type_get_type),
21870         (register_gst_index_lookup_method),
21871         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21872         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21873         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21874         (gst_index_flags_get_type), (register_gst_debug_level),
21875         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21876         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21877         (gst_iterator_result_get_type), (register_gst_iterator_item),
21878         (gst_iterator_item_get_type), (register_gst_message_type),
21879         (gst_message_type_get_type), (register_gst_mini_object_flags),
21880         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21881         (gst_pad_link_return_get_type), (register_gst_flow_return),
21882         (gst_flow_return_get_type), (register_gst_activate_mode),
21883         (gst_activate_mode_get_type), (register_gst_pad_direction),
21884         (gst_pad_direction_get_type), (register_gst_pad_flags),
21885         (gst_pad_flags_get_type), (register_gst_pad_presence),
21886         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21887         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21888         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21889         (gst_plugin_error_get_type), (register_gst_plugin_flags),
21890         (gst_plugin_flags_get_type), (register_gst_rank),
21891         (gst_rank_get_type), (register_gst_query_type),
21892         (gst_query_type_get_type), (register_gst_tag_merge_mode),
21893         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21894         (gst_tag_flag_get_type), (register_gst_task_state),
21895         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21896         (gst_alloc_trace_flags_get_type),
21897         (register_gst_type_find_probability),
21898         (gst_type_find_probability_get_type), (register_gst_uri_type),
21899         (gst_uri_type_get_type), (register_gst_parse_error),
21900         (gst_parse_error_get_type):
21901         * win32/common/gstversion.h:
21902           update win32 copies
21903
21904 2005-11-01  Luca Ognibene  <luogni@tin.it>
21905
21906         * gst/gst.c:
21907           fix docs. popt is dead, long live GOption.
21908
21909 2005-10-31  Wim Taymans  <wim@fluendo.com>
21910
21911         * gst/gstbuffer.h:
21912         Small doc fix.
21913
21914 2005-10-31  Andy Wingo  <wingo@pobox.com>
21915
21916         * Boo!
21917
21918         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21919
21920         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21921         need to serialize property notifications on GLib 2.8. GLib 2.6 has
21922         the possibility of deadlocks here if code calling notify() or
21923         set() has a lock that can be taken in another notify handler (ABBA
21924         with class lock and e.g. python GIL state lock).
21925
21926 2005-10-28  Julien MOUTTE  <julien@moutte.net>
21927
21928         * gst/gstbus.c: Doc updates.
21929
21930 2005-10-28  Wim Taymans  <wim@fluendo.com>
21931
21932         * docs/design/part-TODO.txt:
21933         * gst/gstiterator.c:
21934         * gst/gstsystemclock.c:
21935         * gst/gstsystemclock.h:
21936         Doc updates.
21937
21938 2005-10-28  Edward Hervey  <edward@fluendo.com>
21939
21940         * docs/gst/gstreamer-docs.sgml:
21941         * docs/gst/gstreamer-sections.txt:
21942         the GstURIType documentation page is private, it only defines GstURIType
21943         which should be defined in the GstURIHandler page
21944         
21945 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21946
21947         * gst/gstbin.c: (gst_bin_class_init):
21948         * gst/gstbin.h:
21949         * gst/gstutils.c:
21950         Documentation updates.
21951
21952 2005-10-28  Wim Taymans  <wim@fluendo.com>
21953
21954         * docs/gst/gstreamer-sections.txt:
21955         * gst/gstclock.c:
21956         * gst/gstclock.h:
21957         Documented the clocks.
21958
21959 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
21960
21961         * docs/gst/gstreamer-sections.txt:
21962           move some macros to private sections
21963         * gst/gstminiobject.c:
21964         * gst/gstminiobject.h:
21965           add descriptions provided by ds and some more
21966         * gst/gstpad.h:
21967           mark macro as to be removed
21968
21969 2005-10-28  Wim Taymans  <wim@fluendo.com>
21970
21971         * docs/design/part-TODO.txt:
21972         Add an item to TODO.
21973
21974         * gst/gstiterator.c: (gst_iterator_fold),
21975         (gst_iterator_find_custom):
21976         * gst/gstiterator.h:
21977         Add iterator docs.
21978
21979 2005-10-28  Wim Taymans  <wim@fluendo.com>
21980
21981         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21982         (gst_base_transform_init):
21983         Don't leak class.
21984
21985         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21986         An EOS event marks the queue as completely filled.
21987
21988 2005-10-27  Wim Taymans  <wim@fluendo.com>
21989
21990         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21991         (gst_base_sink_do_sync), (gst_base_sink_get_position):
21992         Some more debugging.
21993
21994         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21995         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21996         (gst_base_transform_event), (gst_base_transform_getrange),
21997         (gst_base_transform_chain):
21998         * gst/base/gstbasetransform.h:
21999         Fix debugging,
22000         Protect transform and concurrent buffer alloc with a new lock.
22001         Try not to break ABI/API.
22002
22003 2005-10-27  Wim Taymans  <wim@fluendo.com>
22004
22005         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22006         (gst_base_src_init), (gst_base_src_query),
22007         (gst_base_src_default_newsegment),
22008         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22009         (gst_base_src_send_event), (gst_base_src_event_handler),
22010         (gst_base_src_pad_get_range), (gst_base_src_loop),
22011         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22012         (gst_base_src_start), (gst_base_src_deactivate),
22013         (gst_base_src_activate_push), (gst_base_src_change_state):
22014         Move some stuff around and cleanup things.
22015
22016 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22017
22018         * gst/base/gstbasesrc.c: (gst_base_src_query):
22019           Add missing break statements.
22020
22021 2005-10-27  Wim Taymans  <wim@fluendo.com>
22022
22023         * check/gst/gstbin.c: (GST_START_TEST):
22024         An extra refcount is taken in basesrc.
22025
22026         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22027         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22028         (gst_base_src_loop):
22029         Small cleanups, check for flushing after being unlocked from the 
22030         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22031         Don't send out EOS when going to READY.
22032
22033 2005-10-27  Wim Taymans  <wim@fluendo.com>
22034
22035         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22036         (gst_base_sink_get_position):
22037         Some more debug.
22038
22039         * gst/gstbin.c: (message_check), (bin_replace_message),
22040         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22041         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22042         (bin_query_duration_init), (bin_query_duration_fold),
22043         (bin_query_duration_done), (bin_query_generic_fold),
22044         (gst_bin_query):
22045         * tools/gst-launch.c: (main):
22046         Remove old option.
22047
22048 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22049
22050         * examples/controller/audio-example.c: (main):
22051         * examples/queue/queue.c: (event_loop):
22052         * gst/base/gstbasetransform.h:
22053         * gst/gstelement.c: (gst_element_send_event):
22054         * gst/gstevent.h:
22055         * gst/gstpad.c: (gst_pad_send_event):
22056           fixing examples
22057           fixing docs typos
22058           changing log priority in error situations
22059
22060 2005-10-25  Wim Taymans  <wim@fluendo.com>
22061
22062         * gst/gstbin.c: (message_check), (bin_replace_message),
22063         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22064         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22065         (bin_query_duration_init), (bin_query_duration_fold),
22066         (bin_query_duration_done), (bin_query_generic_fold),
22067         (gst_bin_query):
22068         Some doc and debug updates.
22069         Cache previously requested query DURATION for speed. invalidate
22070         cached duration if element posts a DURATION message.
22071
22072 2005-10-25  Wim Taymans  <wim@fluendo.com>
22073
22074         * docs/design/part-TODO.txt:
22075         Update TODO.
22076
22077         * gst/gstbin.c: (message_check), (bin_replace_message),
22078         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22079         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22080         (bin_query_duration_init), (bin_query_duration_fold),
22081         (bin_query_duration_done), (bin_query_generic_fold),
22082         (gst_bin_query):
22083         Handle SEGMENT_START/DONE messages correctly.
22084         More evolved query algorithm that handles duration queries
22085         correctly.
22086
22087         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22088         (gst_element_get_state_func), (gst_element_abort_state),
22089         (gst_element_commit_state), (gst_element_lost_state):
22090         Some more debugging.
22091
22092         * gst/gstmessage.h:
22093         Added doc.
22094
22095 2005-10-25  Wim Taymans  <wim@fluendo.com>
22096
22097         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22098         Don't use invalid stream_time.
22099
22100         * gst/gstevent.c: (gst_event_new_newsegment):
22101         stream_time in newsegment cannot be undefined.
22102
22103 2005-10-24  Wim Taymans  <wim@fluendo.com>
22104
22105         * gst/gstbus.c:
22106         Doc fix.
22107
22108         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22109         (gst_queue_loop):
22110         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22111
22112 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22113
22114         * docs/libs/tmpl/gstdparam.sgml:
22115         * docs/libs/tmpl/gstdplinint.sgml:
22116         * docs/libs/tmpl/gstdpman.sgml:
22117         * docs/libs/tmpl/gstdpsmooth.sgml:
22118         * docs/libs/tmpl/gstunitconvert.sgml:
22119           these are obsolete
22120
22121 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22122
22123         * configure.ac:
22124           back to HEAD
22125
22126 === release 0.9.4 ===
22127
22128 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22129
22130         * configure.ac:
22131           releasing 0.9.4, "Tyrannosaurus Rex"
22132
22133 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22134
22135         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22136         (gst_file_sink_get_current_offset):
22137           Use fseeko() and ftello() if available. When falling back on
22138           lseek() to get the current offset, fflush() first to make sure
22139           everything is up-to-date and we get the right offset.
22140
22141 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22142
22143         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22144         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22145         * gst/gsterror.c: (_gst_stream_errors_init):
22146         * gst/gsterror.h:
22147         * gst/gstqueue.c: (gst_queue_loop):
22148         * po/POTFILES.in:
22149           remove prematurely added error category and clean up the instances
22150
22151 2005-10-21  Wim Taymans  <wim@fluendo.com>
22152
22153         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22154         (gst_base_sink_get_position), (gst_base_sink_query),
22155         (gst_base_sink_change_state):
22156         Simply set the right flag when going to playing, that's all
22157         we need to do instead of calling a function inside the object
22158         lock (that could take the lock as well and deadlock)
22159
22160 2005-10-21  Wim Taymans  <wim@fluendo.com>
22161
22162         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22163         (gst_base_src_loop):
22164         Don't warn, the peer element knows what to do best when
22165         the seek failed, it might try something else.
22166
22167 2005-10-21  Wim Taymans  <wim@fluendo.com>
22168
22169         * gst/base/gstbasesrc.c: (gst_base_src_init),
22170         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22171         Fix seeking.
22172
22173 2005-10-21  Wim Taymans  <wim@fluendo.com>
22174
22175         * docs/design/part-segments.txt:
22176         More docs.
22177
22178         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22179         Correctly set caps, even on the subbufer.
22180
22181 2005-10-21  Wim Taymans  <wim@fluendo.com>
22182
22183         * docs/gst/gstreamer-docs.sgml:
22184         * docs/gst/gstreamer-sections.txt:
22185         * gst/gstelement.h:
22186         * gst/gstevent.c:
22187         * gst/gstevent.h:
22188         * gst/gstmessage.h:
22189         * gst/gstpad.h:
22190         * gst/gstparse.h:
22191         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22192         * gst/gsttask.h:
22193         * gst/gstutils.c:
22194         * gst/gstutils.h:
22195         And 2% more doc coverage.
22196
22197 2005-10-21  Andy Wingo  <wingo@pobox.com>
22198
22199         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22200         position reporting.
22201
22202 2005-10-20  Wim Taymans  <wim@fluendo.com>
22203
22204         * gst/gsterror.c: (gst_error_get_message):
22205         * gst/gstparse.h:
22206         * gst/gstquery.h:
22207         * gst/gststructure.c:
22208         * gst/gsttrace.c:
22209         * gst/gstutils.c:
22210         More docs.
22211
22212 2005-10-20  Wim Taymans  <wim@fluendo.com>
22213
22214         * gst/gstbuffer.h:
22215         * gst/gstpad.c:
22216         * gst/gstparse.c:
22217         Another 1% more coverage.
22218
22219 2005-10-20  Wim Taymans  <wim@fluendo.com>
22220
22221         * docs/gst/gstreamer-sections.txt:
22222         * gst/gstelement.c: (gst_element_get_state_func),
22223         (gst_element_abort_state), (gst_element_commit_state),
22224         (gst_element_lost_state):
22225         * gst/gstevent.h:
22226         * gst/gstquery.c: (gst_query_set_position),
22227         (gst_query_parse_position), (gst_query_set_duration),
22228         (gst_query_parse_duration), (gst_query_new_convert):
22229         * gst/gstutils.c:
22230         Yay! 1% more docs coverage.
22231
22232 2005-10-20  Wim Taymans  <wim@fluendo.com>
22233
22234         * gst/gstpad.h:
22235         * gst/gstquery.c: (gst_query_set_position),
22236         (gst_query_parse_position), (gst_query_set_duration),
22237         (gst_query_parse_duration), (gst_query_new_convert):
22238         * gst/gstquery.h:
22239         * gst/gstutils.c: (gst_element_query_convert):
22240         * gst/gstutils.h:
22241         Docs and consistency fixes.
22242
22243 2005-10-20  Wim Taymans  <wim@fluendo.com>
22244
22245         * gst/gsttask.c:
22246         * gst/gsttask.h:
22247         More docs.
22248
22249 2005-10-20  Wim Taymans  <wim@fluendo.com>
22250
22251         * gst/gstbin.c: (message_check), (bin_replace_message),
22252         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22253         (update_degree), (gst_bin_sort_iterator_next),
22254         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22255         Reworked the message handling a bit, cache the messages instead of
22256         only the senders. alows us to do more in the future.
22257
22258 2005-10-20  Wim Taymans  <wim@fluendo.com>
22259
22260         * docs/design/part-TODO.txt:
22261         Update TODO
22262
22263         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22264         (gst_base_sink_query):
22265         Don't use clock time to report position when in EOS.
22266
22267 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22268
22269         * tools/gst-inspect.c: (print_interfaces),
22270         (print_element_properties_info), (print_element_info):
22271           Fix interface output with gst-inspect -a; don't print
22272           newlines after double/float properties.
22273
22274 2005-10-20  Wim Taymans  <wim@fluendo.com>
22275
22276         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22277         (gst_base_sink_query):
22278         Speed up current position calculation.
22279
22280         * gst/base/gstbasesrc.c: (gst_base_src_query),
22281         (gst_base_src_default_newsegment):
22282         Correctly set stream position in newsegment.
22283
22284         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22285         (update_degree), (gst_bin_sort_iterator_next),
22286         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22287         * gst/gstmessage.c: (gst_message_new_custom):
22288         Clean up debugging info
22289
22290         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22291         (gst_queue_loop), (gst_queue_handle_src_query):
22292         Pause task faster.
22293
22294 2005-10-19  Wim Taymans  <wim@fluendo.com>
22295
22296         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22297         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22298         Fix query handling again.
22299
22300 2005-10-19  Wim Taymans  <wim@fluendo.com>
22301
22302         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22303         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22304         * gst/base/gstbasesrc.c: (gst_base_src_query):
22305         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22306         * gst/elements/gsttypefindelement.c:
22307         (gst_type_find_handle_src_query), (find_element_get_length),
22308         (gst_type_find_element_activate):
22309         API change fix.
22310
22311         * gst/gstquery.c: (gst_query_new_position),
22312         (gst_query_set_position), (gst_query_parse_position),
22313         (gst_query_new_duration), (gst_query_set_duration),
22314         (gst_query_parse_duration), (gst_query_set_segment),
22315         (gst_query_parse_segment):
22316         * gst/gstquery.h:
22317         Bundling query position/duration is not a good idea since duration
22318         does not change much and we don't want to recalculate it for every
22319         position query, so they are separated again..
22320         Base value in segment query is not needed.
22321
22322         * gst/gstqueue.c: (gst_queue_handle_src_query):
22323         * gst/gstutils.c: (gst_element_query_position),
22324         (gst_element_query_duration), (gst_pad_query_position),
22325         (gst_pad_query_duration):
22326         * gst/gstutils.h:
22327         Updates for query API change.
22328         Added some docs here and there.
22329
22330 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22331
22332         * check/gst/gstbin.c: (GST_START_TEST):
22333         * check/gst/gstghostpad.c: (GST_START_TEST):
22334         * check/pipelines/cleanup.c: (GST_START_TEST):
22335           wait on thread to die so we can check refcount correctly
22336
22337 2005-10-18  Wim Taymans  <wim@fluendo.com>
22338
22339         * check/pipelines/stress.c: (GST_START_TEST):
22340         Make check a little more time consuming.
22341
22342 2005-10-18  Wim Taymans  <wim@fluendo.com>
22343
22344         * check/Makefile.am:
22345         * check/pipelines/stress.c: (GST_START_TEST),
22346         (simple_launch_lines_suite), (main):
22347         Small state change torture test.
22348
22349         * docs/design/part-states.txt:
22350         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22351         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22352         (gst_base_sink_change_state):
22353         Never take state lock from streaming thread, clean up ugly
22354         hacks. Unfortunatly core does not yet support nice ways to
22355         async commit state.
22356         
22357         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22358         (bin_bus_handler):
22359         Start state recalc if a STATE_DIRTY message is posted, but only
22360         on the toplevel bin.
22361
22362         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22363         (gst_element_get_state_func), (gst_element_abort_state),
22364         (gst_element_commit_state), (gst_element_lost_state),
22365         (gst_element_set_state_func), (gst_element_change_state):
22366         * gst/gstelement.h:
22367         State variables are now protected with the LOCK, the state
22368         lock is only used to serialize _set_state().
22369
22370 2005-10-18  Wim Taymans  <wim@fluendo.com>
22371
22372         * check/gst/gstbin.c: (GST_START_TEST):
22373         * check/gst/gstmessage.c: (GST_START_TEST):
22374         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22375         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22376         (bin_bus_handler):
22377         * gst/gstelement.c: (gst_element_abort_state),
22378         (gst_element_commit_state), (gst_element_lost_state):
22379         * gst/gstmessage.c: (gst_message_new_state_changed),
22380         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22381         (gst_message_new_segment_done), (gst_message_new_duration),
22382         (gst_message_parse_state_changed),
22383         (gst_message_parse_segment_start),
22384         (gst_message_parse_segment_done), (gst_message_parse_duration):
22385         * gst/gstmessage.h:
22386         * tools/gst-launch.c: (event_loop):
22387         Seriously, this is better than a previous commit as we only need
22388         to notify the fact that an element changed state in a streaming
22389         thread, marking the state of the parents dirty, hence the 
22390         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22391         message.
22392
22393 2005-10-18  Wim Taymans  <wim@fluendo.com>
22394
22395         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22396         (gst_bin_recalc_func):
22397         * gst/gstelement.c: (gst_element_set_clock),
22398         (gst_element_abort_state), (gst_element_lost_state):
22399         Cleanups, prepare for state change fixes.
22400
22401 2005-10-18  Wim Taymans  <wim@fluendo.com>
22402
22403         * gst/gstbin.h:
22404         * gst/gstelement.c: (gst_element_class_init),
22405         (gst_element_set_state), (gst_element_set_state_func):
22406         * gst/gstelement.h:
22407         Pending ABI changes.
22408         GThreadPool in GstBinClass to monitor async state changes.
22409         state_cookie in GstElement to detect concurrent gst/set state.
22410         set_state is now virtual too in case a very complicated element
22411         has to be constructed.
22412
22413 2005-10-18  Wim Taymans  <wim@fluendo.com>
22414
22415         * check/gst/gstbin.c: (GST_START_TEST):
22416         * check/gst/gstmessage.c: (GST_START_TEST):
22417         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22418         * gst/gstbin.c: (bin_bus_handler):
22419         * gst/gstelement.c: (gst_element_commit_state),
22420         (gst_element_lost_state):
22421         * gst/gstmessage.c: (gst_message_new_state_changed),
22422         (gst_message_new_segment_start), (gst_message_new_segment_done),
22423         (gst_message_new_duration), (gst_message_parse_state_changed),
22424         (gst_message_parse_segment_start),
22425         (gst_message_parse_segment_done), (gst_message_parse_duration):
22426         * gst/gstmessage.h:
22427         * tools/gst-launch.c: (event_loop):
22428         Make messages future proof.
22429         state-change gets a flag if it was a message comming from the
22430         streaming thread.
22431         segment-start/stop can also be specified in other formats.
22432         A message to notify an app that a pipeline changed playback 
22433         duration.
22434         Also fix a GstMessage leak in -launch
22435
22436 2005-10-18  Andy Wingo  <wingo@pobox.com>
22437
22438         * gst/gstelement.c (gst_element_dispose): More helpful message.
22439
22440 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22441
22442         reviewed by: <delete if not using a buddy>
22443
22444         * common/gtk-doc.mak:
22445
22446 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22447
22448         * gst/gstregistry.c: (gst_registry_scan_path_level):
22449           unref a plug-in we get that was already initialized
22450
22451 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22452
22453         * docs/gst/gstreamer-sections.txt:
22454         * docs/libs/gstreamer-libs-sections.txt:
22455         * gst/gstelement.h:
22456           add new api entries
22457           hide internal macro
22458
22459 2005-10-17  Andy Wingo  <wingo@pobox.com>
22460
22461         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22462         cleanup.
22463
22464         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22465
22466         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22467
22468         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22469         (gst_element_get_state_func): Better debug message.
22470         (gst_element_commit_state): s/INFO/DEBUG/.
22471         (gst_element_lost_state, gst_element_change_state): 
22472
22473         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22474         (gst_message_new_custom): s/INFO/LOG/.
22475
22476 2005-10-17  Michael Smith <msmith@fluendo.com>
22477
22478         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22479           Check if end time is valid using end time, not start time.
22480
22481 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22482
22483         * check/gst-libs/controller.c: (GST_START_TEST),
22484         (gst_controller_suite):
22485         * libs/gst/controller/gstcontroller.c:
22486         (gst_controlled_property_set_interpolation_mode):
22487         * libs/gst/controller/gstcontroller.h:
22488         * libs/gst/controller/gstinterpolation.c:
22489         * testsuite/controller/.cvsignore:
22490         * testsuite/controller/Makefile.am:
22491         * testsuite/controller/interpolator.c:
22492           merge controller testsuites
22493           fix broken tests
22494           remove mem-chunk from docs
22495
22496 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22497
22498         * gst/gstmemchunk.c:
22499         * gst/gstmemchunk.h:
22500         * gst/gsttrashstack.c:
22501         * gst/gsttrashstack.h:
22502           out.  get out.  you're fired.  to the Attic !
22503
22504 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22505
22506         * gst/gstcaps.c: (gst_caps_intersect):
22507           fix signedness issues in a (hopefully) correct way
22508         * gst/gstelement.c: (gst_element_pads_activate):
22509           some debugging
22510         * gst/gstobject.c: (gst_object_set_parent):
22511           some debugging
22512
22513 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22514
22515         * gst/gstvalue.h: Fix prototypes.
22516
22517 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22518
22519         * docs/gst/gstreamer-sections.txt:
22520         * gst/gst.c: (gst_version_string):
22521         * gst/gst.h:
22522         * gst/gstversion.h.in:
22523         * win32/common/libgstreamer.def:
22524           add gst_version_string ()
22525
22526 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22527
22528         * configure.ac:
22529           clean up further
22530         * gst/gst.c: (init_post):
22531         * win32/common/config.h.in:
22532           it's PLUGINDIR now
22533         * gst/gstcaps.c: (gst_caps_intersect):
22534           use gint64, the range could be bigger than a guint
22535
22536 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22537
22538         * gst/gstclock.h:
22539           document potential problem in 2038
22540
22541 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22542
22543         * gst/gstcaps.c: (gst_caps_intersect):
22544           Fix guint j diving under 0
22545
22546 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22547
22548         * configure.ac:
22549         * win32/common/config.h:
22550         * win32/common/config.h.in:
22551           check for process.h, declares getpid() on Windows
22552         * gst/gstinfo.c:
22553           include process.h if we have it
22554         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22555         * gst/gstmemchunk.h:
22556           fix signedness issues
22557         * win32/common/libgstreamer.def:
22558           fix get_type's
22559
22560 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22561
22562         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22563         fix. Because of unsigned ints, caps intersection was going nuts and
22564         trying to access structures with G_MAXUINT index. That fixes
22565         videotestsrc ! ffmpegcolorspace ! fakesink
22566         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22567         consistency.
22568
22569 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22570
22571         * configure.ac:
22572           use the gettext macro
22573         * gst/elements/gstelements.c:
22574         * gst/gst.c:
22575         * gst/indexers/gstindexers.c:
22576           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22577         * win32/common/config.h:
22578           updated config.h
22579         * win32/common/config.h.in:
22580           add the template to generate config.h
22581         * win32/common/gstenumtypes.c:
22582         * win32/common/gstversion.h:
22583           updated copies
22584
22585 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22586
22587         * gst/gst.c: (gst_version):
22588         * gst/gstversion.h.in:
22589           add the nano
22590
22591 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22592
22593         * gst/gstevent.h:
22594           Oops, add missing closing bracket.
22595
22596 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22597
22598         * configure.ac:
22599           use common m4's for argument checking
22600
22601 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22602
22603         * docs/gst/gstreamer-sections.txt:
22604         * gst/gstevent.h:
22605           Add GST_EVENT_TYPE_NAME() macro.
22606
22607 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22608
22609         * gst/gstinfo.c:
22610         * gst/gstpluginfeature.c:
22611         * gst/gsttask.c:
22612           privatize more symbols
22613
22614 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22615
22616         * configure.ac:
22617           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22618           everything that uses GStreamer API should have the includes
22619
22620 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22621
22622         * docs/gst/gstreamer-sections.txt:
22623         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22624         * gst/gstvalue.h:
22625           give each value a _get_type, removes the DATA exports
22626
22627 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22628
22629         * gst/gst.c:
22630         * gst/gst.h:
22631           remove _gst_registry_auto_load, not used anymore
22632         * gst/gstbin.c: (gst_bin_get_type):
22633         * gst/gstbin.h:
22634         * gst/gstelement.c: (gst_element_get_type):
22635         * gst/gstelement.h:
22636         * gst/gstobject.c: (gst_object_get_type):
22637         * gst/gstobject.h:
22638         * gst/gstpad.c: (gst_pad_get_type):
22639         * gst/gstpad.h:
22640           make _get_type functions similar, fixes data export from library
22641
22642 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22643
22644         * configure.ac:
22645           correctly make conditionals
22646         * gst/elements/Makefile.am:
22647         * gst/elements/gstelements.c:
22648           fix typo causing fdsrc not to build
22649
22650 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22651
22652         * testsuite/Makefile.am:
22653         * testsuite/bytestream/.cvsignore:
22654         * testsuite/bytestream/Makefile.am:
22655         * testsuite/bytestream/filepadsink.c:
22656         * testsuite/bytestream/gstbstest.c:
22657         * testsuite/bytestream/test1.c:
22658         * testsuite/bytestream/testfile1:
22659         * testsuite/caps/normalisation.c:
22660         * testsuite/caps/random.c: (main):
22661         * testsuite/cleanup/.cvsignore:
22662         * testsuite/cleanup/Makefile.am:
22663         * testsuite/cleanup/cleanup1.c:
22664         * testsuite/cleanup/cleanup2.c:
22665         * testsuite/cleanup/cleanup3.c:
22666         * testsuite/cleanup/cleanup4.c:
22667         * testsuite/cleanup/cleanup5.c:
22668         * testsuite/controller/interpolator.c:
22669         * testsuite/debug/printf_extension.c: (main):
22670         * testsuite/elements/tee.c:
22671         * testsuite/negotiation/.cvsignore:
22672         * testsuite/negotiation/Makefile.am:
22673         * testsuite/negotiation/pad_link.c:
22674         * testsuite/pad/Makefile.am:
22675         * testsuite/pad/chainnopull.c:
22676         * testsuite/pad/getnopush.c:
22677         * testsuite/pad/link.c:
22678         * testsuite/refcounting/sched.c: (create_pipeline):
22679         * testsuite/registry/Makefile.am:
22680         * testsuite/registry/gst-print-formats.c:
22681         * testsuite/schedulers/.cvsignore:
22682         * testsuite/schedulers/142183-2.c:
22683         * testsuite/schedulers/142183.c:
22684         * testsuite/schedulers/143777-2.c:
22685         * testsuite/schedulers/143777.c:
22686         * testsuite/schedulers/147713.c:
22687         * testsuite/schedulers/147819.c:
22688         * testsuite/schedulers/147894-2.c:
22689         * testsuite/schedulers/147894.c:
22690         * testsuite/schedulers/Makefile.am:
22691         * testsuite/schedulers/group_link.c:
22692         * testsuite/schedulers/queue_link.c:
22693         * testsuite/schedulers/relink.c:
22694         * testsuite/schedulers/unlink.c:
22695         * testsuite/schedulers/unref.c:
22696         * testsuite/schedulers/useless_iteration.c:
22697         * testsuite/states/bin.c:
22698           clean out/remove some stuff from the testsuite directories
22699
22700 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22701
22702         * configure.ac:
22703           check for some headers
22704         * gst/elements/Makefile.am:
22705         * gst/elements/gstelements.c:
22706           don't compile fdsrc without sys/socket.h
22707         * gst/indexers/Makefile.am:
22708         * gst/indexers/gstindexers.c: (plugin_init):
22709           don't compile fileindex without mmap
22710
22711 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22712
22713         * configure.ac:
22714           reorganize
22715           clean up
22716           document more
22717           remove cruft
22718         * check/Makefile.am:
22719         * docs/gst/Makefile.am:
22720         * examples/helloworld/Makefile.am:
22721         * gst/Makefile.am:
22722         * gst/base/Makefile.am:
22723         * gst/check/Makefile.am:
22724         * gst/elements/Makefile.am:
22725         * gst/indexers/Makefile.am:
22726         * gst/parse/Makefile.am:
22727         * libs/gst/controller/Makefile.am:
22728         * libs/gst/dataprotocol/Makefile.am:
22729         * examples/helloworld/helloworld.c: (event_loop):
22730           compile fixes, though it's not being compiled currently
22731
22732 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22733
22734         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22735           Add some simple tests for the new taglist date API.
22736
22737 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22738
22739         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22740         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22741           Beautify 'last-message' output: print 'none' for buffer timestamps
22742           and durations if none is set; improve alignment with next messages.
22743
22744 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22745
22746         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22747         * gst/gstpluginfeature.h:
22748         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22749         * gst/gstregistry.h:
22750         * docs/gst/gstreamer-sections.txt:
22751           Add new API to check plugin feature version requirements.
22752
22753         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22754           Some basic tests for the above.         
22755
22756 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22757
22758         * gst/gststructure.c: (gst_structure_to_string):
22759           guard against NULL printf - happens when for example
22760           a message structure with GstClock gets serialized
22761
22762 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22763
22764         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22765           Fix presumable copy'n'pasto.
22766
22767 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22768
22769         * gst/elements/gstfakesrc.h:
22770         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22771         * gst/elements/gsttypefindelement.c:
22772           fix some signedness
22773         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22774           I wonder if this could actually write +2GB files before
22775
22776 2005-10-13  Andy Wingo  <wingo@pobox.com>
22777
22778         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22779         Fix Timmeke Waymans bug.
22780         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22781         string of the proper length to gst_caps_from_string. There's a
22782         potential for, before this fix, that this could cause someone
22783         connecting over the network to cause a segfault if the payload is
22784         not NUL-terminated.
22785
22786 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22787
22788         * docs/design/draft-push-pull.txt:
22789         * docs/design/part-overview.txt:
22790         * docs/random/TODO-pre-0.9:
22791         * docs/random/old/ChangeLog.gstreamer:
22792         * gst/base/gstpushsrc.c:
22793         * gst/gstclock.c:
22794           fixed typos
22795
22796 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22797
22798         * gst/glib-compat.c: (gst_flags_get_first_value):
22799         * gst/glib-compat.h:
22800         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22801         (gst_value_compare_double), (gst_value_serialize_flags):
22802           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22803           infinite loop
22804
22805 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22806
22807         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22808         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22809           fix up debugging
22810         * tools/gst-launch.c: (event_loop):
22811           print out clock nicely
22812
22813 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22814
22815         * docs/gst/gstreamer-sections.txt:
22816         * gst/gsttaglist.h:
22817         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22818         (gst_tag_list_get_date_index):
22819           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22820           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22821
22822 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22823
22824         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22825         (gst_collectpads_chain):
22826         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22827         in CollectData.
22828
22829 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22830
22831         * docs/gst/gstreamer-sections.txt:
22832         * gst/gst.c:
22833         * gst/gsterror.h:
22834         * tools/gst-inspect.c: (main):
22835         * tools/gst-launch.c: (main):
22836         * tools/gst-run.c: (main):
22837         * tools/gst-xmlinspect.c: (main):
22838           fix GOption context leaks
22839           doc fixes
22840
22841 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22842
22843         * gst/gstbus.c:
22844           use HAVE_UNISTD_H
22845         * win32/common/config.h:
22846           update config
22847         * win32/vs6/grammar.dsp:
22848         * win32/vs6/libgstelements.dsp:
22849         * win32/vs6/libgstreamer.dsp:
22850           update vs6 files
22851
22852 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22853
22854         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22855         * gst/base/gstbasesrc.c: (gst_base_src_query):
22856           fix more guint64<->gdouble conversions
22857
22858 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22859
22860         * Makefile.am:
22861           add win32-update target
22862         * win32/common/gstconfig.h:
22863         * win32/common/gstenumtypes.c:
22864         * win32/common/gstenumtypes.h:
22865         * win32/common/gstversion.h:
22866           add files that visual studio can't generate
22867
22868 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22869
22870         * Makefile.am:
22871           add a win32-update target
22872         * configure.ac:
22873
22874 2005-10-12  Wim Taymans  <wim@fluendo.com>
22875
22876         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22877         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22878         * gst/gstelement.c: (gst_element_commit_state),
22879         (gst_element_set_state):
22880         Protect flags with proper lock.
22881         unref provided cached clock in dispose.
22882
22883 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22884
22885         * gst/gst.c:
22886         * gst/gstminiobject.h:
22887         * gst/gstpad.h:
22888         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22889           removed unused flags from miniobject
22890           doc fixes
22891
22892 2005-10-12  Wim Taymans  <wim@fluendo.com>
22893
22894         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22895         (gst_file_sink_event), (gst_file_sink_render):
22896         Flush before seeking.
22897
22898 2005-10-12  Andy Wingo  <wingo@pobox.com>
22899
22900         * gst/gst.c (gst_init_check): Ignore unknown options, as has
22901         always been the case.
22902
22903 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22904
22905         * check/gst/gstbin.c: (GST_START_TEST):
22906         * docs/gst/gstreamer-sections.txt:
22907         * gst/base/gstbasesink.c: (gst_base_sink_init):
22908         * gst/base/gstbasesrc.c: (gst_base_src_init),
22909         (gst_base_src_get_range), (gst_base_src_check_get_range),
22910         (gst_base_src_start), (gst_base_src_stop):
22911         * gst/base/gstbasesrc.h:
22912         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22913         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22914         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22915         (bin_bus_handler):
22916         * gst/gstbin.h:
22917         * gst/gstbuffer.h:
22918         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22919         * gst/gstbus.h:
22920         * gst/gstelement.c: (gst_element_is_locked_state),
22921         (gst_element_set_locked_state), (gst_element_commit_state),
22922         (gst_element_set_state):
22923         * gst/gstelement.h:
22924         * gst/gstindex.c: (gst_index_init):
22925         * gst/gstindex.h:
22926         * gst/gstminiobject.h:
22927         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22928         (gst_object_set_parent):
22929         * gst/gstobject.h:
22930         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22931         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22932         * gst/gstpad.h:
22933         * gst/gstpadtemplate.h:
22934         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22935         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22936         * gst/gstpipeline.h:
22937         * gst/indexers/gstfileindex.c: (gst_file_index_load),
22938         (gst_file_index_commit):
22939         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22940         * testsuite/pad/link.c: (gst_test_src_init),
22941         (gst_test_filter_init), (gst_test_sink_init):
22942         * testsuite/states/locked.c: (main):
22943           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22944           moved bitshift from macro to enum definition
22945
22946 2005-10-12  Wim Taymans  <wim@fluendo.com>
22947
22948         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22949         * gst/elements/gstfilesink.c: (gst_file_sink_event),
22950         (gst_file_sink_render):
22951         Some more debugging info.
22952
22953 2005-10-12  Wim Taymans  <wim@fluendo.com>
22954
22955         * docs/design/part-states.txt:
22956         * tools/gst-launch.c: (main):
22957         Some doc updates.
22958         Revert non-intentional change.
22959
22960 2005-10-12  Wim Taymans  <wim@fluendo.com>
22961
22962         * check/gst/gstbin.c: (GST_START_TEST):
22963         * check/gst/gstelement.c: (GST_START_TEST):
22964         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22965         * check/gst/gstghostpad.c: (GST_START_TEST):
22966         * check/gst/gstpipeline.c: (GST_START_TEST):
22967         * check/pipelines/simple_launch_lines.c: (run_pipeline):
22968         * check/states/sinks.c: (GST_START_TEST):
22969         * gst/elements/gsttypefindelement.c: (stop_typefinding):
22970         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22971         (gst_bin_remove_func), (gst_bin_get_state_func),
22972         (gst_bin_recalc_state), (gst_bin_change_state_func),
22973         (bin_bus_handler):
22974         * gst/gstelement.c: (gst_element_get_state_func),
22975         (gst_element_get_state), (gst_element_abort_state),
22976         (gst_element_commit_state), (gst_element_set_state),
22977         (gst_element_change_state), (gst_element_change_state_func):
22978         * gst/gstelement.h:
22979         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22980         (gst_pipeline_provide_clock_func):
22981         * gst/gstutils.c: (gst_element_link_pads_filtered):
22982         * tools/gst-launch.c: (main):
22983         * tools/gst-typefind.c: (main):
22984         Use GstClockTime in _get_state() instead of GTimeVal.
22985         Remove old code in gstutils.c
22986
22987 2005-10-12  Andy Wingo  <wingo@pobox.com>
22988
22989         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22990         removed.
22991
22992         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22993         there is no task. Shouldn't affect any code, as nothing in our
22994         plugins checks this return value.
22995         (gst_pad_stop_task): Also take the stream lock if the pad has no
22996         task. Docs updated.
22997
22998 2005-10-12  Wim Taymans  <wim@fluendo.com>
22999
23000         * gst/gstpad.c: (pre_activate), (post_activate),
23001         (gst_pad_activate_pull), (gst_pad_activate_push):
23002         Cleanup activation code. Reset old state if
23003         activation failed.
23004
23005 2005-10-12  Wim Taymans  <wim@fluendo.com>
23006
23007         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23008         (gst_base_sink_change_state):
23009         No need to prerol after receiving EOS.
23010
23011         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23012         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23013         * gst/elements/gstidentity.c: (gst_identity_event):
23014         Print events more verbosely.
23015
23016 2005-10-12  Wim Taymans  <wim@fluendo.com>
23017
23018         * check/Makefile.am:
23019         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23020         * check/states/sinks2.c:
23021         Moved sinks2 testcode in sinks check.
23022
23023         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23024         (gst_bin_remove_func), (gst_bin_recalc_state),
23025         (gst_bin_change_state_func), (bin_bus_handler):
23026         Fix potential race condition when _get_state() iterated over an
23027         ASYNC element right before it posted a state completion.
23028
23029         * gst/gstclock.h:
23030         Do proper cast here.
23031
23032         * gst/gstevent.c: (gst_event_new_newsegment),
23033         (gst_event_parse_newsegment):
23034         A playback rate of 0.0 is not allowed.
23035
23036 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23037
23038         * win32/common/config.h:
23039         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23040         (_trewinddir), (_ttelldir), (_tseekdir):
23041         * win32/common/dirent.h:
23042         * win32/common/gtchar.h:
23043         * win32/common/libgstbase.def:
23044         * win32/common/libgstreamer.def:
23045         * win32/vs6/grammar.dsp:
23046         * win32/vs6/gst_inspect.dsp:
23047         * win32/vs6/gst_launch.dsp:
23048         * win32/vs6/gstreamer.dsw:
23049         * win32/vs6/libgstbase.dsp:
23050         * win32/vs6/libgstelements.dsp:
23051         * win32/vs6/libgstreamer.dsp:
23052           Visual Studio 6 project files, and a new common directory.
23053           Phear.
23054
23055 2005-10-11  Wim Taymans  <wim@fluendo.com>
23056
23057         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23058         (gst_base_sink_do_sync), (gst_base_sink_query),
23059         (gst_base_sink_change_state):
23060         * gst/base/gstbasesink.h:
23061         Correctly parse newsegment info.
23062
23063 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23064
23065         * gst/gst.c: (init_post):
23066           split plugin paths correctly
23067
23068 2005-10-11  Wim Taymans  <wim@fluendo.com>
23069
23070         * check/gst/gstevent.c: (GST_START_TEST):
23071         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23072         (gst_base_sink_change_state):
23073         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23074         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23075         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23076         * gst/gstevent.c: (gst_event_new_newsegment),
23077         (gst_event_parse_newsegment):
23078         * gst/gstevent.h:
23079         Added extra flag to newsegment for future API freeze.
23080         Updated check and base elements.
23081
23082 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23083
23084         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23085         (gst_collectpads_add_pad), (gst_collectpads_pop),
23086         (gst_collectpads_event), (gst_collectpads_chain):
23087         * gst/base/gstcollectpads.h: Handle EOS correctly.
23088
23089 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23090
23091         * tools/gst-launch.c: (main):
23092           more null protecting
23093
23094 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23095
23096         * gst/gst-i18n-lib.h:
23097           check for ENABLE_NLS, not GETTEXT_PACKAGE
23098         * gst/gstregistry.c: (gst_registry_add_plugin),
23099         (gst_registry_scan_path_level),
23100         (_gst_registry_remove_cache_plugins):
23101           protect possibly NULL strings
23102         * gst/parse/types.h:
23103           config.h already included before
23104         * tools/gst-inspect.c: (main):
23105           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23106           check for ENABLE_NLS, not GETTEXT_PACKAGE
23107         * tools/gst-launch.c: (main):
23108           check for ENABLE_NLS, not GETTEXT_PACKAGE
23109
23110 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23111
23112         * configure.ac:
23113           if we don't have glib, fail before testing 2.8
23114         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23115           fix a leak, should fix plugins-base testsuite
23116
23117 2005-10-11  Andy Wingo  <wingo@pobox.com>
23118
23119         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23120         take the mode we're going to as an arg. Go head and set the mode
23121         and flushing flags now, so that if the activate function starts a
23122         thread all the flags will be in the right state.
23123         (post_activate): Renamed also. Just handle making sure streaming
23124         finishes for the deactivation case, and setting the deactivated
23125         mode.
23126         (gst_pad_set_active): Complain loudly if deactivation fails.
23127         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23128         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23129         remove the terrible hack.
23130
23131 2005-10-11  Wim Taymans  <wim@fluendo.com>
23132
23133         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23134         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23135         (gst_bin_recalc_state), (gst_bin_change_state_func),
23136         (gst_bin_dispose), (bin_bus_handler):
23137         * gst/gstbin.h:
23138         Prepare to make current EOS message queue more generic.
23139         Fix some typos.
23140
23141         * gst/gstevent.c: (gst_event_new_newsegment),
23142         (gst_event_parse_newsegment):
23143         * gst/gstevent.h:
23144         Rename base to stream_time.
23145
23146         * gst/gstmessage.h:
23147         Fix typo in docs.
23148
23149 2005-10-11  Wim Taymans  <wim@fluendo.com>
23150
23151         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23152         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23153         (gst_bin_change_state_func), (bin_bus_handler):
23154         * gst/gstbin.h:
23155         Work on proper clock selection.
23156
23157 2005-10-11  Edward Hervey  <edward@fluendo.com>
23158
23159         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23160         * libs/gst/controller/gstcontroller.h:
23161         Added GList* version of _remove_properties() in order to be able to wrap
23162         it in bindings.
23163
23164 2005-10-11  Wim Taymans  <wim@fluendo.com>
23165
23166         * docs/design/part-states.txt:
23167         Some more docs.
23168
23169         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23170         (gst_bin_change_state_func), (bin_bus_handler):
23171         Doc updates. Don't distribute the same clock over and over again.
23172
23173         * gst/gstclock.c:
23174         * gst/gstclock.h:
23175         Doc updates.
23176
23177         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23178         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23179         (gst_pad_send_event):
23180         * gst/gstpad.h:
23181         Make probe emission threadsafe again.
23182         Register quarks and move _get_name() from utils.
23183         Doc updates.
23184
23185         * gst/gstpipeline.c: (gst_pipeline_class_init),
23186         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23187         Only redistribute the clock of it changed.
23188
23189         * gst/gstsystemclock.h:
23190         Doc updates. 
23191
23192         * gst/gstutils.c:
23193         * gst/gstutils.h:
23194         Moved the _flow_get_name() to GstPad.
23195
23196 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23197
23198         * check/gst-libs/gdp.c: (GST_START_TEST):
23199         * check/gst/gstcaps.c: (GST_START_TEST):
23200         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23201         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23202         (gst_dp_packet_from_caps):
23203           fix more valgrind warnings before turning up the heat
23204
23205 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23206
23207         * gst/parse/grammar.y:
23208           some cleanup before the hacking
23209
23210 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23211
23212         * gst/base/gstbasesrc.c: (gst_base_src_query):
23213           use conversions
23214         * gst/gstutils.c: (gst_guint64_to_gdouble),
23215         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23216         * gst/gstutils.h:
23217           externalize, basesrc uses it
23218           obviously the implementation needs testing
23219
23220 2005-10-10  Wim Taymans  <wim@fluendo.com>
23221
23222         * tests/sched/Makefile.am:
23223         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23224         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23225
23226 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23227
23228         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23229           apparently converting from guint64 to double is not implemented
23230           on MSVC
23231
23232 2005-10-10  Wim Taymans  <wim@fluendo.com>
23233
23234         * check/Makefile.am:
23235         * check/generic/states.c: (GST_START_TEST):
23236         * check/gst/gstbin.c: (GST_START_TEST):
23237         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23238         * check/states/sinks.c: (GST_START_TEST):
23239         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23240         (main):
23241         Check fixes, use API as stated in design docs, remove hacks.
23242
23243         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23244         (gst_base_sink_change_state):
23245         Catch stopping our task while we're shutting down.
23246
23247         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23248         (gst_bin_remove_func), (gst_bin_get_state_func),
23249         (gst_bin_recalc_state), (gst_bin_change_state_func),
23250         (bin_bus_handler):
23251         * gst/gstbin.h:
23252         * gst/gstelement.c: (gst_element_init),
23253         (gst_element_get_state_func), (gst_element_abort_state),
23254         (gst_element_commit_state), (gst_element_lost_state),
23255         (gst_element_set_state), (gst_element_change_state),
23256         (gst_element_change_state_func):
23257         * gst/gstelement.h:
23258         New state change algorithm (see #318116)
23259
23260         * gst/gstpipeline.c: (gst_pipeline_class_init),
23261         (gst_pipeline_init), (gst_pipeline_set_property),
23262         (gst_pipeline_get_property), (do_pipeline_seek),
23263         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23264         * gst/gstpipeline.h:
23265         Remove crude state change hacks.
23266
23267         * gst/gstutils.h:
23268         Remove crude hacks.
23269
23270         * tools/gst-launch.c: (main):
23271         Fixes for state change. Needs some more work to fully use the
23272         new stuff.
23273
23274 2005-10-10  Andy Wingo  <wingo@pobox.com>
23275
23276         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23277
23278         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23279         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23280         issue.
23281
23282 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23283
23284         * gst/gstiterator.c: (gst_iterator_new):
23285           Fix my previous commit: GTypes passed to gst_iterator_new()
23286           can be fundamental types.
23287
23288 2005-10-10  Wim Taymans  <wim@fluendo.com>
23289
23290         * gst/gstelement.c: (gst_element_iterate_pad_list),
23291         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23292         (gst_element_iterate_sink_pads):
23293         Use src/sink pads lists for the respective iterators instead
23294         of filtering.
23295
23296 2005-10-10  Andy Wingo  <wingo@pobox.com>
23297
23298         Merged in popt removal + GOption addition patch from Ronald, bug
23299         #169772.
23300
23301         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23302         GstElement macros around, remove popt-related symbols, add goption
23303         stuff.
23304
23305         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23306         
23307         * docs/gst/Makefile.am:
23308         * docs/libs/Makefile.am: No POPT_CFLAGS.
23309         
23310         * examples/manual/Makefile.am:
23311         * docs/manual/basics-init.xml: Doc updates with an example.
23312         
23313         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23314         (gst_init), (parse_one_option), (parse_goption_arg):
23315         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23316         bit of hand merging and debugging to get the GOption stuff working
23317         tho.
23318         
23319         * tests/Makefile.am:
23320         * tools/Makefile.am:
23321         * tools/gst-inspect.c: (main):
23322         * tools/gst-launch.c: (main):
23323         * tools/gst-run.c: (main):
23324         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23325
23326 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23327
23328         * gst/gstiterator.c: (gst_iterator_new):
23329           Add assertions to make sure passed GType is likely to really
23330           be a GType (as the compiler won't catch it if the size and
23331           GType arguments get mixed up, see #318447).
23332
23333 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23334
23335         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23336
23337         * gst/gstbin.c: (gst_bin_iterate_sorted):
23338           Pass GType and size arguments to gst_iterator_new() in the right
23339           order (maybe we should make _new() take the GType as first argument
23340           just like _new_list()?) (#318447).
23341           
23342
23343 2005-10-10  Wim Taymans  <wim@fluendo.com>
23344
23345         * gst/gstelement.c: (gst_element_finalize):
23346         And free the GStaticRecMutex too
23347
23348 2005-10-10  Andy Wingo  <wingo@pobox.com>
23349
23350         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23351         Allocate and free the mutex properly.
23352
23353         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23354         New macros.
23355         (GstElement): The state_lock is now recursive. Rebuild your
23356         plugins, suckers. Old macros adapted.
23357
23358         * docs/gst/gstreamer-sections.txt: Doc updates.
23359
23360         * gst/gstutils.h:
23361         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23362         (g_static_rec_cond_wait): Ported from state changes patch, while
23363         we wait on bug #317802 to be solved in a well-distributed GLib.
23364
23365         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23366         gst_element_change_state, variable name changes.
23367         (gst_element_change_state): Split out of gst_element_set_state in
23368         preparation for the state change merge. Doesn't pay attention to
23369         the 'transition' argument.
23370         (gst_element_set_state): Updates, hopefully purely cosmetic.
23371         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23372         state change patch.
23373         (gst_element_get_state_func): Renamed from get_state, cosmetic
23374         changes.
23375
23376 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23377
23378         * gst/elements/gstelements.c:
23379         * win32/GStreamer.vcproj:
23380         * win32/config.h:
23381         * win32/dirent.c: (_tseekdir):
23382         * win32/gst-inspect.vcproj:
23383         * win32/gst-launch.vcproj:
23384         * win32/gstconfig.h:
23385         * win32/gstelements.vcproj:
23386         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23387         * win32/gstreamer.def:
23388         * win32/msvc71.sln:
23389           updates for the win32 build (patch from Sebastien Moutte)
23390
23391 2005-10-10  Andy Wingo  <wingo@pobox.com>
23392
23393         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23394         gst_bin_get_state, cleaned up (but no logic changes).
23395         (bin_element_is_sink): Comment updates.
23396         (sink_iterator_filter): Remove needless cast.
23397         (gst_bin_iterate_sinks): Doc update.
23398         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23399         cleaned up (but no logic changes).
23400
23401         * check/states/sinks.c (test_src_sink): Cleanups from the state
23402         change patch.
23403         (test_livesrc_sink): Sync on the state.
23404
23405         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23406         the state change patch.
23407
23408         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23409         change patch.
23410
23411         * check/gst/gstbin.c: Merge in some style fixes and additional
23412         checks from Wim's state change patch.
23413
23414 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23415
23416         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23417         (gst_type_find_helper):
23418           Check whether we have the requested data already in our list of
23419           cached buffers before pulling a new buffer; also make the buffer
23420           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23421
23422 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23423
23424         * gst/gstcaps.c:
23425         * gst/gstevent.c:
23426           doc updates
23427         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23428           don't use long long, it's not portable.  Replacing with
23429           gint64 seems to work; let's hope no skeletons fall out of the closet.
23430
23431 2005-10-10  Andy Wingo  <wingo@pobox.com>
23432
23433         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23434
23435 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23436
23437         * docs/gst/gstreamer-sections.txt:
23438         * gst/gstevent.c:
23439         * gst/gstevent.h:
23440         * gst/gstinfo.c:
23441         * gst/gstinfo.h:
23442         * gst/gstmessage.c: (gst_message_parse_state_changed):
23443         * gst/gstpad.c:
23444         * gst/gstpad.h:
23445           more docs, fix compilation
23446
23447 2005-10-09  Philippe Khalaf <burger@speedy.org>
23448         * gst/gstmessage.c:
23449           Fixed a few forgotten variables on previous commit
23450
23451 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23452
23453         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23454           Fix evil typefind crasher: getrange() might return a short
23455           buffer at the end of a file, but gst_type_find_peek() must
23456           either return the full data as requested or NULL, but
23457           never a short buffer.
23458
23459 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23460
23461         * gst/gstmessage.c: (gst_message_new_state_changed),
23462         (gst_message_parse_state_changed):
23463         * gst/gstmessage.h:
23464           don't use "new", it's a C++ keyword
23465
23466 2005-10-08  Wim Taymans  <wim@fluendo.com>
23467
23468         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23469         * gst/gstelement.c: (gst_element_post_message):
23470         * gst/gstpipeline.c: (gst_pipeline_change_state):
23471         Small docs and debug updates.
23472
23473 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23474
23475         * docs/gst/gstreamer-sections.txt:
23476         * gst/gstelementfactory.c:
23477         * gst/gstevent.c:
23478         * gst/gsttaglist.c:
23479           more docs
23480
23481 2005-10-08  Wim Taymans  <wim@fluendo.com>
23482
23483         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23484         (gst_bin_dispose), (bin_bus_handler):
23485         Fix typos, add comments.
23486         Clear EOS list when going to PAUSED from any direction and do it
23487         in a threadsafe way.
23488         Get base time in a threadsafe way too.
23489         Fix confusing debug in the change_state function.
23490         Various other small cleanups.
23491         
23492         * gst/gstelement.c: (gst_element_post_message):
23493         Fix very verbose bus posting code.
23494
23495         * gst/gstpipeline.c: (gst_pipeline_class_init),
23496         (gst_pipeline_set_property), (gst_pipeline_get_property),
23497         (gst_pipeline_change_state):
23498         Small ARG_ -> PROP_ cleanup
23499
23500 2005-10-08  Wim Taymans  <wim@fluendo.com>
23501
23502         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23503         Do a less CPU demanding EOS check because we can.
23504
23505 2005-10-08  Wim Taymans  <wim@fluendo.com>
23506
23507         * libs/gst/dataprotocol/dataprotocol.c:
23508         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23509         (gst_dp_packet_from_event):
23510         * libs/gst/dataprotocol/dataprotocol.h:
23511         * libs/gst/dataprotocol/dp-private.h:
23512         It's about time we bump the version number.
23513         Since event types don't fit in the guint8 anymore describing
23514         the payload type, make payload type 16 bits wide.
23515
23516 2005-10-08  Wim Taymans  <wim@fluendo.com>
23517
23518         * docs/design/part-TODO.txt:
23519         * docs/design/part-clocks.txt:
23520         * docs/design/part-events.txt:
23521         * docs/design/part-gstbin.txt:
23522         * docs/design/part-gstelement.txt:
23523         * docs/design/part-gstpipeline.txt:
23524         * docs/design/part-live-source.txt:
23525         * docs/design/part-messages.txt:
23526         * docs/design/part-overview.txt:
23527         * docs/design/part-states.txt:
23528         Many doc updates.
23529
23530 2005-10-08  Wim Taymans  <wim@fluendo.com>
23531
23532         * gst/gstevent.c:
23533         * gst/gstevent.h:
23534         Fix event quark registration.
23535         Add some space between events so we can insert them in the
23536         right groups.
23537
23538 2005-10-08  Wim Taymans  <wim@fluendo.com>
23539
23540         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23541         (gst_base_sink_handle_buffer):
23542         Better log message.
23543
23544         * gst/gstbus.h:
23545         * gst/gstelement.h:
23546         More docs.
23547
23548         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23549         (gst_queue_set_property), (gst_queue_get_property):
23550         * gst/gstqueue.h:
23551         Remove old unused properties.
23552
23553 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23554         * docs/gst/gstreamer-sections.txt:
23555         * gst/gstmessage.c:
23556         * gst/gstmessage.h:
23557         * gst/gstminiobject.c:
23558         * gst/gstminiobject.h:
23559         * gst/gstobject.h:
23560         * gst/gstpad.h:
23561         * gst/gstutils.h:
23562           lots of new docs and doc fixes
23563
23564 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23565
23566         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23567         * gst/gstplugin.h:
23568         * gst/gstregistry.c: (gst_registry_lookup_locked),
23569         (gst_registry_scan_path_level):
23570         * gst/gstregistryxml.c: (load_plugin):
23571           Only ever load one plugin for a given plugin basename.
23572           This ensures correct overriding of GST_PLUGIN_PATH over
23573           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23574           system installed plugins.
23575
23576 2005-10-08  Wim Taymans  <wim@fluendo.com>
23577
23578         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23579         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23580         Prepare for doing QOS.
23581
23582 2005-10-08  Wim Taymans  <wim@fluendo.com>
23583
23584         * check/gst/gstbin.c: (GST_START_TEST):
23585         * check/pipelines/cleanup.c: (GST_START_TEST):
23586         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23587         Allow new clock message too.
23588
23589 2005-10-08  Wim Taymans  <wim@fluendo.com>
23590
23591         * gst/gstmessage.c: (gst_message_new_error),
23592         (gst_message_new_warning), (gst_message_new_tag),
23593         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23594         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23595         (gst_message_new_segment_start), (gst_message_new_segment_done),
23596         (gst_message_parse_state_changed),
23597         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23598         (gst_message_parse_new_clock):
23599         * gst/gstmessage.h:
23600         Also carry the clock in question.
23601
23602 2005-10-08  Wim Taymans  <wim@fluendo.com>
23603
23604         * gst/gstmessage.c: (gst_message_new_custom),
23605         (gst_message_new_eos), (gst_message_new_error),
23606         (gst_message_new_warning), (gst_message_new_tag),
23607         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23608         (gst_message_new_new_clock), (gst_message_new_segment_start),
23609         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23610         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23611         * gst/gstmessage.h:
23612         Clean up.
23613         Added clock related messages.
23614
23615         * gst/gstpipeline.c: (gst_pipeline_change_state):
23616         Post message when the clock changed.
23617
23618         * tools/gst-launch.c: (event_loop):
23619         Print new clock.
23620
23621 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23622
23623         * tools/gst-inspect.c: (print_element_properties_info):
23624           Can't pass NULL strings to g_print() on windows.
23625
23626 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23627
23628         * docs/Makefile.am:
23629         * docs/gst/Makefile.am:
23630         * docs/gst/gstreamer-docs.sgml:
23631         * docs/gst/running.xml:
23632         * docs/version.entities.in:
23633           add a chapter on running GStreamer.
23634           document GST_DEBUG and GST_PLUGIN* env vars
23635
23636 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23637
23638         * Makefile.am:
23639           remove include dir
23640         * configure.ac:
23641           remove PLUGINS_BUILDDIR stuff
23642         * gst/gst.c: (init_post):
23643           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23644         * idiottest.mak:
23645           remove, it was condescending and not needed
23646
23647 2005-10-08  Wim Taymans  <wim@fluendo.com>
23648
23649         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23650         (gst_base_sink_handle_object), (gst_base_sink_event),
23651         (gst_base_sink_wait), (gst_base_sink_handle_event),
23652         (gst_base_sink_change_state):
23653         * gst/base/gstbasesink.h:
23654         Repost EOS message while going to PLAYING if still EOS.
23655         Make sure that when receiving a FLUSH_START we don't attempt
23656         to sync on the clock anymore.
23657
23658 2005-10-08  Wim Taymans  <wim@fluendo.com>
23659
23660         * tools/gst-launch.c: (event_loop):
23661         Better message printout.
23662
23663 2005-10-08  Wim Taymans  <wim@fluendo.com>
23664
23665         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23666         (gst_bin_child_proxy_get_children_count):
23667         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23668         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23669         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23670         (gst_child_proxy_set_valist):
23671         * gst/parse/grammar.y:
23672         Make ChildProxy threadsafe and fix mem leaks.
23673
23674 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23675
23676         * gst/gst.c: (init_post):
23677           debug the GST_PLUGIN_ env vars
23678
23679 2005-10-08  Wim Taymans  <wim@fluendo.com>
23680
23681         * check/gst/gstbin.c: (GST_START_TEST):
23682         * check/gst/gstmessage.c: (GST_START_TEST):
23683         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23684         * gst/gstelement.c: (gst_element_commit_state),
23685         (gst_element_lost_state):
23686         * gst/gstmessage.c: (gst_message_new_state_changed),
23687         (gst_message_parse_state_changed):
23688         * gst/gstmessage.h:
23689         * tools/gst-launch.c: (event_loop):
23690         Added extra field to STATE_CHANGE message with the pending
23691         state, which will be different from the new state soon.
23692
23693 2005-10-08  Wim Taymans  <wim@fluendo.com>
23694
23695         * gst/gstbus.c: (gst_bus_pop):
23696         * gst/gstclock.c:
23697         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23698         Small cleanups and doc updates.
23699
23700 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23701
23702         * gst/gst.c: (init_pre):
23703         * gst/gstbin.c: (gst_bin_add_func):
23704           log distributing clocks and base time
23705         * gst/gstregistry.c: (gst_registry_add_plugin),
23706         (gst_registry_scan_path_level), (gst_registry_scan_path):
23707           clean up the debugging output a little
23708         * gst/gstutils.c: (gst_element_state_get_name):
23709           warn about a memleak (I've actually seen this be used, though
23710           it was probably a bug)
23711
23712 2005-10-07  Wim Taymans  <wim@fluendo.com>
23713
23714         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23715         (gst_base_src_init), (gst_base_src_default_newsegment),
23716         (gst_base_src_newsegment), (gst_base_src_do_seek),
23717         (gst_base_src_loop), (gst_base_src_start):
23718         * gst/base/gstbasesrc.h:
23719         Make the newsegment event customizable by subclasses.
23720
23721 2005-10-07  Wim Taymans  <wim@fluendo.com>
23722
23723         * gst/gstevent.c: (gst_event_new_buffersize),
23724         (gst_event_parse_buffersize):
23725         * gst/gstevent.h:
23726         New event for future idea.
23727
23728 2005-10-07  Andy Wingo  <wingo@pobox.com>
23729
23730         * gst/gstelement.c (gst_element_post_message): Doc update.
23731
23732         * docs/gst/gstreamer-sections.txt: Update.
23733
23734         * gst/gstmessage.c (gst_message_new_application): Made into a
23735         function like honest API calls.
23736         (gst_message_new_element): New message type.
23737
23738         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23739
23740         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23741         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23742         times.
23743
23744         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23745         NO_PREROLL from gst_element_change_state to fall through.
23746
23747 2005-10-07  Wim Taymans  <wim@fluendo.com>
23748
23749         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23750         (gst_ghost_pad_do_activate_push):
23751         Activating a ghostpad with no internal pad in push mode
23752         is ok.
23753
23754 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23755
23756         * gst/gstobject.h:
23757           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23758           Fixes compilation on Windows.
23759
23760 2005-10-07  Michael Smith <msmith@fluendo.com>
23761
23762         * tools/gst-inspect.c:
23763           Print out feature and plugin count at the end when printing out
23764           all features.
23765
23766 2005-10-04  Michael Smith <msmith@fluendo.com>
23767
23768         * gst/gsterror.c: (_gst_stream_errors_init):
23769           Add another error string used in a few existing plugins.
23770
23771         * gst/gstplugin.c:
23772         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23773         * tools/gst-inspect.c: (print_element_info):
23774           When a feature disappears from a plugin (and the feature exists in
23775           the cached registry file), things went horribly wrong. This isn't a
23776           complete fix, we should actually be removing the 'missing' features
23777           from the features list when we load the actual plugin. That's not
23778           yet implemented. 
23779
23780 2005-10-04  Johan Dahlin  <johan@gnome.org>
23781
23782         * check/gst/gstiterator.c: (GST_START_TEST):
23783         * gst/gstbin.c: (gst_bin_iterate_elements),
23784         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23785         * gst/gstelement.c: (gst_element_iterate_pads):
23786         * gst/gstformat.c: (gst_format_iterate_definitions):
23787         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23788         (gst_iterator_new_list), (gst_iterator_filter):
23789         * gst/gstiterator.h:
23790         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23791         Add a GType to GstIterator, update callsites and tests.
23792
23793 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23794
23795         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23796           give events a chance to be handled by event probes when the pad
23797           is not linked
23798
23799 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23800
23801         * gst/gstevent.c: (gst_event_type_get_name),
23802         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23803         * gst/gstevent.h:
23804           add string representations for event types
23805
23806 2005-10-06  Wim Taymans  <wim@fluendo.com>
23807
23808         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23809         Don't use NULL pointers.
23810
23811 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23812
23813         * gst/gst_private.h:
23814         * gst/gstbus.c:
23815         * gst/gstelement.c:
23816         * gst/gstinfo.c:
23817         * gst/gstpluginfeature.c:
23818           widen the debug category in output to fit the biggest one we have
23819           add a bus category and use it
23820           play with the colors
23821           fix up some categories
23822
23823 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23824
23825         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23826           add push activation of sink ghost pads.
23827           Andye, please verify
23828
23829 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23830
23831         * gst/gstutils.c: (gst_element_link_pads):
23832           fix a bug in the case where neither element has a pad
23833         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23834           add a test for that case
23835
23836 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23837
23838         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23839           emit have-data before checking for peers.  This allows
23840           for probe handlers to connect elements.  This helps autopluggers.
23841         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23842         (gst_pad_suite):
23843           add six checks, linked/unlinked with no/true/false probe
23844
23845 2005-10-04  Wim Taymans  <wim@fluendo.com>
23846
23847         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23848         (gst_fake_sink_event), (gst_fake_sink_preroll),
23849         (gst_fake_sink_render), (gst_fake_sink_change_state):
23850         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23851         (gst_fake_src_get_property), (gst_fake_src_create),
23852         (gst_fake_src_stop):
23853         * gst/elements/gstidentity.c: (gst_identity_stop):
23854         Protect last_message with lock.
23855
23856 2005-10-04  Edward Hervey  <edward@fluendo.com>
23857
23858         * gst/gstformat.h: 
23859         Added precision in the comments for GST_FORMAT_DEFAULT
23860
23861 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23862
23863         * tools/gst-launch.c: (main):
23864           Don't try to run erroneous pipelines.
23865
23866 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23867
23868         * gst/gstbus.c: We don't need this header.
23869
23870 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23871
23872         * configure.ac:
23873           back to development
23874
23875 === release 0.9.3 ===
23876
23877 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23878
23879         * README:
23880         * configure.ac:
23881           Releasing 0.9.3, "Unregistered"
23882
23883 2005-10-03  Andy Wingo  <wingo@pobox.com>
23884
23885         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23886         whereby calling a pad's activatepush() function can start a thread
23887         that starts to push or pull before the pad gets the FLUSHING flag
23888         unset. Hack around it by holding the stream lock until the flag is
23889         set. Need to replace this with a proper solution. Together with
23890         the ghost pad fixes, this fixes mp3 playing/tagreading.
23891
23892         * docs/design/part-gstghostpad.txt: Add a note about activation of
23893         proxy pads outside of ghost pads.
23894
23895         * gst/gstghostpad.c: Implement the ghost pad activation design.
23896
23897 2005-10-02  Andy Wingo  <wingo@pobox.com>
23898
23899         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23900         It is volatile, after all.
23901
23902         * docs/design/part-gstghostpad.txt: Flesh out activation with
23903         ghost pads.
23904
23905         * gst/base/gstbasesrc.c (gst_base_src_init): Use
23906         GST_DEBUG_FUNCPTR.
23907
23908 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
23909
23910         * configure.ac:
23911           Fix (unused) AM_CONDITIONAL tests.
23912
23913 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
23914
23915         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23916
23917         * gst/gstutils.c: (gst_pad_query_convert):
23918           Add assertion that makes sure src_val is >=0, just like
23919           gst_query_new_convert() has. (#315895)
23920
23921 2005-09-30  Edward Hervey  <edward@fluendo.com>
23922
23923         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23924         Let's not iterate pads we're not interested in, it avoids getting 
23925         sky-high refcounts on sinkpad.
23926
23927 2005-09-30  Wim Taymans  <wim@fluendo.com>
23928
23929         * gst/gstelement.c: (gst_element_set_state),
23930         (gst_element_change_state):
23931         Small tweak, element in ASYNC remains ASYNC.
23932
23933 2005-09-30  Wim Taymans  <wim@fluendo.com>
23934
23935         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23936         Only error is an error.
23937
23938         * gst/gstbin.c: (gst_bin_change_state):
23939         Better debugging.
23940
23941         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23942         Also call pad_block in pad alloc.
23943
23944         * gst/gstutils.c: (gst_flow_get_name):
23945         Better debugging.
23946
23947 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23948
23949         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23950         (gst_base_src_get_range):
23951           Fix documentation typos. Add some more debug info.
23952
23953 2005-09-29  David Schleef  <ds@schleef.org>
23954
23955         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23956           more end-user friendly.
23957         * tools/gst-inspect.c: (main): Check if command-line argument is
23958           a file and attempt to load that file as a plugin.
23959
23960 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23961
23962         * check/gst/gstbin.c:
23963         * check/states/sinks.c:
23964           fix tests for the new warning
23965         * check/gst/gstpipeline.c:
23966           add a test for pipeline and bus interaction
23967         * gst/gstelement.c:
23968           elements should be NULL if they get disposed; add a warning if not
23969
23970 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23971
23972         * gst/gstobject.c:
23973           for 2.6 refcounting, make debug log more correct by printing
23974           the actual refcounts at the time of swap (Wim)
23975
23976 2005-09-29  Andy Wingo  <wingo@pobox.com>
23977
23978         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23979         removes signal watches previously added via
23980         gst_bus_add_signal_watch.
23981         (gst_bus_add_signal_watch): Don't return the source id, just store
23982         it on the bus if there wasn't an id already.
23983
23984         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23985         add_signal_watch and remove_signal_watch.
23986
23987 2005-09-29  Edward Hervey  <edward@fluendo.com>
23988
23989         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
23990         Better if we actually iterate the list :)
23991
23992 2005-09-29  Wim Taymans  <wim@fluendo.com>
23993
23994         * check/gst/gstbin.c: (GST_START_TEST):
23995         Change for new bus API.
23996
23997         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23998         (send_messages), (GST_START_TEST), (gstbus_suite):
23999         Change for new bus signal API.
24000
24001         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24002         (gst_bus_source_prepare), (gst_bus_source_check),
24003         (gst_bus_create_watch), (gst_bus_add_watch_full),
24004         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24005         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24006         * gst/gstbus.h:
24007         Remove support for multiple GSources operating on different
24008         message types as it is too complex and unneeded when using
24009         signals.
24010         Added support for receiving signals from the bus.
24011
24012 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24013
24014         * docs/libs/tmpl/gstdataprotocol.sgml:
24015         * docs/manual/advanced-dataaccess.xml:
24016         * gst/elements/gstcapsfilter.c:
24017         * gst/gstutils.c:
24018           rename filter-caps to caps property
24019
24020 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24021
24022         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24023           More robust fraction string parsing.
24024
24025         * docs/pwg/appendix-porting.xml:
24026           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24027
24028 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24029
24030         * gst/gstcaps.c: (gst_caps_do_simplify):
24031           Thou shalt not free a structure and then continue using it
24032           in the next loop iteration.
24033
24034         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24035         (gst_caps_suite):
24036           Add test case for caps simplification.
24037
24038 2005-09-29  Wim Taymans  <wim@fluendo.com>
24039
24040         * check/gst/gstbin.c: (GST_START_TEST):
24041         Oops.
24042
24043 2005-09-29  Wim Taymans  <wim@fluendo.com>
24044
24045         * check/gst/gstbin.c: (GST_START_TEST):
24046         Add bus to bin.
24047
24048         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24049         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24050         (find_element), (gst_bin_sort_iterator_next),
24051         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24052         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24053         (gst_bin_change_state), (gst_bin_dispose):
24054         A bin does not have a bus, it gets the bus from the parent.
24055
24056         * gst/gstelement.c: (gst_element_requires_clock),
24057         (gst_element_provides_clock), (gst_element_is_indexable),
24058         (gst_element_is_locked_state), (gst_element_change_state),
24059         (gst_element_set_bus_func):
24060         Small cleanups.
24061
24062         * gst/gstpipeline.c: (gst_pipeline_class_init),
24063         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24064         The pipeline provides a bus.
24065
24066 2005-09-28  Johan Dahlin  <johan@gnome.org>
24067
24068         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24069         gst_structure_get_enum instead of gst_structure_get_int
24070
24071         * gst/gststructure.c (gst_structure_get_enum): Impl.
24072
24073         * gst/gststructure.h (gst_structure_get_enum): Add
24074
24075         * docs/gst/gstreamer-sections.txt: Ditto
24076
24077         * gst/gstmessage.c (gst_message_new_state_changed): Use
24078         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24079         which does introspection.
24080         Reviewed by Christian Schaller
24081
24082 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24083
24084         * gst/gstinfo.c: (gst_debug_log_default):
24085           don't do dummy g_strdup()s
24086         * libs/gst/controller/gstcontroller.c:
24087         (on_object_controlled_property_changed),
24088         (gst_controlled_property_new), (gst_controller_new_valist),
24089         (gst_controller_new_list),
24090         (gst_controller_remove_properties_valist), (gst_controller_set),
24091         (gst_controller_get), (gst_controller_sync_values),
24092         (gst_controller_get_value_array), (_gst_controller_class_init),
24093         (gst_controller_get_type):
24094         * libs/gst/controller/gstcontroller.h:
24095         * libs/gst/controller/gstinterpolation.c:
24096         (gst_controlled_property_find_timed_value_node):
24097           convert // to /**/ comments
24098
24099 2005-09-28  Wim Taymans  <wim@fluendo.com>
24100
24101         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24102         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24103         (gst_bus_sync_signal_handler):
24104         * gst/gstbus.h:
24105         Added async-message and sync-message signals to the bus.
24106         Added helper BusFunc to emit signals for all posted messages.
24107
24108         * gst/gstmessage.c: (gst_message_type_get_name),
24109         (gst_message_type_to_quark), (gst_message_get_type):
24110         * gst/gstmessage.h:
24111         Register quarks for message names.
24112
24113 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24114
24115         * docs/libs/gstreamer-libs-sections.txt:
24116         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24117         (gst_controller_new_list):
24118         * libs/gst/controller/gstcontroller.h:
24119           added another constructor for language bindings
24120
24121 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24122
24123         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24124           add another check
24125         * gst/gstbus.c:
24126           add some doc
24127         * gst/gstinfo.c: (_gst_debug_init):
24128           slightly more readable color for refcount debugging
24129
24130 2005-09-28  Wim Taymans  <wim@fluendo.com>
24131
24132         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24133         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24134         (find_element), (gst_bin_sort_iterator_next),
24135         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24136         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24137         (gst_bin_change_state), (gst_bin_dispose):
24138         Small doc fixes. get_clock -> provide_clock.
24139
24140         * gst/gstelement.c: (gst_element_class_init),
24141         (gst_element_provides_clock), (gst_element_provide_clock),
24142         (gst_element_get_clock), (gst_element_commit_state),
24143         (gst_element_lost_state):
24144         * gst/gstelement.h:
24145         Make get/set_clock() symetric. Add provide_clock vmethod since
24146         that is actually what this function does.
24147
24148         * gst/gstpipeline.c: (gst_pipeline_class_init),
24149         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24150         (gst_pipeline_get_clock):
24151         get_clock -> provide_clock.
24152
24153 2005-09-28  Andy Wingo  <wingo@pobox.com>
24154
24155         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24156         lieu of real docs...
24157
24158         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24159
24160 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24161
24162         * gst/elements/gstcapsfilter.c:
24163         * gst/elements/gstfakesink.c:
24164         * gst/elements/gstfakesrc.c:
24165         * gst/elements/gstfdsink.c:
24166         * gst/elements/gstfdsrc.c:
24167         * gst/elements/gstfilesink.c:
24168         * gst/elements/gstfilesrc.c:
24169         * gst/elements/gstidentity.c:
24170         * gst/elements/gsttee.c:
24171         * gst/elements/gsttypefindelement.c:
24172           Make element details static.
24173
24174 2005-09-28  Wim Taymans  <wim@fluendo.com>
24175
24176         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24177         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24178         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24179         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24180         (gst_bin_change_state), (gst_bin_dispose):
24181         Some documentation updates.
24182         Clean up dispose handlers.
24183
24184         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24185         * gst/gstpad.c: (gst_pad_dispose):
24186         Clean up dispose handler.
24187
24188         * gst/gstpipeline.c: (gst_pipeline_change_state):
24189         Removed spurious UNLOCK.
24190
24191 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24192
24193         * docs/gst/gstreamer-sections.txt:
24194         * gst/base/gstbasesrc.h:
24195         * gst/gstelement.h:
24196         * gst/gstevent.h:
24197         * gst/gstobject.h:
24198         * gst/gstpad.h:
24199         * gst/gstpipeline.c:
24200         * gst/gstpipeline.h:
24201         * gst/gstutils.h:
24202         * gst/gstxml.h:
24203           added two new functions to the docs
24204                 documents all undocumented GstXXXFlags
24205                 completed some incomplete docs 
24206
24207 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24208
24209         * gst/gstbin.c: (gst_bin_dispose):
24210         * gst/gstelement.c: (gst_element_dispose):
24211           remove now useless and leaky resurrection code in dispose
24212         * gst/base/gstbasesrc.c: (gst_base_src_init):
24213         * gst/gstelementfactory.c: (gst_element_factory_create):
24214         * gst/gstobject.c: (gst_object_set_parent):
24215           add some debugging
24216
24217 2005-09-27  Wim Taymans  <wim@fluendo.com>
24218
24219         * docs/design/part-TODO.txt:
24220         Update TODO.
24221
24222         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24223         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24224         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24225         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24226         (gst_bin_change_state):
24227         * gst/gstelement.h:
24228         Remove element variable, we keep element info in the iterator now.
24229
24230 2005-09-27  Andy Wingo  <wingo@pobox.com>
24231
24232         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24233         values.
24234
24235 2005-09-27  Wim Taymans  <wim@fluendo.com>
24236
24237         * check/gst/gstbin.c: (GST_START_TEST):
24238         Enable check that works now.
24239
24240         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24241         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24242         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24243         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24244         (gst_bin_change_state):
24245         * gst/gstbin.h:
24246         Redid the state change algorithm using a topological sort algo.
24247         Handles all cases correctly.
24248         Exposed iterator for state change order.
24249
24250         * gst/gstelement.h:
24251         Temp storage for state changes. Need to get rid of this soon.
24252
24253 2005-09-27  Wim Taymans  <wim@fluendo.com>
24254
24255         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24256         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24257         (link_fold_func), (gst_pad_proxy_setcaps):
24258         Leak fixes, the fold functions need to unref the passed object and
24259         _get_parent_*() returns ref to parent.
24260
24261 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24262
24263         * check/gst/gstbuffer.c: (test_make_writable):
24264           Plug leak in test case and fix 'make check-valgrind'
24265
24266 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24267
24268         * gst/gstbuffer.c: (gst_subbuffer_init):
24269           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24270           works correctly in all circumstances (we could have just copied
24271           the parent buffer's readonly flag, but conceptually it seems
24272           cleaner to mark all subbuffers as read-only). (based on patch
24273           by Alessandro Decina, #314710).
24274         
24275         * check/gst/gstbuffer.c: (create_read_only_buffer),
24276         (test_make_writable), (test_subbuffer_make_writable),
24277         (gst_test_suite):
24278           Add some tests for gst_buffer_make_writable().
24279
24280 2005-09-27  Wim Taymans  <wim@fluendo.com>
24281
24282         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24283         use gst_object_has_ancestor().
24284
24285         * gst/gstobject.c: (gst_object_has_ancestor):
24286         * gst/gstobject.h:
24287         gst_object_has_ancestor() copied from gstbin.c as it is a
24288         useful function.
24289
24290         * tests/instantiate/create.c: (create_all_elements):
24291         * tests/lat.c: (handoff_src), (handoff_sink):
24292         * tests/sched/runxml.c: (main):
24293         * tests/seeking/seeking1.c: (main):
24294         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24295         (main):
24296         Fix compilation of some tests.
24297
24298 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24299
24300         * gst/gsterror.h:
24301           Remove comment. GST_TYPE_G_ERROR is here to stay,
24302           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24303           (#316961, #300610).
24304
24305 2005-09-26  Wim Taymans  <wim@fluendo.com>
24306
24307         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24308         Added check that shows error in state change order.
24309
24310 2005-09-26  Wim Taymans  <wim@fluendo.com>
24311
24312         * gst/gstbin.c: (gst_bin_change_state):
24313         Make state change function use 3 queues again, we were
24314         adding elements in the wrong order.
24315
24316         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24317         Some debug info,
24318
24319         * gst/gstpad.c: (gst_pad_dispose):
24320         Added some debug info first.
24321
24322 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24323
24324         * docs/design/draft-push-pull.txt:
24325         * docs/design/part-events.txt:
24326         * docs/design/part-overview.txt:
24327         * docs/design/part-scheduling.txt:
24328           Replace all _pull_region() with _pull_range()
24329           
24330 2005-09-26  Andy Wingo  <wingo@pobox.com>
24331
24332         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24333
24334         * check/gst-libs/controller.c: Update for controller api change.
24335
24336         * configure.ac: 
24337         * tests/Makefile.am:
24338         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24339         over by GLib bug 118439.
24340         
24341         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24342         routines to a function.
24343
24344         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24345
24346         * libs/gst/controller/gsthelper.c:
24347         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24348         (gst_object_sync_values): Renamed from sink_values. Ugh.
24349
24350         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24351
24352         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24353         Renamed from controller_key, as it is exported.
24354
24355         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24356
24357 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24358
24359         * gst/Makefile.am:
24360         * gst/gst.h:
24361         * gst/gstpad.h:
24362         * gst/gstpadtemplate.h:
24363         * gst/gstquery.c:
24364         * gst/gstquery.h:
24365         * gst/gstqueryutils.c:
24366         * gst/gstqueryutils.h:
24367           remove queryutils headers after moving the two used functions
24368           to gstquery.  also fixes build problem for gstsiddec
24369
24370 2005-09-26  Michael Smith <msmith@fluendo.com>
24371
24372         * tools/gst-launch.1.in:
24373         Correct documentation in manpage of debug syntax
24374
24375 2005-09-26  Wim Taymans  <wim@fluendo.com>
24376
24377         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24378         (gst_base_src_is_seekable), (gst_base_src_change_state):
24379         Some more debugging info.
24380
24381 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24382
24383         * docs/gst/gstreamer-sections.txt:
24384         * gst/base/gstbasetransform.h:
24385         * gst/gstindex.h:
24386           added more docs
24387
24388 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24389
24390         * docs/gst/.cvsignore:
24391         * docs/gst/tmpl/.cvsignore:
24392         * docs/gst/tmpl/gstpipeline.sgml:
24393         * docs/gst/tmpl/gstplugin.sgml:
24394         * gst/gstpipeline.c:
24395         * gst/gstplugin.c:
24396         * gst/gstplugin.h:
24397           inlined the last two docs files
24398           removed the tmpl directory from cvs (no more conflicts here!)
24399
24400 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24401
24402         * docs/gst/gstreamer-sections.txt:
24403         * docs/gst/tmpl/.cvsignore:
24404         * docs/gst/tmpl/gstpad.sgml:
24405         * docs/gst/tmpl/gstpadtemplate.sgml:
24406         * gst/Makefile.am:
24407         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24408         (gst_pad_finalize), (gst_pad_set_pad_template):
24409         * gst/gstpad.h:
24410         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24411         (gst_pad_template_class_init), (gst_pad_template_init),
24412         (gst_pad_template_dispose), (name_is_valid),
24413         (gst_static_pad_template_get), (gst_pad_template_new),
24414         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24415         (gst_pad_template_pad_created):
24416         * gst/gstpadtemplate.h:
24417           inlined two more docs
24418           factored gstpadtemplate out of gstpad
24419
24420 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24421
24422         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24423         (test_children_state_change_order_semi_sink):
24424           Fix test case: we can't rely on a fixed state change order when
24425           going from READY => PAUSED because the sink might commit its 
24426           new state first when the first buffer created by the source 
24427           reaches the sink before the source has finished its change state.
24428           (Test case still fails at times, see #316856, comment 5 onwards)
24429
24430 2005-09-24  Wim Taymans  <wim@fluendo.com>
24431
24432         * docs/design/part-events.txt:
24433         * docs/design/part-gstbus.txt:
24434         * docs/design/part-gstpipeline.txt:
24435         * docs/design/part-messages.txt:
24436         * docs/design/part-overview.txt:
24437         * docs/design/part-segments.txt:
24438         * gst/gstbin.c:
24439         * gst/gstbuffer.c:
24440         * gst/gstclock.c:
24441         * gst/gstelement.c:
24442         * gst/gstevent.c:
24443         * gst/gstfilter.c:
24444         * gst/gstiterator.c:
24445         Various documentation updates.
24446
24447 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24448
24449         * gst/gstclock.h:
24450           Well, that's embarassing.  Luckily we weren't using
24451           GST_CLOCK_DIFF anywhere.
24452
24453 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24454
24455         * common/gtk-doc.mak:
24456           don't fail on building XML, FC4 slave shows a bunch of doc
24457           missing bits that I don't get
24458         * gst/gstpad.c:
24459         * gst/gstpipeline.c:
24460         * gst/gststructure.c:
24461           some doc updates
24462
24463 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24464
24465         * docs/design/part-gstbin.txt:
24466         * docs/design/part-gstbus.txt:
24467         * gst/gstbus.c:
24468           Add blurb about how the bus goes into flushing mode and
24469           drops all messages when its bin goes from READY into NULL 
24470           state.
24471
24472 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24473
24474         * docs/gst/gstreamer-sections.txt:
24475         * gst/gststructure.c: (gst_structure_get_clock_time):
24476         * gst/gststructure.h:
24477           add a method to get a GstClockTime out of a structure
24478
24479 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24480
24481         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24482         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24483           Added test to check state change order in bins (can still be made
24484           to fail here under heavy disk load; bails out with 'Push on pad
24485           fakesink:sink0, but it was not activated in push mode').
24486
24487         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24488           Fix state change order when there is only a semi sink (#316856)
24489
24490         * gst/gstbus.c: (gst_bus_class_init):
24491           Use _class_peek_parent(), not _class_ref(); fix docs to say
24492           'default main context' instead of 'mainloop' where that is
24493           what's meant.
24494
24495         * gst/gstelement.c: (gst_element_commit_state),
24496         (gst_element_set_state):
24497           Fix typos in debug messages
24498
24499 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24500
24501         * docs/README:
24502         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24503         * gst/gstpluginfeature.c:
24504         * gst/gstutils.c:
24505           various doc updates
24506         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24507           change an assert into an error until it gets fixed properly
24508
24509 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24510
24511         * docs/gst/gstreamer-sections.txt:
24512         * docs/gst/tmpl/.cvsignore:
24513         * docs/gst/tmpl/gstelement.sgml:
24514         * docs/gst/tmpl/gstinfo.sgml:
24515         * docs/gst/tmpl/gstobject.sgml:
24516         * gst/gstelement.c:
24517         * gst/gstelement.h:
24518         * gst/gstinfo.c:
24519         * gst/gstinfo.h:
24520         * gst/gstobject.c: (gst_object_class_init):
24521         * gst/gstobject.h:
24522           inlined 3 more biiiig doc files and added some missing docs on the fly
24523
24524 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24525
24526         * check/gst/.cvsignore:
24527         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24528         * gst/gstregistryxml.c: (load_plugin),
24529         (gst_registry_xml_save_plugin):
24530           put back source in registry.  add checks for find_plugin.
24531         * testsuite/states/bin.c: (assert_state), (empty_bin),
24532         (test_adding_one_element), (main):
24533         * testsuite/states/locked.c: (main):
24534           some compile/run fixes
24535
24536 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24537
24538         * check/gst/gstvalue.c: (GST_START_TEST):
24539           fix leaks in the test itself
24540
24541 2005-09-22  Wim Taymans  <wim@fluendo.com>
24542
24543         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24544         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24545         (gst_base_sink_query):
24546         Prepare for more accurate position reporting and query
24547         handling.
24548
24549         * gst/gstelement.c: (gst_element_send_event),
24550         (gst_element_set_state):
24551         Add some comment.
24552
24553 2005-09-22  Wim Taymans  <wim@fluendo.com>
24554
24555         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24556         (gst_query_parse_segment):
24557         * gst/gstquery.h:
24558         More documentation.
24559         Add segment query for future use.
24560
24561 2005-09-22  Wim Taymans  <wim@fluendo.com>
24562
24563         * gst/gstbin.c: (gst_bin_add_func):
24564         Some more debug info.
24565
24566         * gst/gstelement.c: (gst_element_send_event):
24567         Simplify send_event
24568
24569         * gst/gstelement.h:
24570         Don't know how flags got broken.
24571
24572         * gst/gstquery.h:
24573         Added new query.
24574
24575 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24576
24577         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24578           Add simplistic test suite for GST_TYPE_DATE serialisation and
24579           deserialisation.
24580
24581 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24582
24583         * docs/gst/gstreamer-sections.txt:
24584         * gst/gststructure.c: (gst_structure_set_valist),
24585         (gst_structure_get_date):
24586         * gst/gststructure.h:
24587         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24588         (gst_date_copy), (gst_value_compare_date),
24589         (gst_value_serialize_date), (gst_value_deserialize_date),
24590         (gst_value_transform_date_string),
24591         (gst_value_transform_string_date), (_gst_value_initialize):
24592         * gst/gstvalue.h:
24593           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24594           bunch of utility functions along with a hack that checks that
24595           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24596           is required. Part of the grand scheme in #170777.
24597
24598 2005-09-22  Andy Wingo  <wingo@pobox.com>
24599
24600         * gst/gstconfig.h.in: Psych out gtk-doc.
24601
24602         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24603
24604         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24605
24606         * tools/gst-inspect.c (print_element_list): Plug some
24607         inconsequential leaks.
24608
24609         * gst/gstregistry.c (gst_registry_get_default): Doc.
24610
24611         * check/gst/gstplugin.c: 
24612         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24613         * gst/gstelementfactory.c (gst_element_factory_create): 
24614         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24615         refcount changes.
24616
24617         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24618         (gst_plugin_feature_load): Doc, don't eat refs.
24619
24620         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24621         (gst_plugin_list_free): Doc.
24622         (gst_plugin_load_file): Doc updates.
24623
24624         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24625         accessors returning refcounted objects, return a ref.
24626
24627         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24628         accessor for caps. IDEMPOTENCE. Oh yes.
24629
24630 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24631
24632         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24633
24634         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24635         (_gst_debug_register_funcptr):
24636           Add mutex to serialise access to the hash table with
24637           the function pointer => function name string mapping;
24638           make that hash table static scope (#316809).
24639
24640         * gst/registries/.cvsignore:
24641           Remove left-over file.
24642
24643 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24644
24645         * docs/pwg/appendix-porting.xml:
24646           And something about newsegment events and caps-on-buffers to
24647           the porting guide (feel free to improve).
24648
24649 2005-09-21  Andy Wingo  <wingo@pobox.com>
24650
24651         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24652         data and event probes on the same pad.
24653         (test_buffer_probe_once): Test that removing probes from within
24654         the probe functions works.
24655
24656 2005-09-21  Andy Wingo  <wingo@pobox.com>
24657
24658         * check/gst/gstutils.c: New file.
24659         (test_buffer_probe_n_times): A simple buffer probe test. More to
24660         come, foolios.
24661
24662         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24663         have-data::buffer, not have-data.
24664         (gst_pad_add_event_probe): Likewise for have-data::event.
24665         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24666         peer' isn't quite right yet though.
24667         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24668         (gst_pad_remove_data_probe): Change to take the guint handler_id
24669         as their arg, not the function+data, which is more glib-like.
24670
24671         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24672         the signal emission to indicate if the data is a buffer or an
24673         event.
24674         (gst_pad_get_type): Initialize buffer and event quarks.
24675         (gst_pad_class_init): have-data is now a detailed signal, yes it
24676         is.
24677
24678 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24679
24680         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24681         * gst/gstutils.c: (gst_util_set_value_from_string),
24682         (gst_util_set_object_arg):
24683           Don't put functional code in g_return_if_fail() or
24684           g_return_val_if_fail() statements, otherwise things will 
24685           break when G_DISABLE_CHECKS is defined during compilation.
24686
24687 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24688
24689         * docs/gst/tmpl/.cvsignore:
24690         * docs/gst/tmpl/gstvalue.sgml:
24691         * gst/gstvalue.c:
24692         * gst/gstvalue.h:
24693           inlied another one and added  some obvious docs
24694
24695 2005-09-21  Wim Taymans  <wim@fluendo.com>
24696
24697         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24698         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24699         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24700         (gst_fdsrc_get_property), (gst_fdsrc_create):
24701         * gst/elements/gstfdsrc.h:
24702         Properly implement fdsrc. Removed signal and timeout,
24703         better implemented somewhere else.
24704
24705 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24706
24707         * docs/gst/tmpl/.cvsignore:
24708         * docs/gst/tmpl/gstimplementsinterface.sgml:
24709         * gst/gstinterface.c:
24710           inlined more docs
24711
24712 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24713
24714         * docs/gst/gstreamer-sections.txt:
24715         * docs/gst/tmpl/.cvsignore:
24716         * docs/gst/tmpl/gstenumtypes.sgml:
24717           remove obsolete doc file
24718
24719 2005-09-21  David Schleef  <ds@schleef.org>
24720
24721         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24722         little beer, fix a little leak.
24723
24724 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24725
24726         * docs/gst/gstreamer-docs.sgml:
24727         * docs/gst/gstreamer-sections.txt:
24728         * docs/gst/tmpl/.cvsignore:
24729         * gst/Makefile.am:
24730         * gst/gst.h:
24731         * gst/gstbin.c:
24732         * gst/gstelement.h:
24733         * gst/gstindex.c: (gst_index_class_init):
24734         * gst/gstindex.h:
24735         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24736         (gst_index_factory_class_init), (gst_index_factory_init),
24737         (gst_index_factory_finalize), (gst_index_factory_new),
24738         (gst_index_factory_destroy), (gst_index_factory_find),
24739         (gst_index_factory_create), (gst_index_factory_make):
24740         * gst/gstindexfactory.h:
24741         * gst/gstpluginfeature.c:
24742         * gst/gstpluginfeature.h:
24743         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24744           more docs inlined, splitted gstindex.{c,h}
24745
24746 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24747
24748         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24749           fix a leak
24750
24751 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24752
24753         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24754           Set sync to FALSE by default.
24755
24756 2005-09-20  Wim Taymans  <wim@fluendo.com>
24757
24758         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24759         (gst_base_sink_init):
24760         Make sync property settable from subclass.
24761
24762         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24763         (gst_fake_sink_change_state):
24764         Set sync to FALSE by default.
24765
24766 2005-09-20  Wim Taymans  <wim@fluendo.com>
24767
24768         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24769         * tools/gst-launch.c: (main):
24770         The timeout handler should have lower priority than the source
24771         so we don't timeout before popping a message with 0 timeout.
24772         Dump error messages after failed state change.
24773
24774 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24775
24776         * tools/gst-inspect.c: (print_element_properties_info):
24777           Fix two typos.
24778
24779 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24780
24781         * check/gst/gstevent.c:
24782         * gst/elements/gstfakesink.c:
24783         * gst/elements/gstfakesink.h:
24784           remove the sync property from fakesink.
24785           has the side effect of setting sync TRUE
24786           for fakesink, which is a change.  Anyone who knows how
24787           to fix this nicely in a GObject-y way, feel free.
24788
24789 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24790
24791         * docs/gst/gstreamer-docs.sgml:
24792           remove probe refsection
24793
24794 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24795
24796         * check/Makefile.am:
24797           disable valgrinding the controller test again
24798         * docs/gst/gstreamer-sections.txt:
24799           update for api-changes
24800
24801 2005-09-20  Wim Taymans  <wim@fluendo.com>
24802
24803         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24804         (gst_base_sink_set_property), (gst_base_sink_get_property),
24805         (gst_base_sink_do_sync):
24806         * gst/base/gstbasesink.h:
24807         Added sync property to basesink to disable clock sync.
24808
24809 2005-09-20  Andy Wingo  <wingo@pobox.com>
24810
24811         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24812         eating the caller's refcount.
24813
24814         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24815         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24816         refcount.
24817
24818         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24819         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24820         of GLib 2.8 public, so we can know which refcount to check in
24821         tests.
24822
24823         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24824         (gst_object_init): Only set the gst refcount if we're going ahead
24825         with the refcount hack.
24826
24827 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24828
24829         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24830         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24831           more leaks plumbed, added more debug-logging
24832         * gst/gstmacros.h:
24833           whitespace fix
24834
24835 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24836
24837         * gst/gstmessage.c:
24838           remove include of gstmemchunk.h
24839
24840 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24841
24842         * gst/gstclock.c: (_gst_clock_id_free):
24843           Commit from the Political Party For More Atomic CVS Commits,
24844           so that people don't waste too much of their day fishing
24845           out obvious leaks out of massive commits.
24846           Oh, and fix a pretty damn obvious leak in the memchunk
24847           removal code.
24848
24849 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24850
24851         * check/Makefile.am:
24852         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24853           plug mem-leak, re-add to valgrindable tests
24854
24855 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24856
24857         * gst/gstplugin.h:
24858           unbreak the build for those who have chronic arthritis
24859           and typing "make check" is just too taxing on the hands
24860
24861 2005-09-20  Andy Wingo  <wingo@pobox.com>
24862
24863         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24864         really want it out, you should fix plugins at the same time.
24865
24866 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24867
24868         * configure.ac:
24869         * docs/gst/gstreamer-sections.txt:
24870         * gst/gstobject.c:
24871           added missing symbols to api docs
24872           disable ref-count hack if we have glib >= 2.8
24873
24874 2005-09-19  David Schleef  <ds@schleef.org>
24875
24876         * docs/gst/Makefile.am: Ignore a few more internal headers
24877         * docs/gst/gstreamer-docs.sgml: Remove old sections
24878         * docs/gst/gstreamer-sections.txt: Remove old sections
24879         * docs/gst/tmpl/gstobject.sgml: update
24880         * docs/gst/tmpl/gstplugin.sgml: update
24881         * docs/gst/tmpl/gstpluginfeature.sgml: update
24882         * docs/random/ds/0.9-suggested-changes: update.
24883         * gst/Makefile.am: remove memchunk and trashstack, since they're
24884           not used.
24885         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24886         * gst/gst.h: don't include some headers
24887         * gst/gstchildproxy.c: add gstmarshal.h
24888         * gst/gstclock.c: Don't use memchunks
24889         * gst/gstminiobject.c: Add some docs
24890         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24891         * gst/gstobject.h: same
24892         * gst/gstplugin.c: include gstmacros.h
24893         * gst/gstplugin.h: don't include gstmacros.h, since it's private
24894         * gst/gstquery.c: don't use memchunks
24895         * gst/gstregistry.c: rename gst_registry_deinit()
24896         * gst/gstregistry.h: same
24897
24898 2005-09-19  David Schleef  <ds@schleef.org>
24899
24900         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24901         * docs/libs/gstreamer-libs-sections.txt:
24902         * docs/libs/tmpl/gstgetbits.sgml:
24903         * docs/libs/tmpl/gstputbits.sgml:
24904
24905 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
24906
24907         * win32/gstenumtypes.c:
24908         * win32/gstenumtypes.h:
24909           Update.
24910
24911 2005-09-19  Wim Taymans  <wim@fluendo.com>
24912
24913         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24914         Automatically PAUSE and RESUME a pipeline when a flushing seek
24915         is performed.
24916
24917 2005-09-19  Andy Wingo  <wingo@pobox.com>
24918
24919         * gst/gstregistry.h: Spacing fixen.
24920
24921 2005-09-19  Wim Taymans  <wim@fluendo.com>
24922
24923         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24924         Handle state change failure more correctly.
24925
24926 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24927
24928         * check/Makefile.am:
24929         * check/pipelines/cleanup.c: (run_pipeline):
24930         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24931         (GST_START_TEST):
24932           enable cleanup again after fixing the leak
24933         * docs/README:
24934           some more info on docs
24935
24936 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24937
24938         * check/Makefile.am:
24939           re-enable tests now that leaks are plugged
24940         * check/gst/gst.c:
24941         * check/gst/gstbin.c:
24942         * check/gst/gstpipeline.c:
24943           add some more tests while fixing leaks
24944         * common/check.mak:
24945           make sure binaries are uptodate when valgrinding/gdbing
24946         * gst/gst.c:
24947         * gst/gstelementfactory.c:
24948           remove a ref too many, and add a FIXME for when we get
24949           round to disposing of classes
24950         * gst/gstplugin.c:
24951           fix the refcounting when loading a plugin from a file and
24952           the code pretends that the pointer is the same even though
24953           of course it can change
24954         * gst/gstpluginfeature.c:
24955           unref plugins marked cached (a bit confusing as a name)
24956           as the docs state should be done
24957           various doc additions to explain refcounting
24958         * gst/gstregistry.c:
24959         * gst/gstregistryxml.c:
24960           debugging
24961
24962 2005-09-19  Wim Taymans  <wim@fluendo.com>
24963
24964         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24965         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24966         (send_messages), (GST_START_TEST), (gstbus_suite):
24967         * check/gst/gstpipeline.c: (GST_START_TEST):
24968         * check/pipelines/cleanup.c: (run_pipeline):
24969         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24970         (GST_START_TEST):
24971         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24972         (gst_bus_source_check), (gst_bus_source_dispatch),
24973         (gst_bus_create_watch), (gst_bus_add_watch_full),
24974         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24975         * gst/gstbus.h:
24976         * tools/gst-launch.c: (event_loop):
24977         * tools/gst-md5sum.c: (event_loop):
24978         GstBusHandler -> GstBusFunc, return value has the same meaning as
24979         any other GSource (FALSE == remove source).
24980         _add_watch() and _add_watch_full() now take a MessageType mask to
24981         only handle specific types of messages.
24982         _poll() returns the GstMessage instead of the message type to avoid
24983         race conditions.
24984         _have_pending() takes a MessageType mask now too.
24985         Added testsuite for multiple bus watches.
24986         Fix testsuites and applications for new bus API.
24987
24988 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24989
24990         * check/Makefile.am:
24991           mark a bunch of the tests as to fix until we fix them
24992
24993 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24994
24995         * common/check.mak:
24996           use GST_PLUGIN settings for valgrind tests as well, so we're
24997           valgrinding the correct thing
24998         * gst/gst.c: (init_post):
24999           plug another leak
25000
25001 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25002
25003         * gst/gst.c: (init_post), (gst_deinit):
25004         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25005         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25006         * gst/gstindex.c: (gst_index_factory_class_init),
25007         (gst_index_factory_finalize):
25008         * gst/gstobject.c: (gst_object_dispose):
25009         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25010         (gst_plugin_load_file), (gst_plugin_desc_free):
25011         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25012         (gst_plugin_feature_finalize):
25013         * gst/gstregistry.c: (gst_registry_class_init),
25014         (gst_registry_init), (gst_registry_finalize),
25015         (gst_registry_get_default), (gst_registry_deinit):
25016         * gst/gstregistry.h:
25017         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25018           various cleanups and memleak plugging.  make valgrind is happy now.
25019
25020 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25021
25022         * common/check.mak:
25023           add a check-valgrind target
25024
25025 2005-09-18  David Schleef  <ds@schleef.org>
25026
25027         * tools/gst-inspect.c: Revert the GOption code.
25028
25029 2005-09-17  David Schleef  <ds@schleef.org>
25030
25031         * check/Makefile.am: Fix environment variables.
25032         * check/gst/gstplugin.c: Fix for API changes.
25033         * tools/gst-inspect.c: Fix for API changes.
25034         * tools/gst-xmlinspect.c: Fix for API changes.
25035         * gst/gstelementfactory.c:
25036         * gst/gstplugin.c:
25037         * gst/gstplugin.h:
25038         * gst/gstpluginfeature.c:
25039         * gst/gstpluginfeature.h:
25040         * gst/gstregistry.c:
25041         * gst/gstregistry.h:
25042         * gst/gstregistryxml.c:
25043         * gst/gsttypefind.c:
25044         * gst/gsttypefindfactory.c:
25045         * gst/indexers/gstfileindex.c:
25046         * gst/indexers/gstmemindex.c:
25047         * gst/schedulers/Makefile.am:
25048           Change registry to keep track of both plugins and features,
25049           removing the feature tracking from plugins themselves.
25050
25051 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25052
25053         * check/Makefile.am:
25054         * tools/gst-register.1.in:
25055           remove gst-register
25056
25057 2005-09-15  David Schleef  <ds@schleef.org>
25058
25059         * check/gst/gstplugin.c:
25060         * gst/gstelementfactory.c:
25061         * gst/gstplugin.c:
25062         * gst/gstpluginfeature.c:
25063         * gst/gstregistry.c:
25064           Getting tired of debugging.  Disabled all the unreffing of
25065           plugins and features, which fixes the segfaults, but of
25066           course leaks like crazy.  At least playbin works.
25067
25068 2005-09-15  David Schleef  <ds@schleef.org>
25069
25070         * check/gst/gstplugin.c: (register_check_elements),
25071         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25072         More testing
25073         * gst/elements/gsttypefindelement.c: Fix refcounting.
25074         * gst/gsttypefind.c:
25075         * gst/gsttypefindfactory.c:
25076         * gst/gsttypefindfactory.h:
25077
25078 2005-09-15  David Schleef  <ds@schleef.org>
25079
25080         * gst/gstindex.c: get refcounting correct.
25081         * gst/gstregistry.c: Handle the case where a feature/plugin is
25082           not found.
25083
25084 2005-09-15  David Schleef  <ds@schleef.org>
25085
25086         * check/Makefile.am:
25087         * check/gst/gstplugin.c: Add test
25088         * gst/gstplugin.c: Fix problems noticed by testsuite
25089         * gst/gstplugin.h:
25090         * gst/gstregistry.c: 
25091         * gst/gstregistry.h:
25092
25093 2005-09-15  David Schleef  <ds@schleef.org>
25094
25095         * gst/gstplugin.c: Implement semi-decent recounting and locking
25096           in plugins and plugin features.
25097         * gst/gstplugin.h:
25098         * gst/gstpluginfeature.c:
25099         * gst/gstpluginfeature.h:
25100         * gst/gstregistry.c:
25101
25102 2005-09-15  Michael Smith <msmith@fluendo.com>
25103
25104         * gst/gstregistry.c: (gst_registry_get_feature_list):
25105           Implement this. Makes oggdemux work; decodebin still broken.
25106
25107 2005-09-14  David Schleef  <ds@schleef.org>
25108
25109         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25110           #316076)
25111         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25112         * gst/check/Makefile.am:
25113         * libs/gst/controller/Makefile.am:
25114         * libs/gst/dataprotocol/Makefile.am:
25115
25116 2005-09-14  David Schleef  <ds@schleef.org>
25117
25118         * configure.ac: Remove getbits library.  Nothing uses it, and
25119           it should be in something like liboil if someone did want
25120           to use it.
25121         * libs/gst/Makefile.am:
25122         * libs/gst/getbits/Makefile.am:
25123         * libs/gst/getbits/gbtest.c:
25124         * libs/gst/getbits/getbits.c:
25125         * libs/gst/getbits/getbits.h:
25126         * libs/gst/getbits/gstgetbits_generic.c:
25127         * libs/gst/getbits/gstgetbits_i386.s:
25128         * libs/gst/getbits/gstgetbits_inl.h:
25129
25130 2005-09-14  David Schleef  <ds@schleef.org>
25131
25132         * gst/Makefile.am: Dist glib-compat.h
25133
25134 2005-09-14  David Schleef  <ds@schleef.org>
25135
25136         * configure.ac: Remove gst/registries, since it's no longer used.
25137         * gst/registries/Makefile.am:
25138         * gst/registries/gstlibxmlregistry.c:
25139         * gst/registries/gstlibxmlregistry.h:
25140         * gst/registries/gstxmlregistry.c:
25141         * gst/registries/gstxmlregistry.h:
25142         * gst/registries/registrytest.c:
25143
25144 2005-09-14  David Schleef  <ds@schleef.org>
25145
25146         * gst/glib-compat.h:
25147         * gst/gstregistryxml.c:
25148           Convergence is near.  Seriously.
25149
25150 2005-09-14  David Schleef  <ds@schleef.org>
25151
25152         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25153         * gst/glib-compat.h:
25154           Attempt #4 to appease the buildbots.
25155
25156 2005-09-14  David Schleef  <ds@schleef.org>
25157
25158         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25159           Attempt #3.
25160
25161 2005-09-14  David Schleef  <ds@schleef.org>
25162
25163         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25164         Attempt #2.
25165
25166 2005-09-14  David Schleef  <ds@schleef.org>
25167
25168         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25169           the new functions.
25170
25171 2005-09-14  David Schleef  <ds@schleef.org>
25172
25173         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25174         * gst/glib-compat.h: Add some functions that are in newer versions
25175           of glib than we care to require.
25176         * gst/gstregistryxml.c: Use them.
25177
25178 2005-09-14  David Schleef  <ds@schleef.org>
25179
25180         * po/POTFILES.in: remove gst-register.c
25181
25182 2005-09-14  David Schleef  <ds@schleef.org>
25183
25184         * docs/gst/gstreamer-docs.sgml:
25185         * docs/gst/gstreamer-sections.txt:
25186         * docs/gst/gstreamer.types:
25187         * docs/gst/tmpl/gstelement.sgml:
25188         * docs/gst/tmpl/gstplugin.sgml:
25189         * docs/gst/tmpl/gstpluginfeature.sgml:
25190           Documentation updates for registry changes.
25191
25192 2005-09-14  David Schleef  <ds@schleef.org>
25193
25194         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25195           because we don't require glib-2.8.
25196
25197 2005-09-14  David Schleef  <ds@schleef.org>
25198
25199         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25200           registries directory.
25201
25202 2005-09-14  David Schleef  <ds@schleef.org>
25203
25204         * check/Makefile.am:
25205         * check/generic/states.c:
25206         * gst/Makefile.am:
25207         * gst/gst.c:
25208         * gst/gst.h:
25209         * gst/gst_private.h:
25210         * gst/gstelementfactory.c:
25211         * gst/gstindex.c:
25212         * gst/gstinfo.c:
25213         * gst/gstplugin.c:
25214         * gst/gstplugin.h:
25215         * gst/gstpluginfeature.c:
25216         * gst/gstpluginfeature.h:
25217         * gst/gstregistry.c:
25218         * gst/gstregistry.h:
25219         * gst/gstregistrypool.c: remove
25220         * gst/gstregistrypool.h: remove
25221         * gst/gsttypefind.c:
25222         * gst/gsttypefindfactory.c:
25223         * gst/gsturi.c:
25224         * tools/Makefile.am:
25225         * tools/gst-compprep.c:
25226         * tools/gst-inspect.c:
25227         * tools/gst-register.c: remove
25228         * tools/gst-xmlinspect.c:
25229           Registry rewrite.  Changes registry from being a file created
25230           by a tool into a simple cache file created automatically by 
25231           libgstreamer.  Removed gst-register (because it's no longer
25232           needed).  Remove registry pools, because we only have one
25233           registry implementation (XML).  Fix up other subsystems as
25234           necessary.
25235
25236 2005-09-13  Michael Smith <msmith@fluendo.com>
25237
25238         * gst/gstconfig.h.in:
25239           Don't Use windows linking attributes for MinGW. Fixes #316157
25240
25241 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25242
25243         * gst/gstutils.c: (set_state_async_thread_func),
25244         (gst_element_set_state_async):
25245           Apparently people think it's better if this function doesn't
25246           try to set the state to whatever state was asked for on the first
25247           call to this function for any object.  Seriously.
25248
25249 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25250
25251         * check/gst/gstpipeline.c: (GST_START_TEST):
25252         * docs/gst/gstreamer-sections.txt:
25253         * gst/gstutils.c: (set_state_async_thread_func),
25254         (gst_element_set_state_async):
25255         * gst/gstutils.h:
25256           add a "gst_element_set_state_async" method that
25257           sets the state and starts a thread to make sure the state
25258           change completes as best as it can
25259
25260 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25261
25262         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25263           codify design+behaviour in testsuite after discussion
25264
25265 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25266
25267         * docs/gst/tmpl/gstelement.sgml:
25268         * docs/manual/appendix-quotes.xml:
25269           add a quote
25270         * gst/gstelement.c: (gst_element_set_state):
25271           add some debug
25272
25273 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25274
25275         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25276         (gst_base_transform_prepare_output_buf),
25277         (gst_base_transform_handle_buffer):
25278         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25279         (gst_capsfilter_prepare_buf):
25280           Remove the requirement for sub-classes to call the parent
25281           implementation of prepare_output_buffer with a wrapper function.
25282           
25283         * gst/gsttaglist.h:
25284         * gst/gsttagsetter.h:
25285           Fix #define wrapper
25286
25287 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25288
25289         * docs/gst/gstreamer-sections.txt:
25290           more doc cleanups
25291
25292 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25293
25294         * docs/gst/gstreamer-sections.txt:
25295         * docs/gst/tmpl/gstelement.sgml:
25296         * docs/gst/tmpl/gstplugin.sgml:
25297         * gst/gstminiobject.c:
25298         * gst/gstvalue.h:
25299           docs now stop throwing warnings
25300
25301 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25302
25303         * docs/gst/gstreamer-sections.txt:
25304         * docs/gst/gstreamer.types:
25305         * docs/gst/tmpl/gstpad.sgml:
25306         * docs/gst/tmpl/gsttypes.sgml:
25307         * gst/base/gstadapter.h:
25308         * gst/base/gstbasesink.h:
25309         * gst/base/gstbasesrc.h:
25310         * gst/gstbin.h:
25311         * gst/gstbuffer.h:
25312         * gst/gstbus.h:
25313         * gst/gstcaps.h:
25314         * gst/gstclock.h:
25315         * gst/gstelement.h:
25316         * gst/gstevent.h:
25317         * gst/gstmessage.h:
25318         * gst/gstpad.h:
25319         * gst/gststructure.c:
25320         * gst/registries/gstlibxmlregistry.h:
25321           various documentation fixes
25322
25323 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25324
25325         * docs/gst/gstreamer-sections.txt:
25326         * docs/gst/tmpl/gstvalue.sgml:
25327           rearrange gstvalue section
25328         * gst/gstutils.c: (gst_element_state_get_name):
25329           NONE -> VOID
25330         * gst/gstvalue.c: (_gst_value_initialize):
25331         * gst/gstvalue.h:
25332           doc updates
25333
25334 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25335
25336         * check/gst-libs/controller.c:
25337           Header include fix.
25338         * gst/base/gstbasetransform.c:
25339         (gst_base_transform_default_prepare_buf),
25340         (gst_base_transform_handle_buffer):
25341         * gst/base/gstbasetransform.h:
25342           Some more basetransform changes and fixes to enable sub-classes
25343           that modify buffer metadata only.
25344         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25345         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25346         (gst_capsfilter_prepare_buf):
25347           If the output pad has fixed allowed caps and input buffers 
25348           don't have any, set the fixed caps on outgoing buffers.
25349
25350 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25351         * check/elements/identity.c: (GST_START_TEST):
25352           Make the error a little clearer when the test fails because
25353           identity made a copy of the buffer.
25354         * docs/gst/gstreamer-sections.txt:
25355           New symbols in gstbasetransform.h
25356         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25357         (gst_base_transform_init), (gst_base_transform_transform_size),
25358         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25359         (gst_base_transform_default_prepare_buf),
25360         (gst_base_transform_get_unit_size),
25361         (gst_base_transform_buffer_alloc),
25362         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25363         (gst_base_transform_change_state),
25364         (gst_base_transform_set_passthrough),
25365         (gst_base_transform_set_in_place),
25366         (gst_base_transform_is_in_place):
25367         * gst/base/gstbasetransform.h:
25368           Change BaseTransform to separate in_place operate from same_caps
25369           output. in_place implies that the element can perform the transform
25370           on incoming buffers in-place, even if the caps on the output are
25371           different.
25372           Sub-class elements can now implement special buffer allocation
25373           methods for outgoing buffers if they wish to.
25374           Big documentation addition.
25375         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25376         * gst/elements/gstelements.c:
25377           Changes for basetransform modifications.
25378         * gst/elements/Makefile.am:
25379         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25380           Compile fix. Extra debug output.
25381
25382 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25383
25384         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25385         (gst_pad_suite):
25386           add tests for valid pad naming
25387         * gst/check/gstcheck.c: (gst_check_log_message_func),
25388         (gst_check_log_critical_func):
25389           add ASSERT_WARNING
25390           remove printing of code, it is fragile when the code contains
25391           % and the line number is enough info
25392         * gst/check/gstcheck.h:
25393         * gst/gstpad.c: (gst_pad_template_new):
25394           fix memleaks
25395
25396 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25397
25398         * configure.ac:
25399           say what CHECK flags we use
25400         * docs/libs/gstreamer-libs.types:
25401         * libs/gst/controller/Makefile.am:
25402         * libs/gst/controller/gst-controller.c:
25403         * libs/gst/controller/gst-controller.h:
25404         * libs/gst/controller/gst-helper.c:
25405         * libs/gst/controller/gst-interpolation.c:
25406         * libs/gst/controller/gstcontroller.c:
25407         * libs/gst/controller/gsthelper.c:
25408         * libs/gst/controller/gstinterpolation.c:
25409         * tools/gst-inspect.c: (print_plugin_info):
25410           we don't use dashes in header names
25411
25412 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25413
25414         * check/Makefile.am:
25415         * check/gst/.cvsignore:
25416         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25417         (gst_pipeline_suite), (main):
25418           adding a test for pipelines and state changes
25419         * gst/gstutils.c: (get_state_func):
25420           add some debugging
25421         * gstreamer.spec.in:
25422           fix up spec file
25423
25424 2005-09-08  Michael Smith <msmith@fluendo.com>
25425
25426         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25427         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25428         (gst_file_src_is_seekable), (gst_file_src_get_size),
25429         (gst_file_src_start):
25430         * gst/elements/gstfilesrc.h:
25431           Various fixes for unseekable, unmmapable, and non-normal files, so
25432           that fallback to read() rather than mmap() works.
25433         * gst/gstevent.c: (gst_event_new_newsegment):
25434           Allow newsegment events with segment_start == segment_end, as will
25435           correctly happen if you use filesrc on a zero-size file, for
25436           example.
25437
25438 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25439
25440         * gst/gstplugin.c: (gst_plugin_load_file):
25441           Call g_module_close when we don't load the module
25442
25443         * gst/registries/gstlibxmlregistry.c:
25444         (gst_xml_registry_get_property):
25445           Port leak fix from 0.8
25446
25447 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25448
25449         * docs/gst/gstreamer-docs.sgml:
25450         * docs/gst/tmpl/.cvsignore:
25451         * docs/gst/tmpl/gsttrace.sgml:
25452         * docs/gst/tmpl/gsttrashstack.sgml:
25453         * gst/Makefile.am:
25454         * gst/gst.h:
25455         * gst/gstelement.h:
25456         * gst/gstevent.h:
25457         * gst/gstmessage.c:
25458         * gst/gstmessage.h:
25459         * gst/gsttag.c:
25460         * gst/gsttag.h:
25461         * gst/gsttaginterface.c:
25462         * gst/gsttaginterface.h:
25463         * gst/gsttaglist.c:
25464         * gst/gsttaglist.h:
25465         * gst/gsttagsetter.c:
25466         * gst/gsttagsetter.h:
25467         * gst/gsttrace.c:
25468         * gst/gsttrace.h:
25469         * gst/gsttrashstack.c:
25470           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25471           inlined docs for gsttrace, gsttrashstack
25472
25473 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25474
25475         * gst/Makefile.am:
25476         * gst/elements/gstbufferstore.h:
25477         * gst/elements/gsttypefindelement.c:
25478         * gst/elements/gsttypefindelement.h:
25479         * gst/gst.h:
25480         * gst/gsttypefind.c:
25481         * gst/gsttypefind.h:
25482         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25483         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25484         (gst_type_find_factory_dispose),
25485         (gst_type_find_factory_unload_thyself),
25486         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25487         (gst_type_find_factory_get_caps),
25488         (gst_type_find_factory_get_extensions),
25489         (gst_type_find_factory_call_function):
25490         * gst/gsttypefindfactory.h:
25491         * gst/registries/gstlibxmlregistry.c:
25492         * gst/registries/gstxmlregistry.c:
25493           splitted gsttypefind into gsttypefind, gsttypefindfactory
25494
25495 2005-09-07  Andy Wingo  <wingo@pobox.com>
25496
25497         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25498         condition whereby the pad's task function is entered before the
25499         pad_mode variable was set.
25500
25501 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25502
25503         * gst/gstpad.c: (gst_pad_alloc_buffer):
25504           Catch misbehaving pad_alloc functions that don't
25505           set up caps and do it for them.
25506
25507 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25508
25509         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25510           test for pipe!=NULL
25511         * docs/gst/tmpl/.cvsignore:
25512         * docs/gst/tmpl/gstmemchunk.sgml:
25513         * docs/gst/tmpl/gstparse.sgml:
25514         * docs/gst/tmpl/gsttaglist.sgml:
25515         * docs/gst/tmpl/gsttagsetter.sgml:
25516         * docs/gst/tmpl/gsttypefind.sgml:
25517         * docs/gst/tmpl/gsttypefindfactory.sgml:
25518         * gst/gstmemchunk.c:
25519         * gst/gstparse.c:
25520         * gst/gsttag.c:
25521         * gst/gsttaginterface.c:
25522         * gst/gsttypefind.c:
25523         * gst/gsttypefind.h:
25524           inlined more docs
25525
25526 === release 0.9.2 ===
25527
25528 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25529
25530         * NEWS:
25531         * RELEASE:
25532         * configure.ac:
25533           releasing 0.9.2, "South"
25534
25535 2005-09-05  Andy Wingo  <wingo@pobox.com>
25536
25537         * gst/registries/gstxmlregistry.h:
25538         * gst/registries/gstxmlregistry.c: Um... resurrect...
25539         
25540         * gst/registries/gstxmlregistry.h:
25541         * gst/registries/gstxmlregistry.c: and update to newer API.
25542         Incidentally they should be a bit faster now that they don't have
25543         to parse the caps.
25544         
25545 2005-09-05  Andy Wingo  <wingo@pobox.com>
25546
25547         * gst/registries/gstxmlregistry.h:
25548         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25549         replaced by the libxml registry a while back
25550
25551 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25552
25553         * docs/gst/tmpl/gstplugin.sgml:
25554         * gst/elements/gstelements.c:
25555         * gst/gst.c:
25556         * gst/gstplugin.c: (gst_plugin_register_func),
25557         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25558         (gst_plugin_get_source):
25559         * gst/gstplugin.h:
25560         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25561         (gst_xml_registry_save_plugin):
25562         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25563         (gst_xml_registry_save_plugin):
25564         * tools/gst-inspect.c: (print_plugin_info):
25565           add a "source" plugin description field, to represent the source
25566           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25567           will set it to PACKAGE, which is automake's idea of the name of
25568           the source project.
25569
25570 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25571
25572         * Makefile.am:
25573         * autogen.sh:
25574         * configure.ac:
25575         * docs/Makefile.am:
25576         * docs/faq/Makefile.am:
25577         * docs/gst/tmpl/gstelement.sgml:
25578         * docs/gst/tmpl/gsttypes.sgml:
25579         * docs/htmlinstall.mak:
25580         * docs/manual/Makefile.am:
25581         * docs/pwg/Makefile.am:
25582           reorganize doc build a little
25583           split out docbook and gtk-doc stuff
25584           have two separate --enable's and enable them through autogen
25585           but disable by default in configure (to be similar to other
25586           projects)
25587         * gstreamer.spec.in:
25588           clean up docs install
25589         * po/af.po:
25590         * po/az.po:
25591         * po/ca.po:
25592         * po/cs.po:
25593         * po/de.po:
25594         * po/en_GB.po:
25595         * po/fr.po:
25596         * po/it.po:
25597         * po/nb.po:
25598         * po/nl.po:
25599         * po/ru.po:
25600         * po/sq.po:
25601         * po/sr.po:
25602         * po/sv.po:
25603         * po/tr.po:
25604         * po/uk.po:
25605         * po/vi.po:
25606           translation updates
25607
25608 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25609
25610         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25611           Add comment.
25612           
25613         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25614         (gst_fake_sink_change_state):
25615           Make state change function thread-safe.
25616           
25617         * gst/gstpad.c: (gst_pad_alloc_buffer):
25618           Set offset on generic buffer allocated by fallback.
25619
25620 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25621
25622         * docs/gst/gstreamer-sections.txt:
25623         * docs/gst/tmpl/gstelement.sgml:
25624         * gst/gstpad.c:
25625         * libs/gst/controller/gst-controller.c:
25626         (gst_controlled_property_set_interpolation_mode),
25627         (gst_controlled_property_new),
25628         (gst_controller_find_controlled_property):
25629          run the wingo-magic script against the docs
25630
25631 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25632
25633         * docs/gst/gstreamer-docs.sgml:
25634         * docs/gst/gstreamer-sections.txt:
25635         * docs/gst/tmpl/.cvsignore:
25636         * docs/gst/tmpl/gstelementdetails.sgml:
25637         * docs/gst/tmpl/gstelementfactory.sgml:
25638         * gst/gst.c:
25639         * gst/gstbus.c:
25640         * gst/gstelementfactory.c:
25641         * gst/gstelementfactory.h:
25642           merged elementdetails docs into elementfactory docs
25643           inlined both
25644
25645 2005-09-02  Andy Wingo  <wingo@pobox.com>
25646
25647         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25648         consider this enum an enum and not a flags.
25649
25650 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25651
25652         * docs/gst/gstreamer-docs.sgml:
25653         * docs/gst/tmpl/.cvsignore:
25654         * docs/gst/tmpl/gstghostpad.sgml:
25655         * docs/gst/tmpl/gstiterator.sgml:
25656         * docs/gst/tmpl/gstmacros.sgml:
25657         * docs/gst/tmpl/gstrealpad.sgml:
25658         * docs/gst/tmpl/gstregistry.sgml:
25659         * docs/gst/tmpl/gstregistrypool.sgml:
25660         * docs/gst/tmpl/gststructure.sgml:
25661         * docs/gst/tmpl/gstsystemclock.sgml:
25662         * docs/gst/tmpl/gsttrace.sgml:
25663         * gst/gstghostpad.c:
25664         * gst/gstmacros.h:
25665         * gst/gstmemchunk.c:
25666         * gst/gstmemchunk.h:
25667         * gst/gstqueue.c:
25668         * gst/gstregistry.c:
25669         * gst/gstregistrypool.c:
25670         * gst/gststructure.c:
25671         * gst/gstsystemclock.c:
25672           more docs inlined
25673
25674 2005-09-02  Andy Wingo  <wingo@pobox.com>
25675
25676         * gst/gstelement.h (GstState): Renamed from GstElementState,
25677         changed to be a normal enum instead of flags.
25678         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25679         munged to be GST_STATE_CHANGE_*.
25680         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25681         work with the new state representation.
25682         (GstStateChange): New enumeration of possible state transitions.
25683         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25684         (GstElementClass::change_state): Pass the GstStateChange along as
25685         an argument. Helps language bindings, so they don't have to use
25686         tricky lock-needing macros like GST_STATE_CHANGE ().
25687
25688         * scripts/update-states (file): New script. Run it on a file to
25689         update it for state naming and API changes. Updates files in
25690         place.
25691
25692         * All files updated for the new API.
25693
25694 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25695
25696         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25697         * gst/gstutils.c: (gst_util_set_value_from_string),
25698         (gst_util_set_object_arg):
25699           fix a bunch of unchecked return values
25700         * tools/gst-complete.c: (main):
25701         * gstreamer.spec.in:
25702           clean up a little
25703
25704 2005-09-01  Wim Taymans  <wim@fluendo.com>
25705
25706         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25707         (gst_base_sink_event), (gst_base_sink_do_sync),
25708         (gst_base_sink_handle_event):
25709         * gst/base/gstbasesink.h:
25710         Handle newsegments more correctly.
25711
25712         * gst/gstbus.c:
25713         Fix docs.
25714
25715         * gst/gstevent.c: (gst_event_new_newsegment):
25716         A newsegment cannot have a start_time of -1
25717
25718 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25719
25720         * win32/gstenumtypes.c:
25721         * win32/gstenumtypes.h:
25722           Update
25723
25724 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25725
25726         * libs/gst/controller/gst-controller.c:
25727         (gst_controlled_property_set_interpolation_mode),
25728         (gst_controlled_property_new):
25729          fixed boolean again
25730
25731 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25732
25733         * docs/faq/gst-uninstalled:
25734           add -good
25735         * gst/gstevent.c:
25736         * gst/gstevent.h:
25737           remove wrong docs
25738         * gst/gstutils.c: (gst_element_link_filtered):
25739         * gst/gstutils.h:
25740           add gst_element_link_filtered
25741
25742 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25743
25744         * docs/gst/gstreamer-docs.sgml:
25745         * docs/gst/gstreamer-sections.txt:
25746         * docs/gst/tmpl/.cvsignore:
25747         * docs/gst/tmpl/gsterror.sgml:
25748         * docs/gst/tmpl/gstfilter.sgml:
25749         * docs/gst/tmpl/gsturihandler.sgml:
25750         * docs/gst/tmpl/gsturitype.sgml:
25751         * docs/gst/tmpl/gstutils.sgml:
25752         * docs/gst/tmpl/gstxml.sgml:
25753         * gst/gsterror.c:
25754         * gst/gsterror.h:
25755         * gst/gstfilter.c:
25756         * gst/gsturi.c:
25757         * gst/gsturitype.c:
25758         * gst/gstutils.c:
25759         * gst/gstxml.c:
25760           inlined more docs, fixed double id-ref
25761
25762 2005-08-31  Wim Taymans  <wim@fluendo.com>
25763
25764         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25765         (gst_base_transform_handle_buffer):
25766         Passthrough elements don't need the caps as they don't care.
25767
25768 2005-08-31  Wim Taymans  <wim@fluendo.com>
25769
25770         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25771         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25772         Don't leak refcounts on buffers.
25773
25774 2005-08-31  Wim Taymans  <wim@fluendo.com>
25775
25776         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25777         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25778         (gst_base_transform_chain), (gst_base_transform_change_state):
25779         * gst/base/gstbasetransform.h:
25780         Handle the case where we are not negotiated more gracefully.
25781
25782 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25783
25784         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25785         (gst_file_src_map_region):
25786           Set READONLY flag on mmap'ed buffers, otherwise
25787           gst_buffer_make_writable() won't work properly (#314708).
25788
25789 2005-08-31  Wim Taymans  <wim@fluendo.com>
25790
25791         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25792         passthrough elements can even do inplace on non writable
25793         buffers (as they don't touch them).
25794
25795 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25796
25797         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25798         (gst_test_mono_source_set_property),
25799         (gst_test_mono_source_class_init), (GST_START_TEST),
25800         (gst_controller_suite):
25801           more tests (hehe I have the most)
25802         * gst/gstbus.c:
25803           describe popping messages whenusing mulltiple sources
25804         * libs/gst/controller/gst-controller.c:
25805         (gst_controlled_property_set_interpolation_mode),
25806         (gst_controlled_property_new):
25807         * libs/gst/controller/gst-controller.h:
25808         * libs/gst/controller/gst-interpolation.c:
25809           implement boolean properties
25810
25811 2005-08-31  Wim Taymans  <wim@fluendo.com>
25812
25813         * gst/gstminiobject.c: (gst_mini_object_ref):
25814         Cannot assert that the refcount has to be positive
25815         since a disposed object can be resurrected.
25816
25817 2005-08-31  Wim Taymans  <wim@fluendo.com>
25818
25819         * gst/gstpad.c: (gst_pad_init):
25820         Revert change, need to first fix badly behaving 
25821         apps.
25822
25823 2005-08-30  Wim Taymans  <wim@fluendo.com>
25824
25825         * check/elements/fakesrc.c: (setup_fakesrc):
25826         * check/elements/identity.c: (setup_identity):
25827         Activate pads before using them.
25828
25829 2005-08-30  Wim Taymans  <wim@fluendo.com>
25830
25831         * gst/base/gstadapter.c: (gst_adapter_flush):
25832         Flushing out 0 bytes is ok for this function.
25833
25834         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25835         no newsegment gives a warning and sets the start/stop to 
25836         invalid.
25837
25838         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25839         (gst_base_transform_set_passthrough):
25840         Some debug info.
25841
25842         * gst/gstminiobject.c: (gst_mini_object_ref):
25843         Check refcount here too.
25844
25845         * gst/gstpad.c: (gst_pad_init):
25846         Pads are initially flushing and refusing data.
25847
25848         * gst/gstutils.c: (gst_element_link_pads_filtered):
25849         When adding a capsfilter element make sure it has the
25850         same state as the parent bin.
25851
25852 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25853
25854         * docs/gst/tmpl/.cvsignore:
25855         * docs/gst/tmpl/gstformat.sgml:
25856         * docs/gst/tmpl/gstversion.sgml:
25857         * gst/gstbus.h:
25858         * gst/gstformat.c:
25859         * gst/gstformat.h:
25860         * gst/gstversion.h.in:
25861           more docs and two more inlined
25862
25863 2005-08-30  Wim Taymans  <wim@fluendo.com>
25864
25865         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25866         Don't sync to clock.
25867
25868 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25869
25870         * docs/gst/gstreamer-sections.txt:
25871           ultral33t func10ns deserve to appear in the docs actually
25872         * docs/gst/tmpl/.cvsignore:
25873         * docs/gst/tmpl/gstcompat.sgml:
25874         * docs/gst/tmpl/gstconfig.sgml:
25875         * gst/check/gstcheck.c:
25876         * gst/gstcompat.h:
25877         * gst/gstconfig.h.in:
25878           inlined more docs
25879
25880 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25881
25882         * docs/gst/tmpl/.cvsignore:
25883         * docs/gst/tmpl/gstquery.sgml:
25884         * docs/gst/tmpl/gstutils.sgml:
25885         * gst/gstquery.c:
25886         * gst/gstquery.h:
25887           inlined and extended docs
25888
25889 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25890
25891         * check/gst-libs/controller.c: (GST_START_TEST),
25892         (gst_controller_suite):
25893           more tests
25894         * docs/gst/tmpl/gstutils.sgml:
25895         * docs/libs/gstreamer-libs-sections.txt:
25896         * docs/libs/tmpl/gstdataprotocol.sgml:
25897           include path fixes
25898         * examples/controller/audio-example.c: (main):
25899           controller example works now
25900         * gst/gstclock.h:
25901           doc fixes
25902         * tools/gst-inspect.c: (print_element_properties_info):
25903           show param spec flags
25904
25905 2005-08-29  Andy Wingo  <wingo@pobox.com>
25906
25907         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25908
25909 2005-08-28  Andy Wingo  <wingo@pobox.com>
25910
25911         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25912         as having two arguments instead of just one. Allows superclasses
25913         to access information on subclasses -- see the terrible for() loop
25914         in gtype.c:g_type_create_instance for the reason why. All callers
25915         changed.
25916
25917 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25918
25919         * docs/design/part-messages.txt:
25920           update info
25921         * docs/gst/tmpl/.cvsignore:
25922         * docs/gst/tmpl/gstcaps.sgml:
25923         * docs/gst/tmpl/gstclock.sgml:
25924         * gst/gstbus.c:
25925         * gst/gstcaps.c:
25926         * gst/gstcaps.h:
25927         * gst/gstclock.c:
25928         * gst/gstclock.h:
25929         * gst/gstmessage.c:
25930           added descriptions for bus and message
25931           inline caps and clock docs
25932
25933 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25934
25935         * gst/gstmessage.c:
25936         * gst/gstmessage.h:
25937           doc fixes
25938
25939 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25940
25941         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25942           fix div-by-zero
25943
25944 2005-08-26  Andy Wingo  <wingo@pobox.com>
25945
25946         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25947         element_set_state's return val.
25948         (test_2_elements): Add test that's been disabled for months.
25949
25950         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25951         can-activate-pull properties.
25952
25953         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25954         can-activate-pull properties. Implement is_seekable so fakesrc can
25955         operate in pull mode.
25956
25957         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25958         properties.
25959         (gst_base_sink_activate, gst_base_sink_activate_pull)
25960         (gst_base_sink_activate_push): Make activation mode choosing work.
25961         Cleanups.
25962         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25963         is right. Make pull mode work. Post an eos before pausing in pull
25964         mode.
25965         (gst_base_sink_change_state): Pay attention to the core's
25966         change_state() return val.
25967         
25968         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25969         has-getrange properties. Cleanups.
25970         
25971         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25972         has_getrange and replace with can_activate_pull and
25973         can_activate_push.
25974
25975         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25976         locking comments. Remove has_loop, has_chain and replace with
25977         can_activate_pull and can_activate_push.
25978
25979 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
25980
25981         * configure.ac:
25982         * examples/Makefile.am:
25983         * examples/metadata/Makefile.am:
25984         * examples/metadata/read-metadata.c: (message_loop),
25985         (have_pad_handler), (make_pipeline), (print_tag), (main):
25986           Add metadata reading example that loops over a list of filenames,
25987           dumping any tags found.
25988
25989         * gst/gstbus.c: (gst_bus_dispose):
25990         * gst/gstelement.c: (gst_element_dispose):
25991           Release a few potentially-held references in dispose.
25992
25993 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25994
25995         * docs/gst/tmpl/gstminiobject.sgml:
25996           do *not* add tmpl/*.sgml files to CVS!
25997
25998 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25999
26000         * libs/gst/bytestream/.cvsignore:
26001         * libs/gst/bytestream/Makefile.am:
26002         * libs/gst/bytestream/adapter.c:
26003         * libs/gst/bytestream/adapter.h:
26004         * libs/gst/bytestream/bytestream.c:
26005         * libs/gst/bytestream/bytestream.h:
26006         * libs/gst/bytestream/filepad.c:
26007         * libs/gst/bytestream/filepad.h:
26008           removing obsolete files
26009
26010 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26011
26012         * docs/gst/gstreamer-docs.sgml:
26013         * docs/libs/gstreamer-libs-docs.sgml:
26014           disabed additional index entries again, as this makes docs-gen just
26015           slow and they aren't useful yet
26016         * docs/libs/gstreamer-libs-sections.txt:
26017           little -section.txt cleanup for libs
26018
26019 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26020
26021         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26022         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26023           fix up some debugging
26024         (gst_base_transform_get_unit_size),
26025         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26026         (gst_base_transform_handle_buffer):
26027         * gst/base/gstbasetransform.h:
26028           handle and store timed NEWSEGMENT events so that subclasses that
26029           calculate time by counting samples have a segment_start time they
26030           need to add to their timestamps - see audioresample
26031
26032 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26033
26034         * gst/gstbin.h:
26035           removed ';' from the end of macro defs
26036         * docs/gst/gstreamer-docs.sgml:
26037         * docs/gst/gstreamer-sections.txt:
26038         * docs/gst/tmpl/.cvsignore:
26039         * gst/gstbus.h:
26040         * gst/gstelement.c: (gst_element_class_init),
26041         (gst_element_set_state), (activate_pads),
26042         (gst_element_save_thyself):
26043         * gst/gstevent.c: (gst_event_new_newsegment):
26044         * gst/gstevent.h:
26045         * gst/gstiterator.c:
26046         * gst/gstiterator.h:
26047         * gst/gstpad.c:
26048         * gst/gstprobe.h:
26049         * gst/gstutils.c: (gst_pad_query_convert):
26050         * gst/gstutils.h:
26051           fixed parameter name mismatches between source, header and docs
26052           added some more docs, resolved the last batch of unused elements in
26053           docs (now someone needs to doc them)
26054
26055 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26056
26057         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26058         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26059           don't walk through the plugins backwards.  Where is all this
26060           reversed logic coming from ?
26061
26062 2005-08-25  Wim Taymans  <wim@fluendo.com>
26063
26064         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26065         (gst_base_transform_transform_size),
26066         (gst_base_transform_configure_caps),
26067         (gst_base_transform_get_unit_size),
26068         (gst_base_transform_buffer_alloc),
26069         (gst_base_transform_change_state):
26070         * gst/base/gstbasetransform.h:
26071         Cache caps unit_size.
26072         Make sure we cannot negotiate up and downstream at the
26073         same time.
26074
26075 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26076
26077         * gst/gst.c: (init_pre), (init_post):
26078           register the installed plugin path after the env var
26079         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26080         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26081           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26082           directories, so the tests can prefer uninstalled over installed
26083
26084 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26085
26086         * gst/base/gstbasetransform.h:
26087           comment
26088         * gst/gstpad.c:
26089           add to docs
26090
26091 2005-08-25  Wim Taymans  <wim@fluendo.com>
26092
26093         * gst/gstbin.c: (bin_bus_handler):
26094         Be a bit more conservative about the posted message.
26095         
26096         * gst/gstbus.c: (gst_bus_post):
26097         Some cleanups, warn wrong return values.
26098
26099 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26100
26101         * check/gst/gstbin.c: (GST_START_TEST):
26102         * gst/gstbin.c: (bin_bus_handler):
26103         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26104         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26105         (gst_message_new_warning), (gst_message_new_tag),
26106         (gst_message_new_state_changed), (gst_message_new_segment_start),
26107         (gst_message_new_segment_done), (gst_message_new_custom):
26108         * gst/gstmessage.h:
26109         * tools/gst-launch.c: (event_loop):
26110         * tools/gst-md5sum.c: (event_loop):
26111           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26112
26113 2005-08-25  Wim Taymans  <wim@fluendo.com>
26114
26115         * check/generic/states.c: (GST_START_TEST):
26116         Cleanup can be done at the end.
26117
26118         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26119         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26120         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26121         Oh boy.. Thanks for finding this, Thomas. 
26122
26123 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26124
26125         * docs/gst/gstreamer.types:
26126           added missing types
26127
26128 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26129
26130         * docs/gst/gstreamer-docs.sgml:
26131         * docs/gst/gstreamer-sections.txt:
26132         * docs/gst/tmpl/.cvsignore:
26133         * gst/gstbin.c:
26134         * gst/gstiterator.c:
26135         * gst/gstutils.c:
26136         * gst/registries/gstxmlregistry.h:
26137           added missing classes and symbols (123 more to go)
26138           removed removed symbols from section file
26139           fixed many doc-comments
26140
26141 2005-08-24  Wim Taymans  <wim@fluendo.com>
26142
26143         * check/generic/states.c: (GST_START_TEST):
26144         Make sure all tasks are stopped.
26145
26146         * check/gst/gstbin.c: (GST_START_TEST):
26147         Unref after usage for proper valgrinding.
26148
26149         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26150         Really wait for the task to stop before destroying the
26151         mutex.
26152
26153         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26154         (gst_queue_src_activate_push):
26155         Small cleanups. Don't stop the task when we did not start
26156         it.
26157
26158         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26159         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26160         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26161         (gst_task_join):
26162         * gst/gsttask.h:
26163         Protect the stream lock with the object lock.
26164         Disallow setting the stream lock when running.
26165         Add cleanup_all to wait for the threadpool to finish.
26166         Remove code to autoallocate a mutex if none was provided.
26167         Add _join() to wait for a task to stop.
26168         Protect the thread pool with a global lock.
26169
26170 2005-08-24  Wim Taymans  <wim@fluendo.com>
26171
26172         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26173         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26174         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26175         * gst/base/gstbasesink.h:
26176         Handle newsegment events correctly.
26177         Drop buffers out of the segment range.
26178
26179 2005-08-22  Andy Wingo  <wingo@pobox.com>
26180
26181         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26182         macro, implements an interface and gstimplementsinterface for a
26183         new type.
26184
26185 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26186
26187         * check/Makefile.am:
26188         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26189           add a test that does a bunch of state changes on elements
26190           needs some fixing for valgrind
26191         * check/states/sinks.c: (gst_object_suite):
26192           whitespace
26193         * gst/gstcaps.h:
26194           add prototype for gst_caps_is_equal_fixed
26195         * gst/gstplugin.c:
26196         * gst/gstregistrypool.c:
26197           doc fixes
26198
26199 2005-08-24  Andy Wingo  <wingo@pobox.com>
26200
26201         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26202         convert a negative value. Doesn't make much sense. Mostly this is
26203         here to force callers to ensure -1 maps to -1.
26204
26205 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26206
26207         * docs/pwg/advanced-types.xml:
26208           Well done to Michael for catching my deliberate introduction
26209           of this spelling mistake. 
26210         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26211         * gst/gstelement.h:
26212           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26213           unlink pads before removing the element from the bin.
26214
26215 2005-08-24  Andy Wingo  <wingo@pobox.com>
26216
26217         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26218         the same thing as GST_DEBUG=*:4.
26219         (parse_debug_level, parse_debug_category): New helper parsers.
26220
26221 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26222
26223         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26224         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26225         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26226         (gst_base_transform_buffer_alloc),
26227         (gst_base_transform_handle_buffer):
26228           use gboolean return values and pointers to size so we can use the
26229           full GST_BUFFER_SIZE range (guint) for buffer sizes
26230           use GstPadDirection for transform_caps
26231         * gst/base/gstbasetransform.h:
26232           rename get_size to get_unit_size since that's what it is
26233         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26234           use GstPadDirection for transform_caps
26235         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26236         * gst/gstutils.h:
26237           cleanup and debugging
26238
26239 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26240
26241         * gst/gstelement.c: (gst_element_class_init),
26242         (gst_element_set_state), (activate_pads),
26243         (gst_element_save_thyself):
26244         * tools/gst-compprep.c: (main):
26245         * tools/gst-inspect.c: (print_element_properties_info):
26246         * tools/gst-xmlinspect.c: (print_element_properties):
26247           Fixed long standing mem-leak
26248
26249 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26250
26251         * check/gst/gstbin.c: (GST_START_TEST):
26252         * gst/gstbin.c: (bin_bus_handler):
26253         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26254         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26255         (gst_message_new_warning), (gst_message_new_tag),
26256         (gst_message_new_state_changed), (gst_message_new_segment_start),
26257         (gst_message_new_segment_done), (gst_message_new_custom):
26258         * gst/gstmessage.h:
26259         * tools/gst-launch.c: (event_loop):
26260         * tools/gst-md5sum.c: (event_loop):
26261           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26262           that applications can sensibly post custom messages with references
26263           to their own objects.
26264
26265 2005-08-24  Andy Wingo  <wingo@pobox.com>
26266
26267         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26268         already.
26269
26270 2005-08-24  Wim Taymans  <wim@fluendo.com>
26271
26272         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26273         (gst_base_transform_transform_caps),
26274         (gst_base_transform_transform_size),
26275         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26276         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26277         (gst_base_transform_handle_buffer):
26278         * gst/base/gstbasetransform.h:
26279         Many fixes and new features added by Thomas. Can now also do
26280         transforms with variable sizes and a custom fixate_caps function.
26281
26282 2005-08-24  Wim Taymans  <wim@fluendo.com>
26283
26284         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26285         Some debugging.
26286
26287         * gst/gstclock.h:
26288         Cast to ClockTime before formatting to time.
26289
26290         * gst/gstutils.h:
26291         Cleanups.
26292
26293 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26294
26295         * check/gst-libs/controller.c: (GST_START_TEST),
26296         (gst_controller_suite):
26297         * docs/gst/tmpl/gstcaps.sgml:
26298         * docs/gst/tmpl/gstghostpad.sgml:
26299         * docs/gst/tmpl/gstquery.sgml:
26300         * docs/gst/tmpl/gstutils.sgml:
26301         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26302         (gst_object_sink_values), (gst_object_get_value_arrays),
26303         (gst_object_get_value_array):
26304           gracefully handle helper method calls to objects that are not beeing
26305           controlled, added test case for that          
26306
26307 2005-08-23  Wim Taymans  <wim@fluendo.com>
26308
26309         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26310         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26311         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26312         (gst_event_parse_qos), (gst_event_new_seek),
26313         (gst_event_parse_seek):
26314         * gst/gstevent.h:
26315         Some more debugging output and doc cleanups.
26316
26317         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26318         Fix possible deadlock.
26319
26320 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26321
26322         * docs/gst/gstreamer-docs.sgml:
26323         * docs/gst/gstreamer-sections.txt:
26324         * docs/gst/gstreamer.types:
26325         * docs/gst/tmpl/.cvsignore:
26326         * gst/gstbin.h:
26327         * gst/gstbus.c:
26328         * gst/gstelement.c:
26329         * gst/gstevent.h:
26330           added 100 symbols from gstreamer-unused.txt to the right sections
26331           fixed more broken comments
26332           added GstBus to docs
26333
26334 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26335
26336         * docs/gst/gstreamer-sections.txt:
26337         * docs/gst/tmpl/.cvsignore:
26338         * docs/gst/tmpl/gstbin.sgml:
26339         * docs/gst/tmpl/gstbuffer.sgml:
26340         * gst/base/gstbasesrc.c:
26341         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26342         * gst/gstbuffer.c:
26343         * gst/gstbuffer.h:
26344         * tools/gst-launch.1.in:
26345           inlined more doc comments, added missing comments and fixed comments
26346           fixed typos
26347
26348 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26349
26350         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26351           some debugging
26352         * gst/gstcaps.h:
26353           whitespace fixes
26354         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26355           more debugging
26356         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26357         * gst/gststructure.h:
26358           add a fixate function for booleans; add a FIXME that these func
26359           names should probably be gst_structure_fixate_*
26360
26361 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26362
26363         * docs/gst/gstreamer-docs.sgml:
26364         * docs/gst/gstreamer-sections.txt:
26365         * gst/Makefile.am:
26366         * gst/gstbin.c: (gst_bin_get_type),
26367         (gst_bin_child_proxy_get_child_by_index),
26368         (gst_bin_child_proxy_get_children_count),
26369         (gst_bin_child_proxy_init):
26370         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26371         (gst_child_proxy_get_child_by_index),
26372         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26373         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26374         (gst_child_proxy_get), (gst_child_proxy_set_property),
26375         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26376         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26377         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26378         * gst/gstchildproxy.h:
26379         * gst/parse/grammar.y:
26380         * tools/gst-inspect.c: (print_interfaces),
26381         (print_element_properties_info), (print_element_info):
26382           ported gstchildproxy over from 0.8
26383           ported gst-inspect fixes and enhancements over from 0.8
26384
26385 2005-08-22  Wim Taymans  <wim@fluendo.com>
26386
26387         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26388         (gst_base_transform_handle_buffer):
26389         Also call the transform function if we have ANY caps.
26390
26391         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26392         Fix debug info.
26393
26394 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26395
26396         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26397           Don't pretend to handle seek events if the source is not seekable
26398
26399 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26400
26401         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26402           Remove extra parameter to debug output
26403
26404         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26405         (gst_base_src_do_seek), (gst_base_src_activate_push):
26406           Fix seek event handling.
26407
26408         * gst/gstpipeline.c: (gst_pipeline_change_state):
26409         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26410         (gst_queue_src_activate_push):
26411           Don't start the src pad task on FLUSH_STOP if the pad
26412           isn't linked.
26413           Debug changes.
26414
26415 2005-08-22  Wim Taymans  <wim@fluendo.com>
26416
26417         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26418         Added check for gst_static_caps_get() refcounting.
26419
26420 2005-08-22  Wim Taymans  <wim@fluendo.com>
26421
26422         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26423         Make _static_caps_get() refcounting sane.
26424         
26425         * gst/gstelement.c: (gst_element_set_state):
26426         Add g_return_val_if_fail() to protect against segfaults.
26427
26428 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26429
26430         * docs/gst/tmpl/gstevent.sgml:
26431         * gst/gstevent.c:
26432         * gst/gstevent.h:
26433           inlined remaining docs, added missing doc comments
26434
26435 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26436
26437         * check/gst/gstbin.c: (GST_START_TEST):
26438           since we don't know when preroll is done, use refcount range
26439           check for the sink
26440         * gst/check/gstcheck.h:
26441           add macro for checking refcount range
26442
26443 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26444
26445         * check/Makefile.am:
26446           clean up environment for when registry gets built versus
26447           when actual tests are run; valgrind seems to not report
26448           leaks if GST_PLUGIN_PATH is set to some specific values
26449         * check/gst/gstbin.c: (GST_START_TEST):
26450           add more refcounting checks; maybe this exposes a
26451           preroll lock bug ?
26452         * common/check.mak:
26453         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26454         * gst/check/gstcheck.h:
26455         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26456         (gst_bin_change_state):
26457         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26458           add/fix debugging/whitespace
26459
26460 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26461
26462         * check/gst/gstevent.c: (event_probe), (test_event),
26463         (GST_START_TEST):
26464          Er, don't call gst_bin_watch_for_state_change you idiot.
26465
26466 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26467
26468         * check/Makefile.am:
26469           Use CHECK_CFLAGS and CHECK_LIBS
26470         * check/gst/gstevent.c: (event_probe), (test_event),
26471         (GST_START_TEST):
26472           Don't leak events.
26473         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26474         (gst_base_src_start), (gst_base_src_stop),
26475         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26476         (gst_base_src_change_state):
26477           Sprinkle gst_base_src_stop liberally around error paths to fix
26478           problems reusing a source after failed state changes.
26479         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26480         (helper_find_suggest), (gst_type_find_helper):
26481           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26482         * gst/gstevent.h:
26483         * docs/gst/tmpl/gstevent.sgml:
26484           Migrate part of the docs from the SGML file. Wait for ensonic to
26485           tell me how I did it wrong ;)
26486         * tools/gst-typefind.c: (main):
26487           Extra robustness to state changes between files.
26488
26489 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26490
26491         * check/Makefile.am:
26492           don't valgrind the controller test - it's leaking - Stefan, HELP
26493         * gst/check/gstcheck.c: (gst_check_message_error),
26494         (gst_check_chain_func), (gst_check_setup_element),
26495         (gst_check_teardown_element), (gst_check_setup_src_pad),
26496         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26497         (gst_check_teardown_sink_pad):
26498         * gst/check/gstcheck.h:
26499           add a bunch of methods to set up elements, and src and sink pads
26500         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26501         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26502         (GST_START_TEST):
26503           use them
26504         * gst/gstmessage.c:
26505         * gst/gsttag.h:
26506           whitespace/doc fixes
26507
26508 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26509
26510         * gst/gstelement.h:
26511           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26512           be handled by the application and not always printed as well
26513
26514 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26515
26516         * check/Makefile.am:
26517           set GST_TOOLS_DIR
26518         * gst/check/gstcheck.c: (gst_check_message_error):
26519         * gst/check/gstcheck.h:
26520           add a fail_unless_equals_int
26521           add fail_unless for error messages
26522
26523 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26524
26525         * check/Makefile.am:
26526         * check/gst.supp:
26527         * common/Makefile.am:
26528         * common/check.mak:
26529         * common/gst.supp:
26530           factor out some of the common stuff so we can use it
26531
26532 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26533
26534         * check/Makefile.am:
26535         * check/gst/gstiterator.c: (GST_START_TEST):
26536         * check/gst/gstsystemclock.c: (GST_START_TEST),
26537         (gst_systemclock_suite):
26538         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26539         * gst/gstclock.c:
26540           valgrind more tests
26541
26542 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26543
26544         * check/elements/.cvsignore:
26545         * check/elements/gstfakesrc.c:
26546           rename to name of element
26547         * check/elements/identity.c: (chain_func), (event_func),
26548         (setup_identity), (cleanup_identity), (GST_START_TEST),
26549         (identity_suite), (main):
26550           add a test for identity
26551         * check/Makefile.am:
26552         * pkgconfig/Makefile.am:
26553         * pkgconfig/gstreamer-check.pc.in:
26554         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26555         * gst/check:
26556         * gst/Makefile.am:
26557         * configure.ac:
26558           move the check stuff to a library that gets installed
26559         * check/gst-libs/controller.c: (GST_START_TEST):
26560         * check/gst-libs/gdp.c:
26561         * check/gst/gst.c: (GST_START_TEST):
26562         * check/gst/gstbin.c:
26563         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26564         * check/gst/gstbus.c:
26565         * check/gst/gstcaps.c: (GST_START_TEST):
26566         * check/gst/gstelement.c:
26567         * check/gst/gstghostpad.c:
26568         * check/gst/gstiterator.c:
26569         * check/gst/gstmessage.c:
26570         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26571         * check/gst/gstobject.c:
26572         * check/gst/gstpad.c: (GST_START_TEST):
26573         * check/gst/gststructure.c: (GST_START_TEST):
26574         * check/gst/gstsystemclock.c: (GST_START_TEST),
26575         (gst_systemclock_suite):
26576         * check/gst/gsttag.c: (gst_tag_suite):
26577         * check/gst/gstvalue.c:
26578         * check/pipelines/cleanup.c:
26579         * check/pipelines/simple_launch_lines.c:
26580         * check/states/sinks.c:
26581           change include statement
26582
26583         * docs/gst/gstreamer-sections.txt:
26584         * docs/gst/tmpl/gstpad.sgml:
26585           document more pad stuff
26586         * gst/gstminiobject.c: (gst_mini_object_ref),
26587         (gst_mini_object_unref):
26588           debug refcounting
26589
26590 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26591
26592         * docs/gst/tmpl/gst.sgml:
26593         * gst/gst.c:
26594           eliminate another tmpl file, fix spelling in the long-description
26595
26596 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26597
26598         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26599         (test_event), (timediff), (gstevents_suite):
26600           Should fix build on 64-bit arch's
26601
26602 2005-08-18  Andy Wingo  <wingo@pobox.com>
26603
26604         Make sure that when a pipeline goes to PLAYING, that data has
26605         actually hit the sink.
26606
26607         * check/states/sinks.c (test_sink): A sink that doesn't get any
26608         data shouldn't return SUCCESS for going to either PLAYING or
26609         PAUSED. Test also the return values on the way back down.
26610
26611         * gst/gstelement.c (gst_element_set_state): When changing the
26612         state of an element currently changing state asynchronously, go to
26613         lost-state after commiting the pending state. Makes future calls
26614         to get_state continue to return ASYNC.
26615
26616         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26617         ASYNC when going to PLAYING if we still don't have preroll, as can
26618         happen with live sources.
26619
26620 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26621
26622         * docs/pwg/advanced-types.xml:
26623           Hack long paragraph into 2 chunks as a workaround for buggy
26624           jadetex version in sid and breezy that loops infinitely and
26625           eats all RAM.
26626
26627 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26628
26629         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26630         (test_event), (timediff), (gstevents_suite):
26631           Provide more error margin in clock measurements to allow for 
26632           g_get_current_time inaccuracies.
26633
26634 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26635
26636         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26637         (test_event), (timediff), (gstevents_suite):
26638            Fix error message output so I might be able to tell why the
26639            test works here but fails on the build farm.
26640
26641 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26642
26643         * check/Makefile.am:
26644         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26645         (test_event), (timediff), (gstevents_suite), (main):
26646           I wrote a test!
26647
26648         * docs/design/part-seeking.txt:
26649           Spelling correction
26650
26651         * docs/gst/tmpl/gstevent.sgml:
26652         * docs/gst/tmpl/gstfakesrc.sgml:
26653           Docs updates.
26654
26655         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26656           Treat a buffer-without-newsegment the same as a receiving 
26657           a newsegment not in time format, and disable syncing to the clock
26658           with a warning.
26659
26660         * gst/gstbus.c: (gst_bus_set_sync_handler):
26661           Assert if anyone tries to replace the existing sync_handler for bus, 
26662           as only the owner should be setting it.
26663
26664         * gst/gstevent.h:
26665           Have a fixed set of custom event enums with events identified by
26666           their structure name (as in 0.8), rather than a free-for-all
26667           allowing collisions between enum values from different plugins.
26668
26669         * gst/gstpad.c: (gst_pad_class_init):
26670           Docs change.
26671           
26672         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26673           Handle out-of-band downstream events from the sending thread.
26674
26675 2005-08-17  Andy Wingo  <wingo@pobox.com>
26676
26677         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26678         play-timeout==0 to mean no timeout at all. In that case, don't
26679         bother with a get_state or a warning, just return directly, even
26680         if it's ASYNC.
26681
26682         * gst/base/gstbasetransform.c: Debug changes.
26683
26684         * gst/gstutils.h:
26685         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26686         ensure bins post state change messages. A bit of a hack but I can't
26687         think of a way to avoid it.
26688
26689         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26690
26691 2005-08-16  Andy Wingo  <wingo@pobox.com>
26692
26693         * gst/base/gstadapter.h:
26694         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26695         peek() but you own the data. Not terribly efficient atm.
26696
26697 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26698
26699         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26700         (gst_element_found_tags):
26701         * gst/gstutils.h:
26702           Add two utility functions for tag handling.
26703
26704 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26705
26706         * docs/manual/advanced-dataaccess.xml:
26707         * docs/manual/basics-helloworld.xml:
26708           Fix docs to use _bin_add() before _link(), which fixes the examples
26709           with recent core versions (reported by Madhan Raj M
26710           <raj_madan@rediffmail.com>, #313199).
26711
26712 2005-08-16  Wim Taymans  <wim@fluendo.com>
26713
26714         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26715         Added subtract checks.
26716
26717         * docs/design/part-events.txt:
26718         Some more docs about newsegment
26719
26720         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26721         Fix FIXME
26722
26723         * gst/gstcaps.c: (gst_caps_to_string):
26724         Add comments, cleanups.
26725         
26726         * gst/gstelement.c: (gst_element_save_thyself):
26727         cleanups
26728         
26729         * gst/gstvalue.c: (gst_value_collect_int_range),
26730         (gst_string_unwrap), (gst_value_union_int_int_range),
26731         (gst_value_union_int_range_int_range),
26732         (gst_value_intersect_int_int_range),
26733         (gst_value_intersect_int_range_int_range),
26734         (gst_value_intersect_double_double_range),
26735         (gst_value_intersect_double_range_double_range),
26736         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26737         (gst_value_subtract_int_range_int),
26738         (gst_value_subtract_double_range_double),
26739         (gst_value_subtract_double_range_double_range),
26740         (gst_value_subtract_from_list), (gst_value_subtract_list),
26741         (gst_value_can_compare), (gst_value_compare_fraction):
26742         Cleanups, add comments, remove unneeded asserts.
26743
26744 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26745
26746         * tools/gst-launch.c: (event_loop):
26747           don't convert NULL structures to strings
26748
26749 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26750
26751         * docs/gst/gstreamer-sections.txt:
26752           made some defines private
26753         * docs/gst/tmpl/gstconfig.sgml:
26754         * docs/gst/tmpl/gstqueue.sgml:
26755         * docs/gst/tmpl/gsttaglist.sgml:
26756         * docs/gst/tmpl/gsttypes.sgml:
26757         * docs/gst/tmpl/gstutils.sgml:
26758         * docs/pwg/appendix-porting.xml:
26759         * gst/base/gstbasesink.h:
26760         * gst/base/gstbasesrc.c:
26761         * gst/base/gstbasesrc.h:
26762         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26763         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26764         * gst/gstelement.c: (gst_element_class_init):
26765         * gst/gstpad.c: (gst_pad_class_init):
26766         * gst/gstqueue.c: (gst_queue_class_init):
26767         * gst/gstxml.c: (gst_xml_class_init):
26768           documented all undocumented signal inline
26769         * libs/gst/controller/gst-controller.h:
26770           added padding
26771
26772 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26773
26774         * docs/pwg/appendix-porting.xml:
26775           Document _set_link_function -> _set_setcaps_function.
26776
26777 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26778
26779         * check/Makefile.am:
26780           add a .check target for running the check
26781         * check/gst-libs/controller.c: (GST_START_TEST):
26782           cosmetic fixups
26783         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26784           complete checks for gstbuffer; would be nice if I could get the
26785           gcov stuff to work so I can see if I actually completed gstbuffer.c
26786         * check/gstcheck.h:
26787           add ASSERT_BUFFER_REFCOUNT
26788
26789 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26790
26791         * docs/gst/gstreamer-sections.txt:
26792         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26793         * gst/gsttag.h:
26794           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26795           spew out a warning if a tag that is already registered
26796           is re-registered, unless it is re-registered with a 
26797           different type (#308438).
26798
26799 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26800
26801         * docs/pwg/appendix-porting.xml:
26802         * docs/pwg/building-state.xml:
26803           Add some paragraphs about state changes in 0.9 to the PWG
26804           and the porting guide, in particular about the new meaning
26805           of GST_STATE_PAUSED and how to write state change functions
26806           with concurrent access by multiple threads in mind.
26807
26808 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26809
26810         * docs/gst/gstreamer-docs.sgml:
26811         * docs/libs/gstreamer-libs-docs.sgml:
26812           added deprecation and since indexes
26813         * libs/gst/controller/gst-controller.c:
26814         * libs/gst/controller/gst-helper.c:
26815           added since tags
26816
26817
26818 2005-08-11  Wim Taymans  <wim@fluendo.com>
26819
26820         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26821         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26822         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26823         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26824         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26825         (gst_ghost_pad_set_target):
26826         Actually implement (re)setting the target on a ghostpad
26827         as described in the docs.
26828
26829 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26830
26831         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26832           Check whether GST_DEBUG_NO_COLOR environment variable is
26833           set and disable coloured debug output if that is the case.
26834
26835 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26836
26837         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26838         (gst_type_find_helper):
26839           The memory returned by gst_type_find_peek() needs to
26840           stay valid until the end of a typefind function, and
26841           typefind functions may keep results from different 
26842           offsets around, so we can't just unref the buffer from
26843           the previous _peek(), but have to save all buffers 
26844           returned by _peek() until typefinding is done and only
26845           free them then.
26846
26847 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26848
26849         * docs/gst/gstreamer-sections.txt:
26850         * gst/gstutils.h:
26851           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26852
26853 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26854
26855         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26856           Fix a pretty good memleak.
26857
26858 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26859
26860         * gst/gstiterator.h:
26861           Fix wrong include and 'make distcheck'.
26862
26863 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26864
26865         * gst/gstbin.c: (bin_bus_handler):
26866           Use gst_element_post_message() instead.
26867
26868 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26869
26870         * gst/base/gstadapter.h:
26871         * gst/base/gstbasesink.h:
26872         * gst/base/gstbasesrc.h:
26873         * gst/base/gstbasetransform.h:
26874         * gst/base/gstcollectpads.h:
26875         * gst/base/gstpushsrc.h:
26876         * gst/gstiterator.h:
26877           Add padding to our base elements' class and instance structs and
26878           to GstIterator (you will need to rebuild all plugins and apps!)
26879
26880 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26881
26882         * gst/gstbin.c: (bin_bus_handler):
26883           Make default message forwarding from child->bus to bin->bus
26884           threadsafe and make it not emit warnings if the parent has no bus.
26885
26886 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26887
26888         * gst/gstelement.c: (activate_pads):
26889           On paused->ready, set pad->caps to NULL, as is the documented
26890           behaviour in this state change. Fixes playback of series of
26891           media files when visualization is enabled in Totem.
26892
26893 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26894
26895         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26896           Allow NULL as filter-caps (which means "any").
26897
26898 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26899
26900         * docs/libs/gstreamer-libs-sections.txt:
26901         * libs/gst/controller/gst-controller.c:
26902         * libs/gst/controller/gst-controller.h:
26903         * libs/gst/controller/gst-helper.c:
26904           adding more entries to the docs and fix small doc-bugs
26905
26906 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26907
26908         * docs/gst/gstreamer-docs.sgml:
26909         * docs/gst/gstreamer-sections.txt:
26910         * docs/gst/gstreamer.types:
26911         * docs/gst/tmpl/gstbasesink.sgml:
26912         * docs/gst/tmpl/gstbasesrc.sgml:
26913         * docs/gst/tmpl/gstbasetransform.sgml:
26914         * docs/gst/tmpl/gstfakesrc.sgml:
26915         * gst/base/gstcollectpads.c:
26916         * gst/base/gstcollectpads.h:
26917         * libs/gst/controller/gst-controller.c:
26918         * libs/gst/controller/gst-controller.h:
26919         * libs/gst/controller/gst-helper.c:
26920         * libs/gst/controller/gst-interpolation.c:
26921         * libs/gst/controller/lib.c:
26922           added long/short desc for controller docs
26923           added collectpads base class docs
26924           added correct includes to base-class docs
26925
26926 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26927
26928         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26929         (gst_test_mono_source_set_property),
26930         (gst_test_mono_source_class_init), (GST_START_TEST),
26931         (gst_controller_suite):
26932         * docs/gst/gstreamer-docs.sgml:
26933         * docs/gst/gstreamer-sections.txt:
26934         * docs/gst/gstreamer.types:
26935         * docs/libs/gstreamer-libs-docs.sgml:
26936         * docs/libs/gstreamer-libs-sections.txt:
26937         * gst/base/gstadapter.c:
26938         * libs/gst/controller/gst-controller.c:
26939         (gst_controlled_property_new), (gst_controlled_property_free),
26940         (gst_controller_new_valist),
26941         (gst_controller_remove_properties_valist),
26942         (gst_controller_sink_values), (_gst_controller_finalize):
26943         * libs/gst/controller/gst-controller.h:
26944         * libs/gst/controller/gst-helper.c:
26945         (gst_object_control_properties), (gst_object_uncontrol_properties),
26946         (gst_object_get_controller), (gst_object_set_controller),
26947         (gst_object_sink_values), (gst_object_get_value_arrays),
26948         (gst_object_get_value_array):
26949           more tests (and fixes) for the controller
26950           more docs for the controller
26951           integrated companies docs for the adapter 
26952
26953 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
26954
26955         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26956         (GST_START_TEST), (fakesrc_suite):
26957           add tests for sizetype
26958
26959 2005-08-04  Andy Wingo  <wingo@pobox.com>
26960
26961         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26962         fixes buffer_alloc proxying among other things.
26963
26964         * gst/base/gstbasetransform.c:
26965         * gst/base/gstbasetransform.h:
26966         Revert patch to gstbasetransform from 7-28 removing
26967         delay_configure.
26968
26969         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26970         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26971         Semantics changed, should return not the size of the output buffer
26972         but the byte size of a buffer with a given caps.
26973
26974         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26975         debug object.
26976         (gst_base_transform_configure_caps): Don't set out_size here: (in,
26977         out) are not the pad caps until setcaps finishes.
26978         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26979         not-in-place case as well. Deal with changing from in-place to
26980         not-in-place within calling pad_alloc_buffer. Still a bit
26981         concerned about the overhead here...
26982
26983 2005-08-03  Andy Wingo  <wingo@pobox.com>
26984
26985         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26986         fixating is an error.
26987
26988 2005-08-04  Edward Hervey  <edward@fluendo.com>
26989
26990         * gst/base/gstadapter.h: 
26991         Added gst_adapter_get_type() to the header
26992
26993 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26994
26995         * check/Makefile.am:
26996         * check/gst-libs/controller.c:
26997         * libs/gst/controller/gst-controller.c:
26998         (gst_controller_new_valist):
26999           added check test suite for the controller
27000         * gst/base/gstpushsrc.c:
27001           fixed a doc typo
27002
27003 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27004
27005         * docs/gst/Makefile.am:
27006         * docs/gst/gstreamer-docs.sgml:
27007         * docs/gst/gstreamer-sections.txt:
27008         * docs/gst/gstreamer.types:
27009         * docs/gst/tmpl/gstfakesrc.sgml:
27010         * gst/base/README:
27011         * gst/base/gstbasesink.c:
27012         * gst/base/gstbasesink.h:
27013         * gst/base/gstbasesrc.c:
27014         * gst/base/gstbasesrc.h:
27015         * gst/base/gstbasetransform.c:
27016         * gst/base/gstpushsrc.c:
27017         * gst/base/gstpushsrc.h:
27018           add short/long description docs to base classes
27019           add pushsrc to the docs
27020           remove consolidated doc fragments
27021
27022 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27023
27024         * configure.ac:
27025         * docs/libs/Makefile.am:
27026         * docs/libs/gstreamer-libs-docs.sgml:
27027         * docs/libs/gstreamer-libs-sections.txt:
27028         * docs/libs/gstreamer-libs.types:
27029         * examples/Makefile.am:
27030         * examples/controller/.cvsignore:
27031         * examples/controller/Makefile.am:
27032         * examples/controller/audio-example.c: (main):
27033         * libs/gst/Makefile.am:
27034         * libs/gst/controller/.cvsignore:
27035         * libs/gst/controller/Makefile.am:
27036         * libs/gst/controller/gst-controller.c:
27037         (on_object_controlled_property_changed), (gst_timed_value_compare),
27038         (gst_timed_value_find),
27039         (gst_controlled_property_set_interpolation_mode),
27040         (gst_controlled_property_new), (gst_controlled_property_free),
27041         (gst_controller_find_controlled_property),
27042         (gst_controller_new_valist), (gst_controller_new),
27043         (gst_controller_remove_properties_valist),
27044         (gst_controller_remove_properties), (gst_controller_set),
27045         (gst_controller_set_from_list), (gst_controller_unset),
27046         (gst_controller_get), (gst_controller_get_all),
27047         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27048         (gst_controller_get_value_array),
27049         (gst_controller_set_interpolation_mode),
27050         (_gst_controller_finalize), (_gst_controller_init),
27051         (_gst_controller_class_init), (gst_controller_get_type):
27052         * libs/gst/controller/gst-controller.h:
27053         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27054         (g_object_uncontrol_properties), (g_object_get_controller),
27055         (g_object_set_controller), (g_object_sink_values),
27056         (g_object_get_value_arrays), (g_object_get_value_array):
27057         * libs/gst/controller/gst-interpolation.c:
27058         (gst_controlled_property_find_timed_value_node),
27059         (interpolate_none_get), (interpolate_trigger_get),
27060         (interpolate_trigger_get_value_array):
27061         * libs/gst/controller/lib.c: (gst_controller_init):
27062         * pkgconfig/Makefile.am:
27063         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27064         * pkgconfig/gstreamer-control.pc.in:
27065         * testsuite/Makefile.am:
27066         * testsuite/controller/.cvsignore:
27067         * testsuite/controller/Makefile.am:
27068         * testsuite/controller/interpolator.c: (main):
27069           added controller code
27070           removed dparam pc files
27071
27072 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27073         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27074         (gst_collectpads_stop):
27075           Broadcast the condition when shutting down, to make sure we wake all
27076           threads up. Shut down pads on finalize, for safety.
27077
27078 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27079         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27080         (gst_base_transform_handle_buffer),
27081         (gst_base_transform_change_state):
27082           Handle PAUSED->READY->PAUSED transition after negotiation
27083           occurred already.
27084         * gst/gstmessage.c: (gst_message_init):
27085           Extra piece of debug for new messages.
27086
27087 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27088
27089         * configure.ac:
27090         * docs/gst/tmpl/gstbasesrc.sgml:
27091         * docs/gst/tmpl/gstelement.sgml:
27092         * docs/gst/tmpl/gstevent.sgml:
27093         * docs/gst/tmpl/gstfakesrc.sgml:
27094         * docs/gst/tmpl/gstformat.sgml:
27095         * docs/gst/tmpl/gstghostpad.sgml:
27096         * docs/gst/tmpl/gstpad.sgml:
27097         * docs/gst/tmpl/gstquery.sgml:
27098         * docs/gst/tmpl/gststructure.sgml:
27099         * docs/gst/tmpl/gsttaglist.sgml:
27100         * docs/gst/tmpl/gstvalue.sgml:
27101         * docs/libs/gstreamer-libs-docs.sgml:
27102         * docs/libs/gstreamer-libs-sections.txt:
27103         * docs/libs/gstreamer-libs.types:
27104         * libs/gst/Makefile.am:
27105         * libs/gst/control/.cvsignore:
27106         * libs/gst/control/Makefile.am:
27107         * libs/gst/control/control.c:
27108         * libs/gst/control/control.h:
27109         * libs/gst/control/dparam.c:
27110         * libs/gst/control/dparam.h:
27111         * libs/gst/control/dparam_smooth.c:
27112         * libs/gst/control/dparam_smooth.h:
27113         * libs/gst/control/dparamcommon.h:
27114         * libs/gst/control/dparammanager.c:
27115         * libs/gst/control/dparammanager.h:
27116         * libs/gst/control/dplinearinterp.c:
27117         * libs/gst/control/dplinearinterp.h:
27118         * libs/gst/control/unitconvert.c:
27119         * libs/gst/control/unitconvert.h:
27120         * testsuite/Makefile.am:
27121         * testsuite/dynparams/.cvsignore:
27122         * testsuite/dynparams/Makefile.am:
27123         * testsuite/dynparams/dparamstest.c:
27124         * tools/Makefile.am:
27125         * tools/gst-inspect.c: (print_element_info), (main):
27126         * tools/gst-xmlinspect.c: (print_element_info), (main):
27127           deactivate and remove dparams (libgstcontrol)
27128
27129 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27130
27131         * gst/elements/gsttypefindelement.c:
27132         (gst_type_find_element_have_type), (gst_type_find_element_init),
27133         (stop_typefinding), (gst_type_find_element_handle_event),
27134         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27135         * gst/elements/gsttypefindelement.h:
27136           Set caps on all outgoing buffers, not just the first one.
27137
27138 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27139
27140         * gst/elements/gsttypefindelement.c:
27141         (gst_type_find_element_have_type),
27142         (gst_type_find_element_check_set_buffer_caps),
27143         (gst_type_find_element_init), (stop_typefinding),
27144         (gst_type_find_element_handle_event),
27145         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27146         * gst/elements/gsttypefindelement.h:
27147           Set caps on first outgoing buffer when we've found the type.
27148
27149 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27150
27151         * docs/gst/gstreamer-docs.sgml:
27152         * docs/gst/gstreamer-sections.txt:
27153         * docs/gst/tmpl/gstscheduler.sgml:
27154         * docs/gst/tmpl/gstschedulerfactory.sgml:
27155           Remove some old cruft from docs.
27156
27157 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27158
27159         * gst/gstpad.h:
27160           Fix inline docs for GstPadLinkReturn.
27161           
27162         * gst/gststructure.c: (gst_structure_has_name):
27163         * gst/gststructure.h:
27164         * docs/gst/gstreamer-sections.txt:
27165           New API: gst_structure_has_name().
27166
27167 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27168
27169         * configure.ac:
27170           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27171           and _LARGEFILE_SOURCE in config.h as required. Do not 
27172           export those flags in our .pc files any longer (#142209).
27173
27174           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27175
27176         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27177         (gst_file_sink_do_seek), (gst_file_sink_event),
27178         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27179           Redo seek/tell calls with large file support in mind; add some
27180           debugging messages; add log message that tells us when large
27181           file support is unavailable or not enabled for some reason.
27182
27183         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27184           Add log message that tells us when large file support 
27185           is unavailable or not enabled for some reason.
27186
27187 2005-07-29  Wim Taymans  <wim@fluendo.com>
27188
27189         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27190         Added test for removing an element with ghostpad from a bin.
27191         Fixed test as current implementation does the right thing.
27192
27193         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27194         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27195         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27196         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27197         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27198         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27199         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27200         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27201         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27202         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27203         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27204         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27205         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27206         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27207         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27208         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27209         * gst/gstghostpad.h:
27210         Clean up ghostpads, remove properties for internal stuff.
27211         Make threadsafe.
27212         Fix refcounting.
27213         Prepare for switching targets, not all use cases work yet.
27214
27215 2005-07-29  Wim Taymans  <wim@fluendo.com>
27216
27217         * docs/design/part-gstghostpad.txt:
27218         Small update.
27219
27220         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27221         (gst_bin_remove_func):
27222         Unlinking pads while holding the bin LOCK is not a good
27223         idea.
27224
27225         * gst/gstpad.c: (gst_pad_class_init),
27226         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27227         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27228         No prob setting template after creating the pad.
27229
27230 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27231
27232         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27233         (gst_bus_peek), (gst_bus_source_dispatch),
27234         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27235         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27236           gst_bus_poll may be called from other threads. Handle
27237           this nicely by not making poll_data disappear off the
27238           stack once gst_bus_poll returns.
27239           gst_bus_peek now increments the refcount on the returned
27240           message.
27241
27242 2005-07-29  Wim Taymans  <wim@fluendo.com>
27243
27244         * docs/design/part-gstghostpad.txt:
27245         Overview of current GhostPad datastructures and use
27246         cases for changing the target.
27247
27248 2005-07-28  Wim Taymans  <wim@fluendo.com>
27249
27250         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27251         Added checks for hierarchy consistency whan adding linked
27252         elements to bins.
27253
27254         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27255         Added check to test element scheduling without bin/pipeline.
27256
27257         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27258         First add elements to bin, then link.
27259         
27260         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27261         (gst_bin_remove_func):
27262         Unlink pads from elements added/removed from bin to maintain
27263         hierarchy consistency.
27264
27265 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27266
27267         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27268         (gst_base_transform_handle_buffer):
27269         * gst/base/gstbasetransform.h:
27270           Remove broken delay_configure (fixes renegotiation of software
27271           scaling pipelines); remove some leftover printf()s.
27272
27273 2005-07-28  Wim Taymans  <wim@fluendo.com>
27274
27275         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27276         Added some more tests for wrong hierarchy
27277
27278         * docs/design/part-overview.txt:
27279         Some updates.
27280
27281         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27282         Cleanups.
27283
27284         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27285         (gst_element_dispose):
27286         Some more cleanups.
27287
27288         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27289         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27290         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27291         (gst_pad_set_caps), (gst_pad_send_event):
27292         Check for correct hierarchy when linking pads. Moving to
27293         strict requirement for ghostpads when linking elements in
27294         different bins.
27295
27296         * gst/gstpad.h:
27297         Clean ups. Added WRONG_HIERARCHY return value.
27298
27299 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27300
27301         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27302           Better debug if no transform is possible.
27303
27304 2005-07-27  Wim Taymans  <wim@fluendo.com>
27305
27306         * docs/random/wtay/network-transp:
27307         Some old doc I had.
27308
27309 2005-07-27  Wim Taymans  <wim@fluendo.com>
27310
27311         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27312         (gst_dp_event_from_packet):
27313         Fix serialization of seek events.
27314
27315 2005-07-27  Wim Taymans  <wim@fluendo.com>
27316
27317         * check/gst-libs/gdp.c: (GST_START_TEST):
27318         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27319         Fix compilation and fix event serialization.
27320
27321 2005-07-27  Wim Taymans  <wim@fluendo.com>
27322
27323         * CHANGES-0.9:
27324         * docs/design/part-TODO.txt:
27325         * docs/design/part-events.txt:
27326         Some docs updates
27327
27328         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27329         (gst_base_sink_event), (gst_base_sink_do_sync),
27330         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27331         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27332         (gst_base_src_do_seek), (gst_base_src_event_handler),
27333         (gst_base_src_loop):
27334         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27335         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27336         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27337         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27338         (gst_base_transform_set_passthrough),
27339         (gst_base_transform_is_passthrough):
27340         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27341         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27342         Event updates.
27343
27344         * gst/gstbuffer.h:
27345         Use faster casts.
27346
27347         * gst/gstelement.c: (gst_element_seek):
27348         * gst/gstelement.h:
27349         Update gst_element_seek.
27350
27351         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27352         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27353         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27354         (gst_event_new_eos), (gst_event_new_newsegment),
27355         (gst_event_parse_newsegment), (gst_event_new_tag),
27356         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27357         (gst_event_parse_qos), (gst_event_new_seek),
27358         (gst_event_parse_seek), (gst_event_new_navigation):
27359         * gst/gstevent.h:
27360         Make GstEvent use GstStructure. Add parsing code, make sure the
27361         API is sufficiently generic.
27362         Mark possible directions of events and serialization.
27363
27364         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27365         (_gst_message_copy), (gst_message_new_segment_start),
27366         (gst_message_new_segment_done), (gst_message_new_custom),
27367         (gst_message_parse_segment_start),
27368         (gst_message_parse_segment_done):
27369         Small cleanups.
27370
27371         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27372         (gst_pad_set_caps), (gst_pad_send_event):
27373         Update for new events. 
27374         Catch events sent in wrong directions.
27375
27376         * gst/gstqueue.c: (gst_queue_link_src),
27377         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27378         (gst_queue_handle_src_query):
27379         Event updates.
27380
27381         * gst/gsttag.c:
27382         * gst/gsttag.h:
27383         Remove event code from this file.
27384
27385         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27386         (gst_dp_event_from_packet):
27387         Event updates.
27388
27389 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27390
27391         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27392         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27393         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27394           Make debugging actually useful.
27395
27396 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27397
27398         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27399         (gst_pad_fixate_caps):
27400           Implement default fixation once again, so that gst_pad_fixate()
27401           actually does anything at all. This probably needs to be some
27402           sort of a last resort, and use profile-based fixation first, but
27403           since that doesn't exist yet, this is the best we have. Fixes
27404           visualization in Totem.
27405
27406 2005-07-22  Wim Taymans  <wim@fluendo.com>
27407
27408         * docs/design/part-events.txt:
27409         Small update.
27410
27411         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27412         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27413         (gst_base_sink_activate_pull):
27414         Some more comments.
27415
27416         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27417         (gst_fake_src_create):
27418         Fix handoff marshall.
27419
27420         * gst/elements/gstidentity.c: (gst_identity_class_init),
27421         (gst_identity_transform_ip):
27422         We're a real inplace element.
27423
27424         * gst/gstbus.c: (gst_bus_post):
27425         Added some comments.
27426
27427         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27428         * tests/muxing/case1.c: (main):
27429         * tests/sched/dynamic-pipeline.c: (main):
27430         * tests/sched/interrupt1.c: (main):
27431         * tests/sched/interrupt2.c: (main):
27432         * tests/sched/interrupt3.c: (main):
27433         * tests/sched/runxml.c: (main):
27434         * tests/sched/sched-stress.c: (main):
27435         * tests/seeking/seeking1.c: (event_received), (main):
27436         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27437         (main):
27438         * tests/threadstate/threadstate3.c: (main):
27439         * tests/threadstate/threadstate4.c: (main):
27440         * tests/threadstate/threadstate5.c: (main):
27441         Fix the tests.
27442
27443 2005-07-21  Wim Taymans  <wim@fluendo.com>
27444
27445         * docs/design/part-seeking.txt:
27446         Some small additions.
27447
27448         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27449         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27450         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27451         * gst/base/gstbasesink.h:
27452         discont values are gint64, handle the math correctly.
27453
27454         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27455         Make the basesrc report error if the source pad is not linked.
27456
27457         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27458         (gst_queue_loop), (gst_queue_handle_src_query),
27459         (gst_queue_src_activate_push):
27460         Make queue collect data even if the srcpad is not linked.
27461         Start pushing out data as soon as it is linked.
27462
27463         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27464         * gst/gstutils.h:
27465         Added gst_flow_get_name() to ease error reporting.
27466
27467 2005-07-20  Wim Taymans  <wim@fluendo.com>
27468
27469         * gst/gstmessage.c: (gst_message_new_segment_start),
27470         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27471         (gst_message_parse_segment_done):
27472         * gst/gstmessage.h:
27473         Added a bunch of messages for advanced seeking.
27474
27475         * gst/parse/grammar.y:
27476         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27477         (gst_dpman_state_changed):
27478         Fix some new-pad -> pad-added signals
27479
27480 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27481
27482         * docs/manual/appendix-porting.xml:
27483         * docs/pwg/appendix-porting.xml:
27484           Document new-pad/state-change signal renames and the FixedList
27485           type rename.
27486
27487 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27488
27489         * docs/manual/advanced-autoplugging.xml:
27490         * docs/manual/basics-helloworld.xml:
27491         * docs/manual/basics-pads.xml:
27492         * docs/random/ds/0.9-suggested-changes:
27493         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27494         * gst/gstelement.h:
27495         * gst/gstevent.h:
27496         * gst/gstformat.h:
27497         * gst/gstquery.h:
27498         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27499         (gst_structure_parse_array), (gst_structure_parse_value):
27500         * gst/gstvalue.c: (gst_type_is_fixed),
27501         (gst_value_list_prepend_value), (gst_value_list_append_value),
27502         (gst_value_list_get_size), (gst_value_list_get_value),
27503         (gst_value_transform_array_string), (gst_value_serialize_array),
27504         (gst_value_deserialize_array), (gst_value_intersect_array),
27505         (gst_value_is_fixed), (_gst_value_initialize):
27506         * gst/gstvalue.h:
27507           GstElement::new-pad -> pad-added, GstElement::state-change ->
27508           state-changed, GstValueFixedList -> GstValueArray, add format and
27509           flags as their own arguments in gst_element_seek() (should improve
27510           "bindeability"), remove function generators since they don't work
27511           under a whole bunch of compilers (they were deprecated already
27512           anyway).
27513
27514 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27515
27516         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27517         (_gst_debug_register_funcptr):
27518         * gst/gstinfo.h:
27519           Fix illegal cast on some platforms (#309253).
27520
27521 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27522
27523         * gst/gstmessage.c: (gst_message_new_custom):
27524         * gst/gstmessage.h:
27525           Add _new_custom, make _new_application a macro to _new_custom.
27526
27527 2005-07-20  Wim Taymans  <wim@fluendo.com>
27528
27529         * gst/base/gstbasesrc.c: (gst_base_src_init),
27530         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27531         * gst/base/gstbasesrc.h:
27532         Add a gboolean to decide when to push out a discont.
27533
27534         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27535         (gst_queue_loop), (gst_queue_handle_src_query),
27536         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27537         (gst_queue_set_property), (gst_queue_get_property):
27538         Some cleanups.
27539
27540         * tests/threadstate/threadstate1.c: (main):
27541         Make a thread test compile and run... very silly..
27542
27543
27544 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27545
27546         * docs/manual/appendix-porting.xml:
27547           Mention removal of libgstgconf-0.9.la and existence of gconf
27548           elements.
27549
27550 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27551
27552         * docs/pwg/advanced-clock.xml:
27553         * docs/pwg/appendix-porting.xml:
27554         * docs/pwg/intro-preface.xml:
27555         * docs/pwg/other-base.xml:
27556         * docs/pwg/other-manager.xml:
27557         * docs/pwg/other-nton.xml:
27558         * docs/pwg/other-ntoone.xml:
27559         * docs/pwg/other-oneton.xml:
27560         * docs/pwg/pwg.xml:
27561           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27562           demuxer), remove n-to-n (was never written), fix some code examples
27563           and links and update the porting section to include all this.
27564
27565 2005-07-19  Wim Taymans  <wim@fluendo.com>
27566
27567         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27568         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27569         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27570         (gst_queue_src_activate_push), (gst_queue_change_state),
27571         (gst_queue_get_property):
27572         * gst/gstqueue.h:
27573         Propagate GstFlowReturn more intelligently upstream and output
27574         an ERROR/EOS when streaming stopped due to fatal error.
27575
27576 2005-07-19  Wim Taymans  <wim@fluendo.com>
27577
27578         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27579         Don't block forever for the state change to complete, the
27580         pipeline already did with a sensible timeout.
27581
27582 2005-07-19  Wim Taymans  <wim@fluendo.com>
27583
27584         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27585         Make sure we never call the create function is we
27586         got deactivated.
27587
27588 2005-07-19  Andy Wingo  <wingo@pobox.com>
27589
27590         * gst/parse/parse.l: Attempt to solve bug #172815.
27591
27592 2005-07-19  Wim Taymans  <wim@fluendo.com>
27593
27594         * docs/design/part-clocks.txt:
27595         * docs/design/part-events.txt:
27596         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27597         Small docs updates.
27598         Only update the seeking values when we are not
27599         busy streaming.
27600
27601 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27602
27603         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27604           Oops, ignore the result of gst_pad_push_event here.
27605
27606 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27607
27608         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27609         (gst_base_src_activate_push):
27610           Send discont event from the loop function, as pads
27611           aren't activated yet in the activate_push handler.
27612
27613         * gst/gstbin.c: (bin_bus_handler):
27614           Don't leak element name.
27615
27616 2005-07-18  Andy Wingo  <wingo@pobox.com>
27617
27618         * configure.ac: Use AS_LIBTOOL_TAGS.
27619
27620 2005-07-18  Wim Taymans  <wim@fluendo.com>
27621
27622         * docs/gst/gstreamer.types:
27623         Remove deleted types.
27624
27625 2005-07-18  Wim Taymans  <wim@fluendo.com>
27626
27627         * check/elements/gstfakesrc.c: (GST_START_TEST):
27628         * configure.ac:
27629         * gst/Makefile.am:
27630         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27631         (init_popt_callback):
27632         * gst/gst.h:
27633         * gst/gst_private.h:
27634         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27635         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27636         * gst/gstbin.h:
27637         * gst/gstbus.h:
27638         * gst/gstconfig.h.in:
27639         * gst/gstelement.c: (gst_element_class_init),
27640         (gst_element_set_base_time), (gst_element_get_base_time),
27641         (iterator_fold_with_resync), (gst_element_change_state),
27642         (gst_element_dispose), (gst_element_get_bus):
27643         * gst/gstelement.h:
27644         * gst/gstelementfactory.h:
27645         * gst/gsterror.c: (_gst_core_errors_init):
27646         * gst/gsterror.h:
27647         * gst/gstevent.h:
27648         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27649         * gst/gstindex.c:
27650         * gst/gstinfo.c: (_gst_debug_init):
27651         * gst/gstmessage.c: (_gst_message_copy):
27652         * gst/gstmessage.h:
27653         * gst/gstminiobject.h:
27654         * gst/gstobject.c:
27655         * gst/gstobject.h:
27656         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27657         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27658         * gst/gstpad.h:
27659         * gst/gstparse.h:
27660         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27661         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27662         (gst_pipeline_get_last_stream_time):
27663         * gst/gstpipeline.h:
27664         * gst/gstpluginfeature.h:
27665         * gst/gstquery.h:
27666         * gst/gstscheduler.c:
27667         * gst/gstscheduler.h:
27668         * gst/gststructure.h:
27669         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27670         (gst_task_finalize), (gst_task_func), (gst_task_create),
27671         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27672         (gst_task_stop), (gst_task_pause):
27673         * gst/gsttask.h:
27674         * gst/gsttypefind.h:
27675         * gst/gsttypes.h:
27676         * gst/registries/gstlibxmlregistry.c: (load_feature),
27677         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27678         * gst/registries/gstxmlregistry.c:
27679         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27680         * gst/schedulers/threadscheduler.c:
27681         * libs/gst/control/dparammanager.h:
27682         * tools/gst-inspect.c: (print_element_list),
27683         (print_plugin_features), (print_element_features):
27684         * tools/gst-xmlinspect.c: (print_element_list),
27685         (print_plugin_info), (main):
27686         Removed plugable schedulers.
27687         Removed Scheduler/Manager from elements.
27688         Removed gsttypes.h, rearranged includes.
27689         Removed dependency pad<->element, element<>pipeline, and
27690         various others,  fix includes.
27691         implement gst_pad_get_parent() with gst_object_get_parent()
27692         Make GstTask sefcontained.
27693         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27694         timeout.
27695         Fix endless loop in iterator_fold_with_resync.
27696
27697
27698 2005-07-18  Wim Taymans  <wim@fluendo.com>
27699
27700         * gst/Makefile.am:
27701         * gst/gstarch.h:
27702         Remove old file.
27703
27704 2005-07-18  Wim Taymans  <wim@fluendo.com>
27705
27706         * gst/Makefile.am:
27707         No more cothreads.h
27708
27709 2005-07-18  Wim Taymans  <wim@fluendo.com>
27710
27711         * gst/cothreads.c:
27712         * gst/cothreads.h:
27713         Let's remove these.
27714
27715 2005-07-18  Wim Taymans  <wim@fluendo.com>
27716
27717         * docs/design/part-dynamic.txt:
27718         * docs/design/part-events.txt:
27719         * docs/design/part-seeking.txt:
27720         Some more docs in the works.
27721
27722         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27723         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27724         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27725         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27726         (gst_base_transform_handle_buffer),
27727         (gst_base_transform_sink_activate_push),
27728         (gst_base_transform_src_activate_pull),
27729         (gst_base_transform_set_passthrough),
27730         (gst_base_transform_is_passthrough):
27731         Refcounting fixes.
27732
27733         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27734         Cleanups.
27735
27736         * gst/gstevent.c: (gst_event_finalize):
27737         Set SRC to NULL.
27738
27739         * gst/gstutils.c: (gst_element_unlink),
27740         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27741         (gst_pad_proxy_setcaps):
27742         * gst/gstutils.h:
27743         Add _get_parent_element() to get a pads parent as an element.
27744
27745 2005-07-18  Wim Taymans  <wim@fluendo.com>
27746
27747         * check/gst/gstbin.c: (GST_START_TEST):
27748         Remove bogus test.
27749
27750 2005-07-18  Wim Taymans  <wim@fluendo.com>
27751
27752         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27753         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27754         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27755         (gst_base_sink_event), (gst_base_sink_do_sync),
27756         (gst_base_sink_chain), (gst_base_sink_loop),
27757         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27758         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27759         Refcounting fixes.
27760         Fix logic for returning ASYNC when not prerolled.
27761
27762 2005-07-18  Wim Taymans  <wim@fluendo.com>
27763
27764         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27765         Fix nasty refcount bug.
27766
27767 2005-07-16 Philippe Khalaf <burger@speedy.org>
27768
27769         * gst/elements/gstfdsrc.c:
27770         * gst/elements/gstfdsrc.h:
27771         * gst/elements/gstelements.c:
27772         * gst/elements/Makefile.am:
27773         Ported fdsrc to 0.9.
27774
27775 2005-07-16  Wim Taymans  <wim@fluendo.com>
27776
27777         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27778         (gst_base_sink_do_sync):
27779         Fix compile error.
27780
27781 2005-07-16  Wim Taymans  <wim@fluendo.com>
27782
27783         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27784         (gst_base_sink_event), (gst_base_sink_get_times),
27785         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27786         * gst/base/gstbasesink.h:
27787         Store and use discont values when syncing buffers as described
27788         in design docs.
27789         
27790         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27791         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27792         (gst_base_src_activate_push):
27793         Push discont event when starting.
27794
27795         * gst/elements/gstidentity.c: (gst_identity_transform):
27796         Small cleanups.
27797
27798         * gst/gstbin.c: (gst_bin_change_state):
27799         Small cleanups in base_time  distribution.
27800
27801         * gst/gstelement.c: (gst_element_set_base_time),
27802         (gst_element_get_base_time), (gst_element_change_state):
27803         * gst/gstelement.h:
27804         Added methods for the base_time of the element.
27805         Some MT fixes.
27806
27807         * gst/gstpipeline.c: (gst_pipeline_send_event),
27808         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27809         (gst_pipeline_get_last_stream_time):
27810         * gst/gstpipeline.h:
27811         MT fixes.
27812         Handle seeking as described in design doc, remove stream_time
27813         hack.
27814         Cleanups clock and stream_time selection code. Added accessors
27815         for the stream_time.
27816         
27817
27818 2005-07-16  Andy Wingo  <wingo@pobox.com>
27819
27820         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27821         (#305291).
27822
27823 2005-07-16  Wim Taymans  <wim@fluendo.com>
27824
27825         * check/gst/gstbin.c: (GST_START_TEST):
27826         Make elements silent as the deep_notify refs the
27827         parent, which might make the test fail.
27828
27829         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27830         Don't hold the lock for too long.
27831
27832 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27833
27834         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27835           Don't unref the caps we passed to gst_caps_make_writable() after
27836           passing them. gst_caps_make_writable() will do that for us.
27837
27838 2005-07-15  Andy Wingo  <wingo@pobox.com>
27839
27840         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27841         (#157311).
27842
27843         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27844         own marshalling function for the handoff signal. Properly type the
27845         buffer as a buffer. Fixes some warnings. Should do a more general
27846         solution.
27847         (gst_identity_class_init): Plug into the right marshaller.
27848
27849 2005-07-15  Wim Taymans  <wim@fluendo.com>
27850
27851         * docs/design/part-TODO.txt:
27852         * docs/design/part-clocks.txt:
27853         * docs/design/part-element-sink.txt:
27854         * docs/design/part-events.txt:
27855         * docs/design/part-gstpipeline.txt:
27856         Updated docs, mostly DISCONT related.
27857
27858 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27859
27860         * docs/pwg/building-pads.xml:
27861           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27862
27863 2005-07-15  Andy Wingo  <wingo@pobox.com>
27864
27865         * tools/gst-typefind.c: Update, add copyright block.
27866
27867         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27868         Normalize and truncate caps before fixation.
27869
27870         * gst/gstcaps.h:
27871         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27872         discards all but the first structure from its argument.
27873
27874 2005-07-15  Wim Taymans  <wim@fluendo.com>
27875
27876         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27877         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27878         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27879         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27880         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27881         (gst_base_transform_chain), (gst_base_transform_change_state),
27882         (gst_base_transform_set_passthrough),
27883         (gst_base_transform_is_passthrough):
27884         * gst/base/gstbasetransform.h:
27885         Make passthrough work using the bufferpools.
27886         Changed API a bit, subclasses have to write into a buffer
27887         provided by the base class.
27888         More debug info in nego functions.
27889         
27890         * gst/elements/gstidentity.c: (gst_identity_init),
27891         (gst_identity_transform):
27892         Port to new base class.
27893
27894 2005-07-15  Wim Taymans  <wim@fluendo.com>
27895
27896         * gst/gstmessage.c: (gst_message_new_state_changed):
27897         * tools/gst-launch.c: (event_loop), (main):
27898         Totally dump messages in -launch with the -m option.
27899         Fix message name for State messages,
27900
27901 2005-07-14  Wim Taymans  <wim@fluendo.com>
27902
27903         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27904         Post error messages on errors.
27905
27906 2005-07-14  Wim Taymans  <wim@fluendo.com>
27907
27908         * gst/gstcaps.c: (gst_caps_do_simplify):
27909         Remove debug info.
27910
27911         * gst/gsterror.h:
27912         Define error for stream stopped.
27913
27914         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27915         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27916         Do proper return values.
27917
27918         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27919         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27920         (gst_pad_get_range):
27921         Better return values.
27922
27923         * gst/gstpad.h:
27924         Reorganise return values, add macro to check for fatal errors.
27925
27926         * gst/gstqueue.c: (gst_queue_chain):
27927         Return proper GstFlowReturn values,
27928
27929 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
27930
27931         * docs/gst/gstreamer-sections.txt:
27932         * docs/gst/gstreamer.types:
27933         * docs/gst/tmpl/gst.sgml:
27934         * docs/gst/tmpl/gstbasesink.sgml:
27935         * docs/gst/tmpl/gstbasesrc.sgml:
27936         * docs/gst/tmpl/gstbasetransform.sgml:
27937         * docs/gst/tmpl/gstbin.sgml:
27938         * docs/gst/tmpl/gstbuffer.sgml:
27939         * docs/gst/tmpl/gstcaps.sgml:
27940         * docs/gst/tmpl/gstclock.sgml:
27941         * docs/gst/tmpl/gstcompat.sgml:
27942         * docs/gst/tmpl/gstconfig.sgml:
27943         * docs/gst/tmpl/gstelement.sgml:
27944         * docs/gst/tmpl/gstelementdetails.sgml:
27945         * docs/gst/tmpl/gstelementfactory.sgml:
27946         * docs/gst/tmpl/gstenumtypes.sgml:
27947         * docs/gst/tmpl/gsterror.sgml:
27948         * docs/gst/tmpl/gstevent.sgml:
27949         * docs/gst/tmpl/gstfakesink.sgml:
27950         * docs/gst/tmpl/gstfakesrc.sgml:
27951         * docs/gst/tmpl/gstfilesink.sgml:
27952         * docs/gst/tmpl/gstfilesrc.sgml:
27953         * docs/gst/tmpl/gstfilter.sgml:
27954         * docs/gst/tmpl/gstformat.sgml:
27955         * docs/gst/tmpl/gstghostpad.sgml:
27956         * docs/gst/tmpl/gstimplementsinterface.sgml:
27957         * docs/gst/tmpl/gstindex.sgml:
27958         * docs/gst/tmpl/gstindexfactory.sgml:
27959         * docs/gst/tmpl/gstinfo.sgml:
27960         * docs/gst/tmpl/gstiterator.sgml:
27961         * docs/gst/tmpl/gstmacros.sgml:
27962         * docs/gst/tmpl/gstmemchunk.sgml:
27963         * docs/gst/tmpl/gstminiobject.sgml:
27964         * docs/gst/tmpl/gstobject.sgml:
27965         * docs/gst/tmpl/gstpad.sgml:
27966         * docs/gst/tmpl/gstpadtemplate.sgml:
27967         * docs/gst/tmpl/gstparse.sgml:
27968         * docs/gst/tmpl/gstpipeline.sgml:
27969         * docs/gst/tmpl/gstplugin.sgml:
27970         * docs/gst/tmpl/gstpluginfeature.sgml:
27971         * docs/gst/tmpl/gstquery.sgml:
27972         * docs/gst/tmpl/gstqueue.sgml:
27973         * docs/gst/tmpl/gstregistry.sgml:
27974         * docs/gst/tmpl/gstregistrypool.sgml:
27975         * docs/gst/tmpl/gstscheduler.sgml:
27976         * docs/gst/tmpl/gstschedulerfactory.sgml:
27977         * docs/gst/tmpl/gststructure.sgml:
27978         * docs/gst/tmpl/gstsystemclock.sgml:
27979         * docs/gst/tmpl/gsttaglist.sgml:
27980         * docs/gst/tmpl/gsttagsetter.sgml:
27981         * docs/gst/tmpl/gsttrace.sgml:
27982         * docs/gst/tmpl/gsttrashstack.sgml:
27983         * docs/gst/tmpl/gsttypefind.sgml:
27984         * docs/gst/tmpl/gsttypefindfactory.sgml:
27985         * docs/gst/tmpl/gsttypes.sgml:
27986         * docs/gst/tmpl/gsturihandler.sgml:
27987         * docs/gst/tmpl/gsturitype.sgml:
27988         * docs/gst/tmpl/gstutils.sgml:
27989         * docs/gst/tmpl/gstvalue.sgml:
27990         * docs/gst/tmpl/gstversion.sgml:
27991         * docs/gst/tmpl/gstxml.sgml:
27992         * docs/libs/tmpl/gstcontrol.sgml:
27993         * docs/libs/tmpl/gstdataprotocol.sgml:
27994         * docs/libs/tmpl/gstdparam.sgml:
27995         * docs/libs/tmpl/gstdplinint.sgml:
27996         * docs/libs/tmpl/gstdpman.sgml:
27997         * docs/libs/tmpl/gstdpsmooth.sgml:
27998         * docs/libs/tmpl/gstgetbits.sgml:
27999         * docs/libs/tmpl/gstunitconvert.sgml:
28000         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28001         (gst_push_src_base_init), (gst_push_src_class_init),
28002         (gst_push_src_init), (gst_push_src_create):
28003         * gst/base/gstpushsrc.h:
28004         * gst/elements/gstelements.c:
28005         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28006         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28007         (gst_fake_sink_init), (gst_fake_sink_set_property),
28008         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28009         (gst_fake_sink_event), (gst_fake_sink_preroll),
28010         (gst_fake_sink_render), (gst_fake_sink_change_state):
28011         * gst/elements/gstfakesink.h:
28012         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28013         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28014         (gst_fake_src_base_init), (gst_fake_src_class_init),
28015         (gst_fake_src_init), (gst_fake_src_event_handler),
28016         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28017         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28018         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28019         (gst_fake_src_create_buffer), (gst_fake_src_create),
28020         (gst_fake_src_start), (gst_fake_src_stop):
28021         * gst/elements/gstfakesrc.h:
28022         * gst/elements/gstfilesink.c: (_do_init),
28023         (gst_file_sink_base_init), (gst_file_sink_class_init),
28024         (gst_file_sink_init), (gst_file_sink_dispose),
28025         (gst_file_sink_set_location), (gst_file_sink_set_property),
28026         (gst_file_sink_get_property), (gst_file_sink_open_file),
28027         (gst_file_sink_close_file), (gst_file_sink_query),
28028         (gst_file_sink_event), (gst_file_sink_render),
28029         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28030         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28031         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28032         * gst/elements/gstfilesink.h:
28033         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28034         (gst_file_src_class_init), (gst_file_src_init),
28035         (gst_file_src_finalize), (gst_file_src_set_location),
28036         (gst_file_src_set_property), (gst_file_src_get_property),
28037         (gst_file_src_map_region), (gst_file_src_map_small_region),
28038         (gst_file_src_create_mmap), (gst_file_src_create_read),
28039         (gst_file_src_create), (gst_file_src_is_seekable),
28040         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28041         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28042         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28043         (gst_file_src_uri_handler_init):
28044         * gst/elements/gstfilesrc.h:
28045           more autistic cleanliness in functions/names/defines
28046
28047 2005-07-13  Andy Wingo  <wingo@pobox.com>
28048
28049         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28050         source couldn't negotiate.
28051
28052         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28053         connections again.
28054
28055         * gst/gstutils.h:
28056         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28057         function. I am channeling Hades. Put your boots on suckers!!!
28058
28059 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28060
28061         * testsuite/caps/Makefile.am:
28062         * testsuite/caps/value_compare.c:
28063         * testsuite/caps/value_intersect.c:
28064         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28065           move two testsuite apps over to the check dir
28066
28067 2005-07-12  Wim Taymans  <wim@fluendo.com>
28068
28069         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28070         Added more debug info in the negotiate process.
28071
28072         * gst/gstmessage.h:
28073         Prepare for segment playback.
28074
28075         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28076         Better debugging.
28077
28078         * gst/gstutils.c:
28079         Some more docs.
28080
28081         * tools/gst-launch.c: (main):
28082         NULL pipeline on errors.
28083
28084 2005-07-12  Andy Wingo  <wingo@pobox.com>
28085
28086         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28087         not it comes from a malloc region. Make sure our copy gets freed.
28088
28089 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28090
28091         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28092         * check/gst/gstmessage.c: (GST_START_TEST):
28093         * check/gst/gststructure.c: (GST_START_TEST),
28094         (gst_structure_suite), (main):
28095           more testing
28096         * gst/gstelement.c: (gst_element_message_full):
28097           clean up GError and debug string now that they get copied
28098         * gst/gstmessage.c: (gst_message_new_error),
28099         (gst_message_new_warning), (gst_message_parse_error),
28100         (gst_message_parse_warning):
28101           use GST_TYPE_G_ERROR for structure_new, and take copies of
28102           arguments, so that we don't mess up refcounting
28103
28104 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28105
28106         * check/Makefile.am:
28107           add per-test valgrind targets
28108         * check/gst-libs/gdp.c: (GST_START_TEST),
28109         (gst_data_protocol_suite), (main):
28110           clean up
28111
28112 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28113
28114         * check/Makefile.am:
28115           instate more valgrindable tests
28116         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28117         (GST_START_TEST), (fakesrc_suite):
28118         * check/gst/gstpad.c: (GST_START_TEST):
28119         * check/gst/gststructure.c: (GST_START_TEST):
28120           fix test leaks
28121         * docs/gst/tmpl/gstminiobject.sgml:
28122         * gst/gstpad.c: (gst_pad_finalize):
28123           fix the static mutex leak
28124
28125 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28126
28127         * check/Makefile.am:
28128           add two more tests for valgrinding
28129         * check/gst/gstvalue.c: (GST_START_TEST):
28130           test refcount of deserialized buffer, found a leak
28131         * docs/gst/gstreamer-docs.sgml:
28132         * docs/gst/gstreamer-sections.txt:
28133         * docs/gst/gstreamer.types:
28134         * docs/gst/tmpl/gstminiobject.sgml:
28135           add miniobject to docs
28136         * gst/gstminiobject.c:
28137           add some docs
28138         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28139         (gst_string_unwrap):
28140           fix a hard-to-find invalid write for one of the tests
28141           fix a leak for deserialized buffers
28142
28143 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28144
28145         * docs/pwg/advanced-events.xml:
28146         * docs/pwg/advanced-request.xml:
28147         * docs/pwg/advanced-scheduling.xml:
28148         * docs/pwg/appendix-porting.xml:
28149         * docs/pwg/building-boiler.xml:
28150         * docs/pwg/intro-preface.xml:
28151         * docs/pwg/other-ntoone.xml:
28152           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28153           of example code and explanation for pad activation, loop() and
28154           getrange() functions and a bit more. Remove old comments pointing
28155           to loop-functions.
28156         * examples/pwg/Makefile.am:
28157           Add loop/getrange examples.
28158
28159 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28160
28161         * configure.ac:
28162           check for valgrind binary + some fixes
28163         * check/gst.supp:
28164           valgrind suppressions for the tests
28165         * check/Makefile.am:
28166           add a valgrind: target that valgrinds the unit tests
28167         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28168         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28169         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28170         * check/gst/gstghostpad.c:
28171           added some cleanup
28172         * check/gst/gstdata.c:
28173           removed
28174         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28175         (thread_unref), (gst_mini_object_suite), (main):
28176           added
28177         * gst/gst.c: (gst_deinit):
28178         * gst/gst.h:
28179           add a method to clean up.
28180         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28181         (gst_system_clock_obtain):
28182           allow for disposing the system clock.
28183         * tools/gst-launch.c: (main):
28184           deinit
28185
28186 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28187
28188         * docs/gst/tmpl/gstbasesrc.sgml:
28189         * docs/gst/tmpl/gstfakesrc.sgml:
28190         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28191         (gst_base_src_init), (gst_base_src_set_property),
28192         (gst_base_src_get_property), (gst_base_src_get_range),
28193         (gst_base_src_start):
28194         * gst/base/gstbasesrc.h:
28195           add num-buffers property
28196         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28197         (gst_fakesrc_init), (gst_fakesrc_set_property),
28198         (gst_fakesrc_get_property), (gst_fakesrc_create),
28199         (gst_fakesrc_start):
28200           remove num-buffers property
28201
28202 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28203
28204         * docs/gst/gstreamer-sections.txt:
28205         * docs/gst/tmpl/gstbasesink.sgml:
28206         * docs/gst/tmpl/gstbasesrc.sgml:
28207         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28208         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28209         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28210         (gst_base_sink_set_property), (gst_base_sink_get_property),
28211         (gst_base_sink_handle_object), (gst_base_sink_event),
28212         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28213         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28214         (gst_base_sink_loop), (gst_base_sink_deactivate),
28215         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28216         (gst_base_sink_change_state):
28217         * gst/base/gstbasesink.h:
28218         * gst/base/gstbasesrc.h:
28219         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28220         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28221         (gst_filesink_init):
28222           more macro splitting
28223
28224 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28225
28226         * gst/gstelement.c: (gst_element_get_bus):
28227           add debug
28228         * tools/gst-launch.c: (check_intr), (event_loop):
28229           fix bus leaks
28230
28231 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28232
28233         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28234           fix a caps leak
28235
28236 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28237
28238         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28239         (gst_base_src_finalize):
28240           add finalize method and clean up properly
28241         * gst/gstpipeline.c: (gst_pipeline_dispose):
28242           add debug
28243
28244 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28245
28246         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28247         (gst_bin_suite):
28248           add more things to check
28249         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28250         * gst/gstelement.c:
28251           more debug
28252
28253 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28254
28255         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28256         (GST_START_TEST), (fakesrc_suite):
28257         * check/gst-libs/gdp.c: (GST_START_TEST):
28258         * check/gst/gst.c: (GST_START_TEST):
28259         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28260         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28261         * check/gst/gstbus.c: (GST_START_TEST):
28262         * check/gst/gstcaps.c: (GST_START_TEST):
28263         * check/gst/gstdata.c: (GST_START_TEST):
28264         * check/gst/gstelement.c: (GST_START_TEST):
28265         * check/gst/gstghostpad.c: (GST_START_TEST):
28266         * check/gst/gstiterator.c: (GST_START_TEST):
28267         * check/gst/gstmessage.c: (GST_START_TEST):
28268         * check/gst/gstobject.c: (GST_START_TEST):
28269         * check/gst/gstpad.c: (GST_START_TEST):
28270         * check/gst/gststructure.c: (GST_START_TEST):
28271         * check/gst/gstsystemclock.c: (GST_START_TEST),
28272         (gst_systemclock_suite):
28273         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28274         * check/gst/gstvalue.c: (GST_START_TEST):
28275         * check/pipelines/cleanup.c: (GST_START_TEST):
28276         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28277         * check/states/sinks.c: (GST_START_TEST):
28278         * check/gstcheck.c: (gst_check_init):
28279         * check/gstcheck.h:
28280           add debugging category
28281           use GST_START_TEST now, so we add a debug line
28282
28283 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28284
28285         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28286           add test for state change message on a bin
28287         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28288           add another test
28289         * gst/gstbin.c: (gst_bin_init):
28290         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28291         * gst/gstelement.c: (gst_element_post_message),
28292         (gst_element_set_state):
28293         * gst/gstelementfactory.c: (gst_element_factory_create):
28294         * gst/gstmessage.c: (gst_message_new):
28295         * gst/gstscheduler.c:
28296           various debugging additions and cleanups
28297
28298 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28299
28300         * check/Makefile.am:
28301         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28302         (main):
28303           adding tests for elements
28304         * gst/gstelement.c: (gst_element_dispose):
28305
28306 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28307
28308         * gst/registries/gstlibxmlregistry.c: (load_feature):
28309           plug more leaks.  A simple gst_init() now is leakfree, yay.
28310
28311 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28312
28313         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28314         (gst_xml_registry_load):
28315           plug another memleak
28316
28317 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28318
28319         * configure.ac:
28320           use GST_SET_ERROR_CFLAGS
28321         * docs/faq/cvs.xml:
28322           change to ERROR_CFLAGS
28323
28324 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28325
28326         * configure.ac:
28327           make GST_ERROR_CFLAGS overridable and re-enable Werror
28328         * docs/faq/cvs.xml:
28329           add a note about error CFLAGS
28330         * docs/gst/tmpl/gstfakesrc.sgml:
28331         * gst/elements/gstfakesrc.c:
28332           comment out some unused code
28333         * gst/gst.c: (split_and_iterate):
28334         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28335         (load_feature):
28336           plug some memleaks
28337
28338 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28339
28340         * common/Makefile.am:
28341         * common/gtk-doc.mak:
28342         * docs/gst/Makefile.am:
28343           factor out gtk-doc.mak
28344
28345 2005-07-07  Wim Taymans  <wim@fluendo.com>
28346
28347         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28348         (gst_thread_scheduler_dispose):
28349         Unlock the STREAM_LOCK completely.
28350
28351 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28352
28353         * check/Makefile.am:
28354         * check/elements/.cvsignore:
28355         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28356         (START_TEST), (fakesrc_suite), (main):
28357         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28358         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28359         (gst_fakesrc_create), (gst_fakesrc_start):
28360         * gst/elements/gstfakesrc.h:
28361           adding a first element test
28362
28363 2005-07-07  Andy Wingo  <wingo@pobox.com>
28364
28365         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28366         debug message.
28367
28368 2005-07-07  Wim Taymans  <wim@fluendo.com>
28369
28370         * gst/gstquery.c:
28371         * gst/gstquery.h:
28372         Remove old types
28373
28374 2005-07-07  Wim Taymans  <wim@fluendo.com>
28375
28376         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28377         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28378         Allow subclasses to implement their own negotiation.
28379
28380 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28381
28382         * docs/design/part-gstbin.txt:
28383         * docs/design/part-gstpipeline.txt:
28384           Update design notes to reflect the movement of
28385           responsibility for bus handling from GstPipeline to
28386           GstBin
28387
28388 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28389
28390         * configure.ac:
28391           Remove unnecessary queue2/3/4 examples.
28392
28393 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28394
28395         * examples/Makefile.am:
28396         * examples/helloworld/helloworld.c: (event_loop), (main):
28397         * examples/queue/queue.c: (event_loop), (main):
28398         * examples/queue2/queue2.c: (main):
28399           Update a couple of the examples to work again.
28400
28401         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28402         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28403          Spelling corrections and extra debug.
28404         
28405         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28406         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28407         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28408         * gst/gstbin.h:
28409         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28410         (gst_pipeline_change_state):
28411         * gst/gstpipeline.h:
28412           Move the bus handler for children to the GstBin, and create a
28413           separate bus for receiving messages from children to the one the
28414           bus sends 'upwards' on.
28415
28416 2005-07-06  Wim Taymans  <wim@fluendo.com>
28417
28418         * gst/base/README:
28419         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28420         (gst_base_sink_handle_object), (gst_base_sink_loop),
28421         (gst_base_sink_change_state):
28422         * gst/base/gstbasesink.h:
28423         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28424         (gst_base_src_init), (gst_base_src_setcaps),
28425         (gst_base_src_getcaps), (gst_base_src_loop),
28426         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28427         (gst_base_src_start), (gst_base_src_change_state):
28428         * gst/base/gstbasesrc.h:
28429         Make basesrc negotiate.
28430         Handle the case where preroll fails in basesink.
28431         Update README.
28432
28433 2005-07-06  Wim Taymans  <wim@fluendo.com>
28434
28435         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28436         Implement the fixate function.
28437         Clean up acceptcaps.
28438
28439 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28440
28441         * docs/pwg/building-filterfactory.xml:
28442         * docs/pwg/pwg.xml:
28443           Remove never-written filter-factory chapter; I'll add the various
28444           base classes to part 4 ("other element types") later on.
28445
28446 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28447
28448         * docs/pwg/advanced-negotiation.xml:
28449         * docs/pwg/building-boiler.xml:
28450         * docs/pwg/building-pads.xml:
28451         * docs/pwg/pwg.xml:
28452         * examples/pwg/Makefile.am:
28453           Add a chapter on caps negotiation, simplify the original code
28454           samples a bit w.r.t. caps negotiation, add link to the advanced
28455           section. Add a bunch of examples showing different use cases of
28456           different types of caps negotiation. Upstream renegotiation isn't
28457           fully documented yet since nobody knows how that works.
28458
28459 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28460
28461         * check/gst/gstpad.c:
28462         * check/gstcheck.c:
28463         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28464           if pad has no parent, return NULL as list of internal links
28465
28466 2005-07-05  Andy Wingo  <wingo@pobox.com>
28467
28468         * gst/elements/gstfilesrc.c:
28469         * gst/elements/gstfakesrc.c: 
28470         * gst/base/gstpushsrc.c:
28471         * gst/base/gstbasesrc.h: 
28472         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28473         
28474 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28475
28476         * Makefile.am:
28477           better report generation target (lcov needs a patch)
28478
28479 2005-07-05  Andy Wingo  <wingo@pobox.com>
28480
28481         * gst/elements, testsuite: Null if we got it...
28482
28483 2005-07-05  Wim Taymans  <wim@fluendo.com>
28484
28485         * configure.ac:
28486         * libs/gst/dataprotocol/Makefile.am:
28487         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28488         * libs/gst/dataprotocol/dataprotocol.h:
28489         * pkgconfig/Makefile.am:
28490         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28491         * pkgconfig/gstreamer-dataprotocol.pc.in:
28492         Ported dataprotol to 0.9. 
28493         Added pkgconfig files.
28494
28495 2005-07-05  Andy Wingo  <wingo@pobox.com>
28496
28497         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28498         Default to returning TRUE for the case when tranform_caps returns
28499         a fixed caps, like for identity or volume.
28500
28501         * check/gst/gstbus.c (pound_bus_with_messages): 
28502         * check/gst/gstmessage.c (START_TEST): 
28503         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28504         message API change.
28505
28506         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28507         logic weaks here: always run transform_caps, trying passthrough
28508         operation only if the original caps intersects with the transform.
28509
28510         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28511         source and sink caps.
28512
28513         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28514         Intersect the peer caps with the pad template before going into
28515         transform_caps.
28516         (gst_base_transform_transform_caps): More debugging.
28517
28518         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28519         src argument.
28520
28521 2005-07-04  Edward Hervey  <edward@fluendo.com>
28522
28523         * gst/gstutils.c:
28524         * gst/gstutils.h:
28525         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28526         in bindings.
28527
28528 2005-07-04  Andy Wingo  <wingo@pobox.com>
28529
28530         * check/gst/gstpad.c: Only set explicit caps on pads.
28531
28532 2005-07-01  Andy Wingo  <wingo@pobox.com>
28533
28534         * tests/network-clock.scm: Commentary update.
28535
28536         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28537         Didn't really make sense, not implementable with basetransform,
28538         etc.
28539         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28540         attempt at implementing the sync property, needs an unlock method.
28541
28542         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28543         New func, by default returns the same caps (the identity
28544         transformation).
28545         (gst_base_transform_getcaps): Uses transform_caps to return
28546         something sensible.
28547         (gst_base_transform_setcaps): Complicated logic to get caps on
28548         both pads, even if they are different, and to call set_caps once
28549         for every time both pads get their caps set.
28550         (gst_base_transform_handle_buffer): Give the ref to the transform
28551         function. Allows in-place modification of the buffer.
28552
28553         * gst/base/gstbasetransform.h (transform_caps): New class method.
28554         Given caps on one side, what can I do on the other.
28555         (set_caps): Take two caps, one for each side of the element.
28556
28557         * gst/gstpad.h:
28558         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28559         caps in place. This is safe because we can check the mutability of
28560         the caps, and a good idea because fixate functions are just called
28561         as a matter of last resort. (Not actually implemented.)
28562         (gst_pad_set_caps): If the caps we're setting is actually the same
28563         as the existing pad caps, just update the pointer without calling
28564         setcaps. Assert that caps is either NULL or fixed, as per the
28565         docs.
28566
28567         * gst/gstghostpad.c: Update for fixate changes.
28568
28569 2005-07-02  Andy Wingo  <wingo@pobox.com>
28570
28571         * gst/gstcaps.c:
28572         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28573         two refcounts makes it immutable, which is enough. Doc more.
28574
28575 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28576
28577         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28578           Put the mini_object into GValue as a mini_object,
28579           not a gpointer, since that's how we declared
28580           the signal.
28581
28582 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28583
28584         * examples/pwg/Makefile.am:
28585           Fix buildbot again.
28586
28587 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28588
28589         * docs/pwg/building-testapp.xml:
28590           Add extra check.
28591         * examples/pwg/Makefile.am:
28592           Fix buildbot.
28593
28594 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28595
28596         * configure.ac:
28597         * examples/Makefile.am:
28598         * examples/pwg/Makefile.am:
28599         * examples/pwg/extract.pl:
28600           Enable building the PWG examples.
28601         * docs/pwg/advanced-interfaces.xml:
28602           Add URI interface stub.
28603         * docs/pwg/advanced-types.xml:
28604         * docs/pwg/other-autoplugger.xml:
28605         * docs/pwg/appendix-porting.xml:
28606         * docs/pwg/pwg.xml:
28607           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28608         * docs/pwg/building-boiler.xml:
28609         * docs/pwg/building-chainfn.xml:
28610         * docs/pwg/building-pads.xml:
28611         * docs/pwg/building-props.xml:
28612         * docs/pwg/building-state.xml:
28613         * docs/pwg/building-testapp.xml:
28614           Update the building-*.xml parts for 0.9 changes. All examples
28615           code blocks compile in examples/pwg/*.
28616
28617 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28618
28619         * docs/manual/advanced-autoplugging.xml:
28620         * docs/manual/appendix-checklist.xml:
28621         * docs/manual/appendix-integration.xml:
28622         * docs/manual/highlevel-components.xml:
28623           Fix playbin/decodebin examples, update docs a bit, mention bus
28624           instead of signals in various places, mention kmplayer and
28625           kaffeine since they have a working GStreamer backend in the KDE
28626           section.
28627
28628 2005-06-30  Wim Taymans  <wim@fluendo.com>
28629
28630         * CHANGES-0.9:
28631         * docs/design/draft-ghostpads.txt:
28632         * docs/design/draft-push-pull.txt:
28633         * docs/design/draft-query.txt:
28634         * docs/design/part-TODO.txt:
28635         * docs/design/part-query.txt:
28636         Added CHANGES-0.9 doc, updated status of other docs.
28637         
28638         * gst/gstquery.h:
28639         Remove "hmm" macro
28640
28641 2005-06-30  Wim Taymans  <wim@fluendo.com>
28642
28643         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28644         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28645         (gst_base_sink_change_state):
28646         * gst/base/gstbasesink.h:
28647         Some tweaks, only EOS and a buffer complete a preroll.
28648
28649 2005-06-30  Andy Wingo  <wingo@pobox.com>
28650
28651         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28652         activate_push down to the internal pad as well.
28653
28654 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28655
28656         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28657
28658         * gst/gsttaginterface.c:
28659           Some documentation fixes (#307394 and #307397).
28660
28661 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28662
28663         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28664
28665         * gst/gstvalue.c: (gst_value_intersect_list):
28666           Fix memleak (#309125).
28667
28668 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28669
28670         * docs/manual/advanced-dataaccess.xml:
28671           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28672         * docs/manual/basics-pads.xml:
28673           Add reference for filtered caps to above chapter.
28674
28675 2005-06-30  Wim Taymans  <wim@fluendo.com>
28676
28677         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28678         (gst_bin_change_state):
28679         Probes are gone.
28680         Lame attempt at making the state change function a bit
28681         more readable.
28682
28683 2005-06-30  Wim Taymans  <wim@fluendo.com>
28684
28685         * docs/design/part-clocks.txt:
28686         * docs/design/part-element-sink.txt:
28687         * docs/design/part-events.txt:
28688         * docs/design/part-preroll.txt:
28689         * docs/design/part-states.txt:
28690         Some more tweeks and additions to the docs.
28691
28692 2005-06-30  Wim Taymans  <wim@fluendo.com>
28693
28694         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28695         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28696         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28697         (gst_pad_check_pull_range), (gst_pad_get_range),
28698         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28699         * gst/gstpad.h:
28700         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28701         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28702         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28703         (gst_pad_remove_buffer_probe):
28704         Removed atomic operations, use existing LOCK.
28705         Move exception handling out of main code path.
28706
28707 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28708
28709         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28710         (silly_return_true_function), (gst_pad_class_init),
28711         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28712         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28713         (gst_pad_send_event):
28714           Fix accumulator, add default value by using _emitv() instead
28715           of _emit() for signal emission.
28716
28717 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28718
28719         * docs/manual/advanced-dataaccess.xml:
28720         * examples/manual/Makefile.am:
28721           Add probe example.
28722         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28723           Make work (??).
28724
28725 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28726
28727         * gst/elements/gstfilesink.c: (gst_filesink_render):
28728           Simplify code so that we don't have to handle short
28729           writes and return GST_FLOW_ERROR if an error occured.
28730
28731 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28732
28733         * docs/gst/gstreamer-docs.sgml:
28734           Remove probes more.
28735
28736 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28737
28738         * docs/gst/gstreamer-sections.txt:
28739         * docs/gst/tmpl/gstpad.sgml:
28740         * docs/gst/tmpl/gstprobe.sgml:
28741         * gst/Makefile.am:
28742         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28743         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28744         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28745         (gst_pad_push_event), (gst_pad_send_event):
28746         * gst/gstpad.h:
28747         * gst/gstutils.c: (gst_pad_add_data_probe),
28748         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28749         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28750         (gst_pad_remove_buffer_probe):
28751         * gst/gstutils.h:
28752           Remove old probes, add new g-signal-based probes and some utility
28753           functions.
28754
28755 2005-06-29  Edward Hervey  <edward@fluendo.com>
28756
28757         * gst/gstelementfactory.c:
28758         * gst/gstutils.h:
28759         * gst/gstutils.c:
28760         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28761         the definition to the header file.
28762
28763 2005-06-29  Andy Wingo  <wingo@pobox.com>
28764
28765         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28766         plugins from the source directory.
28767
28768 2005-06-29  Wim Taymans  <wim@fluendo.com>
28769
28770         * docs/gst/tmpl/gstbuffer.sgml:
28771         * docs/gst/tmpl/gstclock.sgml:
28772         Some fixings for blantently wrong text.
28773
28774 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28775
28776         * check/Makefile.am:
28777         * gst/gst.c: (add_path_func), (init_pre):
28778         * gst/gstregistry.c: (gst_registry_add_path):
28779           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28780           only scan the GST_PLUGIN_PATH locations, and not add
28781           system locations
28782
28783 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28784
28785         * docs/gst/gstreamer-sections.txt:
28786         * docs/gst/tmpl/gstbasesrc.sgml:
28787         * gst/gstelement.c:
28788         * gst/gstelement.h:
28789         * gst/gstevent.c:
28790         * gst/gstutils.c:
28791           doc fixes
28792
28793 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28794
28795         * docs/manual/advanced-autoplugging.xml:
28796           Fix autoplugging example.
28797
28798 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28799
28800         * docs/manual/advanced-autoplugging.xml:
28801         * docs/manual/mime-world.fig:
28802           Try to get autoplugging working, fix type detection. Fix text
28803           in hello-world image.
28804
28805 2005-06-29  Wim Taymans  <wim@fluendo.com>
28806
28807         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28808         (gst_base_sink_change_state):
28809         Small debug line.
28810
28811         * gst/gstclock.h:
28812         map SIGNAL and BROADCAST to the right function.
28813
28814         * gst/gstobject.h:
28815         Remove redundant braces.
28816
28817         * gst/gstpad.c: (gst_pad_set_caps):
28818         Don't call setcaps function when reseting caps to NULL.
28819
28820         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28821         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28822         (gst_system_clock_id_unschedule):
28823         Use BROADCAST as this is what we do.
28824
28825 2005-06-29  Wim Taymans  <wim@fluendo.com>
28826
28827         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28828         We are actually prerolling before commiting the state
28829         change. 
28830
28831 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28832
28833         * docs/manual/advanced-clocks.xml:
28834         * docs/manual/advanced-interfaces.xml:
28835         * docs/manual/advanced-metadata.xml:
28836         * docs/manual/advanced-position.xml:
28837         * docs/manual/advanced-schedulers.xml:
28838         * docs/manual/advanced-threads.xml:
28839         * docs/manual/appendix-porting.xml:
28840         * docs/manual/basics-bins.xml:
28841         * docs/manual/basics-bus.xml:
28842         * docs/manual/basics-elements.xml:
28843         * docs/manual/basics-helloworld.xml:
28844         * docs/manual/basics-pads.xml:
28845         * docs/manual/highlevel-components.xml:
28846         * docs/manual/manual.xml:
28847         * docs/manual/thread.fig:
28848           Update (until threads/scheduling) Application Development Manual;
28849           remove GstThread, add GstBus, add simple porting checklist, add
28850           documentation for tag writing, clocks, make all examples until this
28851           part compile and run.
28852         * examples/manual/Makefile.am:
28853           Update from changes to Application Development Manual; add bus
28854           example, remove thread example.
28855
28856 2005-06-28  Wim Taymans  <wim@fluendo.com>
28857
28858         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28859         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28860         (gst_bus_source_dispatch):
28861         Add debugging messages.
28862         Make internal methods static.
28863         Handle the case where the bus is flushed in the handler.
28864         
28865         * gst/gstelement.c: (gst_element_get_bus):
28866         Fix refcount in _get_bus();
28867
28868         * gst/gstpipeline.c: (gst_pipeline_change_state),
28869         (gst_pipeline_get_clock_func):
28870         Clock refcounting fixes.
28871         Handle the case where preroll timed out more gracefully.
28872         
28873         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28874         Clean up the internal thread in dispose. This is needed
28875         for subclasses that actually get disposed.
28876         
28877         * gst/schedulers/threadscheduler.c:
28878         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28879         (gst_thread_scheduler_dispose):
28880         Free thread pool in dispose.
28881
28882 2005-06-28  Andy Wingo  <wingo@pobox.com>
28883
28884         * tests/network-clock-utils.scm (debug, print-event): New utils.
28885
28886         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28887         (*packet-loss*): Unified loss probability.
28888         (network-time): Report out-of-band events.
28889
28890         * tests/plot-data: Add support for out-of-band events. Hack it
28891         into this script instead of passing it down the pipe; should fix
28892         this later.
28893
28894 2005-06-28  Wim Taymans  <wim@fluendo.com>
28895
28896         * docs/gst/gstreamer.types:
28897         * docs/gst/tmpl/gstbasesrc.sgml:
28898         * docs/gst/tmpl/gstpad.sgml:
28899         Docs fixes.
28900
28901 2005-06-28  Wim Taymans  <wim@fluendo.com>
28902
28903         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28904         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28905         (gst_proxy_pad_do_fixatecaps):
28906         Correctly proxy the check_pull_range function.
28907
28908 2005-06-28  Andy Wingo  <wingo@pobox.com>
28909
28910         * tests/network-clock.scm: Removed need for slib.
28911         
28912 2005-06-28  Wim Taymans  <wim@fluendo.com>
28913
28914         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28915         (gst_basesink_preroll_queue_flush):
28916         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28917         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28918         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28919         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28920         (gst_proxy_pad_set_property):
28921         * gst/gstpad.c:
28922         * gst/gstpad.h:
28923         * gst/gstqueue.c: (gst_queue_init):
28924         The deprecated pad loop function is removed now.
28925
28926 2005-06-28  Andy Wingo  <wingo@pobox.com>
28927
28928         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28929         New parameters, simulate network packet loss.
28930
28931         * tests/network-clock-utils.scm: Initialize the RNG.
28932
28933 2005-06-28  Wim Taymans  <wim@fluendo.com>
28934
28935         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28936         (gst_basesink_event), (gst_basesink_deactivate):
28937         Flushing the preroll queue always needs to unlock the waiters.
28938
28939 2005-06-28  Edward Hervey  <edward@fluendo.com>
28940
28941         * gst/gstpipeline.c: (gst_pipeline_send_event): 
28942         Wheen a seek was successful on a pipeline, set the stream_time to the
28943         seek offset in order to have a synchronized stream_time.
28944
28945 2005-06-28  Wim Taymans  <wim@fluendo.com>
28946
28947         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28948         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28949         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28950         (gst_proxy_pad_do_fixatecaps):
28951         Call wrapper function instead of just calling the function
28952         pointers. This takes care of any locking and whatmore.
28953
28954 2005-06-28  Wim Taymans  <wim@fluendo.com>
28955
28956         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28957         (gst_pad_pull_range):
28958         * gst/gstpad.h:
28959         CONNECTED -> LINKED.
28960
28961 2005-06-28  Andy Wingo  <wingo@pobox.com>
28962
28963         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28964         source-munging commit!!!
28965
28966         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
28967         (gst_object_sink): Take gpointer arguments, not GstObject --
28968         avoids casts. Like GLib.
28969
28970         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28971         activate.
28972
28973 2005-06-27  Andy Wingo  <wingo@pobox.com>
28974
28975         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28976         remaining buffer.
28977
28978         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28979         returns a sorted copy of the trace list.
28980         (gst_alloc_trace_print_live): New API, only prints traces with
28981         live objects. Sort the list.
28982         (gst_alloc_trace_print_all): Sort the list.
28983         (gst_alloc_trace_print): Align columns.
28984
28985         * gst/elements/gstttypefindelement.c:
28986         * gst/elements/gsttee.c:
28987         * gst/base/gstbasesrc.c:
28988         * gst/base/gstbasesink.c:
28989         * gst/base/gstbasetransform.c:
28990         * gst/gstqueue.c: Adapt for pad activation changes.
28991
28992         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28993         sched.
28994         (gst_pipeline_dispose): Drop ref on sched.
28995
28996         * gst/gstpad.c (gst_pad_init): Set the default activate func.
28997         (gst_pad_activate_default): Push mode by default.
28998         (pre_activate_switch, post_activate_switch): New stubs, things to
28999         do before and after switching activation modes on pads.
29000         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29001         the pad's activate function to choose which mode to activate.
29002         Shortcut on deactivation and call the right function directly.
29003         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29004         mode.
29005         (gst_pad_activate_push): New API, same for push mode.
29006         (gst_pad_set_activate_function) 
29007         (gst_pad_set_activatepull_function) 
29008         (gst_pad_set_activatepush_function): Setters for new API.
29009
29010         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29011         Trace all miniobjects.
29012         (gst_mini_object_make_writable): Unref the arg if we copy, like
29013         gst_caps_make_writable.
29014
29015         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29016
29017         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29018         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29019         Adapt for new pad API.
29020
29021         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29022
29023         * gst/gstelement.h:
29024         * gst/gstelement.c (gst_element_iterate_src_pads) 
29025         (gst_element_iterate_sink_pads): New API functions.
29026         
29027         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29028         should fold into gstiterator.c in some form.
29029         (gst_element_pads_activate): Simplified via use of fold and
29030         delegation of decisions to gstpad->activate.
29031
29032         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29033         help in debugging.
29034
29035         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29036         class once in init, like gstmessage. Didn't run into this issue
29037         but it seems correct. Don't initialize a trace, gstminiobject does
29038         that.
29039
29040         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29041         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29042         to the bus.
29043         (assert_live_count): New util function, uses alloc traces to check
29044         cleanup.
29045
29046         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29047         To be modified when unlink drops the internal pad.
29048
29049 2005-06-27  Wim Taymans  <wim@fluendo.com>
29050
29051         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29052         (gst_bin_change_state):
29053         Cleanup the get_state() function a little, make sure it
29054         iterates the same set of elements.
29055         Added stub iterate_state_order().
29056
29057 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29058
29059         * docs/gst/gstreamer-docs.sgml:
29060         * docs/gst/gstreamer-sections.txt:
29061         * docs/gst/gstreamer.types:
29062         * docs/gst/tmpl/gstbasesink.sgml:
29063         * docs/gst/tmpl/gstbasesrc.sgml:
29064         * docs/gst/tmpl/gstbasetransform.sgml:
29065         * docs/gst/tmpl/gstelement.sgml:
29066         * docs/gst/tmpl/gstiterator.sgml:
29067         * gst/base/gstbasesrc.c:
29068         * gst/base/gstbasesrc.h:
29069         * gst/base/gstbasetransform.h:
29070         * gst/gstelement.c:
29071         * gst/gstiterator.h:
29072           adding basetransform and iterator docs
29073
29074 2005-06-27  Andy Wingo  <wingo@pobox.com>
29075
29076         * docs/design/part-activation.txt: Notes on how activation should
29077         work -- not quite implemented yet.
29078
29079 2005-06-25  Wim Taymans  <wim@fluendo.com>
29080
29081         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29082         At least get the chain function correct, needs more
29083         fixing.
29084
29085 2005-06-25  Wim Taymans  <wim@fluendo.com>
29086
29087         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29088         (gst_basesink_handle_object), (gst_basesink_event),
29089         (gst_basesink_do_sync), (gst_basesink_handle_event),
29090         (gst_basesink_change_state):
29091         * gst/gsttask.h:
29092         Right, two problems here: ghostpads don't take locks and
29093         glib _rec_mutex_lock_full() with depth==0 still locks.
29094         Catch illegal locking and g_warn them.
29095
29096 2005-06-25  Wim Taymans  <wim@fluendo.com>
29097
29098         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29099         Have to check for completion now...
29100
29101 2005-06-25  Wim Taymans  <wim@fluendo.com>
29102
29103         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29104         (gst_basesink_handle_object), (gst_basesink_event),
29105         (gst_basesink_do_sync), (gst_basesink_handle_event),
29106         (gst_basesink_change_state):
29107         * gst/gstpad.h:
29108         Unlock STREAM_LOCK whatever the recursion was.
29109
29110 2005-06-25  Wim Taymans  <wim@fluendo.com>
29111
29112         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29113         (gst_basesink_preroll_queue_empty),
29114         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29115         (gst_basesink_event), (gst_basesink_do_sync),
29116         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29117         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29118         (gst_basesink_change_state):
29119         Reworked the base sink, handle event and buffer serialisation
29120         correctly and removed possible deadlock.
29121         Handle EOS correctly.
29122
29123 2005-06-25  Wim Taymans  <wim@fluendo.com>
29124
29125         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29126         (gst_pipeline_change_state):
29127         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29128         Allow elements to post EOS in the state change function.
29129         Fix up -launch, make it exit the poll loop when the
29130         pipeline actually changed state.
29131         Fix up warning parsing in -launch.
29132
29133 2005-06-25  Wim Taymans  <wim@fluendo.com>
29134
29135         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29136         (gst_tee_sink_activate):
29137         Core takes STREAM_LOCK for us now.
29138
29139 2005-06-25  Wim Taymans  <wim@fluendo.com>
29140
29141         * gst/gstelement.c: (gst_element_get_state_func),
29142         (gst_element_set_state):
29143         * gst/gstelement.h:
29144         * gst/gstmessage.c: (gst_message_parse_error),
29145         (gst_message_parse_warning):
29146         Keep track of current target state while performing a state
29147         change so that subclasses can do something interesting.
29148         Fix parsing of warning/error messages when GError is NULL.
29149
29150 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29151
29152         * docs/gst/Makefile.am:
29153         * docs/gst/gstreamer-docs.sgml:
29154         * docs/gst/gstreamer-sections.txt:
29155         * docs/gst/gstreamer.types:
29156         * docs/gst/tmpl/gstbasesink.sgml:
29157         * docs/gst/tmpl/gstbasesrc.sgml:
29158         * docs/gst/tmpl/gstbin.sgml:
29159         * docs/gst/tmpl/gstcompat.sgml:
29160         * docs/gst/tmpl/gstfakesink.sgml:
29161         * docs/gst/tmpl/gstfakesrc.sgml:
29162         * docs/gst/tmpl/gstfilesink.sgml:
29163         * docs/gst/tmpl/gstfilesrc.sgml:
29164         * docs/gst/tmpl/gstindex.sgml:
29165         * docs/manual/appendix-quotes.xml:
29166         * gst/base/gstbasesrc.h:
29167         * gst/elements/gstfakesrc.h:
29168         * gst/gstmessage.h:
29169           start pulling in base classes and elements in our docs
29170
29171 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29172
29173         * docs/gst/Makefile.am:
29174         * docs/libs/Makefile.am:
29175           fixed make distcheck with gtk-doc 1.3
29176
29177 2005-06-23  Wim Taymans  <wim@fluendo.com>
29178
29179         * gst/gstelement.c: (gst_element_get_state_func),
29180         (gst_element_set_state), (gst_element_change_state):
29181         When the state did not change, also report NO_PREROLL
29182         when it matters.
29183
29184 2005-06-23  Wim Taymans  <wim@fluendo.com>
29185
29186         * gst/gstpad.c: (gst_pad_event_default):
29187         * gst/gstqueue.c: (gst_queue_loop):
29188         No unsafe task pausing please.
29189
29190 2005-06-23  Wim Taymans  <wim@fluendo.com>
29191
29192         * gst/schedulers/threadscheduler.c:
29193         (gst_thread_scheduler_task_start),
29194         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29195         Ref the task before pushing it on the threadpool. This
29196         makes sure that we have a ref when the threadfunction is
29197         actually called.
29198
29199 2005-06-23  Andy Wingo  <wingo@pobox.com>
29200
29201         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29202         offset is greater than the file's size.
29203
29204         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29205         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29206         * gst/gstobject.c (gst_object_class_init): Make the class lock
29207         recursive. Wim won't let me drop deep_notify. Decodebin works
29208         again, whoopdy doo.
29209
29210         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29211         internal pad, and hacks accordingly. Doesn't do it on the target
29212         pad because we change its caps. Probably catches all cases of
29213         interest tho.
29214         (gst_ghost_pad_set_property): Connect to notify::caps as
29215         appropritate.
29216
29217         * tests/network-clock.scm (plot-simulation): Pipe data to the
29218         elite python skript.
29219
29220         * tests/network-clock-utils.scm (define-parameter): New macro,
29221         defines a parameter that can be set via the command line.
29222         (set-parameter!, parse-parameter-arguments): Command line args
29223         parser.
29224
29225         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29226         stdin.
29227
29228 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29229
29230         * gst/elements/gsttypefindelement.c:
29231         (gst_type_find_element_handle_event):
29232           Don't restart typefinding on a discont.
29233         * gst/gstelement.c: (gst_element_set_state):
29234           Debug spelling fix.
29235         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29236           Allow changing mode of an active pad.
29237           Debug output fixes.
29238         * gst/registries/gstlibxmlregistry.c: (load_feature):
29239           Don't cast a static pad template to a normal pad template.
29240
29241 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29242
29243         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29244         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29245           remove gst_strtoll completely, since it didn't actually do
29246           anything more than what g_ascii_strtoull already does.
29247           check for range errors when deserializing
29248           do a cast for the unsigned cases; but further fixing needs
29249           a decision on what the interpretation of "(int)" and
29250           deserialization should be for values that fall outside the
29251           type's boundaries (ie, refuse, or interpret as casting)
29252
29253 2005-06-23  Wim Taymans  <wim@fluendo.com>
29254
29255         * check/Makefile.am:
29256         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29257         * docs/design/part-live-source.txt:
29258         * docs/design/part-states.txt:
29259         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29260         (gst_basesrc_set_live), (gst_basesrc_is_live),
29261         (gst_basesrc_get_range), (gst_basesrc_activate),
29262         (gst_basesrc_change_state):
29263         * gst/base/gstbasesrc.h:
29264         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29265         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29266         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29267         * gst/gstelement.c: (gst_element_get_state_func),
29268         (gst_element_set_state):
29269         * gst/gstelement.h:
29270         * gst/gsttypes.h:
29271         * tools/gst-launch.c: (event_loop), (main):
29272         Added support for live sources and other elements that
29273         cannot do preroll.
29274         Updated design docs, added live-source design doc.
29275         Implemented live source functionality in basesrc
29276         Fix error condition in _bin_get_state()
29277         Implement live source handling in -launch.
29278         Added check for live sources.
29279         Fixed case in GstBin where elements were changed state
29280         multiple times.
29281
29282
29283 2005-06-23  Andy Wingo  <wingo@pobox.com>
29284
29285         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29286         borken refcounting.
29287
29288         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29289         gst_caps_replace takes care of this for us.
29290
29291         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29292         gst_pad_set_caps on the target, not just its setcaps() function.
29293
29294         * tests/network-clock.scm: 
29295         * tests/network-clock-utils.scm: A network clock simulator.
29296         Something of an algorithmic testbed before doing something in C.
29297
29298 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29299
29300         * check/Makefile.am:
29301         * check/gst/capslist.h:
29302           copy over from 0.8, and add two with bitmasks specified with
29303           (int) 0xFF...
29304         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29305           add test to parse everything from capslist.h
29306         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29307         (main):
29308           add test for structure deserialization
29309         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29310           add tests for deserialization of strings to int types
29311         * gst/gststructure.c: (gst_structure_nth_field_name):
29312         * gst/gststructure.h:
29313           add a way to get the name of a field referenced by index
29314         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29315           instead of checking if the resulting long long lies between
29316           min and max, we check if the long long would fit into
29317           a number of bytes for the final type.
29318           This fixes cases where a string represents 2^32 - 1, which
29319           when cast to int would be the (valid) -1, but is bigger than
29320           G_MAXINT
29321
29322 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29323
29324         * gst/parse/grammar.y:
29325           add a log line for type deserialization
29326
29327 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29328
29329         * check/gst/gstvalue.c: (START_TEST):
29330         * gst/gstvalue.c: (gst_value_deserialize):
29331           return long long, not int, so gint64 deserialization actually
29332           works.  Is there any flag that makes the compiler check this ?
29333           Fixes #308559
29334
29335 2005-06-22  Wim Taymans  <wim@fluendo.com>
29336
29337         * gst/gstbuffer.h:
29338         Added convenience macros for setting buffers in GValue.
29339
29340 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29341
29342         * check/gst/.cvsignore:
29343         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29344           add a test deserializing int64, and comment part out because
29345           it fails, yay !
29346
29347 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29348
29349         * check/Makefile.am:
29350         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29351         * testsuite/Makefile.am:
29352         * testsuite/caps/Makefile.am:
29353         * testsuite/caps/value_serialize.c:
29354         * testsuite/test_gst_init.c:
29355           move a value_serialize test over
29356
29357 2005-06-20  Wim Taymans  <wim@fluendo.com>
29358
29359         * gst/gstpad.c:
29360         Small doc updates.
29361         
29362         * gst/gstvalue.c: (gst_value_compare_buffer),
29363         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29364         (gst_value_compare_flags), (gst_value_serialize_flags),
29365         (gst_value_deserialize_flags), (_gst_value_initialize):
29366         Fix serialisation of buffers, they are not boxed types anymore
29367
29368 2005-06-20  Wim Taymans  <wim@fluendo.com>
29369
29370         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29371         Testcase to show error in buffer-on-caps serialisation.
29372
29373 2005-06-20  Andy Wingo  <wingo@pobox.com>
29374
29375         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29376         will be adding to later.
29377
29378         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29379         if its socks fill with rocks.
29380         (gst_system_clock_obtain): Set the name on object construction.
29381         Avoid double-checked locking.
29382
29383 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29384
29385         * gst/gsturi.c: (gst_element_make_from_uri):
29386           Fix potential endless loop.
29387
29388 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29389
29390         * check/Makefile.am:
29391           add gsttag
29392         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29393         (main):
29394           move over from testsuite dir and clean up
29395         * configure.ac:
29396         * gst/gsttag.c:
29397         * testsuite/Makefile.am:
29398         * testsuite/tags/.cvsignore:
29399         * testsuite/tags/Makefile.am:
29400         * testsuite/tags/merge.c:
29401           remove testsuite/tags
29402
29403 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29404
29405         * docs/gst/gstreamer-sections.txt:
29406         * docs/gst/tmpl/gstenumtypes.sgml:
29407         * win32/gstenumtypes.c:
29408           clean up documentation build a little
29409
29410 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29411
29412         * check/gstcheck.h:
29413           add macros for checking refcounts on objects and caps
29414         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29415           add some more unit tests
29416         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29417         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29418           fix leaked refcounts (I hope :)) so unittest works
29419         * gst/gstpad.h:
29420           whitespace removal
29421
29422 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29423
29424         * configure.ac: back to HEAD
29425
29426 === release 0.9.1 ===
29427
29428 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29429
29430         * NEWS:
29431         * RELEASE:
29432           updated
29433
29434 2005-06-17  Andy Wingo  <wingo@pobox.com>
29435
29436         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29437         assert; it's always possible that the pad gets deactivated in
29438         between the checks in gstpad.c and the implementation. Rely on
29439         finish_preroll() to return a FLUSHING or similar instead of on the
29440         assert.
29441         
29442         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29443         clock and post an EOS message if we come out of finish_preroll in
29444         the playing state.
29445
29446 2005-06-16  David Schleef  <ds@schleef.org>
29447
29448         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29449         (gst_capsfilter_set_property): Allow NULL as possible value
29450         for filter_caps property, indicating GST_CAPS_ANY.
29451
29452 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29453
29454         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29455           fix debug output
29456         * gst/schedulers/Makefile.am:
29457           use libgst prefix
29458         * gstreamer.spec.in:
29459           fix spec for it
29460
29461 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29462
29463         * gstreamer.spec.in:
29464           clean up
29465
29466 2005-06-08  Andy Wingo  <wingo@pobox.com>
29467
29468         * gst/gstutils.c: RPAD fixes all around.
29469         (gst_element_link_pads): Refcounting fixes.
29470
29471         * tools/gst-inspect.c:
29472         * tools/gst-xmlinspect.c:
29473         * parse/grammar.y:
29474         * gst/base/gsttypefindhelper.c:
29475         * gst/base/gstbasesink.c:
29476         * gst/gstqueue.c: RPAD fixes.
29477
29478         * gst/gstghostpad.h:
29479         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29480         pads. The tricky thing is they provide both source and sink
29481         interfaces, since they proxy the internal pad for the external
29482         pad, and vice versa. Implement with lower-level ProxyPad objects,
29483         with the interior proxy pad as a child of the exterior ghost pad.
29484         Should write a doc on this.
29485         
29486         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29487         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29488         gst_object API.
29489         
29490         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29491         pads are real pads. No ghost pads in this file. Not documenting
29492         the myriad s/RPAD/PAD/ and REALIZE fixes.
29493         (gst_pad_class_init): Add properties for "direction" and
29494         "template". Both are construct-only, so they can't change during
29495         the life of the pad. Fixes properly deriving from GstPad.
29496         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29497         derived objects, just set properties when creating the objects via
29498         g_object_new.
29499         (gst_pad_get_parent): Implement as a function, return NULL if the
29500         parent is not an element.
29501         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29502         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29503         
29504         * gst/gstobject.c (gst_object_class_init): Make name a construct
29505         property. Don't set it in the object init.
29506
29507         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29508         with UNKNOWN direction.
29509         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29510         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29511         (gst_element_remove_pad): Remove ghost-pad special cases.
29512         (gst_element_pads_activate): Remove rpad cruft.
29513
29514         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29515         catch the pad's-parent-not-an-element case.
29516
29517         * gst/gst.h: Include gstghostpad.h.
29518
29519         * gst/gst.c (init_post): No more real, ghost pads.
29520
29521         * gst/Makefile.am: Add gstghostpad.[ch].
29522
29523         * check/Makefile.am:
29524         * check/gst/gstbin.c:
29525         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29526         into a bin creates ghost pads, and that the refcounts are right.
29527         Partly moved from gstbin.c.
29528
29529 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29530
29531         * check/gst-libs/.cvsignore:
29532         * check/gst/.cvsignore:
29533         * check/pipelines/.cvsignore:
29534           ignore more
29535         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29536         (START_TEST), (cleanup_suite), (main):
29537           add some tests related to cleanup after running pipelines
29538
29539 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29540
29541         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29542           add a testsuite for GstBuffer
29543
29544 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29545
29546         * gst/gstminiobject.h:
29547           add defines for accessing the refcount
29548
29549 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29550
29551         * Makefile.am: added support for html unit test coverage reports
29552
29553 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29554
29555         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29556           Free existing caps if the capsfilter changes. Add a FIXME about
29557           setting those caps on the pads.
29558
29559         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29560           Before adding a ghost pad to a parent bin, check that there isn't
29561           already one for the element on the bin. Prevents infinite recursion
29562           when using decodebin in parse pipelines. Andy says he'll rewrite the
29563           way this works anyway, so ignore the hack.
29564
29565 2005-06-02  Andy Wingo  <wingo@pobox.com>
29566
29567         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29568         file size, pass it on to the type find helper.
29569
29570         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29571         segment_start and segment_end properly according to the seek
29572         method. Segment_end is still a bit flaky because offset can be
29573         negative for CUR and END cases, but it takes -1 as an "unset"
29574         value.
29575
29576 2005-06-02  Wim Taymans  <wim@fluendo.com>
29577
29578         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29579         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29580         (gst_basesink_activate):
29581         * gst/base/gstbasesink.h:
29582         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29583         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29584         (gst_pad_query), (gst_pad_start_task):
29585         * gst/gstpad.h:
29586         * gst/gstqueue.c: (gst_queue_bufferalloc),
29587         (gst_queue_handle_sink_event), (gst_queue_chain):
29588         Bufferalloc: return GstFlowReturn to more accuratly report
29589         why allocation failed.
29590
29591 2005-06-02  Wim Taymans  <wim@fluendo.com>
29592
29593         * gst/gstpipeline.c: (gst_pipeline_send_event):
29594         Take snapshot of state without blocking.
29595
29596 2005-06-02  Wim Taymans  <wim@fluendo.com>
29597
29598         * docs/design/part-TODO.txt:
29599         * docs/design/part-caps.txt:
29600         * docs/design/part-clocks.txt:
29601         * docs/design/part-negotiation.txt:
29602         * docs/design/part-preroll.txt:
29603         Small doc updates 
29604
29605 2005-05-30  Wim Taymans  <wim@fluendo.com>
29606
29607         * gst/elements/gstidentity.c: (gst_identity_event),
29608         (gst_identity_transform), (gst_identity_get_property):
29609         Protect last_message property as it is accessed from
29610         multiple threads.
29611
29612 2005-05-30  Wim Taymans  <wim@fluendo.com>
29613
29614         * gst/gstelement.c: (gst_element_init),
29615         (gst_element_pads_activate), (gst_element_change_state):
29616         Slicker pad activation code.
29617
29618 2005-05-30  Wim Taymans  <wim@fluendo.com>
29619
29620         * gst/Makefile.am:
29621         * gst/gstelement.h:
29622         * gst/gstelementfactory.h:
29623         * gst/gsttypes.h:
29624         Move elementfactory methods to separate .h file.
29625
29626 2005-05-30  Wim Taymans  <wim@fluendo.com>
29627
29628         * docs/design/part-overview.txt:
29629         * gst/gstsystemclock.h:
29630         Small typo fixes, doc updates.
29631
29632 2005-05-30  Wim Taymans  <wim@fluendo.com>
29633
29634         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29635         (init_popt_callback):
29636         Remove cpu-opt flag.
29637
29638 2005-05-30  Wim Taymans  <wim@fluendo.com>
29639
29640         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29641         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29642         * gst/gstbuffer.h:
29643         Avoid typechecking in places where not needed.
29644         Added accessor for malloc_data.
29645
29646 2005-05-30  Wim Taymans  <wim@fluendo.com>
29647
29648         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29649         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29650         (gst_pad_configure_sink), (gst_pad_configure_src),
29651         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29652         (gst_pad_start_task):
29653         Propagate errors from _set_caps() in configure_src/sink
29654         functions instead of returning TRUE.
29655         FLUSH events can travel up and downstream
29656
29657
29658 2005-05-30  Wim Taymans  <wim@fluendo.com>
29659
29660         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29661         (gst_basesink_activate):
29662         Handle EOS in preroll.
29663
29664 2005-05-30  Wim Taymans  <wim@fluendo.com>
29665
29666         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29667         (gst_queue_loop), (gst_queue_handle_src_event):
29668         Remove old pieces of code
29669         Flushing the queue in an upstream event is a very bad idea.
29670
29671 2005-05-26  Andy Wingo  <wingo@pobox.com>
29672
29673         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29674         gst_value_set_mini_object so as to add a ref on the object (which
29675         will be removed when the value is unset).
29676
29677         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29678         arg type in ::handoff.
29679
29680         * gst/gstelement.c (gst_element_change_state): Also deactivate
29681         pads in READY->NULL, just in case the element didn't make it to
29682         PAUSED. Wingo tested, Wim approved.
29683
29684 2005-05-26  Wim Taymans  <wim@fluendo.com>
29685
29686         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29687         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29688         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29689         A flushing pad cannot be used to alloc_buffer from.
29690
29691 2005-05-26  Wim Taymans  <wim@fluendo.com>
29692
29693         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29694         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29695         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29696         (gst_bus_create_watch), (gst_bus_add_watch_full):
29697         * gst/gstbus.h:
29698         Implement a real GSource and use g_main_context_wakeup() to
29699         signal new messages instead of the socketpair.
29700
29701 2005-05-25  Wim Taymans  <wim@fluendo.com>
29702
29703         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29704         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29705         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29706         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29707         (gst_pad_send_event), (gst_pad_start_task):
29708         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29709         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29710         (gst_queue_sink_activate), (gst_queue_src_activate),
29711         (gst_queue_change_state):
29712         * gst/gstqueue.h:
29713         Fix state changes for non sinks. We now change sinks, then elements
29714         with unconnected srcpads, then the rest.
29715         More efficient queue unlocking in flush and state changes.
29716         Set the pad activate mode even if it does not have an activate
29717         function.
29718
29719 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29720
29721         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29722           Don't go in pull mode for non-seekable sources.
29723         * gst/elements/gsttypefindelement.h:
29724         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29725         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29726         (free_entry), (stop_typefinding),
29727         (gst_type_find_element_handle_event), (find_peek),
29728         (gst_type_find_element_chain), (do_pull_typefind),
29729         (gst_type_find_element_change_state):
29730           Allow typefinding (w/o seeking) in push-mode, simplified version
29731           of what was in 0.8.
29732         * gst/gstutils.c: (gst_buffer_join):
29733         * gst/gstutils.h:
29734           gst_buffer_join() from 0.8.
29735
29736 2005-05-25  Wim Taymans  <wim@fluendo.com>
29737
29738         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29739         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29740         (gst_pad_send_event), (gst_pad_start_task):
29741         Disable attempt at mode switching until it is figured out.
29742
29743 2005-05-25  Wim Taymans  <wim@fluendo.com>
29744
29745         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29746         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29747         (gst_basesink_finish_preroll), (gst_basesink_chain),
29748         (gst_basesink_loop), (gst_basesink_activate),
29749         (gst_basesink_change_state):
29750         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29751         (gst_basesrc_get_range), (gst_basesrc_loop),
29752         (gst_basesrc_activate):
29753         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29754         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29755         (gst_real_pad_init), (gst_real_pad_set_property),
29756         (gst_real_pad_get_property), (gst_pad_set_active),
29757         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29758         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29759         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29760         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29761         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29762         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29763         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29764         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29765         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29766         (gst_pad_stop_task):
29767         * gst/gstpad.h:
29768         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29769         (gst_queue_loop), (gst_queue_src_activate):
29770         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29771         (gst_task_get_state):
29772         * gst/gsttask.h:
29773         * gst/schedulers/threadscheduler.c:
29774         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29775         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29776         in task function.
29777         Remove ACTIVE pad flag, use FLUSHING everywhere
29778         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29779         functions.
29780         Add locks around IS_FLUSHING when reading.
29781         Take STREAM lock in chain(), get_range() functions so plugins
29782         don't need to take it anymore.
29783         
29784
29785
29786 2005-05-25  Wim Taymans  <wim@fluendo.com>
29787
29788         * tools/gst-launch.c: (event_loop):
29789         Unref message after using its contents instead of
29790         before.
29791
29792 2005-05-24  Wim Taymans  <wim@fluendo.com>
29793
29794         * docs/design/draft-ghostpads.txt:
29795         * docs/design/draft-push-pull.txt:
29796         * docs/design/draft-query.txt:
29797         * docs/design/part-overview.txt:
29798         Docs updates, added general overview doc.
29799
29800 2005-05-21  David Schleef  <ds@schleef.org>
29801
29802         * docs/gst/tmpl/old/GstBin.sgml:
29803         * docs/gst/tmpl/old/GstBuffer.sgml:
29804         * docs/gst/tmpl/old/GstCaps.sgml:
29805         * docs/gst/tmpl/old/GstClock.sgml:
29806         * docs/gst/tmpl/old/GstCompat.sgml:
29807         * docs/gst/tmpl/old/GstData.sgml:
29808         * docs/gst/tmpl/old/GstElement.sgml:
29809         * docs/gst/tmpl/old/GstEvent.sgml:
29810         * docs/gst/tmpl/old/GstIndex.sgml:
29811         * docs/gst/tmpl/old/GstStructure.sgml:
29812         * docs/gst/tmpl/old/GstTag.sgml:
29813         * docs/gst/tmpl/old/cothreads.sgml:
29814         * docs/gst/tmpl/old/cothreads_compat.sgml:
29815         * docs/gst/tmpl/old/gettext.sgml:
29816         * docs/gst/tmpl/old/gobject2gtk.sgml:
29817         * docs/gst/tmpl/old/grammar.tab.sgml:
29818         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29819         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29820         * docs/gst/tmpl/old/gst_private.sgml:
29821         * docs/gst/tmpl/old/gstaggregator.sgml:
29822         * docs/gst/tmpl/old/gstarch.sgml:
29823         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29824         * docs/gst/tmpl/old/gstbufferstore.sgml:
29825         * docs/gst/tmpl/old/gstdata_private.sgml:
29826         * docs/gst/tmpl/old/gstdisksink.sgml:
29827         * docs/gst/tmpl/old/gstdisksrc.sgml:
29828         * docs/gst/tmpl/old/gstelementfactory.sgml:
29829         * docs/gst/tmpl/old/gstextratypes.sgml:
29830         * docs/gst/tmpl/old/gstfakesink.sgml:
29831         * docs/gst/tmpl/old/gstfakesrc.sgml:
29832         * docs/gst/tmpl/old/gstfdsink.sgml:
29833         * docs/gst/tmpl/old/gstfdsrc.sgml:
29834         * docs/gst/tmpl/old/gstfilesink.sgml:
29835         * docs/gst/tmpl/old/gstfilesrc.sgml:
29836         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29837         * docs/gst/tmpl/old/gstidentity.sgml:
29838         * docs/gst/tmpl/old/gstindexfactory.sgml:
29839         * docs/gst/tmpl/old/gstmarshal.sgml:
29840         * docs/gst/tmpl/old/gstmd5sink.sgml:
29841         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29842         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29843         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29844         * docs/gst/tmpl/old/gstpipefilter.sgml:
29845         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29846         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29847         * docs/gst/tmpl/old/gstshaper.sgml:
29848         * docs/gst/tmpl/old/gstspider.sgml:
29849         * docs/gst/tmpl/old/gstspideridentity.sgml:
29850         * docs/gst/tmpl/old/gststatistics.sgml:
29851         * docs/gst/tmpl/old/gsttee.sgml:
29852         * docs/gst/tmpl/old/gsttimecache.sgml:
29853         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29854         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29855         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29856         * docs/gst/tmpl/old/types.sgml:
29857           I didn't intend to add these or check them in.
29858
29859 2005-05-19  David Schleef  <ds@schleef.org>
29860
29861         * configure.ac: Use -no-common everywhere.  In a sane world, it
29862           would be the default in libtool, because without it, you can't
29863           build DLLs on Windows.
29864         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29865         * docs/gst/gstreamer-sections.txt:
29866         * docs/gst/tmpl/gstcpu.sgml:
29867         * docs/gst/tmpl/gstdata.sgml:
29868         * docs/gst/tmpl/gstthread.sgml:
29869
29870 2005-05-19  David Schleef  <ds@schleef.org>
29871
29872         * gst/gstminiobject.c: (gst_value_set_mini_object),
29873         (gst_value_take_mini_object), (gst_value_get_mini_object):
29874         * gst/gstminiobject.h: Add GValue set/get functions.
29875
29876 2005-05-19  Wim Taymans  <wim@fluendo.com>
29877
29878         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29879         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29880         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29881         * gst/gstbuffer.h:
29882         * gst/gstbus.c: (gst_bus_post):
29883         * gst/gstelement.c: (gst_element_get_random_pad):
29884         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29885         Make subbufer unref the parent in finalize.
29886         some more debugging info.
29887
29888
29889 2005-05-19  Wim Taymans  <wim@fluendo.com>
29890
29891         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29892         (gst_basesink_init), (gst_basesink_finalize),
29893         (gst_basesink_activate), (gst_basesink_change_state):
29894         Don't free preroll queue too early.
29895
29896 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29897
29898         * gst/Makefile.am:
29899         * gst/ROADMAP:
29900           Hi, I'm outdated. Please shoot me.
29901
29902 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29903
29904         * gst/gstpipeline.c: (gst_pipeline_send_event):
29905           Do not access variables after they have been deleted.
29906
29907 2005-05-19  Wim Taymans  <wim@fluendo.com>
29908
29909         * tools/gst-inspect.c: (print_plugin_features):
29910         A plugin feature does unfortunatly not use the
29911         object name yet...
29912
29913 2005-05-18  Wim Taymans  <wim@fluendo.com>
29914
29915         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29916         Port _span() functions to new subbuffers.
29917
29918 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29919
29920         * gst/gstbin.c: (gst_bin_add_func):
29921           Fix clock settery in bins when adding kids after the clock has
29922           been selected.
29923
29924 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29925
29926         * gst/elements/gstidentity.c: (gst_identity_class_init):
29927           Workaround until signals support GstMiniObject.
29928
29929 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
29930
29931         * gst/gstbuffer.c:
29932         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29933
29934 2005-05-18  Wim Taymans  <wim@fluendo.com>
29935
29936         * gst/base/Makefile.am:
29937         * gst/base/gstadapter.c: (gst_adapter_base_init),
29938         (gst_adapter_class_init), (gst_adapter_init),
29939         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29940         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29941         (gst_adapter_flush), (gst_adapter_available),
29942         (gst_adapter_available_fast):
29943         * gst/base/gstadapter.h:
29944         Ported and added adapter to the base classes.
29945
29946 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29947
29948         * gst/gst.c:
29949         * gst/gstmessage.c:
29950           Make sure the class is reffed/unreffed once before threads can be
29951           used.  Fixes #304551.
29952
29953 2005-05-17  Wim Taymans  <wim@fluendo.com>
29954
29955         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29956         (gst_basesink_chain_unlocked), (gst_basesink_activate):
29957         * gst/gstminiobject.c: (gst_mini_object_get_type),
29958         (gst_mini_object_free):
29959         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29960         (gst_pad_push), (gst_pad_push_event):
29961         * gst/gstqueue.c: (gst_queue_change_state):
29962         Don't queue buffers in basesink when we are flushing.
29963         Unref buffer when flushing in basesink.
29964         Flush queue when going to READY
29965         Unref buffer when _push() returns an error.
29966         Don't free MiniObject instance when refcount is incremented
29967         in _finalize() so that we can recover objects.
29968
29969 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29970
29971         * docs/manual/advanced-schedulers.xml:
29972         * docs/manual/appendix-checklist.xml:
29973         * docs/pwg/advanced-clock.xml:
29974         * docs/pwg/advanced-interfaces.xml:
29975         * docs/pwg/advanced-request.xml:
29976         * docs/pwg/advanced-types.xml:
29977         * docs/pwg/intro-preface.xml:
29978         * examples/plugins/example.c: (gst_example_get_type),
29979         (gst_example_class_init), (gst_example_chain),
29980         (gst_example_set_property), (gst_example_get_property),
29981         (gst_example_change_state), (plugin_init):
29982         * examples/plugins/example.h:
29983           small doc fixes
29984
29985 2005-05-17  Wim Taymans  <wim@fluendo.com>
29986
29987         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29988         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29989         * gst/gstqueue.c: (gst_queue_change_state):
29990         Clear queue when going to READY.
29991         Remove IN_SETCAPS flag too.
29992
29993 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
29994
29995         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29996           Remove implicit cast from gboolean to GstElementStateReturn;
29997           make sure we still return failure in paused => ready case if
29998           the parent class fails to change state and our own stop 
29999           vfunc succeeds.
30000
30001 2005-05-17  Wim Taymans  <wim@fluendo.com>
30002
30003         * tools/gst-launch.c: (event_loop):
30004         Message was unreffed too soon.
30005
30006 2005-05-16  Andy Wingo  <wingo@pobox.com>
30007
30008         * gst/gstbin.c (sink_iterator_filter): Err... um...
30009
30010         * check/gst/gstbin.c (test_ghost_pads): New test for the
30011         ghosting-if-elements-not-in-same-bin behavior.
30012
30013 2005-05-16  David Schleef  <ds@schleef.org>
30014
30015         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30016         accessing refcount directly.
30017
30018 2005-05-15  David Schleef  <ds@schleef.org>
30019
30020         * check/Makefile.am: remove GstData checks
30021         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30022         * gst/Makefile.am: add miniobject, remove data
30023         * gst/gst.h: add miniobject, remove data
30024         * gst/gstdata.c: remove
30025         * gst/gstdata.h: remove
30026         * gst/gstdata_private.h: remove
30027         * gst/gsttypes.h: remove GstEvent and GstMessage
30028         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30029         * gst/gstmarshal.list: change BOXED -> OBJECT
30030
30031         Implement GstMiniObject.
30032         * gst/gstminiobject.c:
30033         * gst/gstminiobject.h:
30034
30035         Modify to be subclasses of GstMiniObject.
30036         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30037         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30038         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30039         (gst_subbuffer_get_type), (gst_subbuffer_init),
30040         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30041         (gst_buffer_span):
30042         * gst/gstbuffer.h:
30043         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30044         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30045         (_gst_event_copy), (gst_event_new):
30046         * gst/gstevent.h:
30047         * gst/gstmessage.c: (_gst_message_initialize),
30048         (gst_message_get_type), (gst_message_class_init),
30049         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30050         (gst_message_new), (gst_message_new_error),
30051         (gst_message_new_warning), (gst_message_new_tag),
30052         (gst_message_new_state_changed), (gst_message_new_application):
30053         * gst/gstmessage.h:
30054         * gst/gstprobe.c: (gst_probe_perform),
30055         (gst_probe_dispatcher_dispatch):
30056         * gst/gstprobe.h:
30057         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30058         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30059         (_gst_query_copy), (gst_query_new):
30060
30061         Update elements for GstData -> GstMiniObject changes
30062         * gst/gstquery.h:
30063         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30064         (gst_queue_chain), (gst_queue_loop):
30065         * gst/elements/gstbufferstore.c:
30066         (gst_buffer_store_add_buffer_func),
30067         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30068         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30069         (gst_fakesink_render):
30070         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30071         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30072         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30073         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30074         (gst_filesrc_create_read):
30075         * gst/elements/gstidentity.c: (gst_identity_class_init):
30076         * gst/elements/gsttypefindelement.c:
30077         (gst_type_find_element_src_event), (free_entry_buffers),
30078         (gst_type_find_element_handle_event):
30079         * libs/gst/dataprotocol/dataprotocol.c:
30080         (gst_dp_header_from_buffer):
30081         * libs/gst/dataprotocol/dataprotocol.h:
30082         * libs/gst/dataprotocol/dp-private.h:
30083
30084 2005-05-15  David Schleef  <ds@schleef.org>
30085
30086         * gst/elements/gstelements.c: Don't include headers that were
30087         just removed.
30088
30089 2005-05-15  David Schleef  <ds@schleef.org>
30090
30091         * gst/elements/Makefile.am: Remove some elements that don't
30092         need to be in the core (or even exist at all).
30093         * gst/elements/gstaggregator.c:
30094         * gst/elements/gstaggregator.h:
30095         * gst/elements/gstmd5sink.c:
30096         * gst/elements/gstmd5sink.h:
30097         * gst/elements/gstmultifilesrc.c:
30098         * gst/elements/gstmultifilesrc.h:
30099         * gst/elements/gstpipefilter.c:
30100         * gst/elements/gstpipefilter.h:
30101         * gst/elements/gstshaper.c:
30102         * gst/elements/gstshaper.h:
30103         * gst/elements/gststatistics.c:
30104         * gst/elements/gststatistics.h:
30105         * po/POTFILES.in: Remove above files.
30106
30107 2005-05-14  Andy Wingo  <wingo@pobox.com>
30108
30109         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30110         so as to get the refs right.
30111         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30112         unreffing objects that don't pass the filter.
30113
30114         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30115         gst_element_set_bus.
30116         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30117         normal cases, this will destroy the bus.
30118
30119         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30120         object.
30121
30122         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30123         has no sinks.
30124
30125 2005-05-13  Andy Wingo  <wingo@pobox.com>
30126
30127         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30128         gst_pad_link, call pad_link_maybe_ghosting,
30129         (pad_link_maybe_ghosting): Links pads, making sure that the
30130         elements being linked are in the same bin.
30131         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30132         Helpers for pad_link_maybe_ghosting.
30133
30134 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30135
30136         * configure.ac:
30137           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30138
30139 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30140
30141         * docs/design/part-element-source.txt:
30142           Mention GstPushSrc
30143
30144 2005-05-12  Wim Taymans  <wim@fluendo.com>
30145
30146         * gst/base/gstbasesink.c: (gst_basesink_init),
30147         (gst_basesink_activate):
30148         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30149         (gst_basesrc_is_seekable):
30150         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30151         (bin_element_is_sink), (gst_bin_change_state):
30152         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30153         * gst/gstelement.h:
30154         Identify sinks by their flag to avoid overly complicated
30155         checks (fow now).
30156         Do state changes even for elements not reachable from the
30157         sinks.
30158         BaseSink is a sink now :)
30159         Some more debugging info in the basesrc.
30160
30161
30162 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30163
30164         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30165           Implement _query on a bin, similar to _send_event.
30166
30167 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30168
30169         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30170           Discont event offset format should be GST_FORMAT_BYTES,
30171           not GST_FORMAT_TIME.
30172
30173 2005-05-12  Wim Taymans  <wim@fluendo.com>
30174
30175         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30176         Same fix as Ronald's but without the signal. 
30177
30178 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30179
30180         * gst/gstutils.c: (gst_element_query_position):
30181           No, an element is not a pad.
30182
30183 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30184
30185         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30186         (gst_bin_get_state):
30187           If a child is removed from a bin while we remove the child from
30188           the bin and while we're retrieving its state, signal this to the
30189           get_state function so we abort the wait (instead of waiting for
30190           a timeout) and can immediately re-iterate over all other elements.
30191
30192 2005-05-12  Wim Taymans  <wim@fluendo.com>
30193
30194         * gst/base/Makefile.am:
30195         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30196         (gst_basesrc_start):
30197         * gst/base/gstbasesrc.h:
30198         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30199         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30200         (gst_pushsrc_init), (gst_pushsrc_create):
30201         * gst/base/gstpushsrc.h:
30202         Added is_seekable to BaseSrc
30203         Added simple PushSrc.
30204
30205 2005-05-11  Wim Taymans  <wim@fluendo.com>
30206
30207         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30208         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30209         (gst_element_link_pads), (gst_element_query_position),
30210         (gst_element_query_convert), (intersect_caps_func),
30211         (gst_pad_query_position), (gst_pad_query_convert):
30212         Fix refcounting in utils function.
30213         No point in trying to activate a pad when it's added, it could
30214         be added from the state change function and then we deadlock, the
30215         element has to decide what to do.
30216
30217 2005-05-10  Andy Wingo  <wingo@pobox.com>
30218
30219         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30220         *all* the arguments.
30221
30222         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30223         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30224         lock (according to the docs -- if this is wrong change the docs).
30225
30226         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30227         flush messages in the NULL state.
30228
30229         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30230         message immediately and return.
30231         (gst_bus_set_flushing): New function. If a bus is flushing, it
30232         flushes out any queued messages and immediately unrefs new
30233         messages. This is so when an element goes to NULL, all of the
30234         unhandled messages coming from it can be freed, and their
30235         references to the element dropped. In other words: message source
30236         ref considered harmful :P
30237
30238         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30239         we're finished with it.
30240
30241         * gst/gstmessage.c (gst_message_new_state_changed): 
30242
30243 2005-05-10  Wim Taymans  <wim@fluendo.com>
30244
30245         * gst/gstvalue.c: (gst_value_compare_flags),
30246         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30247         (_gst_value_initialize):
30248         Added flags serialize/deserialize/compare code.
30249
30250 2005-05-09  Andy Wingo  <wingo@pobox.com>
30251
30252         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30253         Intersect the peer's caps with our caps.
30254
30255 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30256
30257         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30258         * gst/elements/gsttypefindelement.c: (find_peek):
30259           Handle negative offsets better. Fixes decodebin.
30260
30261 2005-05-09  Wim Taymans  <wim@fluendo.com>
30262
30263         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30264         (gst_base_transform_event):
30265         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30266         Implement accept_caps.
30267         Fix silly lock/unlock mismatch in base class.
30268
30269 2005-05-09  Wim Taymans  <wim@fluendo.com>
30270
30271         * docs/design/draft-push-pull.txt:
30272         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30273         * gst/elements/gstfilesink.c: (gst_filesink_init),
30274         (gst_filesink_query):
30275         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30276         (gst_type_find_handle_src_query), (find_element_get_length):
30277         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30278         * gst/gstelement.h:
30279         * gst/gstmessage.c:
30280         * gst/gstmessage.h:
30281         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30282         (gst_real_pad_get_caps_unlocked),
30283         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30284         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30285         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30286         (gst_real_pad_dispose), (gst_real_pad_finalize),
30287         (gst_pad_load_and_link), (gst_pad_save_thyself),
30288         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30289         (gst_pad_check_pull_range), (gst_pad_pull_range),
30290         (gst_pad_template_get_type), (gst_pad_template_class_init),
30291         (gst_pad_template_init), (gst_pad_template_dispose),
30292         (name_is_valid), (gst_static_pad_template_get),
30293         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30294         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30295         (gst_pad_get_element_private), (gst_pad_start_task),
30296         (gst_pad_pause_task), (gst_pad_stop_task),
30297         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30298         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30299         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30300         (gst_ghost_pad_new):
30301         * gst/gstpad.h:
30302         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30303         (gst_query_new_position), (gst_query_set_position),
30304         (gst_query_parse_position), (gst_query_new_convert),
30305         (gst_query_set_convert), (gst_query_parse_convert):
30306         * gst/gstquery.h:
30307         * gst/gstqueryutils.c:
30308         * gst/gstqueryutils.h:
30309         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30310         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30311         (gst_queue_handle_src_query):
30312         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30313         (gst_element_query_position), (gst_element_query_convert),
30314         (intersect_caps_func), (gst_pad_query_position),
30315         (gst_pad_query_convert):
30316         * gst/gstutils.h:
30317         * tools/gst-inspect.c: (print_pad_info):
30318         * tools/gst-xmlinspect.c: (print_element_info):
30319         Remove old query functions. Ported old code.
30320         Added position/convert helper functions to gstutils.
30321         Reordered gstpad.c code, grouping relevant things.
30322         Remove gst_message_new(), always need to speficy a specific
30323         message.
30324
30325
30326 2005-05-09  Andy Wingo  <wingo@pobox.com>
30327
30328         * gst/gstiterator.h: Add some includes.
30329
30330         * gst/gstqueryutils.h: Include more headers.
30331
30332         * gst/gstpad.h:
30333         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30334         some uses of gst_pad_query.
30335
30336         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30337         NULL out parameters.
30338         (gst_query_new_position): New proc, allocates a new position
30339         query.
30340
30341         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30342         gstqueryutils.c to the build.
30343
30344         * gst/gststructure.c (gst_structure_set_valist): Implement with
30345         the generic G_VALUE_COLLECT.
30346         
30347 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30348
30349         * gst/Makefile.am: (gst_headers):
30350         Added gstqueryutils.h to the list of headers to install, that was
30351         a 'nachty' move wingo :)
30352
30353 2005-05-06  Andy Wingo  <wingo@pobox.com>
30354
30355         * gst/gstquery.h
30356         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30357         GstData, init a memchunk.
30358         (standard_definitions): Add a few query types, deprecate a few.
30359         (gst_query_get_type): New proc.
30360         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30361         implementation.
30362         (gst_query_new_application, gst_query_get_structure): New public
30363         procs.
30364
30365         * docs/design/draft-query.txt: Removed LINKS from the query types,
30366         because all the rest can be dispatched to other pads -- seemed
30367         ugly to have a query that couldn't be dispatched. internal_links
30368         is fine as a pad method.
30369
30370         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30371         in gstpad.c, but maintain binary compatibility for the moment.
30372         Will fix before 0.9 is out.
30373
30374         * gst/gstqueryutils.c: 
30375         * gst/gstqueryutils.h: New files, implement 3 methods for each
30376         query type: parse_query, parse_response, and set. Probably need an
30377         allocator as well.
30378
30379         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30380
30381         * gst/elements/gstfilesink.c (gst_filesink_query2):
30382         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30383         query_types, and formats methods.
30384
30385         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30386         (gst_pad_set_query2_function): New functions.
30387         (gst_real_pad_init): Set query2_default as the default query2
30388         function. Basically just dispatches to internally linked pads.
30389
30390         Needs review!
30391         
30392         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30393         without using the atomic operations. Only one thread can possibly
30394         be accessing the data at this point. Changed so as to avoid
30395         gst_atomic operations.
30396
30397 2005-05-06  Wim Taymans  <wim@fluendo.com>
30398
30399         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30400         Also set caps if we use the fallback buffer alloc.
30401
30402 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30403
30404         * docs/gst/Makefile.am:
30405         * docs/gst/gstreamer-docs.sgml:
30406         * docs/gst/gstreamer-sections.txt:
30407         * docs/gst/tmpl/gstatomic.sgml:
30408         * docs/gst/tmpl/gstmemchunk.sgml:
30409         * testsuite/elements/struct_i386.h:
30410         * win32/GStreamer.vcproj:
30411         * win32/Makefile:
30412           Purge GstAtomic stuff from docs and win32 makefiles as well
30413
30414 2005-05-06  Wim Taymans  <wim@fluendo.com>
30415
30416         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30417         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30418         * gst/gstpad.c: (gst_pad_peer_get_caps):
30419         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30420         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30421         (gst_queue_src_activate), (gst_queue_change_state):
30422         * gst/gstqueue.h:
30423         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30424         (intersect_caps_func):
30425         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30426         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30427         Some fixes for the peer_get_caps() change.
30428
30429 2005-05-06  Wim Taymans  <wim@fluendo.com>
30430
30431         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30432         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30433         (gst_basesink_activate):
30434         Actually do something with error codes returned from the push
30435         functions.
30436
30437 2005-05-06  Wim Taymans  <wim@fluendo.com>
30438
30439         * docs/design/part-element-sink.txt:
30440         * docs/design/part-element-source.txt:
30441         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30442         (gst_basesink_event), (gst_basesink_activate):
30443         * gst/base/gstbasesink.h:
30444         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30445         (gst_basesrc_activate):
30446         * gst/base/gstbasesrc.h:
30447         * gst/gstelement.c: (gst_element_pads_activate):
30448         Some more documentation.
30449         Fixed scheduling decision in _pads_activate().
30450
30451 2005-05-05  Andy Wingo  <wingo@pobox.com>
30452
30453         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30454         the test suite.
30455
30456 2005-05-05  Wim Taymans  <wim@fluendo.com>
30457
30458         * gst/base/Makefile.am:
30459         * gst/base/gstbasesink.h:
30460         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30461         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30462         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30463         (gst_collectpads_class_init), (gst_collectpads_init),
30464         (gst_collectpads_finalize), (gst_collectpads_new),
30465         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30466         (find_pad), (gst_collectpads_remove_pad),
30467         (gst_collectpads_is_active), (gst_collectpads_collect),
30468         (gst_collectpads_collect_range), (gst_collectpads_start),
30469         (gst_collectpads_stop), (gst_collectpads_peek),
30470         (gst_collectpads_pop), (gst_collectpads_available),
30471         (gst_collectpads_read), (gst_collectpads_flush),
30472         (gst_collectpads_chain):
30473         * gst/base/gstcollectpads.h:
30474         * gst/elements/Makefile.am:
30475         * gst/elements/gstelements.c:
30476         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30477         (gst_fakesink_get_times), (gst_fakesink_event),
30478         (gst_fakesink_preroll), (gst_fakesink_render):
30479         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30480         (gst_filesink_init), (gst_filesink_set_location),
30481         (gst_filesink_open_file), (gst_filesink_close_file),
30482         (gst_filesink_pad_query), (gst_filesink_event),
30483         (gst_filesink_render), (gst_filesink_change_state):
30484         * gst/elements/gstfilesink.h:
30485         Added object to help in making collect pad based elements.
30486         Ported filesink.
30487         Make event function in sink baseclass return gboolean.
30488
30489 2005-05-05  Wim Taymans  <wim@fluendo.com>
30490
30491         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30492         (gst_bin_get_by_name):
30493         * gst/gstbuffer.h:
30494         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30495         (gst_clock_finalize):
30496         * gst/gstdata.c: (gst_data_replace):
30497         * gst/gstdata.h:
30498         * gst/gstelement.c: (gst_element_request_pad),
30499         (gst_element_pads_activate):
30500         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30501         (gst_object_unref):
30502         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30503         (gst_pad_set_checkgetrange_function),
30504         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30505         (gst_pad_check_pull_range), (gst_pad_pull_range),
30506         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30507         (gst_pad_pause_task), (gst_pad_stop_task):
30508         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30509         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30510         Fix name lookup in GstBin.
30511         Added _data_replace() function and _buffer_replace()
30512         Use finalize method to clean up clock.
30513         Fix refcounting on request pads.
30514         Fix pad schedule mode error.
30515         Some more object refcounting debug info,
30516
30517
30518 2005-05-04  Andy Wingo <wingo@pobox.com>
30519
30520         * check/Makefile.am:
30521         * docs/gst/tmpl/gstatomic.sgml:
30522         * docs/gst/tmpl/gstplugin.sgml:
30523         * gst/base/gstbasesink.c: (gst_basesink_activate):
30524         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30525         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30526         (gst_basesrc_query), (gst_basesrc_set_property),
30527         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30528         (gst_basesrc_activate):
30529         * gst/base/gstbasesrc.h:
30530         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30531         (gst_base_transform_src_activate):
30532         * gst/elements/gstelements.c:
30533         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30534         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30535         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30536         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30537         (gst_type_find_element_checkgetrange),
30538         (gst_type_find_element_activate):
30539         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30540         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30541         (gst_caps_load_thyself):
30542         * gst/gstelement.c: (gst_element_pads_activate),
30543         (gst_element_save_thyself), (gst_element_restore_thyself):
30544         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30545         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30546         * gst/gstpad.h:
30547         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30548         (gst_xml_parse_file), (gst_xml_parse_memory),
30549         (gst_xml_get_element), (gst_xml_make_element):
30550         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30551         (_file_index_id_save_xml), (gst_file_index_commit):
30552         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30553         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30554         (load_paths):
30555         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30556         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30557         * tools/gst-complete.c: (main):
30558         * tools/gst-compprep.c: (main):
30559         * tools/gst-inspect.c: (print_element_properties_info):
30560         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30561         * tools/gst-xmlinspect.c: (print_element_properties):
30562         GCC 4 fixen.
30563         
30564 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30565
30566         * gst/gstplugin.c: (gst_plugin_check_module),
30567         (gst_plugin_check_file), (gst_plugin_load_file):
30568             apply patch from #172526 to make register work on MacOSX
30569
30570 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30571
30572         * docs/gst/tmpl/gstconfig.sgml:
30573         * gst/gstconfig.h.in:
30574           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30575         * testsuite/debug/printf_extension.c: (main):
30576           Do not use GST_PTR_FORMAT on pointers to types with
30577           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30578         * testsuite/elements/property.h:
30579           use correct printf format
30580
30581 2005-05-02  Wim Taymans  <wim@fluendo.com>
30582
30583         * docs/design/draft-push-pull.txt:
30584         * docs/design/draft-query.txt:
30585         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30586         (gst_basesrc_start):
30587         Added draft for new query API.
30588         Added draft for better selecting scheduling methods.
30589         Make basesrc ignore length if the subclass does not support
30590         it.
30591
30592 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30593
30594         * gst/Makefile.am:
30595           possible fixes for automake-1.5 - _LIBADD is reserved
30596
30597 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30598
30599         * docs/faq/Makefile.am:
30600         * docs/manual/Makefile.am:
30601         * docs/manuals.mak:
30602         * docs/pwg/Makefile.am:
30603         * gst/Makefile.am:
30604           possible fixes for automake-1.5
30605
30606 2005-04-28  Wim Taymans  <wim@fluendo.com>
30607
30608         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30609         (gst_basesink_pad_getcaps), (gst_basesink_init),
30610         (gst_basesink_do_sync):
30611         * gst/gstclock.c: (gst_clock_entry_new):
30612         * gst/gstevent.c: (gst_event_discont_get_value):
30613         * gst/gstpipeline.c: (pipeline_bus_handler),
30614         (gst_pipeline_change_state):
30615         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30616         Better debugging of clocking info.
30617         Allow NULL values when getting discont values.
30618
30619 2005-04-27  Wim Taymans  <wim@fluendo.com>
30620
30621         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30622         * check/gst/gstpad.c: (gst_pad_suite):
30623         Increase timeout for checks.
30624
30625 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30626
30627         * check/Makefile.am:
30628           fix the broken rule for cleanup.  Apparently this rule is
30629           only needed on FC2, so maybe this warrants further autotool
30630           inspection.
30631
30632 2005-04-26  Wim Taymans  <wim@fluendo.com>
30633
30634         * gst/gsttrashstack.h:
30635         Ooohh. a nasty one! After having a failed pop() from the stack,
30636         it's possible that the stack is empty. In that case, don't
30637         follow the NULL pointer.
30638
30639 2005-04-25  Wim Taymans  <wim@fluendo.com>
30640
30641         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30642         (gst_pad_set_checkgetrange_function),
30643         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30644         (gst_pad_check_pull_range), (gst_pad_pull_range),
30645         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30646         (gst_pad_pause_task), (gst_pad_stop_task):
30647         * gst/gstplugin.c: (gst_plugin_load):
30648         * gst/gstplugin.h:
30649         Remove gst_library_load as it does more harm than good with
30650         the new g_module flags.
30651         Revert bogus caps template check in pad linking, pad caps
30652         are important when linking not the template, which is more
30653         general than the current caps.
30654
30655 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30656
30657         * gst/autoplug/.cvsignore:
30658         * gst/autoplug/Makefile.am:
30659         * gst/autoplug/gstsearchfuncs.c:
30660         * gst/autoplug/gstsearchfuncs.h:
30661         * gst/autoplug/gstspider.c:
30662         * gst/autoplug/gstspider.h:
30663         * gst/autoplug/gstspideridentity.c:
30664         * gst/autoplug/gstspideridentity.h:
30665         * gst/autoplug/spidertest.c:
30666           Die, spider, die.
30667
30668 2005-04-25  Wim Taymans  <wim@fluendo.com>
30669
30670         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30671         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30672         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30673         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30674         * gst/gstpad.h:
30675         Added stubs for unimplemented functions. 
30676
30677 2005-04-24  David Schleef  <ds@schleef.org>
30678
30679         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30680         please fix.
30681
30682 2005-04-24  David Schleef  <ds@schleef.org>
30683
30684         Convert everything from GstAtomicInt to g_atomic_int_*, and
30685         remove gstatomic.
30686         * gst/Makefile.am:
30687         * gst/gstatomic.c:
30688         * gst/gstatomic.h:
30689         * gst/gstatomic_impl.h:
30690         * gst/gstbuffer.c:
30691         * gst/gstcaps.c:
30692         * gst/gstcaps.h:
30693         * gst/gstclock.c:
30694         * gst/gstclock.h:
30695         * gst/gstdata.c:
30696         * gst/gstdata.h:
30697         * gst/gstdata_private.h:
30698         * gst/gstevent.c:
30699         * gst/gstinfo.c:
30700         * gst/gstinfo.h:
30701         * gst/gstmessage.c:
30702         * gst/gstobject.c:
30703         * gst/gstobject.h:
30704         * gst/gststructure.c:
30705         * gst/gststructure.h:
30706         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30707         * gst/gstutils.h:
30708
30709 2005-04-24  David Schleef  <ds@schleef.org>
30710
30711         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30712         make the regressions tests work.  Remove some code that is no
30713         longer true.
30714         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30715         Disable warning for pads without templates.
30716
30717 2005-04-24  David Schleef  <ds@schleef.org>
30718
30719         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30720         functions that handle filtered links.
30721         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30722         removed functions.
30723         * gst/gstutils.c: Fix/remove utility functions that handle
30724         filtered caps.
30725         * gst/gstutils.h:
30726         * gst/gstvalue.c: Add serialization/deserialization of caps
30727         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30728         requires fixing so that the filter caps notation creates
30729         a capsfilter element and sets the filter_caps property.  I
30730         think everyone probably wants to keep the shorthand notation.
30731         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30732         * docs/gst/tmpl/gstpad.sgml:
30733
30734         * gst/elements/gstelements.c: Register capsfilter element.
30735         * gst/Makefile.am: fix spacing
30736         * docs/random/ds/0.9-suggested-changes: random
30737
30738 2005-04-23  David Schleef  <ds@schleef.org>
30739
30740         * gst/elements/Makefile.am:
30741         * gst/elements/gstcapsfilter.c: New element that acts like an
30742         identity, but filters caps.  Will eventually replace filtered
30743         caps in pad linking.
30744         * gst/gstutils.c: (gst_element_create_all_pads): New function
30745         to create all the ALWAYS pads that are registered with an
30746         element class.  This functionality should eventually be
30747         merged in with GstElement initialization.
30748         * gst/gstutils.h:
30749         * testsuite/trigger/README: part of trigger test code that should
30750         have been checked in a long time ago.
30751
30752 2005-04-23  David Schleef  <ds@schleef.org>
30753
30754         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30755         needed with new versions of libtool (nobody will confirm this),
30756         and hard to carry around.
30757         * gst/autoplug/Makefile.am:
30758         * gst/base/Makefile.am:
30759         * gst/elements/Makefile.am:
30760         * gst/indexers/Makefile.am:
30761         * gst/schedulers/Makefile.am:
30762         * libs/gst/bytestream/Makefile.am:
30763         * libs/gst/control/Makefile.am:
30764         * libs/gst/dataprotocol/Makefile.am:
30765         * libs/gst/getbits/Makefile.am:
30766
30767 2005-04-21  Wim Taymans  <wim@fluendo.com>
30768
30769         * docs/design/draft-push-pull.txt:
30770         * docs/design/part-MT-refcounting.txt:
30771         * docs/design/part-TODO.txt:
30772         * docs/design/part-caps.txt:
30773         * docs/design/part-events.txt:
30774         * docs/design/part-gstbus.txt:
30775         * docs/design/part-gstpipeline.txt:
30776         * docs/design/part-messages.txt:
30777         * docs/design/part-push-pull.txt:
30778         * docs/design/part-query.txt:
30779         Some more docs.
30780
30781 2005-04-21  Wim Taymans  <wim@fluendo.com>
30782
30783         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30784         (gst_message_new), (gst_message_new_error),
30785         (gst_message_new_warning), (gst_message_new_tag),
30786         (gst_message_new_state_changed), (gst_message_new_application),
30787         (gst_message_get_structure):
30788         * gst/gstmessage.h:
30789         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30790         (gst_structure_copy_conditional):
30791         Use parent refcount in GstMessage to ensure GstStructure
30792         consistency.
30793         Cleaned up headers a bit.
30794         
30795
30796 2005-04-20  Wim Taymans  <wim@fluendo.com>
30797
30798         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30799         (gst_basesink_pad_getcaps), (gst_basesink_init),
30800         (gst_basesink_chain_unlocked):
30801         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30802         (gst_type_find_helper):
30803         * gst/elements/gsttypefindelement.c:
30804         (gst_type_find_element_have_type), (gst_type_find_element_init),
30805         (stop_typefinding), (gst_type_find_element_handle_event),
30806         (find_suggest), (gst_type_find_element_chain),
30807         (gst_type_find_element_checkgetrange),
30808         (gst_type_find_element_getrange), (do_typefind),
30809         (gst_type_find_element_activate):
30810         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30811         (gst_buffer_default_free), (gst_buffer_default_copy),
30812         (gst_buffer_set_caps):
30813         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30814         (gst_caps_replace):
30815         * gst/gstmessage.c: (gst_message_new),
30816         (gst_message_new_state_changed):
30817         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30818         (gst_pad_set_checkgetrange_function),
30819         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30820         (gst_pad_set_caps), (gst_pad_check_pull_range),
30821         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30822         * gst/gstpad.h:
30823         * gst/gsttypefind.c: (gst_type_find_register):
30824         Make gst_caps_replace() work like other _replace() functions.
30825         Use _caps_replace() where possible.
30826         Make sure _message_new() initialises its field.
30827         Add gst_static_pad_template_get_caps()
30828
30829
30830 2005-04-18  Andy Wingo  <wingo@pobox.com>
30831
30832         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30833         on the peer, not the pad. I think that was a typo. Pass an extra
30834         arg to see if random access is possible. Activate the pads as
30835         PULL_RANGE if possible.
30836
30837         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30838
30839         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30840         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30841         to PROP_....
30842
30843 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30844
30845         * docs/faq/using.xml:
30846           Add note on gstreamer-properties (#154996).
30847
30848 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30849
30850         * docs/random/bbb/optional-properties:
30851           Some analysis on optional properties.
30852
30853 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30854
30855         * docs/gst/tmpl/gstelementfactory.sgml:
30856         * gst/gstelement.h:
30857         * gst/gstelementfactory.c: (gst_element_factory_init),
30858         (gst_element_factory_cleanup), (gst_element_register),
30859         (__gst_element_factory_add_static_pad_template),
30860         (gst_element_factory_get_static_pad_templates),
30861         (gst_element_factory_can_src_caps),
30862         (gst_element_factory_can_sink_caps):
30863         * gst/registries/Makefile.am:
30864         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30865         (gst_xml_registry_class_init), (gst_xml_registry_init),
30866         (gst_xml_registry_new), (gst_xml_registry_set_property),
30867         (gst_xml_registry_get_property), (get_time), (make_dir),
30868         (gst_xml_registry_get_perms_func),
30869         (plugin_times_older_than_recurse), (plugin_times_older_than),
30870         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30871         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30872         (add_to_char_array), (read_string), (read_uint), (read_enum),
30873         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30874         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30875         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30876         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30877         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30878         (gst_xml_registry_rebuild):
30879         * gst/registries/gstlibxmlregistry.h:
30880         * tools/gst-compprep.c: (main):
30881         * tools/gst-inspect.c: (print_pad_templates_info):
30882         * tools/gst-xmlinspect.c: (print_element_info):
30883           Use libxml2 for registry parsing, use staticpadtemplates in
30884           elementfactories. Makes gst_init() +/- 10x faster.
30885
30886 2005-04-12  Wim Taymans  <wim@fluendo.com>
30887
30888         * gst/base/Makefile.am:
30889         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30890         (gst_basesink_pad_getcaps), (gst_basesink_init),
30891         (gst_basesink_event), (gst_basesink_change_state):
30892         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30893         (gst_basesrc_init), (gst_basesrc_query),
30894         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30895         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30896         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30897         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30898         (gst_basesrc_stop), (gst_basesrc_activate),
30899         (gst_basesrc_change_state):
30900         * gst/base/gsttypefindhelper.c: (helper_find_peek),
30901         (helper_find_suggest), (gst_type_find_helper):
30902         * gst/base/gsttypefindhelper.h:
30903         * gst/elements/Makefile.am:
30904         * gst/elements/gstelements.c:
30905         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30906         (gst_fakesink_get_times), (gst_fakesink_event),
30907         (gst_fakesink_preroll), (gst_fakesink_render):
30908         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30909         (gst_fakesrc_init), (gst_fakesrc_event_handler),
30910         (gst_fakesrc_get_property), (gst_fakesrc_create),
30911         (gst_fakesrc_start), (gst_fakesrc_stop):
30912         * gst/elements/gstfakesrc.h:
30913         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30914         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30915         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30916         (gst_filesrc_create_read), (gst_filesrc_create),
30917         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30918         (gst_filesrc_start):
30919         * gst/elements/gsttypefindelement.c:
30920         (gst_type_find_element_have_type), (gst_type_find_element_init),
30921         (start_typefinding), (stop_typefinding), (push_buffer_store),
30922         (gst_type_find_element_handle_event),
30923         (gst_type_find_element_chain),
30924         (gst_type_find_element_checkgetrange),
30925         (gst_type_find_element_getrange), (do_typefind),
30926         (gst_type_find_element_activate),
30927         (gst_type_find_element_change_state):
30928         * gst/elements/gsttypefindelement.h:
30929         * gst/gstpipeline.c: (pipeline_bus_handler):
30930         Added typefind helper.
30931         Small preroll fix in the base sink.
30932         Disable typefind code in basesrc.
30933         Crude port of typefindelement.
30934         Fakesrc cleanups.
30935
30936
30937 2005-04-11  Wim Taymans  <wim@fluendo.com>
30938
30939         * check/gst/gstbus.c: (gstbus_suite):
30940         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30941         * check/gstcheck.h:
30942           Fix up the timeout so that the test does not fail.
30943
30944 2005-04-06  Wim Taymans  <wim@fluendo.com>
30945
30946         * gst/base/README:
30947         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30948         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30949         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30950         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30951         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30952         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30953         (gst_basesrc_stop), (gst_basesrc_activate),
30954         (gst_basesrc_change_state), (basesrc_find_peek),
30955         (basesrc_find_suggest), (gst_basesrc_type_find):
30956         * gst/base/gstbasesrc.h:
30957         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30958         (gst_filesrc_class_init), (gst_filesrc_init),
30959         (gst_filesrc_finalize), (gst_filesrc_set_location),
30960         (gst_filesrc_set_property), (gst_filesrc_get_property),
30961         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30962         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30963         (gst_filesrc_create_read), (gst_filesrc_create),
30964         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30965         * gst/elements/gstfilesrc.h:
30966         * gst/gstelement.c: (gst_element_get_state_func),
30967         (gst_element_lost_state), (gst_element_pads_activate):
30968         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30969         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30970         (gst_pad_pull_range):
30971         * gst/gstpad.h:
30972         More work on the generic source base class, implement seeking,
30973         query.
30974         Make filesrc extend the base source class.
30975         Added gst_pad_set_checkgetrange_function to GstPad.
30976
30977 2005-04-06  Andy Wingo  <wingo@pobox.com>
30978
30979         * pkgconfig/gstreamer-base.pc.in:
30980         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30981
30982         * pkgconfig/Makefile.am:
30983         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30984
30985 2005-04-04  Wim Taymans  <wim@fluendo.com>
30986
30987         * gst/base/Makefile.am:
30988         * gst/base/README:
30989         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30990         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30991         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30992         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30993         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30994         (gst_basesrc_base_init), (gst_basesrc_class_init),
30995         (gst_basesrc_init), (gst_basesrc_get_formats),
30996         (gst_basesrc_get_query_types), (gst_basesrc_query),
30997         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30998         (gst_basesrc_set_property), (gst_basesrc_get_property),
30999         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31000         (gst_basesrc_loop), (gst_basesrc_activate),
31001         (gst_basesrc_change_state):
31002         * gst/base/gstbasesrc.h:
31003         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31004         (gst_fakesrc_class_init), (gst_fakesrc_init),
31005         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31006         (gst_fakesrc_get_property), (gst_fakesrc_create):
31007         * gst/elements/gstfakesrc.h:
31008         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31009         (gst_filesrc_open_file), (gst_filesrc_loop),
31010         (gst_filesrc_activate), (filesrc_find_peek),
31011         (gst_filesrc_type_find):
31012         Made base source class, make fakesrc extend it.
31013         Add comments to basesink class.
31014         Some filesrc cleanup.
31015
31016 2005-03-31  David Schleef  <ds@schleef.org>
31017
31018         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31019         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31020         expected to link against libgstreamer.
31021         * gst/base/Makefile.am: link against libgstreamer
31022         * gst/elements/Makefile.am: same
31023
31024 2005-03-31  Andy Wingo  <wingo@pobox.com>
31025
31026         * tests/instantiate/Makefile.am:
31027         * tests/instantiate/caps.c: Add test to test speed of caps copy
31028         and free.
31029
31030         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31031         GMemChunk to be fair.
31032
31033         * gst/gsttrashstack.h: Remove warning about using the fallback
31034         trash stack implementation, it's still faster than malloc.
31035
31036 2005-03-30  Andy Wingo  <wingo@pobox.com>
31037
31038         * tests/complexity.c: Add a copyright.
31039
31040 2005-03-31  Wim Taymans  <wim@fluendo.com>
31041
31042         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31043         (gst_base_transform_class_init), (gst_base_transform_init),
31044         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31045         (gst_base_transform_get_property),
31046         (gst_base_transform_sink_activate),
31047         (gst_base_transform_src_activate),
31048         (gst_base_transform_change_state):
31049         * gst/base/gstbasetransform.h:
31050         * gst/elements/gstidentity.c: (gst_identity_class_init),
31051         (gst_identity_event), (gst_identity_check_perfect),
31052         (gst_identity_transform), (gst_identity_start),
31053         (gst_identity_stop):
31054         Added start/stop methods to transform base class so subclasses 
31055         don't need to deal with state changes even.
31056
31057 2005-03-31  Wim Taymans  <wim@fluendo.com>
31058
31059         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31060         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31061         * gst/gstevent.h:
31062         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31063         (gst_pad_pull_range):
31064         Added rate to the discont event to prepare for variable speed
31065         and reverse playback.
31066
31067 2005-03-29  David Schleef  <ds@schleef.org>
31068
31069         * configure.ac:
31070         * testsuite/trigger/Makefile.am:
31071         * testsuite/trigger/trigger.c: A little example program to show
31072         how trigger-based elements can work.
31073
31074 2005-03-29  Wim Taymans  <wim@fluendo.com>
31075
31076         * gst/base/Makefile.am:
31077         * gst/base/README:
31078         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31079         (gst_basesink_base_init), (gst_basesink_class_init),
31080         (gst_basesink_pad_getcaps), (gst_basesink_init),
31081         (gst_basesink_activate), (gst_basesink_change_state):
31082         * gst/base/gstbasesink.h:
31083         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31084         (gst_base_transform_base_init), (gst_base_transform_finalize),
31085         (gst_base_transform_class_init), (gst_base_transform_init),
31086         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31087         (gst_base_transform_event), (gst_base_transform_getrange),
31088         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31089         (gst_base_transform_set_property),
31090         (gst_base_transform_get_property),
31091         (gst_base_transform_sink_activate),
31092         (gst_base_transform_src_activate),
31093         (gst_base_transform_change_state):
31094         * gst/base/gstbasetransform.h:
31095         * gst/elements/gstidentity.c: (gst_identity_finalize),
31096         (gst_identity_class_init), (gst_identity_init),
31097         (gst_identity_event), (gst_identity_check_perfect),
31098         (gst_identity_transform), (gst_identity_set_property),
31099         (gst_identity_get_property), (gst_identity_change_state):
31100         * gst/elements/gstidentity.h:
31101         * gst/gstelement.c: (gst_element_get_state_func),
31102         (gst_element_lost_state), (gst_element_pads_activate):
31103         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31104         (gst_pad_check_pull_range), (gst_pad_pull_range):
31105         * gst/gstpad.h:
31106         Simplify pad activation.
31107         Added function to check if pull_range can be performed.
31108         Error out when pulling inactive or flushing pads.
31109         Removed const from refcounted types as it does not make sense.
31110         Simplify pad templates in basesink
31111         Added base class for simple 1-to-1 transforms.
31112         Make identity subclass the base transform.
31113
31114 2005-03-29  Andy Wingo  <wingo@pobox.com>
31115
31116         * docs/libs/gstreamer-libs-overrides.txt: 
31117         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31118         really don't understand what's going on, but like whatever. I want
31119         green buildbot!
31120
31121         * docs/gst/Makefile.am:
31122         * docs/libs/Makefile.am: Dist the overrides files.
31123
31124         * check/Makefile.am (clean-local): Remove .libs directories.
31125
31126         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31127         elements to EXTRA_DIST, so po/ files are happy.
31128
31129         * po/POTFILES.in: Er, remove it here.
31130
31131         * po/POTFILES: Remove gstspider.c.
31132
31133         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31134
31135         * docs/libs/gstreamer-libs-docs.sgml: 
31136         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31137         bytestream.
31138
31139         * tests/complexity.c (main): Set the length of the preroll queue
31140         on the sinks to prevent a lockup.
31141
31142         * libs/gst/dataprotocol/Makefile.am: 
31143         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31144         the same as the one in check/gst-libs/gdp.c.
31145
31146         * po/, docs/gst/: Commit automatic changes to docs and po files.
31147
31148         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31149         the versioned libgstbase.
31150
31151         * check/Makefile.am: Depend on an unversioned gst-register, seems
31152         to make autoconf happier.
31153
31154         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31155
31156 2005-03-28  Wim Taymans  <wim@fluendo.com>
31157
31158         * configure.ac:
31159         * docs/design/part-gstelement.txt:
31160         * docs/design/part-negotiation.txt:
31161         * docs/design/part-preroll.txt:
31162         * docs/design/part-scheduling.txt:
31163         * docs/design/part-states.txt:
31164         * gst/Makefile.am:
31165         * gst/base/Makefile.am:
31166         * gst/base/README:
31167         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31168         (gst_basesink_base_init), (gst_basesink_class_init),
31169         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31170         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31171         (gst_basesink_set_pad_functions),
31172         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31173         (gst_basesink_set_property), (gst_basesink_get_property),
31174         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31175         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31176         (gst_basesink_preroll_queue_push),
31177         (gst_basesink_preroll_queue_empty),
31178         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31179         (gst_basesink_event), (gst_basesink_get_times),
31180         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31181         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31182         (gst_basesink_loop), (gst_basesink_activate),
31183         (gst_basesink_change_state):
31184         * gst/base/gstbasesink.h:
31185         * gst/elements/Makefile.am:
31186         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31187         (gst_fakesink_class_init), (gst_fakesink_init),
31188         (gst_fakesink_set_property), (gst_fakesink_get_property),
31189         (gst_fakesink_get_times), (gst_fakesink_event),
31190         (gst_fakesink_preroll), (gst_fakesink_render),
31191         (gst_fakesink_change_state):
31192         * gst/elements/gstfakesink.h:
31193         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31194         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31195         * gst/gstelement.c: (gst_element_add_pad),
31196         (gst_element_get_state_func), (gst_element_abort_state),
31197         (gst_element_commit_state), (gst_element_lost_state),
31198         (gst_element_set_state), (gst_element_pads_activate):
31199         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31200         * gst/gstpipeline.c: (gst_pipeline_send_event),
31201         (gst_pipeline_change_state):
31202         Added state change code.
31203         Added/updated docs.
31204         Added sink base class, make fakesink extend the base class.
31205         Small cleanups in GstPipeline.
31206
31207 2005-03-26  David Schleef  <ds@schleef.org>
31208
31209         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31210         is broken and should be implemented in a different library.
31211         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31212         * gst/gst.h: remove gstcpu.h
31213         * gst/gstcpu.c: remove
31214         * gst/gstcpu.h: remove
31215         * gst/Makefile.am.future: Remove this file.  It's ancient.
31216
31217 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31218
31219         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31220         (gst_bin_send_event):
31221           Add default event/set_manager handlers. The set_manager handler
31222           takes care that the manager is distributed over kids that were
31223           already in the bin before the manager was set. The event handler
31224           is a utility virtual function that sends the event over all sinks,
31225           so that gst_element_send_event (bin, event); has the expected
31226           behaviour.
31227         * gst/gstpad.c: (gst_pad_event_default):
31228           Re-install default event handling for discontinuities, so that
31229           seeking works without requiring hacks in applications or extra
31230           code in sinks.
31231         * gst/gstpipeline.c: (gst_pipeline_class_init),
31232         (gst_pipeline_send_event):
31233           Half hack, half utility: set a pipeline to PAUSED for seek events,
31234           since that is the only way we can guarantee a/v sync. Means that
31235           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31236           and it "just works".
31237
31238 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31239
31240         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31241           Lock/unlock mismatch.
31242
31243 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31244
31245         * docs/faq/gst-uninstalled:
31246           add gst-plugins-base
31247         * docs/gst/Makefile.am:
31248           don't error out until docs are fixed
31249         * docs/gst/gstreamer.types:
31250           remove thread
31251
31252 2005-03-22  Wim Taymans  <wim@fluendo.com>
31253
31254         * check/Makefile.am:
31255         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31256         * gst/gststructure.c: (gst_structure_set_valist),
31257         (gst_structure_copy_conditional):
31258         Activated more tests.
31259         Added message test.
31260         Added G_TYPE_POINTER to GstStructure.
31261         
31262
31263 2005-03-22  Wim Taymans  <wim@fluendo.com>
31264
31265         * docs/design/part-TODO.txt:
31266         * docs/design/part-events.txt:
31267         * docs/design/part-gstbin.txt:
31268         * docs/design/part-gstbus.txt:
31269         * docs/design/part-gstpipeline.txt:
31270         * docs/design/part-messages.txt:
31271         * gst/gstbus.c:
31272         * gst/gstmessage.c:
31273         Docs updates
31274
31275 2005-03-21  Wim Taymans  <wim@fluendo.com>
31276
31277         * gst/gstbus.c: (gst_bus_post):
31278         Fix copy-and-paste error.
31279
31280 2005-03-21  Wim Taymans  <wim@fluendo.com>
31281
31282         * check/Makefile.am:
31283         * gst/Makefile.am:
31284         * gst/elements/Makefile.am:
31285         * gst/elements/gstelements.c:
31286         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31287         (gst_fakesink_event), (gst_fakesink_chain):
31288         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31289         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31290         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31291         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31292         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31293         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31294         (gst_fakesrc_loop), (gst_fakesrc_activate),
31295         (gst_fakesrc_change_state):
31296         * gst/elements/gstfakesrc.h:
31297         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31298         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31299         (gst_filesrc_open_file), (gst_filesrc_loop),
31300         (gst_filesrc_activate), (gst_filesrc_change_state),
31301         (filesrc_find_peek), (filesrc_find_suggest),
31302         (gst_filesrc_type_find):
31303         * gst/elements/gstidentity.c: (gst_identity_finalize),
31304         (gst_identity_class_init), (gst_identity_init),
31305         (gst_identity_proxy_getcaps), (identity_queue_push),
31306         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31307         (gst_identity_getrange), (gst_identity_chain),
31308         (gst_identity_sink_loop), (gst_identity_src_loop),
31309         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31310         (gst_identity_set_property), (gst_identity_get_property),
31311         (gst_identity_change_state):
31312         * gst/elements/gstidentity.h:
31313         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31314         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31315         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31316         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31317         (gst_tee_sink_activate):
31318         * gst/elements/gsttee.h:
31319         * gst/gst.c: (gst_register_core_elements), (init_post):
31320         * gst/gst.h:
31321         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31322         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31323         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31324         (gst_bin_change_state):
31325         * gst/gstbin.h:
31326         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31327         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31328         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31329         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31330         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31331         (bus_watch_callback), (bus_watch_destroy),
31332         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31333         (poll_timeout), (gst_bus_poll):
31334         * gst/gstbus.h:
31335         * gst/gstcaps.h:
31336         * gst/gstdata.h:
31337         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31338         (gst_element_post_message), (gst_element_message_full),
31339         (gst_element_get_state_func), (gst_element_get_state),
31340         (gst_element_abort_state), (gst_element_commit_state),
31341         (gst_element_lost_state), (gst_element_set_state),
31342         (gst_element_pads_activate), (gst_element_change_state),
31343         (gst_element_dispose), (gst_element_set_manager_func),
31344         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31345         (gst_element_set_manager), (gst_element_get_manager),
31346         (gst_element_set_bus), (gst_element_get_bus),
31347         (gst_element_set_scheduler), (gst_element_get_scheduler):
31348         * gst/gstelement.h:
31349         * gst/gstevent.c: (gst_event_new_segment_seek),
31350         (gst_event_new_flush):
31351         * gst/gstevent.h:
31352         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31353         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31354         (gst_message_new_eos), (gst_message_new_error),
31355         (gst_message_new_warning), (gst_message_new_tag),
31356         (gst_message_new_state_changed), (gst_message_new_application),
31357         (gst_message_get_structure), (gst_message_parse_tag),
31358         (gst_message_parse_state_changed), (gst_message_parse_error),
31359         (gst_message_parse_warning):
31360         * gst/gstmessage.h:
31361         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31362         (gst_real_pad_set_property), (gst_pad_set_active),
31363         (gst_pad_is_active), (gst_pad_set_blocked_async),
31364         (gst_pad_set_blocked), (gst_pad_is_blocked),
31365         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31366         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31367         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31368         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31369         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31370         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31371         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31372         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31373         (gst_pad_set_caps), (gst_pad_configure_sink),
31374         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31375         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31376         (gst_real_pad_dispose), (gst_real_pad_finalize),
31377         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31378         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31379         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31380         * gst/gstpad.h:
31381         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31382         (pipeline_bus_handler), (gst_pipeline_change_state),
31383         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31384         * gst/gstpipeline.h:
31385         * gst/gstprobe.h:
31386         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31387         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31388         (gst_queue_link_src), (gst_queue_bufferalloc),
31389         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31390         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31391         (gst_queue_loop), (gst_queue_handle_src_event),
31392         (gst_queue_handle_src_query), (gst_queue_src_activate),
31393         (gst_queue_change_state):
31394         * gst/gstqueue.h:
31395         * gst/gstscheduler.c: (gst_scheduler_init),
31396         (gst_scheduler_dispose), (gst_scheduler_create_task),
31397         (gst_scheduler_factory_create):
31398         * gst/gstscheduler.h:
31399         * gst/gststructure.c: (gst_structure_get_type),
31400         (gst_structure_copy_conditional):
31401         * gst/gststructure.h:
31402         * gst/gsttaginterface.h:
31403         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31404         (gst_task_init), (gst_task_dispose), (gst_task_create),
31405         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31406         (gst_task_pause):
31407         * gst/gsttask.h:
31408         * gst/gstthread.c:
31409         * gst/gstthread.h:
31410         * gst/gsttypes.h:
31411         * gst/schedulers/Makefile.am:
31412         * gst/schedulers/cothreads_compat.h:
31413         * gst/schedulers/entryscheduler.c:
31414         * gst/schedulers/faircothreads.c:
31415         * gst/schedulers/faircothreads.h:
31416         * gst/schedulers/fairscheduler.c:
31417         * gst/schedulers/gstbasicscheduler.c:
31418         * gst/schedulers/gstoptimalscheduler.c:
31419         * gst/schedulers/gthread-cothreads.h:
31420         * gst/schedulers/threadscheduler.c:
31421         (gst_thread_scheduler_task_get_type),
31422         (gst_thread_scheduler_task_class_init),
31423         (gst_thread_scheduler_task_init),
31424         (gst_thread_scheduler_task_start),
31425         (gst_thread_scheduler_task_stop),
31426         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31427         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31428         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31429         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31430         (plugin_init):
31431         * libs/gst/Makefile.am:
31432         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31433         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31434         (gst_file_pad_parent_set):
31435         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31436         (gst_dp_event_from_packet):
31437         * tests/complexity.c: (main):
31438         * tests/mass_elements.c: (main):
31439         * testsuite/states/locked.c: (message_received), (main):
31440         * testsuite/states/parent.c: (main):
31441         * tools/gst-inspect.c: (print_element_flag_info),
31442         (print_implementation_info), (print_pad_info):
31443         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31444         (main):
31445         * tools/gst-md5sum.c: (event_loop), (main):
31446         * tools/gst-typefind.c: (main):
31447         * tools/gst-xmlinspect.c: (print_element_info):
31448         Next big merge.
31449         Added GstBus for mainloop integration.
31450         Added GstMessage for sending notifications on the bus.
31451         Added GstTask as an abstraction for pipeline entry points.
31452         Removed GstThread.
31453         Removed Schedulers.
31454         Simplified GstQueue for multithreaded core.
31455         Made _link threadsafe, removed old capsnego.
31456         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31457         Added pad blocking functions.
31458         Reworked scheduling functions in GstPad to prepare for
31459         scheduling updates soon.
31460         Moved events out of data stream.
31461         Simplified GstEvent types.
31462         Added return values to push/pull.
31463         Removed clocking from GstElement.
31464         Added prototypes for state change function for next merge.
31465         Removed iterate from bins and state change management.
31466         Fixed some elements, disabled others for now.
31467         Fixed -inspect and -launch.
31468         Added check for GstBus.
31469
31470 2005-03-10  Wim Taymans  <wim@fluendo.com>
31471
31472         * docs/design/part-MT-refcounting.txt:
31473         * docs/design/part-clocks.txt:
31474         * docs/design/part-gstelement.txt:
31475         * docs/design/part-gstobject.txt:
31476         * docs/design/part-standards.txt:
31477         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31478         (gst_bin_remove_func), (gst_bin_remove):
31479         * gst/gstbin.h:
31480         * gst/gstbuffer.c:
31481         * gst/gstcaps.h:
31482         * testsuite/clock/clock1.c: (main):
31483         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31484         (main):
31485         * testsuite/dlopen/loadgst.c: (do_test):
31486         * testsuite/refcounting/bin.c: (add_remove_test1),
31487         (add_remove_test2), (main):
31488         * testsuite/refcounting/element.c: (main):
31489         * testsuite/refcounting/element_pad.c: (main):
31490         * testsuite/refcounting/pad.c: (main):
31491         * tools/gst-launch.c: (sigint_handler_sighandler):
31492         * tools/gst-typefind.c: (main):
31493         Doc updates.
31494         Added doc about clock.
31495         removed gst_bin_iterate_recurse_up(), marked methods
31496         for removal.
31497         Fix more testsuites.
31498
31499 2005-03-09  Wim Taymans  <wim@fluendo.com>
31500
31501         * gst/gstpad.c: (gst_pad_get_direction),
31502         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31503         (gst_pad_collect_valist):
31504         * testsuite/bins/interface.c: (main):
31505         * testsuite/caps/audioscale.c: (test_caps):
31506         * testsuite/caps/caps.c: (test1), (test2), (test3):
31507         * testsuite/caps/deserialize.c: (main):
31508         * testsuite/caps/enumcaps.c: (main):
31509         * testsuite/caps/filtercaps.c: (main):
31510         * testsuite/caps/intersect2.c: (main):
31511         * testsuite/caps/random.c: (main):
31512         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31513         * testsuite/caps/sets.c: (check_caps):
31514         * testsuite/caps/simplify.c: (check_caps), (main):
31515         * testsuite/caps/subtract.c: (check_caps):
31516         Fix _pad_get_direction wrt ghostpads.
31517         Fix caps testsuite.
31518
31519 2005-03-09  Wim Taymans  <wim@fluendo.com>
31520
31521         * check/Makefile.am:
31522         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31523         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31524         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31525         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31526         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31527         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31528         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31529         (bin_element_is_sink), (gst_bin_iterate_sinks),
31530         (gst_bin_iterate_all_by_interface):
31531         * gst/gstbin.h:
31532         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31533         (gst_element_change_state), (gst_element_dispose),
31534         (gst_element_finalize), (gst_element_set_loop_function):
31535         * gst/gstelement.h:
31536         * gst/gstiterator.c: (find_custom_fold_func):
31537         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31538         (gst_pad_collectv), (gst_pad_collect_valist),
31539         (gst_pad_template_new):
31540         * gst/gstpipeline.c: (gst_pipeline_class_init),
31541         (gst_pipeline_dispose), (gst_pipeline_set_property),
31542         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31543         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31544         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31545         * gst/gstutils.h:
31546         * gst/schedulers/entryscheduler.c:
31547         * gst/schedulers/gstbasicscheduler.c:
31548         (gst_basic_scheduler_cothreaded_chain),
31549         (gst_basic_scheduler_chain_add_element):
31550         * testsuite/bins/interface.c: (main):
31551         Added GstBin test.
31552         Added GstSystemClock test.
31553         Implemented clock distribution code in GstBin.
31554         Implemented iterate sinks method for future use.
31555         Rearranged gstelement.h
31556         Fix GstIterator comparison bug.
31557         Moved some code to GstPipeline, mostly clocking related.
31558
31559 2005-03-09  Wim Taymans  <wim@fluendo.com>
31560
31561         * configure.ac:
31562         * gst/gst_private.h:
31563         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31564         (gst_bin_remove_func), (gst_bin_remove),
31565         (gst_bin_get_by_name_recurse_up):
31566         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31567         (gst_clock_id_compare_func), (gst_clock_id_wait),
31568         (gst_clock_id_wait_async), (gst_clock_init),
31569         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31570         * gst/gstelement.h:
31571         * gst/gstinfo.c: (_gst_debug_init):
31572         * gst/gstobject.h:
31573         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31574         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31575         * gst/gstpad.h:
31576         Bump version number, we're now 0.9.0
31577         Add future debugging category.
31578         Fix NULL _unref() in _get_by_name_recurse_up
31579         Rearrange gstpad.h.
31580         Update some docs.
31581
31582 2005-03-08  Wim Taymans  <wim@fluendo.com>
31583
31584         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31585         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31586         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31587         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31588         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31589         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31590         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31591         * gst/elements/gstidentity.c: (gst_identity_class_init):
31592         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31593         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31594         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31595         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31596         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31597         (gst_tee_link):
31598         * gst/gstelement.c: (gst_element_class_init),
31599         (gst_element_base_class_init), (gst_element_init),
31600         (gst_element_get_random_pad), (gst_element_wait_state_change),
31601         (gst_element_change_state), (gst_element_dispose),
31602         (gst_element_finalize), (gst_element_set_loop_function):
31603         * gst/gstelement.h:
31604         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31605         * gst/gstthread.c: (gst_thread_class_init),
31606         (gst_thread_release_children_locks), (gst_thread_change_state):
31607         * gst/schedulers/gstbasicscheduler.c:
31608         (gst_basic_scheduler_loopfunc_wrapper),
31609         (gst_basic_scheduler_chain_wrapper),
31610         (gst_basic_scheduler_src_wrapper),
31611         (gst_basic_scheduler_remove_element):
31612         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31613         Remove threadsafe properties. Fix elements because GObject
31614         complains when installing a property before declaring a
31615         set/get_property handler.
31616         Rearrange gstelement.h file, use STATE macros for state locks.
31617         Free mutexes in the finalize method instead of dispose.
31618
31619 2005-03-08  Wim Taymans  <wim@fluendo.com>
31620
31621         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31622         * gst/gstthread.c: (gst_thread_release_children_locks):
31623         Added parentage check.
31624         Fix build og GstThread again.
31625
31626 2005-03-08  Wim Taymans  <wim@fluendo.com>
31627
31628         * docs/design/part-MT-refcounting.txt:
31629         * docs/design/part-conventions.txt:
31630         * docs/design/part-gstobject.txt:
31631         * docs/design/part-relations.txt:
31632         * docs/design/part-standards.txt:
31633         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31634         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31635         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31636         (gst_bin_iterate_all_by_interface):
31637         * gst/gstbuffer.h:
31638         * gst/gstclock.h:
31639         * gst/gstelement.c: (gst_element_class_init),
31640         (gst_element_change_state), (gst_element_set_loop_function):
31641         * gst/gstelement.h:
31642         * gst/gstiterator.c:
31643         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31644         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31645         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31646         (gst_object_set_parent), (gst_object_unparent),
31647         (gst_object_check_uniqueness):
31648         * gst/gstobject.h:
31649         Docs updates, clean up some headers.
31650
31651 2005-03-07  Wim Taymans  <wim@fluendo.com>
31652
31653         * check/.cvsignore:
31654         * check/Makefile.am:
31655         * check/gst-libs/.cvsignore:
31656         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31657         * check/gst/.cvsignore:
31658         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31659         (START_TEST), (gstbus_suite), (main):
31660         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31661         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31662         (gst_data_suite), (main):
31663         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31664         (add_fold_func), (gstiterator_suite), (main):
31665         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31666         (thread_name_object), (thread_name_object_default),
31667         (gst_object_name_compare), (gst_object_suite), (main):
31668         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31669         (gst_pad_suite), (main):
31670         * check/gstcheck.c: (gst_check_log_message_func),
31671         (gst_check_log_critical_func), (gst_check_init):
31672         * check/gstcheck.h:
31673         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31674         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31675         Added checks.
31676
31677 2005-03-07  Wim Taymans  <wim@fluendo.com>
31678
31679         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31680         (gst_list_iterator_next), (gst_list_iterator_resync),
31681         (gst_list_iterator_free), (gst_iterator_new_list),
31682         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31683         (gst_iterator_free), (gst_iterator_push), (filter_next),
31684         (filter_resync), (filter_uninit), (filter_free),
31685         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31686         (gst_iterator_foreach), (find_custom_fold_func),
31687         (gst_iterator_find_custom):
31688         * gst/gstiterator.h:
31689         Added missing files.
31690
31691 2005-03-07  Wim Taymans  <wim@fluendo.com>
31692
31693         * Makefile.am:
31694         * configure.ac:
31695         * docs/design/part-MT-refcounting.txt:
31696         * docs/design/part-conventions.txt:
31697         * docs/design/part-gstobject.txt:
31698         * docs/design/part-relations.txt:
31699         * examples/mixer/mixer.c: (main):
31700         * examples/thread/thread.c: (eos), (main):
31701         * gst/Makefile.am:
31702         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31703         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31704         (gst_spider_plug_from_srcpad):
31705         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31706         (gst_spider_identity_change_state),
31707         (gst_spider_identity_sink_loop_type_finding):
31708         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31709         * gst/elements/gstidentity.c: (gst_identity_init):
31710         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31711         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31712         * gst/elements/gsttypefindelement.c: (free_entry):
31713         * gst/gst.c:
31714         * gst/gst.h:
31715         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31716         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31717         (gst_bin_set_index), (gst_bin_set_element_sched),
31718         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31719         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31720         (gst_bin_iterate_elements), (iterate_child_recurse),
31721         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31722         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31723         (compare_interface), (gst_bin_get_by_interface),
31724         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31725         * gst/gstbin.h:
31726         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31727         (gst_buffer_default_free), (gst_buffer_default_copy),
31728         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31729         (gst_buffer_create_sub):
31730         * gst/gstbuffer.h:
31731         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31732         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31733         (gst_caps_unref), (gst_static_caps_get),
31734         (gst_caps_remove_and_get_structure), (gst_caps_append),
31735         (gst_caps_append_structure), (gst_caps_remove_structure),
31736         (gst_caps_copy_nth), (gst_caps_set_simple),
31737         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31738         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31739         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31740         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31741         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31742         (gst_caps_structure_figure_out_union),
31743         (gst_caps_switch_structures), (gst_caps_do_simplify),
31744         (gst_caps_replace), (gst_caps_from_string),
31745         (gst_caps_copy_conditional):
31746         * gst/gstcaps.h:
31747         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31748         (_gst_clock_id_free), (gst_clock_id_unref),
31749         (gst_clock_id_compare_func), (gst_clock_id_wait),
31750         (gst_clock_id_wait_async), (gst_clock_class_init),
31751         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31752         (gst_clock_get_time), (gst_clock_set_time_adjust),
31753         (gst_clock_set_property), (gst_clock_get_property):
31754         * gst/gstclock.h:
31755         * gst/gstcompat.h:
31756         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31757         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31758         * gst/gstdata.h:
31759         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31760         (gst_element_requires_clock), (gst_element_provides_clock),
31761         (gst_element_set_clock), (gst_element_clock_wait),
31762         (gst_element_wait), (gst_element_set_time_delay),
31763         (gst_element_is_indexable), (gst_element_add_pad),
31764         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31765         (pad_compare_name), (gst_element_get_static_pad),
31766         (gst_element_request_pad), (gst_element_get_request_pad),
31767         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31768         (gst_element_class_get_pad_template_list),
31769         (gst_element_class_get_pad_template), (gst_element_error_func),
31770         (gst_element_get_random_pad), (gst_element_get_event_masks),
31771         (gst_element_send_event), (gst_element_seek),
31772         (gst_element_get_query_types), (gst_element_query),
31773         (gst_element_get_formats), (gst_element_convert),
31774         (gst_element_is_locked_state), (gst_element_set_locked_state),
31775         (gst_element_sync_state_with_parent), (gst_element_change_state),
31776         (gst_element_finalize), (gst_element_yield),
31777         (gst_element_interrupt), (gst_element_set_scheduler),
31778         (gst_element_get_scheduler), (gst_element_set_loop_function):
31779         * gst/gstelement.h:
31780         * gst/gstevent.h:
31781         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31782         (gst_format_get_by_nick), (gst_format_get_details),
31783         (gst_format_iterate_definitions):
31784         * gst/gstformat.h:
31785         * gst/gstindex.c: (gst_index_gtype_resolver):
31786         * gst/gstinfo.c:
31787         * gst/gstinfo.h:
31788         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31789         (gst_mem_chunk_free):
31790         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31791         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31792         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31793         (gst_object_dispatch_properties_changed),
31794         (gst_object_set_name_default), (gst_object_set_name),
31795         (gst_object_get_name), (gst_object_set_name_prefix),
31796         (gst_object_get_name_prefix), (gst_object_set_parent),
31797         (gst_object_get_parent), (gst_object_unparent),
31798         (gst_object_check_uniqueness), (gst_object_save_thyself),
31799         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31800         (gst_object_set_property), (gst_object_get_property),
31801         (gst_object_get_path_string):
31802         * gst/gstobject.h:
31803         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31804         (gst_real_pad_init), (gst_real_pad_get_property),
31805         (gst_pad_custom_new), (gst_pad_get_direction),
31806         (gst_pad_set_active), (gst_pad_is_active),
31807         (gst_pad_set_event_function), (gst_pad_is_linked),
31808         (gst_pad_link_free), (gst_pad_link_intersect),
31809         (gst_pad_link_fixate), (gst_pad_set_caps),
31810         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31811         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31812         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31813         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31814         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31815         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31816         (gst_pad_realize), (gst_pad_get_allowed_caps),
31817         (gst_real_pad_dispose), (gst_real_pad_finalize),
31818         (gst_pad_collectv), (gst_pad_collect_valist),
31819         (gst_pad_template_dispose), (gst_pad_template_new),
31820         (gst_pad_get_internal_links):
31821         * gst/gstpad.h:
31822         * gst/gstpipeline.c: (gst_pipeline_dispose),
31823         (gst_pipeline_change_state):
31824         * gst/gstpipeline.h:
31825         * gst/gstplugin.c:
31826         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31827         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31828         * gst/gstpluginfeature.h:
31829         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31830         * gst/gstquery.c: (_gst_query_type_initialize),
31831         (gst_query_type_register), (gst_query_type_get_by_nick),
31832         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31833         * gst/gstquery.h:
31834         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31835         * gst/gstscheduler.c: (gst_scheduler_add_element),
31836         (gst_scheduler_factory_create):
31837         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31838         (gst_structure_free), (gst_structure_set_name),
31839         (gst_structure_id_set_value), (gst_structure_set_value),
31840         (gst_structure_set_valist), (gst_structure_remove_field),
31841         (gst_structure_remove_fields),
31842         (gst_structure_remove_fields_valist),
31843         (gst_structure_remove_all_fields), (gst_structure_foreach),
31844         (gst_structure_map_in_place),
31845         (gst_caps_structure_fixate_field_nearest_int),
31846         (gst_caps_structure_fixate_field_nearest_double):
31847         * gst/gststructure.h:
31848         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31849         (gst_system_clock_init), (gst_system_clock_dispose),
31850         (gst_system_clock_async_thread),
31851         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31852         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31853         * gst/gstsystemclock.h:
31854         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31855         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31856         * gst/gsttaginterface.c:
31857         * gst/gstthread.c: (gst_thread_dispose),
31858         (gst_thread_release_children_locks), (gst_thread_change_state),
31859         (gst_thread_main_loop):
31860         * gst/gsttrashstack.h:
31861         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31862         * gst/gsttypes.h:
31863         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31864         (gst_element_request_pad), (gst_element_get_pad_from_template),
31865         (gst_element_request_compatible_pad),
31866         (gst_element_get_compatible_pad_filtered),
31867         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31868         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31869         (gst_element_link_many), (gst_element_link),
31870         (gst_element_link_pads), (gst_element_unlink_pads),
31871         (gst_element_unlink_many), (gst_element_unlink),
31872         (gst_pad_can_link_filtered), (gst_pad_can_link),
31873         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31874         (gst_object_default_error), (gst_bin_add_many),
31875         (gst_bin_remove_many), (gst_element_populate_std_props),
31876         (gst_element_class_install_std_props), (gst_buffer_merge),
31877         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31878         (link_fold_func), (gst_pad_proxy_setcaps):
31879         * gst/gstutils.h:
31880         * gst/gstvalue.c: (gst_value_deserialize_string):
31881         * gst/parse/grammar.y:
31882         * gst/schedulers/gstbasicscheduler.c:
31883         (gst_basic_scheduler_cothreaded_chain),
31884         (gst_basic_scheduler_chain_recursive_add),
31885         (gst_basic_scheduler_pad_link):
31886         * gst/schedulers/gstoptimalscheduler.c:
31887         (get_group_schedule_function),
31888         (gst_opt_scheduler_state_transition),
31889         (gst_opt_scheduler_add_element), (element_get_reachables_func):
31890         * libs/gst/bytestream/bytestream.c:
31891         * libs/gst/dataprotocol/dataprotocol.c:
31892         (gst_dp_header_from_buffer):
31893         * po/nb.po:
31894         * po/ru.po:
31895         * tests/threadstate/threadstate2.c: (eos):
31896         * tools/gst-compprep.c: (main):
31897         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31898         (print_pad_info), (print_children_info):
31899         * tools/gst-launch.c: (idle_func), (main):
31900         * tools/gst-md5sum.c: (idle_func), (main):
31901         * tools/gst-xmlinspect.c: (print_element_info):
31902         First THREADED backport attempt, focusing on adding locks and
31903         making sure the API is threadsafe. Needs more work. More docs
31904         follow this week.
31905
31906 2005-02-24  Andy Wingo  <wingo@pobox.com>
31907
31908         * tests/bench-complexity.scm:
31909         * tests/complexity.gnuplot: New files, good for running complexity
31910         benchmarks.
31911
31912         * tests/Makefile.am:
31913         * tests/complexity.c: New test, sets up N elements, at each level
31914         teeing into M streams per element. Eeeenteresting.
31915
31916         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31917         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31918         running bench-mass_elements.scm.
31919
31920         * tests/bench-mass_elements.scm: New script, runs mass_elements
31921         for various numbers of identities, outputting the results to a
31922         file. Requires guile 1.6. Just for testing.
31923
31924 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
31925
31926         * gst/schedulers/fairscheduler.c:
31927           compile with debug disabled
31928
31929 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
31930
31931         * configure.ac:
31932           hunting season on 0.9 is now OPEN